Re: Stretch : mount Jessie encrypted HDD via USB

2017-11-01 Thread MPhil. Emanoil Kotsev
David Wright wrote:

> And one query while we're on the topic. Obviously
> umount is necessary and will be noticed later if
> it's not performed. However, what about vgchange -an
> and locking? AFAICT failing to lock has no later
> consequences for the device itself.
> 

I don't know what you mean, but I like the proper closing of the lvm before 
cryptsetup closes the partition. Indeed vgchange -an ist just hiding the lvm 
from the kernel, but anyway.

Thanks for the udisksctl. It looks interesting - I never heard of it until 
now. It seems

$ udisksctl help
Usage:
  udisksctl COMMAND

Commands:
  helpShows this information
  infoShows information about an object
  dumpShows information about all objects
  status  Shows high-level status
  monitor Monitor changes to objects
  mount   Mount a filesystem
  unmount Unmount a filesystem
  unlock  Unlock an encrypted device
  lockLock an encrypted device
  loop-setup  Set-up a loop device
  loop-delete Delete a loop device
  power-off   Safely power off a drive
  smart-simulate  Set SMART data for a drive

Use "udisksctl COMMAND --help" to get help on each command.


signature.asc
Description: This is a digitally signed message part.


Re: Need help with Latex error; Sorry VERY LONG

2011-11-25 Thread Emanoil Kotsev
Hi,



--- On Fri, 11/25/11, John W. Foster jfoster81...@verizon.net wrote:

 From: John W. Foster jfoster81...@verizon.net
 Subject: Re: Need help with Latex error; Sorry VERY LONG
 To: Emanoil Kotsev delop...@yahoo.com
 Cc: debian-user debian-user@lists.debian.org
 Date: Friday, November 25, 2011, 1:58 AM
 On Thu, 2011-11-24 at 15:26 -0800,
 Emanoil Kotsev wrote:
  
  
  So you run the command manually from the command line
 and get this
  error correct ?
  
  Yes
  
  http://lalashan.mcmaster.ca/theobio/projectsoes  -
 does this has something to do with you?
  
  No, this was in the borrowed source code that Lee has
 working on his
  site. BTW this is working on the site listed. Since it
 is basic text I
  don't think it made the difference. However, I will
 edit it for my
  server  see if that helps.
  
  check man mktexfmt and related perhaps after
 installing you need to
  update the font cache
  
  Font cache was updated after I installed all the
 packages. I had
  Texlive stuff on the system, then someone suggested I
 put Texlive-full
  which installed a lot of languages that I really
 didn't want and the
  corresponding fonts for those languages. But I decided
 to try that. No
  improvement  I plan to remove them after I get
 this to work.
  
  I could try to install into my test wiki and debug in
 the weekend ...
  and you owe me a cocktail ... if you can't make it
 work untill then.
  
  I dont think that will help because I feel the issue
 is within my own
  configuration somewhere.
  
  you can tell me more about the steps to reproduce the
 problem
  (packages you use ... urls to download)
  
  it sounds interesting for me too, so that I may use it
 in my wiki
  and/or we could collaborate somehow - I respect people
 using LaTeX ;-)
  
  
 
 Thanks for the ideas. I also tried to find the actual path
 that is being
 sent to TEXINPUTS and so far I got this when I type in the
 command
 'export' with no parameters;
 snip-
 declare -x SHELL=/bin/bash
 declare -x SHLVL=2
 declare -x SSH_AGENT_PID=3799
 declare -x SSH_AUTH_SOCK=/tmp/keyring-CjHILj/ssh
 declare -x TERM=xterm
 declare -x
 TEXINPUTS=/home/myname/sage/local/share/texmf//:
 declare -x USER=root
 declare -x USERNAME=myname
 snip-
 
 sage is the directorywhere I installed my sage server
 originally. I have
 since moved it so I am certain this is wrong. Since the
 sage was
 installed from precompiled binaries, I think this is where
 the issue
 started. It was/is NOT a debian package as they don't have
 it packaged.
 Thanks!
 frosty
 

Well this explains more of the root cause. So when you configure the build you 
actually setup the default root directory.

Can you rebuild it with your current rootdirectory, or grep the code and 
replace the path

Also - you are really not supposed to run anything as root except 
administration stuff.

You should build your apps as normal user and use root only to install the 
software (start and stop servers etc)

regards


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/1322213804.48534.yahoomailclas...@web161205.mail.bf1.yahoo.com



Re: USB key requirement.

2011-01-12 Thread Emanoil Kotsev


--- On Tue, 1/11/11, Dan Serban dser...@lodgingcompany.com wrote:


 
 I figured that after the root partition is mounted (nfs), I
 would have
 an init.d script that would work its magic.. if it's there,
 allow the
 continuation of the boot sequence (load gdm and other
 non-essential
 services).  All I would require is to match against an
 encrypted key
 without user intervention.

In fact if using PXE you don't really pay attention on security - I'm wondering 
what good means the usb key in this case.

I would put a customized initrd file on the usb and boot from there

 
  Q: Do you have a keyboard and is it desirable to use
 it on boot time?
  Or you want just to plugin and if the right usb is
 inside the boot
  will go on. you can do this after the system has
 already booted and
  you can access the usb from the diskless station.
 
 Second option, no keyboard interaction is required in my
 mind.  If you
 miss having the usb stick inserted, then to move forward,
 hit the reset
 button.

In your mind or in the specific case?


  Q: have you heard of security
  dongles
  http://www.naturela-bg.com/index.php?categ=page=itmlang=enid=45pid=p=;
  
 
 I have heard of them, but I don't personally understand the
 actual
 difference of a specialized key, versus a usb block device
 with an
 encryption file on it.

Well this is exactly what you are trying to do - the one link I posted I was 
the first that popped up in google and supports linux.

This is not a USB stick but a piece of hardware you plug in on the usb slot. 
You can do much more (programs can be banned from starting etc)

anyway over PXE (TFTP) everything is open and security is pretty week - I don't 
think a USB stick is really necessary to secure something. What happens if the 
user plug ins instead your USB stick a normal live USB ubuntu i.e. It will 
boot, the NFS shares can be mounted (cause you authenticate on system level) 
and the sense of some security is gone.

With PXE boot you have to use other security methods I think. 

regards





--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/43634.99072...@web161208.mail.bf1.yahoo.com



Re: problems with sound

2010-12-07 Thread Emanoil Kotsev
Hi a friend shared last week the same issue
 
  amixer | grep -i off
 
 kje...@kjetil:~$ amixer | grep -i off
   Front Left: Playback 74 [100%] [0.00dB] [off]
   Front Right: Playback 74 [100%] [0.00dB] [off]
   Mono: Playback [off]
 

see if  you have not plugged into the wrong jack or why your Front Panel is 
switched off (muted)

you need to unmute

regards





--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/862497.62712...@web53202.mail.re2.yahoo.com



Re: [Opensync-users] opensync-0.22 packages for Debian squeeze, testers wanted

2010-10-07 Thread Emanoil Kotsev
As far as I see there are not that many people working on syncml, so I would 
focus on pushing 0.40 into sid, because it will become very soon testing.

For the current testing (squeeze) I would have either 0.22 or nothing.

If it is not working it will be ok to leave it without official debian 
installers. I could build packages for debian and offer them from unofficial 
install repo.

I wanted to suggest to include a debian directory in all the related packages, 
or who and how is this done now?

regards

--- On Tue, 10/5/10, Michael Banck mba...@debian.org wrote:

 From: Michael Banck mba...@debian.org
 Subject: [Opensync-users] opensync-0.22 packages for Debian squeeze, testers 
 wanted
 To: opensync-us...@lists.sourceforge.net, debian-user@lists.debian.org
 Date: Tuesday, October 5, 2010, 3:44 PM
 Hi,
 
 I finally managed to allocate some free time and started
 reverting
 Debian squeeze to opensync-0.22.  This should make
 Blackberry and
 Windows Mobile devices work again.
 
 The current plan (which has not been approved by the Debian
 release team
 yet) is to upload a 0.22 package with some additional
 patches to
 testing-proposed-updates, followed by similar 0.22 packages
 for the
 opensync-plugin-file and opensync-plugin-evolution
 packages.  All the
 packages are still in unstable and can be installed from
 there (or from
 squeeze in case they transition).
 
 Unfortunately, the 0.22 version of the syncml plugin does
 not work with
 modern releases of libsyncml, so opensync-plugin-syncml
 will have to get
 dropped for squeeze (unless somebody ports it to
 libsyncml-0.5.4, I do
 not have the time for this).
 
 You can get the reverted packages from this repository:
 
 deb http://people.debian.org/~mbanck/opensync-squeeze/ ./
 
 libopensync0, python-opensync, opensync-plugin-file,
 opensync-plugin-evolution
 
 As mentioned above, you need to get all the other 0.22
 plugins from
 unstable for now.
 
 I am especially interested in tester reports from
 Blackberry (barry) and
 Windows Mobile (synce) users, as I dot not own any such
 device.  Any
 other feedback is highly appreciated, in order to make a
 case to the
 release time for this rather late change in release cycle.
 
 Either follow-up to this message (but please CC me), or
 catch me in
 #opensync on irc.freenode.net (my nick is azeem).
 
 
 Cheers,
 
 Michael
 
 --
 Beautiful is writing same markup. Internet Explorer 9
 supports
 standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and
 DOM L2  L3.
 Spend less time writing and  rewriting code and more
 time creating great
 experiences on the web. Be a part of the beta today.
 http://p.sf.net/sfu/beautyoftheweb
 ___
 Opensync-users mailing list
 opensync-us...@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/opensync-users
 





--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/183009.88414...@web53203.mail.re2.yahoo.com



Re: [OT]What's the price index of your laptop's battery?

2009-12-13 Thread Emanoil Kotsev
lee wrote:

 On Fri, Dec 11, 2009 at 10:45:31PM +0100, Emanoil Kotsev wrote:
 
 no need of lithium at all.
 
 What's the alternative? Have they found another resource to make
 batteries from?

I wanted to say, that they have decided to go for battery production, so
that you and me have to pay for it. Not that it's exactly necessary to use
batteries. In this case lithium proved to be optimal.
 
 So price is what the company decides to put as price.
 
 So?

And that you are ready to pay. The company would do a research, what's
optimal price to earn not what it really costs.
Price is marginal. 

regards



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



gcc/++-3.X in lenny

2009-12-13 Thread Emanoil Kotsev
Hi, there,
is there a sufficient reason why it's not in lenny.

I tried to compile but neither 4.3 nor 4.2 would compile 3.3

I finally downloaded pre-compiled version from etch in debs and installed
them. I then could compile my old program

What's the best way to go for the future?

regards




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



mbrola on debian 86_x64 (amd64)

2009-12-13 Thread Emanoil Kotsev
hi,
does somebody got it working? 

thanks in advance


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: NFS in 2.6.32

2009-12-11 Thread Emanoil Kotsev
Sven Joachim wrote:

 On 2009-12-09 14:59 +0100, David Baron wrote:
 
 Get warning not supported in current kernel.
 I did nothing in making 2.6.32 to disable (or enable) this.

 Deprecated?
 Needed?
 Bug?
 
 Bug¹ in nfs-kernel-server, the kernel itself is almost certainly fine.
 The solution is to remove the bogus check from the init script:
 
 --8---cut here---start-8---
 --- nfs-kernel-server~2008-11-07 14:31:18.0 +0100
 +++ nfs-kernel-server 2009-12-03 17:32:07.0 +0100
 @@ -63,12 +63,6 @@
  then
  do_modprobe nfsd
  
 - # See if our running kernel supports the NFS kernel server
 - if [ -f /proc/kallsyms ]  ! grep -qE 'init_nf(sd| )' 
 /proc/kallsyms;
 then
 - log_warning_msg Not starting $DESC: no support in 
 current kernel.
 - exit 0
 - fi
 -
  do_mount nfsd $PROCNFSD_MOUNTPOINT || NEED_SVCGSSD=no
  log_begin_msg Exporting directories for $DESC...
  $PREFIX/sbin/exportfs -r
 --8---cut here---end---8---
 
 Sven
 
 
 ¹ http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=550153
 
 

(I think) I hit the same bug in 2.6.31 when trying to copy an iso image
from my notebook to nfs mounted partition from the server.

The system got locked and I don't want to know if it's reproducable :-(

Dec 11 19:41:02 lisa /USR/SBIN/CRON[25469]: (clamav) CMD
([ -x /usr/bin/freshclam ]  /usr/bin/freshclam --quiet /dev/null)
Dec 11 19:43:04 lisa kernel: INFO: task nfsd:5453 blocked for more than 120
seconds.
Dec 11 19:43:04 lisa kernel: echo 0
 /proc/sys/kernel/hung_task_timeout_secs disables this message.
Dec 11 19:43:04 lisa kernel: nfsd  D f9e73c6c 0  5453  2
0x
Dec 11 19:43:04 lisa kernel:  f7080170 0046 f708c500 f9e73c6c f708030c
c13ed140 c13ed140 0002
Dec 11 19:43:04 lisa kernel:  f708030c c2c34140 0001 f6bf0444 0246
fffe e3aae5a4 e3aae540
Dec 11 19:43:04 lisa kernel:  f7080170 e3aae6d8 e3aae6dc f7080170 
c12509e5 e3aae6e0 f48d5ce0
Dec 11 19:43:04 lisa kernel: Call Trace:
Dec 11 19:43:04 lisa kernel:  [c12509e5] ?
__mutex_lock_slowpath+0xbb/0x11d
Dec 11 19:43:04 lisa kernel:  [c1250707] ? mutex_lock+0x10/0x1e
Dec 11 19:43:04 lisa kernel:  [f892cbbc] ? xfs_write+0x15d/0x6d5 [xfs]
Dec 11 19:43:04 lisa kernel:  [c1251594] ? _spin_lock+0xd/0x23
Dec 11 19:43:04 lisa kernel:  [f8929583] ? xfs_nfs_get_inode+0x2e/0x81
[xfs]
Dec 11 19:43:04 lisa kernel:  [f8929988] ? xfs_file_aio_write+0x5a/0x61
[xfs]
Dec 11 19:43:04 lisa kernel:  [c1091c68] ? do_sync_readv_writev+0xb7/0xfe
Dec 11 19:43:04 lisa kernel:  [c11dccba] ? release_sock+0x54/0x8a
Dec 11 19:43:04 lisa kernel:  [c1039388] ?
autoremove_wake_function+0x0/0x2b
Dec 11 19:43:04 lisa kernel:  [f9fef58d] ? exp_get_by_name+0x46/0x56
[nfsd]
Dec 11 19:43:04 lisa kernel:  [c1091b16] ? rw_copy_check_uvector+0x58/0xc4
Dec 11 19:43:04 lisa kernel:  [c1092217] ? do_readv_writev+0x81/0x140
Dec 11 19:43:04 lisa kernel:  [f892992e] ? xfs_file_aio_write+0x0/0x61
[xfs]
Dec 11 19:43:04 lisa kernel:  [f9ff13d4] ? nfsd_setuser+0x18c/0x1e0 [nfsd]
Dec 11 19:43:04 lisa kernel:  [f9feb492] ?
nfsd_setuser_and_check_port+0x4c/0x54 [nfsd]
Dec 11 19:43:04 lisa kernel:  [c109230d] ? vfs_writev+0x37/0x43
Dec 11 19:43:04 lisa kernel:  [f9fec884] ? nfsd_vfs_write+0xfb/0x2c3
[nfsd]
Dec 11 19:43:04 lisa kernel:  [c1091859] ? dentry_open+0x61/0x68
Dec 11 19:43:04 lisa kernel:  [f9fecec8] ? nfsd_open+0x16c/0x1a8 [nfsd]
Dec 11 19:43:04 lisa kernel:  [f9fed1d2] ? nfsd_write+0x96/0xab [nfsd]
Dec 11 19:43:04 lisa kernel:  [f9ff33ef] ? nfsd3_proc_write+0xcd/0xe2
[nfsd]
Dec 11 19:43:04 lisa kernel:  [f9fe9244] ? nfsd_dispatch+0xdc/0x1a4 [nfsd]
Dec 11 19:43:04 lisa kernel:  [f9eb2d1c] ? svc_process+0x3ca/0x686
[sunrpc]
Dec 11 19:43:04 lisa kernel:  [f9fe9742] ? nfsd+0xde/0x120 [nfsd]
Dec 11 19:43:04 lisa kernel:  [f9fe9664] ? nfsd+0x0/0x120 [nfsd]
Dec 11 19:43:04 lisa kernel:  [c10392e4] ? kthread+0x6e/0x76
Dec 11 19:43:04 lisa kernel:  [c1039276] ? kthread+0x0/0x76
Dec 11 19:43:04 lisa kernel:  [c1003427] ? kernel_thread_helper+0x7/0x12
Dec 11 19:43:04 lisa kernel: INFO: task nfsd:5456 blocked for more than 120
seconds.
Dec 11 19:43:04 lisa kernel: echo 0
 /proc/sys/kernel/hung_task_timeout_secs disables this message.
Dec 11 19:43:04 lisa kernel: nfsd  D c13e8448 0  5456  2
0x
Dec 11 19:43:04 lisa kernel:  f727c890 0046 e79543c0 c13e8448 c10079e8
c13ed140 c13ed140 
Dec 11 19:43:04 lisa kernel:  f727ca2c c2c24140  c10079e8 6b634904
fb52  0001
Dec 11 19:43:04 lisa kernel:  6b634904 e3aae6d8 e3aae6dc f727c890 
c12509e5 f48d5ce0 f4fd9ce0
Dec 11 19:43:04 lisa kernel: Call Trace:
Dec 11 19:43:04 lisa kernel:  [c10079e8] ? native_sched_clock+0x4a/0xb7
Dec 11 19:43:04 lisa kernel:  [c10079e8] ? native_sched_clock+0x4a/0xb7
Dec 11 19:43:04 lisa kernel:  [c12509e5] ?
__mutex_lock_slowpath+0xbb/0x11d
Dec 11 19:43:04 lisa kernel:  

Re: Weird sound behavior on sid

2009-12-11 Thread Emanoil Kotsev
Julian De Marchi wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Hey all!
 
 I have a debian sid desktop. Not sure when it occurred, but my sounds
 keeps muting itself frequently.
 
 The log files provide me with no answers and my google-fu fails to
 relive any answers.
 
 I am really unsure of what information to provide for this issue, and
 really am just after troubleshooting tips!
 
 My sounds I run via pulse audio and is an on-board 5.1 channel NVIDIA
 chipset.
 
 Where should I start in troubleshooting this issue?
 

I would try alsactl


Available commands:
  store   card # save current driver setup for one or each soundcards
   to configuration file
  restore card # load current driver setup for one or each soundcards
   from configuration file



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: [OT]What's the price index of your laptop's battery?

2009-12-11 Thread Emanoil Kotsev
lee wrote:

 On Thu, Dec 10, 2009 at 06:19:56PM +0100, Klistvud wrote:
 
 Would you ever buy a car -- or even a mobile phone -- where the spare/
 replacement battery cost 14% of the entire car/phone retail price? Say
 you got the cheapest Clio or Fiesta for just under 10.000€, but would
 have to pay over 1400€ for a replacement battery when the old one died?
 Now, that would be an extremely peculiar business model in my view ;)
 
 Just wait until you don't have a choice but to buy a car that runs on
 batteries. And batteries will become more expensive because
 manufacturers will run low on Lithium.
 
 Batteries suck.
 
 

no need of lithium at all. There is a well planned misunderstanding about
energy and power nowdays, on purpose, so that we keep paying. So price is
what the company decides to put as price. Since such products are lacking
competition it is no surprise that prices are far too high. I remember
economy classes, they said the price depends on whats the customer ready to
pay.

Related to this I was watching yesterday evening this below, so ... judge
yourself.

http://www.youtube.com/watch?v=3t7W6jsjJLM

-- cite --

Inventors Beware!

  It is my intent of this treatise and through my other writings to 
explain the many facets of radiant energy and how it is possible to draw 
power from it. I have notarized papers and articles predating similar claims 
made by others. The Moray lead formula is just one example. I advise all 
inventors who want proper public credit to do the same.

  By reviewing history it is understandable why some inventions are not 
commercialized. It is economics, not science, that is the main factor. It 
will be remembered that alternating current was opposed by powerful 
financiers in Tesla's time.

  Michael Pupin, noted in his autobiography:
..
  ...captains of industry... who were afraid that they would have to 
scrap some of their direct current apparatus and the plants for
manufacturing it, if the alternating current system received any support. A
most un-American attitude... but ignorance and false notions prevailed in
the early nineties, because the captains of electrical industries paid
small attention to highly trained scientists.

  Once again, we face Tesla's battle with the organized opposition!__BP

Source: http://teslatech.net/ttstore/report/articles/v2n2art/radiant.htm

regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: NFS in 2.6.32

2009-12-11 Thread Emanoil Kotsev
Sven Joachim wrote:

 On 2009-12-11 21:10 +0100, Emanoil Kotsev wrote:
 
 (I think) I hit the same bug in 2.6.31 when trying to copy an iso image
 from my notebook to nfs mounted partition from the server.
 
 Have you even read the bug report?  This is a totally different issue.
 
 Sven

i think i posted to the wrong thread 




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: How to move an OS install from one primary partition to another?

2009-12-09 Thread Emanoil Kotsev
Dotan Cohen wrote:

 That in itself shouldn't be a problem. You could just copy the files
 (using ntfs-3g), use dd or some other method. But your problem will be
 that Windows won't find itself in the expected place anymore. Off the
 top of my head, I only know of C:\boot.ini which must be adapted, but I
 don't even know whether Windows 7 still uses this file.

 
 I wanted to avoid the hands-dirty approach as I am unfamiliar with
 Windows.
 
 
 Google shoud help, though:
 http://www.google.com/search?q=move+windows+7+another+partition

 Feel free to share the approach that worked for you. :)

 
 They all recommend some expensive proprietary application or another.
 I thought that maybe there would be a more Debian way :). I have found
 Clonezilla, a Norton Ghost alternative, so I will try it. Thanks!
 

Just copy over and run the windows installation disk. Choose repair
procedure (autorepair) and it will fix all the stuff. No ghost no
nothing :-). I've done it to a vfat with win2000 and winXP. The Autorepair
process replaces the windows core and sets up the paths.

regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: How to move an OS install from one primary partition to another?

2009-12-07 Thread Emanoil Kotsev
Dotan Cohen wrote:

 A fellow student has Debian and Windows 7 on his laptop. I installed
 Windows first so that the Debian installer could configure grub
 properly, but after installing and setting up the system (which
 required a trip to the faculty technical support to set up printing
 and MatLab in Windows, not something that I want to repeat in the near
 future) I discovered that I had accidentally installed Windows to the
 wrong partition. Can I use the Debian disk to move Windows to a new
 partition? Are there any other tools that I could use? I do not care
 about what happens to the MBR as once Debian is installed it should
 configure grub properly in any case.
 
 Thanks in advance for any ideas.
 

I've done this (using ghost) and had to run the windows installer (install
cd in repair mode) to repair the installation. After this boot from debian
cd/usb or whatever and rerun grub setup with the new configuration.
I'm not sure if it's possible with vista or win7. I stopped dealing with M$
before vista came out.
Theoretically there is a boot.ini file in the windows root partition. This
is something like the grub menu.lst file. Google about or have a look in to
it. I've never used it but read it would be possible to setup different
boot params in there, like which disk or partition it should boot from,
however the repair process does it all.

regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Will Debian accept a SATA to IDE hdd adapter?

2009-12-07 Thread Emanoil Kotsev
Mark wrote:

On Thu, Dec 3, 2009 at 7:52 PM, Stefan Monnier
monn...@iro.umontreal.cawrote: Agreed, in case you have a choice, go for
the SATA controller. OTOH, I use one of those frankenstein adapters in a
small box (wl700ge home router) where the SATA controller is not an
option, and it works just great for that.
 
 Well, the Frankenstein adapters don't work.  hdd isn't recognized by BIOS
 no matter what configuration I use, even when it's the only hdd in the
 computer
 and I use Master or Cable Select.  Sad I bought 2 of them and neither
 works
 with the circa year 2000 HP desktop.  I can't use the PCI adapter unless
 it also has SATA power as my mobo doesn't have SATA power and my drives
 don't have the standard 4-prong power adapter.
 
 Hmmm guess I'm stuck unless I'm missing something obvious.
 
 Mark

Hi, I'm using my old ide drives in pretty modern pc that has only sata. I
both first one SATA-IDE adapter for about 5€ but then noticed that it was
exactly the opposite I needed. Then I saw that there was IDE-SATA for about
30€.  I bought this one and it worked, so could it be in your case, that
you've got the wrong adapter? The problem is that SATA/IDE slots look the
same on both ends, so mistakes are preprogrammed.
If not then I would guess it is a bios issue. In the latter case no one can
help.

regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: AMD-K6-2 processor for Lenny

2009-11-30 Thread Emanoil Kotsev
forman...@email.cz wrote:

 
 From: Stan Hoeppner
 Simple.  In 'make menuconfig' select K6-II under Processor Type.
 
 And read this if you haven't already:
 a

href=http://kernel-handbook.alioth.debian.org/ch-common-tasks.html;http://kernel-handbook.alioth.debian.org/ch-common-tasks.html/a
 
 --
 Stan
 
 Yes - I have read it.
 menuconfig on Lenny - kernel 2.6.26-2 says only 4 options (if .config in
 place or not):
 
 ( ) Opteron/Athlon64/Hammer/K8
 ( ) Intel P4 / older Netburst based Xeon
 ( ) Core 2/newer Xeon
 ( ) Generic-x86-64
 
 and no more options.
 Something else is needed, if it possible to compile.
 Forman

the kernel does not provide a preselected options in this sense. Either
configure or just copy the config file from /boot to .config and run make
oldconfig or make menuconfig

You still have to go through most of the options yourself ;-).

regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Quick and dirty debian live on USB stick.

2009-11-29 Thread Emanoil Kotsev
Rob Owens wrote:

 On Sat, Nov 28, 2009 at 05:19:56PM -0500, Chris Jones wrote:
 I'm playing with the idea of copying my laptop's debian lenny partition
 to a USB stick that I can take with me when traveling.
 
 Since I can't be sure I'll have a machine with available space on the
 HDD or be allowed to partition the drive, what I thought was that I
 could have a bootable system on the USB stick and boot into it pretty
 much as I would off of a live CD.
 
 What I had in mind was as simple as:
 
 . clone the lenny partition to /dev/sda1
 . install grub to /dev/sda
 . make adjustments to the contents of /dev/sda1
 
 The trouble is that I don't have a machine that can boot off of a USB
 stick to test ahead of time.
 
 I'm not sure that what you're planning won't work, but if I were you
 I'd do it like this:
 
 Create a live USB system (see my instructions in the live cd/usb
 projects thread).  Install all the same software as your current laptop
 ha.  Then transfer over your data.
 
 Supposedly you can test your USB image using Qemu, although I've never
 done it myself.
 http://live.debian.net/manual/html/ch03s03.html#id2911160
 
 -Rob

Hm, not necessary to install from scratch.

Just copy over to the usb and put in fstab and relevant files (grub,etc) the
disk id instead of /dev/sda (you need udev for this), so you can be sure to
use the same device no matter which id it sd id it gets assigned to.
recreate initrd and possibly hack it. For me I needed to add manually
command for inserting dm-mod and triggering vgscan/vgchange on a crypted
partition with lvm.
After playing a bit I managed it to get a working initrd. It's all mater of
initrd to get it running.

A major issue is that there are different machines on around with different
chipsets cpus etc, so you'll need more generic kernel and drivers ... may
be 386 to be sure it will run on each system, or get some 386, 586 and 686.

regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Grep on dictionary words

2009-11-29 Thread Emanoil Kotsev
Dotan Cohen wrote:

 
 This means that only words that start with a caps are valid. I need
 can start with a caps, but caps can be nowhere else. I got that like
 this:
 grep ^[A-Za-z][a-z]*$
 However I think that there is a better way.
 
 This is a good exercise. I am bettering my regex skills as I learn
 what works and what doesn't.
 

Ever thought of using perl or python

i.e. libtext-aspell-perl

NAME
   Text::Aspell - Perl interface to the GNU Aspell library

SYNOPSIS
   use Text::Aspell;
   my $speller = Text::Aspell-new;

   die unless $speller;

   # Set some options
   $speller-set_option('lang','en_US');
   $speller-set_option('sug-mode','fast');

   # check a word
   print $speller-check( $word )
 ? $word found\n
 : $word not found!\n;



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



squeeze and kde 3.5

2009-11-21 Thread Emanoil Kotsev
Hi, do you know if and how it is possible to run squeeze with kde 3.5

I googled but couldn't find a hint.

I tried installing lenny but upgrade to sqeeze leads to upgrade of kde too.

Is there a repo that can be used

thanks in advance

regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



RE: Include a ftp client in initrd

2009-11-19 Thread Emanoil Kotsev
Kushal Koolwal wrote:

 
 I just need a client program.
 
 Also I figured that just copying an ftp program would not be sufficient. I
 will need to copy the shared libraries also. I was wondering what is the
 best way to find out the shared libraries. Just doing:
 
 # ldd ftp
 
 should be sufficient?

yes, exactly, not sure if it is recursive though

 
 Alternatively, I can compile the ftp program statically but I am not sure
 what is the best way to do that in Debian.

The best way is what you decide is the best.

regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: ksuspend_usbd : what does this daemon do ?

2009-11-12 Thread Emanoil Kotsev
Andrew Sackville-West wrote:

 ksuspend_usb

it's not adaemon but a kernel process (thread)

look into ./drivers/usb/core/usb.c to learn more

/opt/software/linux-2.6.31.6# grep -r ksuspend_usb .
Двоичен файл ./drivers/usb/core/hcd.o съвпада
./drivers/usb/core/usb.c:struct workqueue_struct *ksuspend_usb_wq;
./drivers/usb/core/usb.c:static int ksuspend_usb_init(void)
./drivers/usb/core/usb.c:   ksuspend_usb_wq =
create_freezeable_workqueue(ksuspend_usbd);
./drivers/usb/core/usb.c:   if (!ksuspend_usb_wq)
./drivers/usb/core/usb.c:static void ksuspend_usb_cleanup(void)
./drivers/usb/core/usb.c:   destroy_workqueue(ksuspend_usb_wq);
./drivers/usb/core/usb.c:#define ksuspend_usb_init()0
./drivers/usb/core/usb.c:#define ksuspend_usb_cleanup() do {} while (0)
./drivers/usb/core/usb.c:   retval = ksuspend_usb_init();
./drivers/usb/core/usb.c:   ksuspend_usb_cleanup();
./drivers/usb/core/usb.c:   ksuspend_usb_cleanup();

./drivers/usb/core/driver.c:   
queue_delayed_work(ksuspend_usb_wq, udev-autosuspend,
./drivers/usb/core/driver.c:   
queue_delayed_work(ksuspend_usb_wq, udev-autosuspend,
./drivers/usb/core/driver.c:queue_work(ksuspend_usb_wq,
udev-autoresume);
./drivers/usb/core/hcd.c:   queue_work(ksuspend_usb_wq,
hcd-wakeup_work);



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Where can I get the LaTeX CTAN package glossaries in Debian?

2009-11-12 Thread Emanoil Kotsev
Felix H. Dahlke wrote:

 Hi,
 
 I am unable to find the glossaries package [1] in Debian stable,
 testing or unstable.
 The older glossary package is available, but it is no longer supported
 and recommends glossaries [2].
 
 I've found a bug report on what appears to be this very issue in
 Ubuntu's bug tracker [3].
 
 Does somebody here know whether this package is in Debian by now and how
 I can get it?
 
 [1] http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=glossaries
 [2] http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=glossary
 [3] http://bugs.launchpad.net/ubuntu/+source/texlive-base/+bug/296320

you have few options

1. File a request to get the package included
2. Build a package on your own
3. Install the package on your own

I would choose 3 and go with 2 or 1 later.

regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Include a ftp client in initrd

2009-11-12 Thread Emanoil Kotsev
Kushal Koolwal wrote:

 Hi,
 
 I am using Debian Lenny with the default 2.6.26-2-686 kernel and the
 default initrd image.
 
 My aim is to just boot the kernel and initrd image. I don't want to mount
 the real filesystem from the hard drive or any other storage device.
 
 I know how to mount an initrd and make changes in it and then zip and
 compress back again. However I need your help with the following question:
 
 I want to include a ftp client program in the initrd image and write a
 shell script in the initrd image that will execute the ftp program.
 
 What is the best way to do this?

do you need a client or server?

there are good howtos about diskless systems and also about busybox or
rtlinux.

if you would like you could unzip your initrd and do whatever you want there
and zip it again.

i.e 
mkdir test ; cd test
gunzip -c /boot/initrd-2.6.31.6eko2 | cpio -Hnewc -i
38550 blocks
maistor:/tmp/test# ls
bin  conf  etc  init  lib  sbin  scripts  usr

do whatever you want

find . ! -name *~ | cpio -H newc --create | gzip -9  /tmp/test-initrd.gz

regards

regards



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: 2.6.31 kernels

2009-11-12 Thread Emanoil Kotsev
Colin wrote:

 Cassiano Leal wrote:
 
 I have a 4312 myself. Only way I can use the card is via the hybrid wl
 driver found here:
 http://www.broadcom.com/support/802.11/linux_sta.php
 
 Unfortunately, it's not free. It works, though...
 
 That's what the broadcom-sta package worked with and it worked fine for
 me too.  Unfortunately, that package is no longer available in the
 distribution.

Exactly the same problem wit ha friend of mine who has a acer aspire eeepc
or however it's called. he installed ubuntu but couldn't use the network
card becausee of a bug with the card ids. I helped him install latest
kernel 2.6.31.5 but then wireless was not working. I think his id was 4315.
Reading about the issue I downloaded the wl driver from the broadcom
webpage compiled/installed and it worked.
So currently this should be the solution

regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: 2.6.31 kernels

2009-11-02 Thread Emanoil Kotsev
Dave Witbrodt wrote:

 My impression is that the kernel team considers 2.6.31 to have been a
 bit buggier than usual, but they are feeling better about 2.6.32 and
 plan to use it for Squeeze (when released).
 

I've just compiled and installed .31.5 (from kernel.org) and it seems my
notebook likes it.

regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: 2.6.31 kernels

2009-11-02 Thread Emanoil Kotsev
Stan Hoeppner wrote:

 
 Running a customized (stripped) little 2.6.31.1 from kernel.org under
 Lenny since Oct 3, on an old dual 550MHz i440BX board.  Fairly stripped
 down install running a Postfix mail firewall and Lighty.  Been running
 great, no issues.  I've probably got everything stripped out that was on
 the kernel team's buggy list. ;)  My vmlinuz is only 1.1MB and all my
 drivers (two--disk and NIC) are compiled in.  I actually went so far as
 to strip module support completely out of the kernel.  No initramfs, no
 this, no that.  Pretty lean and mean kernel.
 
 --
 Stan

sounds cute. 

In fact I'm using the code from kernel org most of the time, because of the
exact same reason. Except stripping off a lot of code you don't need you
can optimize (fine tune) specifically for the machine you are using.

But back to the topic. The 2.6.30 line was really buggy :-) at least for me.
But this (2.6.31.5) seems to be useful.

I'm using it on a notebook Dell D520 (lenny).

regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: usb-key files locked by unknown user

2009-10-17 Thread Emanoil Kotsev
Mark Grieveson wrote:

 (even with root user).  Does anyone know what may be going on?  Or, can
 someone suggest something I can do to better diagnose the issue?  I'm
 not actually sure it has anything to do with the school presentation
 (which was given on a Windows computer -- I have used this usb-key on
 other Windows computers before without an issue).
 
 Mark

what's the partition type?

I had similar problems when not properly unmounting ntfs formatted drive and
then plugging into linux.

A ntfs repair fixes this - not sure if you can repair in linux.

regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Someone help me in the right direction for networks - Might be off topic

2009-10-13 Thread Emanoil Kotsev
Dean Chester wrote:

 Hi,
 I've been asked to set up a network of between 6 and 10 computers, using
 linux yet i don't know what to do. I've decided to allocate 2 as servers
 and because we have to run our network with in another network so we are
 hoping to run the 1 server as a copy of the other one just it will be
 sitting outside of the firewall(not allowed to open other ports on the
 firewall) so we can access documents at home, i'm thinking of running a
 webdav server to do that part.. Now the main problem how would i go about
 configuring the workstations to allow home directries on any computer so
 users do not have to have specific computers and they can go in and use
 any freely avaliable machine. I am open to another suggestions.
 Thanks in advance
 Dean

1 server behind the firewall would be the dhcp/dns and auth server
if the firewall can do vpn this is all you need. just setup vpn on the
firewall and on the clients and you are ready to go. if not put a second
server infront of the firewall and do vpn there, but you'll have to bypass
the firewall then (may be consider DMZ)

You can also use ldap for authentication and samba for windows network
shares

regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Configure wifi access / Free.Fr / WPA (TKIP/AES)

2009-10-13 Thread Emanoil Kotsev
Celejar wrote:

 On Sat, 10 Oct 2009 14:03:22 +0200
 Mathieu Malaterre mathieu.malate...@gmail.com wrote:
 
 Hi there,
 
   I am trying a very simple task: connect to my wifi using a my
 debian box. Setup: My wifi box is made by Free.Fr (French ADSL
 provider). I did setup the SSID to be foobar, no broadcast, and
 security WPA (TKIP+AES). I hit generate and it gives me a password.
 I can connect using WinXP no problem.
 
   Now if I try to connect with my debian box, I click on the
 network-manager and select 'Connect to Hidden Network', set security
 to 'WPA/WPA2 Personal' and copy paste the password as I would do on
 winxp. It does not connect at all.
   I tried then:
 http://wiki.debian.org/Manual-Howto#AuthenticatewithwpausingPSKTKIP.
 It still does not work and I get (*). What am I doing wrong ? What are
 the tool to understand what is going on wrong ? Should I select
 another type of security ?
 
 I)  Turn off security entirely, and see if you can connect.  If you get
 the same failure, we can rule that out as the problem.
 
 II) Post the relevant logs (syslog, perhaps dmesg).  These are
 invaluable in determining what's happening.
 
 Celejar

Yes, and also tell us where you are posting the password (which application
are you using to configure your wlan access)

I am using both with knetworkmanager and without. without the manager I
should configure wpa_supplicant and both ways work fine. Sometimes the kill
switch is turned off so turn on and check with iwconfig (/sbin/iwconfig
21| grep -i tx-power)

regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Clone a bootable USB key

2009-10-06 Thread Emanoil Kotsev
Dieder Vervoort wrote:

 Copied the MBR:  dd if=/dev/sdb of=/dev/sdc bs=446  count =1

I think the correct value for bs is 512

(google) i.e. the first usable
http://forums.opensuse.org/archives/sls-archives/archives-suse-linux/archives-install-boot/384843-moving-grub-mbr-record-another-hdd.html

if you keep the partition table with bs=446, you have to setup grub I think.
In fact I prefer reinstalling grub than copying the mbr

regards

 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Virtual Memory and long use

2009-09-23 Thread Emanoil Kotsev
Ivan Marin wrote:

 Hello all,
 
 I'm running Sid (kernel 2.6.30) on a Core i7 with 4G of memory. Everything
 runs smoothly until some programs hit the VM (like using eclipse, amarok,
 iceweasel and azureus at the same time). Even if one of the memory hoggers
 is killed, or all of them, if the VM was hit and some swap was made, the
 system performance starts do degrade, being slower and slower, and with
 lots of I/O, even if the program was not in the swap or is closed and
 opened again. I think that maybe this is related to the swapiness of the
 system, but also don't know how to configure that, and disabling the swap
 doesn't seems a very bright idea to me. I heard that kernel 2.6.31 has a
 much better performance regarding memory control. Any thoughts?
 
 Thank you.
 
 Ivan

Not sure but it could be related to larger files. I have the same
observation, then I investigated and read that linux is loading files into
memory (i.e. when copying then), so you can test following.

Copy a large file i.e. 2GB and remove it afterwords (you can use i.e. dd)
Delete the file and have a look to the memory with top or free.

For me it shows 2GB mem free.

I'm thinking that things are actually not swapped correctly but no prove
until now.

regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Size of a kernel module is different at build place and after installation

2009-09-22 Thread Emanoil Kotsev
sobtwmxt wrote:

   I have built a custom kernel, using make-kpgk, from debian source.
 Using ls -l, there is difference in the size of kernel modules, .ko
 files, at build place and after installation of the package.  I
 only looked at 2 unrelated modules, but I think there will be a
 difference in the size of other modules too.  If that matters, I built
 the package on one machine, and installed it on another.  The later
 machine is an x86 running Ubuntu.  The former is x86 running Debian.
   
 1) Why there is size difference?

are you using the same filesystem on both (i.e. ext3)?

 2) Can I compile modules on the Debian machine and copy the resulted
.ko files directly to the Ubuntu machine?

yes 

regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Size of a kernel module is different at build place and after installation

2009-09-22 Thread Emanoil Kotsev
sobtwmxt wrote:

 Emanoil Kotsev deloptes at yahoo.com writes:
 
 
 are you using the same filesystem on both (i.e. ext3)?
 
 
 
 It is ext3 on both.

then may be the disks are different type? 

do on both machines as root

fdisk -l /dev/disk

i.e.

fdisk -l /dev/sda
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x23f12d67

   Device Boot  Start End  Blocks   Id  System
/dev/sda1   *   1  17  136521   83  Linux
/dev/sda2  18972978011640   83  Linux



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



dev/null only root access - why?

2009-09-22 Thread Emanoil Kotsev
Why does dev/null has rw permissions only for root?

ls -al /dev/null
-rw-r--r-- 1 root root 0 22 сеп 21,09 /dev/null

Where do you fix this?

regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: dev/null only root access - why?

2009-09-22 Thread Emanoil Kotsev
Sven Joachim wrote:

 On 2009-09-22 21:23 +0200, Emanoil Kotsev wrote:
 
 Why does dev/null has rw permissions only for root?

 ls -al /dev/null
 -rw-r--r-- 1 root root 0 22 сеп 21,09 /dev/null
 
 This can happen if some program, e.g. an early init script, writes to
 /dev/null before the device node for it is created.  In this case,
 redirection (foobar  /dev/null) will create it as a regular file.

Thanks for your replies.
I suspect here hibernate!
I don't know it very well, but I have problems after wake up from supsend or
hibernate state.

I have installed 2.6.31 (custom) recently, but don't think this is the
reason.

 
 Where do you fix this?
 
 I don't really have an explanation or a solution.  To debug the problem,
 reboot with init=/bin/bash added to the kernel command line and run the
 scripts in /etc/rcS.d, one at a time (/etc/rcS.d/Swhatever start).
 Check /dev/null after each script.
 
After I reboot it looks normal, so may be you are correct. It's either some
script/hibernate or udev issue.

It's not that urgent to fix today, but would be nice to have a solution.

regards




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: dev/null only root access - why?

2009-09-22 Thread Emanoil Kotsev
Emanoil Kotsev wrote:

 Sven Joachim wrote:
 
 On 2009-09-22 21:23 +0200, Emanoil Kotsev wrote:
 
 Why does dev/null has rw permissions only for root?

 ls -al /dev/null
 -rw-r--r-- 1 root root 0 22 сеп 21,09 /dev/null
 
 This can happen if some program, e.g. an early init script, writes to
 /dev/null before the device node for it is created.  In this case,
 redirection (foobar  /dev/null) will create it as a regular file.
 
 Thanks for your replies.
 I suspect here hibernate!
 I don't know it very well, but I have problems after wake up from supsend
 or hibernate state.
 
 I have installed 2.6.31 (custom) recently, but don't think this is the
 reason.
 
 
 Where do you fix this?
 
 I don't really have an explanation or a solution.  To debug the problem,
 reboot with init=/bin/bash added to the kernel command line and run the
 scripts in /etc/rcS.d, one at a time (/etc/rcS.d/Swhatever start).
 Check /dev/null after each script.
 
 After I reboot it looks normal, so may be you are correct. It's either
 some script/hibernate or udev issue.
 
 It's not that urgent to fix today, but would be nice to have a solution.
 
 regards
 

this should be s2disk. tested with same result
using hibernate there is no such issue.



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: no sound in headphones

2009-09-21 Thread Emanoil Kotsev
Liviu Andronic wrote:

 # from http://alsa.opensrc.org/index.php/Dmix

did you read this?
the info there could help you. I don't know exactly how to help you. here
everything is working fine

regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: no sound in headphones

2009-09-21 Thread Emanoil Kotsev
Liviu Andronic wrote:

 front:CARD=SB,DEV=0

I think this is the one you should try. May be we can exchange snapshots of
what alsamixer looks like. It seems you have similar audio controller to my
one.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: no sound in headphones

2009-09-21 Thread Emanoil Kotsev
Liviu Andronic wrote:

 On 9/21/09, Emanoil Kotsev delop...@yahoo.com wrote:
  Liviu Andronic wrote:
  front:CARD=SB,DEV=0
 I think this is the one you should try. May be we can exchange snapshots
 of
  what alsamixer looks like. It seems you have similar audio controller to
  my one.

 I think I found it. This specific problem of no audio in external
 headphones/speakers was widely discussed on Ubuntu, and someone
 somewhere for some reason (similar but different from mine, I believe)
 suggested adding the position_fix=1 option. I did so, and after reboot
 everything seems to work as expected. I would probably need couple
 more reboots to confirm this, but so far it looks fine. (Though
 haven't checked the microphone, yet.)
 
 Again, thank you for your help.
 Best
 Liviu

welcome

 
 
 li...@debian-liv:~$ cat /etc/modprobe.d/sound.conf
 ## ALSA portion
 alias char-major-116 snd
 alias snd-card-0 snd-hda-intel
 alias snd-card-1 snd-usb-audio
 
 ## module options should go here
 #ex. options snd-hda-intel index=0 model=dell-m6,ref,auto
 #options snd-hda-intel index=0 model=ref enable_msi=1
 options snd-hda-intel index=0 model=hp-dv5 enable_msi=1 position_fix=1
 options snd-usb-audio index=1

If you don't find this specific information for your card and chip I will
urge you to post to alsa people to include it there.

regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: no sound in headphones

2009-09-20 Thread Emanoil Kotsev
Liviu Andronic wrote:

 On 9/17/09, Liviu Andronic landronim...@gmail.com wrote:
  an issue that I also encountered in 2.6.26. Although I have sound in
  hte computer speaker, I have none in the headphones. When I plug the
  headphones (or external speakers), the computer speakers are not
  muted, and there is no sound in the external devices.

 The strange part is that in some specific instances, which I did not
 yet learn how to recreate, the plugging in the headphones works as
 expected.
 Any ideas on what might be wrong?
 Liviu

nothing is wrong - you may have many input/outputs. you have to figure out
which controls are for the headphones. Unfortunately it depends on your
card. Mostprobably you have to assign the correct output to your
application. 

In alsamixer I see many headphone controls and if I plug into the headphone
jack it works fine

Or

amixer | grep Head
Simple mixer control 'Headphone',0
Simple mixer control 'Headphone as Line Out',0
Simple mixer control 'Headphone',1

Also you can play with .asounrd

# from http://alsa.opensrc.org/index.php/Dmix
pcm.headset { # playback only on frontpanel headset
 type route
 slave.pcm dmixer
 slave.channels 8
 ttable.0.0 1 # headphones front L
 ttable.1.1 1 # headphones front R
}



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: bi-directional file-synchronization tool

2009-09-20 Thread Emanoil Kotsev
T o n g wrote:

 
 Thanks for your feedback, Emanoil. Could you elaborate more? unison
 looks promising to me, and I've just learned that there are no ocaml
 runtime dependency for it on i386, amd64. So usability is the most
 important issue to me now. Anyone has positive experience with unison?
 
 Thanks
 

I have already forgotten why I decided not to use it, but there wer few
posts with different reasons.

regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: recent xterm/terminal(?) change (control-C) shows ^C?

2009-09-20 Thread Emanoil Kotsev
Wayne Topa wrote:



 
 Thanks for the tip! This ^C really bothered me as I copy-paste from
 terminals very often!
 The question is, how do you make this change permanent? I manned stty
 and nothing is mentioned, I straced it and could not find where it makes
 its changes, so how do I make it permanent?
 
 
 Easy way to to it is to put stty -echoctl in your ~./.bashrc file.
 
 Wayne

or in your .profile if all the terminals are affected


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: no sound in headphones

2009-09-20 Thread Emanoil Kotsev
Liviu Andronic wrote:

 On 9/20/09, Emanoil Kotsev delop...@yahoo.com wrote:
 nothing is wrong - you may have many input/outputs. you have to figure
 out
  which controls are for the headphones. Unfortunately it depends on your
  card. Mostprobably you have to assign the correct output to your
  application.

  In alsamixer I see many headphone controls and if I plug into the
  headphone jack it works fine

 In the mixer (both alsa and xfce) I have only one  Headphones volume
 control. Probably irrelevant, I also have IEC958 switches and
 IEC958 Playback Source options; no idea what these are for.
 
 I am not familiar with JACK. I just tried starting it from qjackctl,
 but JACK failed to start.
 
 
  amixer | grep Head
  Simple mixer control 'Headphone',0
  Simple mixer control 'Headphone as Line Out',0
  Simple mixer control 'Headphone',1

 li...@debian-liv:~$ amixer | grep Head
 Simple mixer control 'Headphone',0
 
 This is the relevant part from amixer:
 Simple mixer control 'Headphone',0
   Capabilities: pvolume pswitch
   Playback channels: Front Left - Front Right
   Limits: Playback 0 - 64
   Mono:
   Front Left: Playback 60 [94%] [-3.00dB] [on]
   Front Right: Playback 60 [94%] [-3.00dB] [on]
 
 As far as I can see here, the headphone levels are just fine. When
 headphones are plugged, though, the audio is simply not switched to
 these.
 
 
  Also you can play with .asounrd

  # from http://alsa.opensrc.org/index.php/Dmix
  pcm.headset { # playback only on frontpanel headset
   type route
   slave.pcm dmixer
   slave.channels 8
   ttable.0.0 1 # headphones front L
   ttable.1.1 1 # headphones front R
  }

 Before I try this one, would there be anything I could with the first two?
 Thank you
 Liviu

When starting multimedia application it picks up the default audio device
which is not your headset output.

you can play with aplay -D ... man aplay and findout yourself which device
id the headphone one.

aplay -L
default:CARD=Intel
HDA Intel, STAC92xx Analog
Default Audio Device
front:CARD=Intel,DEV=0
HDA Intel, STAC92xx Analog
Front speakers
surround40:CARD=Intel,DEV=0
HDA Intel, STAC92xx Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
HDA Intel, STAC92xx Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
HDA Intel, STAC92xx Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
HDA Intel, STAC92xx Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
HDA Intel, STAC92xx Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Intel,DEV=0
HDA Intel, STAC92xx Digital
IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=Intel,DEV=0
HDA Intel, INTEL HDMI
HDMI Audio Output
null
Discard all samples (playback) or generate zero samples (capture)


so if i want to use 7.1 surround system I would use surround71 etc

regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: no sound in headphones

2009-09-20 Thread Emanoil Kotsev
Emanoil Kotsev wrote:

  In the mixer (both alsa and xfce) I have only one  Headphones volume
 control. Probably irrelevant, I also have IEC958 switches and
 IEC958 Playback Source options; no idea what these are for.

IEC958 is optical/digital in/out as far as i know, you probably don't use
it.

You might need to update your alsa utils, libs or whatever or something, at
least I did though I think I saw you are using 1.2.20.

I can switch the output to front, back etc over the mixer. I think front are
the headphones.

regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Why can't I install skype on debian?

2009-09-18 Thread Emanoil Kotsev
thveillon.debian wrote:

 Eduardo M KALINOWSKI wrote:
 On Qui, 17 Set 2009, Andrei Popescu wrote:
 I'm curious, why are you indicating use of sudo? It's not even
 installed/configured by default in Debian...
 
 Ubuntu influence, I'd bet.
 
 
 
 It's offered as an install option, at least it was the last time I
 installed from a testing netinstall image.
 Of course Ubuntu did a neat job advertising sudo, it's spreading all
 over (and it's great, it's a nice tool in a multiuser environment, just
 doesn't make sens the way Ubuntu uses it...).

guys ubuntu did not introduce sudo.

It's normal way to run commands as root.

regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: bi-directional file-synchronization tool

2009-09-18 Thread Emanoil Kotsev
T o n g wrote:

 Hi,
 
 Anyone knows a good bi-directional file-synchronization tool that can
 synchronize changes to files and directories in both directions on
 different hosts, propagating the changes between them?
 
 This is mainly use to synchronize files and directories between my
 notebook and desktop (at home and at work). Any good recommendation?
 
 syrep is too limited, unison seems to be the exact tool that I'm looking
 for, just I want to avoid its dependency (OCaml) if possible.
 
 Thanks
 

Hi, so far I have not found any nice and useful software that can do this (I
mean with gui and so on)

The mentioned unison program failed the tests. May be rsync but not sure it
didn't do the things I wanted and I wanted to do it the way you can do it
in i.e. windows with some commercial software.

I was also thinking unison is just the right thing, but then I noticed it's
not really syncing like it should and leading to inconsistency.

regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: migrating my lenny install from 32-bit to 64-bit?

2009-09-17 Thread Emanoil Kotsev
Jochen Schulz wrote:

 Emanoil Kotsev:
 
 You are right, that I'm not targeting the same approach. Migration of
 data and services involves too much manual work. However I was thinking
 that after replacing the package sources in source.list you could force
 reinstall if every single package that has the status installed, pulling
 from amd64 should bring the packages to the 64 code. For sure there would
 be also some manual work to do, but less.
 
 Do you think it's possible?
 
 Don't you read the replies to your mails? There is no way to tell apt
 which architecture to fetch packages for. Not in sources.list nor
 anywhere else.
 
 J.

You mean that if I say 

debootstrap --verbose lenny testdeb/

There is no way to let it know that I want amd64... I've got the point!

I do read the replies. At least I believe so.

But then the installation instruction above should be possible to accomplish
if I boot from live cd (amd64) and execute from there.

Thanks for the discussion. It's really interesting to me, because I'm
planning such a move in the next few months

regards



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: syncing sony erricson phone with linux

2009-09-17 Thread Emanoil Kotsev
Micha Feigin wrote:

 Is it possible in a stable way to sync a sony erricson phone (k800i) with
 linux (calendar and contacts)?
 
 I tried to google but all I  found was seriously outdated, the main
 current reference seems to be opensync which I tried at the time but it
 failed miserably and it doesn't seem like the version number went
 anywhere.
 
 Regrettably what I'm doing now is to use my phone explorer in windows and
 transfer information via google calendar but it's a horrible solution.
 
 I'm currently using iceowl for calendar and I haven't found a descent
 contacts manager, but I'm open to suggestions on both (preferably not
 gnome/kde and if
 it's  a mail program it has to support my own mail directory which AFAIK
 neither mozilla, evolution nor kmail do, I'm currently using claws for
 mail which is great but doesn't have descent contacts support)
 
 thanks

Hi, I'm not sure if I can help you. I have k750i and dell notebook (d520)
with infrared port. So far I was able to sync only over USB cable with
multisync. Many people suggested to get bluetooth, because of better
support, which I refused.

There are a lot of infos you can find on tuxmobile. May be you can subscribe
to this group. Another interesting mailing list is the syncml (opensync)
one.

Have a look here
 http://tuxmobil.org/phones_survey_ericsson.html
 http://www.opensync.org/wiki/peers/sonyEricsson/k800i

regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: recent xterm/terminal(?) change (control-C) shows ^C?

2009-09-17 Thread Emanoil Kotsev
Justin Piszcz wrote:

 Hello,
 
 Distribution: Debian Testing
 
 Recently, after an apt-get dist-upgrade, when I hit control-c, I get the
 following in an xterm:
 
 $ ^C
 
 It occurs with aterm/xterm, bash and csh.

Not usre if it helps but I read a lot about terminal settings recently - may
be you can set it with stty. Or check if you have custom or system settings
for those terminals 

 
 Before, when I hit control-c, it would not show ^C on the console (makes
 it easier when copying/pasting items from the command line)
 
 I never recall this occurring before-- does anyone which character
 mappings are responsible for this?
 
 I wish to disable this behavior.
 
 Justin.



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: migrating my lenny install from 32-bit to 64-bit?

2009-09-17 Thread Emanoil Kotsev
Jochen Schulz wrote:

 Emanoil Kotsev:
 Jochen Schulz wrote:
 
 Don't you read the replies to your mails? There is no way to tell apt
 which architecture to fetch packages for. Not in sources.list nor
 anywhere else.
 
 You mean that if I say
 
 debootstrap --verbose lenny testdeb/
 
 There is no way to let it know that I want amd64... I've got the point!
 
 No, that's not what I said. debootstrap has an '--arch' option which you

I'm really not understanding you completely well. But still the point is
important. From the man page I do not understand what exactly is supposed
to be the argument but I assume amd64, i386, ia64 etc, as if a it's sooo
obvious.

man  debootstrap
   --arch=ARCH
  Set the target architecture (use if dpkg isn’t installed). 
See also --foreign.


--foreign
  Do  the  initial unpack phase of bootstrapping only, for
example if the target architecture does not match
  the host architecture.  A copy of debootstrap sufficient for
completing  the  bootstrap  process  will  be
  installed as /debootstrap/debootstrap in the target
filesystem.

 can use. But *after that* (or after a regular installation using d-i),
 there is no (officially supported, efficient) way to switch the
 architecture of the installation.
 
 J.

What do you mean way to switch the  ? You mean perhaps once installed
you can not easily switch. This means I would add i.e. a disk to my server,
boot in 32 as usual, partition, format and debootstrap --arch=amd64. Make
the disk bootable and reboot in this disk.
Actually by writing this I'm thinking that usually administrators do install
the system on extra partition(s) (/, /var, /usr etc) so I could use a USB
disk to install on it, reboot and after migration is done I could delete
the system partition(s) and copy the new system over from the USB disk.

This does look much easier to accomplish now.

Thanks and regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: lenny migration, part 4,862: samba

2009-09-17 Thread Emanoil Kotsev
Robert P. J. Day wrote:

 /etc/samba/*

Samba has some important stuff in /var/
/var/lib/samba
/var/run/samba
/var/spool/samba
/var/cache/samba
/var/log/samba

regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: migrating my lenny install from 32-bit to 64-bit?

2009-09-17 Thread Emanoil Kotsev
Sjoerd Hardeman wrote:

 That is of course quite possible. But the point was if 'updating' your
 system from i386 to amd64 on the fly, e.g. on the same partition, is
 possible without the aid of live cds and so on. As posted before, the
 answer is 'yes, but don't dare to try'. At least, that is my
 understanding.

OK, thanks. I understood that it is not possible to tell  update to
different arch. Now we have to make a plan what's the most easy way to
migrate from 32 to 64

regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: lenny migration, part 4,862: samba

2009-09-17 Thread Emanoil Kotsev
Robert P. J. Day wrote:

 On Thu, 17 Sep 2009, Emanoil Kotsev wrote:
 
 Robert P. J. Day wrote:

  /etc/samba/*

 Samba has some important stuff in /var/
 /var/lib/samba
 /var/run/samba
 /var/spool/samba
 /var/cache/samba
 /var/log/samba
 
   quite right, i'd forgotten about that, but as i read it, pretty much
 all of that is transient content that will be (slowly?) regenerated as
 samba starts to run on the new system.  if one looks at the relevant
 contents of the samba-common package, one sees:
 
 # dpkg --listfiles samba-common | grep /var
 /var
 /var/log
 /var/log/samba
 /var/cache
 /var/cache/samba
 /var/lib
 /var/lib/samba
 /var/run
 /var/run/samba
 #
 
 so that's just creating new empty directories.  and as for the other
 package:
 
 # dpkg --listfiles samba | grep /var
 /var
 /var/spool
 /var/spool/samba
 /var/lib
 /var/lib/samba
 /var/lib/samba/printers
 /var/lib/samba/printers/COLOR
 /var/lib/samba/printers/W32MIPS
 /var/lib/samba/printers/W32ALPHA
 /var/lib/samba/printers/x64
 /var/lib/samba/printers/W32X86
 /var/lib/samba/printers/WIN40
 /var/lib/samba/printers/IA64
 /var/lib/samba/printers/W32PPC
 #
 
 so, technically, as long as i don't care about preserving the log
 files or cache, i can pretty much forget all of that.  does that sound
 about right?
 
 rday

Somewhere there is the machine id stored as far as I remember, I would move
the files too or at least have a hot backup. It's important if using it as
domain controller etc. 

regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Why can't I install skype on debian?

2009-09-17 Thread Emanoil Kotsev
Charlie Dorff wrote:

 Hi...
 I installed debian using a netinstall and then tried to install skype but
 got an error message saying could not open
 skype-debian_2.1.0.47-1_1386.deb. Does anyone know what I am doing wrong?
 Thanks in advance.
 
 Charlie


do this in the command line

sudo dpkg -i skype-debian_2.1.0.47-1_1386.deb

regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: problem with alsa driver for Sound blaster 16 in etch (kernel 2.6)

2009-09-17 Thread Emanoil Kotsev
Long Wind wrote:

 but in etch (kernel 2.6), oss driver works
 I pass noisapnp kernel option during boot
 but alsa does not work

do you have snd-oss loaded - just post 

lsmod | grep snd




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: what if `alsactl init' doesn't configure sound?

2009-09-17 Thread Emanoil Kotsev
Liviu Andronic wrote:

 Sweet, sound works.

great, enjoy!

regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: recent xterm/terminal(?) change (control-C) shows ^C?

2009-09-17 Thread Emanoil Kotsev
Thomas Dickey wrote:

 On Thu, 17 Sep 2009, Justin Piszcz wrote:
 
 Hello,

 Distribution: Debian Testing

 Recently, after an apt-get dist-upgrade, when I hit control-c, I get the
 following in an xterm:

 $ ^C

 It occurs with aterm/xterm, bash and csh.
 
 It's not related to versions of xterm (noting aterm above, and checking
 older versions of xterm).

it's terminal setting

 
 Before, when I hit control-c, it would not show ^C on the console (makes
 it easier when copying/pasting items from the command line)

 I never recall this occurring before-- does anyone which character
 mappings are responsible for this?
 
 I don't see it with tcsh, but do see it with bash.
 (my csh is tcsh, according to the /etc/alternatives link).

look in you profile settings also in the /etc defaults for different shells

 
 My stty settings in tcsh and bash are identical, e.g.:
 
 speed 38400 baud; rows 42; columns 80; line = 0;
 intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = undef;
 eol2 = undef; swtch = undef; start = ^Q; stop = ^S; susp = ^Z; rprnt =
 ^R; werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0;
 -parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts
 -ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon
 -ixoff -iuclc -ixany -imaxbel -iutf8
 opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0
 vt0 ff0 isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop
 -echoprt echoctl echoke
 
 However, since I see a difference between bash and tcsh, the issue
 may not in some other place (don't known...)
 
 

you mean you see no difference?

it's a system setting right now I don't know where it's set

regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Why can't I install skype on debian?

2009-09-17 Thread Emanoil Kotsev
Eduardo M KALINOWSKI wrote:

 On Qui, 17 Set 2009, Andrei Popescu wrote:
 I'm curious, why are you indicating use of sudo? It's not even
 installed/configured by default in Debian...
 
 Ubuntu influence, I'd bet.
 
 

no, no ubuntu influence, because I assume he/she has downloaded the file
already. you can not install with normal user right, right!

sudo is trivial and does not has to do anything with ubuntu. besides I
dislike ubuntu philosophy.

regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: why can't i use grub with an ext3 /boot partition?

2009-09-16 Thread Emanoil Kotsev
Andrew Reid wrote:

 On Sunday 13 September 2009 18:58:17 Robert P. J. Day wrote:
 
   ok, so let's move beyond anecdotes and get into conjecture -- does
 anyone know the debian installer well enough to know *what*
 circumstances will cause said installer to refuse to offer grub as a
 bootloader, and only present lilo?
 
   A potentially useful experiment is to try installing grub manually
 on the partition, and see if it works, or if it doesn't, what errors
 it reports.

I never could find out how you can install packages from the installer -
they are in some funny format. Could post the steps for the record (or may
be a link)

   
   The installer may be suppressing error reports.  I believe you can
 view the installation log during the install, from an alt console, but
 I'm not 100% sure it's possible, and I certainly don't remember how.
 

Well, it's correct  ALT+F[234] could help, but I don't think in this
particular case, because it is just deciding to not offer grub.

I don't know, who is using installer CD/DVD?

regards



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Right-Alt not working? A possible fix

2009-09-16 Thread Emanoil Kotsev
Patrick Wiseman wrote:

 Hello:
 
 After a recent testing upgrade (I do it daily, but this happened two
 days ago), my right-Alt key was not working properly.  Eg, in
 Iceweasel, Alt-left should go to the previous page.  With the right
 Alt key, nothing happened; with the left Alt key, it behaved as
 expected.  Googling revealed that, in Ubuntu, the right alt key
 chooses 3rd level, but that did not seem to be so here when I
 checked System/Preferences/Keyboard.  But selecting the option Right
 Alt key never chooses 3rd level under the Key to choose 3rd level
 option appears to have corrected the problem.
 
 I never had this problem before; is Debian making some eurocentric
 presumptions (use of 3rd level on the keyboard) in its defaults?  I
 have no objection to that, except that when I select a US keyboard I
 would not expect those presumptions to operate!
 
 Patrick

right alt has special meaning on some keyboards and it depends on your
Xserver, desktop or console.

Have you had any updates recently, check! Ubuntu != Debian why are you
citing this?

regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: cannot write to usb drive

2009-09-16 Thread Emanoil Kotsev
Umarzuki Mochlis wrote:

 
 It is /dev/sdb1. I could not find any write protection button on this
 usb flashdrive. How can I make this one writeable again?
 

If it's NTFS use fuse.ntfs to mount.

fstab entry example:

/dev/hda1 /mnt/c fuse.ntfs locale=en_US.utf8 0 0


IF the above is not the case post the output of mount


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: cannot write to usb drive

2009-09-16 Thread Emanoil Kotsev
Umarzuki Mochlis wrote:

 [12405.685764] sd 9:0:0:0: [sdb] Write Protect is on
 [12405.685764] sd 9:0:0:0: [sdb] Mode Sense: 23 00 80 00

This is the issue, and it seems you have a write protection enabled on the
stick.

read the documentation about this model (or tell us what model it is)

check if it is really idVendor=1005, idProduct=b113

sometimes ids are mixed up

regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: why can't i use grub with an ext3 /boot partition?

2009-09-16 Thread Emanoil Kotsev
Jon Dowland wrote:

 On Wed, Sep 16, 2009 at 12:10:36AM +0200, Emanoil Kotsev
 wrote:
 read the hole thread please, he is saying only the
 installer does not offers grub if ext3 formated.
 
 I have read the whole thread. If you carefully study the
 quoted section of my mail, you will see that I answered
 exactly the question that Robert posed.
 
 

Sorry, I didn't understand it this way. From his post I don't see anything
like MSDOS part table. May be I'm the one that's missing something.

I'll leave you try helping him.

regards



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: cannot write to usb drive

2009-09-16 Thread Emanoil Kotsev
Umarzuki Mochlis wrote:

 2009/9/16 PierPaolo pierpaolo.fra...@gmail.com:
 try mounting with -o rw,nls=utf-8

 
 umarz...@ctrl:~$ sudo mount -o rw,nls=utf-8 /dev/sdc1 /mnt/
 mount: block device /dev/sdc1 is write-protected, mounting read-only
 mount: wrong fs type, bad option, bad superblock on /dev/sdc1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail  or so
 
 umarz...@ctrl:~$ dmesg | tail
 [ 1053.751439] sd 10:0:0:0: [sdc] 3915776 512-byte hardware sectors (2005
 [ MB) 1053.751439] sd 10:0:0:0: [sdc] Write Protect is on
 [ 1053.751439] sd 10:0:0:0: [sdc] Mode Sense: 23 00 80 00
 [ 1053.751439] sd 10:0:0:0: [sdc] Assuming drive cache: write through
 [ 1053.751439]  sdc: sdc1
 [ 1053.752878] sd 10:0:0:0: [sdc] Attached SCSI removable disk
 [ 1053.752945] sd 10:0:0:0: Attached scsi generic sg4 type 0
 [ 1057.236058] FAT: utf8 is not a recommended IO charset for FAT
 filesystems, filesystem will be case sensitive!
 [ 1298.777554] hda-intel: Invalid position buffer, using LPIB read
 method instead.
 [ 1340.142271] FAT: Unrecognized mount option nls=utf-8 or missing value
 
 This flash drive was okay a few days ago but now it has become like
 this and I already lost its packaging and the only thing I could tell
 that it's brand is Apacer

Do you experience the same on another PC (windows/linux)?

can you post the output of 

fdisk -l /dev/sdX

X is you drive letter i.e. c above

Sometimes messages are result of misinterpretation, so it could be another
issue behind - try to mount it on other system

Finally if nothing else helps and if you can read only files, backup them on
another drive and try formatting this one.

regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Right-Alt not working? A possible fix

2009-09-16 Thread Emanoil Kotsev
Patrick Wiseman wrote:

 On Wed, Sep 16, 2009 at 2:33 AM, Emanoil Kotsev delop...@yahoo.com
 wrote:
 Patrick Wiseman wrote:

 Hello:

 After a recent testing upgrade (I do it daily, but this happened two
 days ago), my right-Alt key was not working properly.  Eg, in
 Iceweasel, Alt-left should go to the previous page.  With the right
 Alt key, nothing happened; with the left Alt key, it behaved as
 expected.  Googling revealed that, in Ubuntu, the right alt key
 chooses 3rd level, but that did not seem to be so here when I
 checked System/Preferences/Keyboard.  But selecting the option Right
 Alt key never chooses 3rd level under the Key to choose 3rd level
 option appears to have corrected the problem.

This configurations are done installing/updateing xorg-conf and console. I
think (as far as I remember) you define the behavior when setting up the
keyboard (by choosing language and model) and still (I'm using kde) it
behaves normally - are you running kde3 or kde4?


 I never had this problem before; is Debian making some eurocentric
 presumptions (use of 3rd level on the keyboard) in its defaults?  I
 have no objection to that, except that when I select a US keyboard I
 would not expect those presumptions to operate!

 Patrick

 right alt has special meaning on some keyboards and it depends on your
 Xserver, desktop or console.
 
 None of which I changed.

but updating daily - so the update is the cause and not you ;-)

 

 Have you had any updates recently, check! Ubuntu != Debian why are you
 citing this?
 
 I am well aware that Ubuntu is not Debian - I cited it because it was
 about the only thing that Googling turned up on the problem.  And, as
 it turns out, the solution was related!  Did you notice that?

yes noticed - it's normal - :-) ubuntu's alpha debian testers (my opinion)
and we make the profit - but it's not always true.

 
 I posted in the hopes my information might be of help to people who
 experienced the same issue that I did, oh, I don't know, to maybe save
 them some time tracking it down?  I'm sorry it caused you a snit.
 
 Patrick

No, no problem at all - just didn't get the motivation why you are exactly
writing it.

However for most of the people right ALT is very useful and also I don't
undrstand how you are able to press right ALT and the arrowkeys at the same
time (without finger acrobatics) - are you on a notebook?

regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: cannot write to usb drive

2009-09-16 Thread Emanoil Kotsev
PierPaolo wrote:

 maybe not utf-8 but nls=utf8,
 then try -o rw,force,nls=uft8,
 then hope that initial sectors of the drive (when it is flash too?) aren't
 damaged... if you could, try mounting the drive from winzoz, maybe it was
 unmounted from there without safe removing or such like that, once, long
 time ago, this happened to me.
 However, that's message used to identify damaged sectors in vital parts of
 the hard disk and requires hard working with dd, dd_rescue, ddrescue or
 testdisk/photorec...
 


I had a good idea - you can dump the data (disk is 2GB) with dd

 dd if=/dev/sdc1 of=file_path

and then use mount -o loop to try mounting it or playing with or saving the
data.

regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: migrating my lenny install from 32-bit to 64-bit?

2009-09-16 Thread Emanoil Kotsev
Andrei Popescu wrote:

 On Wed,16.Sep.09, 07:21:52, Robert P. J. Day wrote:
 
   i've mentioned this before, but by the end of this week, i want to
 move my entire current (fully-updated) lenny install from an old
 32-bit system to a new 64-bit dell server, and i'm open to advice on
 the easiest and most error-free way to do that.
 
 Hello Robert,
 
 I see you already have the new system installed. Not very helpful for
 now, but for your next migration it might be easier if you first copy
 over passwd, group, shadow...  and then install the server packages (the
 ones that create users in the 101-999 range). This way you would be able
 to copy most (all?) data files over without worrying about UID mismatch.
 
 Regards,
 Andrei


Hi, this is a question I was going to ask in few weeks as I planned to learn
how I can migrate from 32 to 64 bit debian distro.

It looks like it's not possible to just upgrade i.e. replacing the sources
in apt/source.list?

Is it really that hard to switch from 32 to 64?

Is it not possible to replace the sources and i.e. dpkg --reinstall install
package?

thanks for the discussion

regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Why CPU 87% when copying to ntfs drive

2009-09-16 Thread Emanoil Kotsev
Does someone has any idea why this is happening

9126 root  20  0  4636 1072  660 S   87  0.1   5:39.53 mount.ntfs-3g

I'm using custom 2.6.31 kernel and lenny in kde. Kernel is optimized for
desktop PREEMPT and fast responses

I'm trying to copy files from nfs mount to locally attached usb drive that
has ntfs partition. The same thing is not happening if formated as ext3

thanks in advance 

regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: migrating my lenny install from 32-bit to 64-bit?

2009-09-16 Thread Emanoil Kotsev
Andrei Popescu wrote:

 On Wed,16.Sep.09, 13:24:12, Robert P. J. Day wrote:
 
   if i read this correctly, you're suggesting that if the server
 packages already have entries (100-999) in the passwd/group/shadow
 files (carried over from the old system), they'll keep the same UID?
 yes, that would be convenient if it's true.
 
 Yes, groups created by a package are not removed, not even on purge (I
 still have the 'Debian-exim' user and group, though I purged it and
 replaced it with postfix). If that same package is reinstalled it will
 reuse the user:group, this is why it should work.
 

I think it depends on the packager decision and effort - some packages
remove the user some not.

but thanks I didn't know that I can use parts of older system and reinstall
new one - if this is what is described here and I'm understanding it
correct.

regards



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: migrating my lenny install from 32-bit to 64-bit?

2009-09-16 Thread Emanoil Kotsev
Robert P. J. Day wrote:

 bit. What you seem to be suggesting is different -- namely a
 migration from 32 to 64 bit in place.
 
 exactly.  using dpkg --get-selections and --set-selections, i did a
 virgin install on the new 64-bit system to duplicate the packages on
 the old system, now i'm just methodically copying over
 arch-independent data and config files.  what you're asking is quite a
 different question.

You are right, that I'm not targeting the same approach. Migration of data
and services involves too much manual work. However I was thinking that
after replacing the package sources in source.list you could force
reinstall if every single package that has the status installed, pulling
from amd64 should bring the packages to the 64 code. For sure there would
be also some manual work to do, but less.

Do you think it's possible?

What I didn't think is that specific files like database files are probably
also using 32bit format.

regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: what if `alsactl init' doesn't configure sound?

2009-09-16 Thread Emanoil Kotsev
Liviu Andronic wrote:

 Dear all
 I've just migrated from kernel 2.6.26 to 2.6.30, and I am unable to
 configure sound. The issue seems similar to the one I had initially in
 2.6.26, but in the newest testing kernel `alasactl init' no longer
 solves the issue. The switches Master and PCM are not muted. What else
 could I try?
 Thank you
 Liviu
 

Check if modules are in place and check /proc/asound

cat /proc/asound/devices
cat /proc/asound/cards

what's the sound card and what's the board model

regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: migrating my lenny install from 32-bit to 64-bit?

2009-09-16 Thread Emanoil Kotsev
Alex Samad wrote:

 On Wed, Sep 16, 2009 at 10:17:26AM -0400, Robert P. J. Day wrote:
 On Wed, 16 Sep 2009, Sjoerd Hardeman wrote:
 
  Kept thinking a bit longer: are the uids and gids of daemon users
  actually determined during install? My experience is that these
  users actually preserve their uid over installations quite well.
 
   nope.  for example, on the old system, openldap account has a UID of
 114.  on new system, 105.  numerous other daemon UID differences as
 well.  so a straight copy isn't going to work here.  this just gets
 trickier and trickier.
 
 if you have coped over the passwd/group/shadow file they should align
 up, package should check to see if the uid/gid exists before creating
 new ones.  the only time this doesn't happen is when you do a new
 install and the first packages are installed - you can't get the
 passwd/group files over before then (maybe that should be a bugreport!)
 
 any way I use this little script to check and modify GID - it creates a
 bunch of shell commands to execute
 

OK, thanks for confirming, so I could cheat the installer by copying over
the passwd and group files after partitioning is done and go on with the
system install. Then apply set-selection and after this migrate the config
and data files from the old system. Correct?

this looks to be a compact way to do the job. The only thing that should be
migrated in this case are databases, Correct?

How can the above be applied to debootstrap - it's my favorite one for
installing new systems. I'm testing this now and will report if it works.
The start was promissing

regards

regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: migrating my lenny install from 32-bit to 64-bit?

2009-09-16 Thread Emanoil Kotsev
Emanoil Kotsev wrote:

 
 OK, thanks for confirming, so I could cheat the installer by copying over
 the passwd and group files after partitioning is done and go on with the
 system install. Then apply set-selection and after this migrate the config
 and data files from the old system. Correct?
 
 this looks to be a compact way to do the job. The only thing that should
 be migrated in this case are databases, Correct?
 
 How can the above be applied to debootstrap - it's my favorite one for
 installing new systems. I'm testing this now and will report if it works.
 The start was promissing
 

It's working!

shell :/tmp# mkdir testdeb
shell :/tmp# mkdir testdeb/etc
shell :/tmp# cp /etc/passwd* testdeb/etc/
shell :/tmp# cp /etc/group* testdeb/etc/
shell :/tmp# debootstrap --verbose lenny testdeb/
I: Retrieving Release
I: Retrieving Packages
I: Validating Packages
I: Resolving dependencies of required packages...
I: Resolving dependencies of base packages...
I: Checking component main on http://ftp.us.debian.org/debian...
I: Retrieving adduser
I: Validating adduser
I: Retrieving apt
I: Validating apt
...
I: Retrieving zlib1g
I: Validating zlib1g
I: Extracting base-files...
I: Extracting base-passwd...
I: Extracting bash...
...
I: Extracting zlib1g...
I: Installing core packages...
I: Unpacking required packages...
I: Unpacking base-files...
I: Unpacking base-passwd...
I: Unpacking bash...
I: Base system installed successfully.
shell :/tmp# chroot testdeb/ sh -
shell :/# apt-get install exim4
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
  bsd-mailx exim4-base exim4-config exim4-daemon-light liblockfile1 libpcre3
mailx perl perl-modules psmisc
Suggested packages:
  mail-reader eximon4 exim4-doc-html exim4-doc-info gnutls-bin openssl file
libmail-spf-query-perl swaks perl-doc
  libterm-readline-gnu-perl libterm-readline-perl-perl
The following NEW packages will be installed:
  bsd-mailx exim4 exim4-base exim4-config exim4-daemon-light liblockfile1
libpcre3 mailx perl perl-modules psmisc
0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded.
Need to get 9993kB of archives.
After this operation, 33.8MB of additional disk space will be used.
Do you want to continue [Y/n]?
Get:1 http://ftp.us.debian.org lenny/main liblockfile1 1.08-3 [18.6kB]
Get:2 http://ftp.us.debian.org lenny/main exim4-config 4.69-9 [350kB]
Get:3 http://ftp.us.debian.org lenny/main exim4-base 4.69-9 [987kB]
Get:4 http://ftp.us.debian.org lenny/main libpcre3 7.6-2.1 [211kB]
Get:5 http://ftp.us.debian.org lenny/main exim4-daemon-light 4.69-9 [422kB]
Get:6 http://ftp.us.debian.org lenny/main exim4 4.69-9 [7478B]
Get:7 http://ftp.us.debian.org lenny/main bsd-mailx 8.1.2-0.20071201cvs-3
[157kB]
Get:8 http://ftp.us.debian.org lenny/main perl-modules 5.10.0-19lenny2
[3198kB]
Get:9 http://ftp.us.debian.org lenny/main perl 5.10.0-19lenny2 [4549kB]
Get:10 http://ftp.us.debian.org lenny/main psmisc 22.6-1 [84.7kB]
Get:11 http://ftp.us.debian.org lenny/main mailx 1:20071201-3 [8260B]
Fetched 9993kB in 32s (311kB/s)
perl: warning: Setting locale failed.
...
Preconfiguring packages ...
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously deselected package liblockfile1.
(Reading database ... 7941 files and directories currently installed.)
Unpacking liblockfile1 (from .../liblockfile1_1.08-3_i386.deb) ...
Selecting previously deselected package exim4-config.
Unpacking exim4-config (from .../exim4-config_4.69-9_all.deb) ...
...
Setting up liblockfile1 (1.08-3) ...
Setting up exim4-config (4.69-9) ...
...
shell :/# cat /etc/passwd | grep exim4
Debian-exim:x:102:108::/var/spool/exim4:/bin/false

shell :/# exit

The Exim ID is the same as expected, so migration of exim related files will
cause no pain. The same for common user files.

What about database files. Is there something related to 64bit (I could
expect) that would suggest export / import or backup / restore?

regards





-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: what if `alsactl init' doesn't configure sound?

2009-09-16 Thread Emanoil Kotsev
Liviu Andronic wrote:

 for 2.6.30:
 li...@debian-liv:~$ cat /proc/asound/devices
   0: [ 0]   : control
   1:: sequencer
   4: [ 0- 0]: hardware dependent   --- different
  16: [ 0- 0]: digital audio playback
  17: [ 0- 1]: digital audio playback
  24: [ 0- 0]: digital audio capture
  32: [ 1]   : control
  33:: timer
  36: [ 1- 0]: hardware dependent   --- different
  51: [ 1- 3]: digital audio playback
 
 Liviu

Yes, you have a new device (I think this HDMI thing)

I don't have experience with ati sound chips. I have a machine with pretty
modern intel (with hdmi)

cat /proc/asound/devices
  2:: timer
...
  6: [ 0- 0]: digital audio playback
  7: [ 0- 0]: digital audio capture
  8: [ 0- 3]: hardware dependent
  9: [ 0- 2]: hardware dependent
 10: [ 0]   : control

cat /proc/asound/cards
 0 [Intel  ]: HDA-Intel - HDA Intel
  HDA Intel at 0xff65 irq 22

Have a look at the chip model

cat /proc/asound/card*/codec* | grep Codec
Codec: IDT 92HD73E1X5
Codec: Intel G45 DEVELK


Google about configuring this codec in my case (Codec: IDT 92HD73E1X5)

Also you can check the documentation in the kernel.

shell :# /usr/src/linux$ less
Documentation/sound/alsa/ALSA-Configuration.txt

Most probably you'll fit in this section

  Module snd-hda-intel
  

Module for Intel HD Audio (ICH6, ICH6M, ESB2, ICH7, ICH8, ICH9, ICH10,
PCH, SCH),
ATI SB450, SB600, R600, RS600, RS690, RS780, RV610, RV620,
RV630, RV635, RV670, RV770,
VIA VT8251/VT8237A,
SIS966, ULI M5461

I'll bet that your problems could be solved by loading the module with
proper options applied.

I'm usually adding a custom file called sound to my machine
in /etc/modprobe.d/
   /etc/modprobe.d/sound

where usually the problem is solved by telling the driver to use the
reference to the board and guess the best model (subset)

cat /etc/modprobe.d/sound
# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-hda-intel
alias snd-card-1 snd-usb-audio
   # module options should go here
#ex. options snd-hda-intel index=0 model=dell-m6,ref,auto
options snd-hda-intel index=0 model=ref
options snd-usb-audio index=1,2

hope it helps.

regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: what if `alsactl init' doesn't configure sound?

2009-09-16 Thread Emanoil Kotsev
Liviu Andronic wrote:

 Two more pieces of information:
 debian-liv:/home/liviu# lspci | grep -i audio
 00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
 01:05.1 Audio device: ATI Technologies Inc RS780 Azalia controller
 
 Also, I just downgraded alsa-utils to stable 1.0.16-2, and alsaconf
 reported that no PnP or PCI cards were found.
 Liviu
 
 

Downgrade is bad when you upgrade the kernel. Reverse!

alsaconf is not that reliable - it most probably does not recognize the ati
model and can not configure.

It got too late I have to go to bed, so I won't be available to guide you
further but you can google or read the documentation.

I would update to current level of alsa (libraries and utils). reboot is
good for alsa. But may be before reboot try to set a config file for your
card in modprobe.d as described in the other mail. I guess in 2.6.26 the
workaround you mentioned (alsactl -init) is just configuring the driver for
your ati chip or may be the chip itself. Putting configuration in a file
would configure all your sound cards the same way everytime. I recommend
this because I'm using usb camera, mic etc and if you plug them in
different order they occupy different sound slots which has the effect that
you have to change devices in apps. However this is changing now, but until
the metamorphosis is complete tell the system which card should be #0,1,2
etc.

I'm sure there is useful information you can find with google for your
specific card. Many things have changed (especially HDMI support) in recent
alsa, so I guess the issue is that now finally HDMI for you card is also
supported.

Of course it could be also a bug in the kernel code and then you should
downgrade the kernel and wait for fix.

regards




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: how to remove a module from initramfs

2009-09-15 Thread Emanoil Kotsev
Long Wind wrote:

 I use etch
 during etch installation, a bttv module is included in initramfs with
 wrong options
 Is it possilbe to remove it?
 Thanks!

1 option is to read man mkinitramfs configure and rebuild initram
2 option is to edit by hand
3 option (not sure if it works for bttv) to disable it via kernel cmd line
option at boot time

regards



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: why can't i use grub with an ext3 /boot partition?

2009-09-15 Thread Emanoil Kotsev
Robert P. J. Day wrote:

 Jon

read the hole thread please, he is saying only the installer does not offers
grub if ext3 formated.

I should admit that I haven't use the cd installer since I have a bootable
usb stick, or live cd

# debootstrap and smile 

I was thinking it could be the size but it's not. His boot partition is big
enough to install tiny debian on it, so ext3 should be absolutely ok.

regards




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Kernel 31

2009-09-13 Thread Emanoil Kotsev
Mark Allums wrote:

 Anyone with experience with 2.6.31 yet?  Anything we need to know?
 What's the consensus?
 
 Mark Allums

And I installed 2.6.31 on Dell Notebook (Latitude D520) and on Intel DG45FX
board 4days ago.

No issues for now - works just fine. The notebook is also suspending and
resuming without problems.

regards

PS: not sure if the messages below are really an issue. Everything seem to
be fine.

On Intel DG45FX
=

kernel: :00:19.0: :00:19.0: Failed to initialize MSI interrupts. 
Falling back to legacy interrupts.
...
acpid: client connected from 6356[0:0]
kernel: mtrr: type mismatch for d1fe,1 old: write-back new:
write-combining
kernel: mtrr: type mismatch for d1fc,2 old: write-back new:
write-combining
kernel: mtrr: type mismatch for d1f8,4 old: write-back new:
write-combining
kernel: mtrr: type mismatch for d1f0,8 old: write-back new:
write-combining
kernel: mtrr: type mismatch for d1e0,10 old: write-back new:
write-combining
kernel: mtrr: type mismatch for d1c0,20 old: write-back new:
write-combining
kernel: mtrr: type mismatch for d180,40 old: write-back new:
write-combining
kernel: mtrr: type mismatch for d100,80 old: write-back new:
write-combining
kernel: mtrr: type mismatch for d000,100 old: write-back new:
write-combining

On Dell Lati D520


   kernel: pnp: PnP ACPI init
   kernel: ACPI: bus type pnp registered
   kernel: pnp 00:02: io resource (0x1000-0x1005) overlaps :00:1f.0 BAR
13 (0x1000-0x107f), disabling
   kernel: pnp 00:02: io resource (0x1008-0x100f) overlaps :00:1f.0 BAR
13 (0x1000-0x107f), disabling
   kernel: pnp 00:03: io resource (0x1006-0x1007) overlaps :00:1f.0 BAR
13 (0x1000-0x107f), disabling
   kernel: pnp 00:03: io resource (0x100a-0x1059) overlaps :00:1f.0 BAR
13 (0x1000-0x107f), disabling
   kernel: pnp 00:03: io resource (0x1060-0x107f) overlaps :00:1f.0 BAR
13 (0x1000-0x107f), disabling
   kernel: pnp 00:03: io resource (0x1010-0x102f) overlaps :00:1f.0 BAR
13 (0x1000-0x107f), disabling
   kernel: pnp: PnP ACPI: found 14 devices
   kernel: ACPI: ACPI bus type pnp unregistered
   kernel: system 00:00: iomem range 0x0-0x9fbff could not be reserved
   kernel: system 00:00: iomem range 0x9fc00-0x9 could not be reserved
   kernel: system 00:00: iomem range 0xc-0xc could not be reserved
   kernel: system 00:00: iomem range 0xe-0xf could not be reserved
   kernel: system 00:00: iomem range 0x10-0x7f6d33ff could not be
reserved
   kernel: system 00:00: iomem range 0x7f6d3400-0x7f6f has been reserved
   kernel: system 00:00: iomem range 0x7f70-0x7f7f has been reserved
   kernel: system 00:00: iomem range 0x7f70-0x7fef could not be
reserved
   kernel: system 00:00: iomem range 0xffb0-0x has been reserved
   kernel: system 00:00: iomem range 0xfec0-0xfec0 could not be
reserved
   kernel: system 00:00: iomem range 0xfee0-0xfee0 has been reserved
   kernel: system 00:00: iomem range 0xfed2-0xfed9 has been reserved
   kernel: system 00:00: iomem range 0xffa8-0xffa83fff could not be
reserved
   kernel: system 00:00: iomem range 0xf400-0xf4003fff has been reserved
   kernel: system 00:00: iomem range 0xf4004000-0xf4004fff has been reserved
   kernel: system 00:00: iomem range 0xf4005000-0xf4005fff has been reserved
   kernel: system 00:00: iomem range 0xf4006000-0xf4006fff has been reserved
   kernel: system 00:00: iomem range 0xf4008000-0xf400bfff has been reserved
   kernel: system 00:00: iomem range 0xf000-0xf3ff has been reserved
   kernel: system 00:02: ioport range 0x4d0-0x4d1 has been reserved

   kernel: system 00:03: ioport range 0xf400-0xf4fe has been reserved
   kernel: system 00:03: ioport range 0x1080-0x10bf has been reserved
   kernel: system 00:03: ioport range 0x10c0-0x10df has been reserved
   kernel: system 00:03: ioport range 0x809-0x809 has been reserved
   kernel: system 00:08: ioport range 0xc80-0xcff could not be reserved
   kernel: system 00:08: ioport range 0x910-0x91f has been reserved
   kernel: system 00:08: ioport range 0x920-0x92f has been reserved
   kernel: system 00:08: ioport range 0xcb0-0xcbf has been reserved
   kernel: system 00:08: ioport range 0x930-0x97f has been reserved
   kernel: system 00:0b: iomem range 0xfed0-0xfed003ff has been reserved
   kernel: pci :00:1c.0: PCI bridge, secondary bus :0b
   kernel: pci :00:1c.0:   IO window: disabled
   kernel: pci :00:1c.0:   MEM window: disabled
   kernel: pci :00:1c.0:   PREFETCH window: disabled
   kernel: pci :00:1c.1: PCI bridge, secondary bus :0c
   kernel: pci :00:1c.1:   IO window: disabled
   kernel: pci :00:1c.1:   MEM window: 0xefd0-0xefdf
   kernel: pci :00:1c.1:   PREFETCH window: disabled
   kernel: pci :02:01.0: CardBus bridge, secondary bus :03
   kernel: pci 

Re: why can't i use grub with an ext3 /boot partition?

2009-09-13 Thread Emanoil Kotsev
j...@jretrading.com wrote:

 489951

how big is your boot partition?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



dvb HVR900 unable to enumerate USB device on port

2009-09-10 Thread Emanoil Kotsev
Hi,

I am using lenny stable on a server like machine where I have dvb hvr900
installed. Yesterday I had to reboot and the message below makes it unable
to use the dvb device.
I recently upgraded to lates level of updates (dbus and udev among all)

The kernel it was working with was 2.6.28. I now tried the lates kernel but
with same result.

Does anybody know a nice fix for this.

Thanks in advance.

PS: This is the message:

usb 1-5: new high speed USB device using ehci_hcd and address 118
hub 1-0:1.0: unable to enumerate USB device on port 5
usb 1-5: new high speed USB device using ehci_hcd and address 119
hub 1-0:1.0: unable to enumerate USB device on port 5
hub 1-0:1.0: unable to enumerate USB device on port 5
hub 1-0:1.0: unable to enumerate USB device on port 5
hub 1-0:1.0: unable to enumerate USB device on port 5
hub 1-0:1.0: unable to enumerate USB device on port 5
hub 1-0:1.0: unable to enumerate USB device on port 5
hub 1-0:1.0: unable to enumerate USB device on port 5
hub 1-0:1.0: unable to enumerate USB device on port 5
hub 1-0:1.0: unable to enumerate USB device on port 5
hub 1-0:1.0: unable to enumerate USB device on port 5
hub 1-0:1.0: unable to enumerate USB device on port 5
hub 1-0:1.0: unable to enumerate USB device on port 5
usb 1-5: new high speed USB device using ehci_hcd and address 7
hub 1-0:1.0: unable to enumerate USB device on port 5
hub 1-0:1.0: unable to enumerate USB device on port 5
hub 1-0:1.0: unable to enumerate USB device on port 5
hub 1-0:1.0: unable to enumerate USB device on port 5
hub 1-0:1.0: unable to enumerate USB device on port 5
hub 1-0:1.0: unable to enumerate USB device on port 5
hub 1-0:1.0: unable to enumerate USB device on port 5
hub 1-0:1.0: unable to enumerate USB device on port 5
hub 1-0:1.0: unable to enumerate USB device on port 5
usb 1-5: new high speed USB device using ehci_hcd and address 16
hub 1-0:1.0: unable to enumerate USB device on port 5
usb 1-5: new high speed USB device using ehci_hcd and address 17



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: evolution hanging under lenny on AMD64

2009-09-08 Thread Emanoil Kotsev
michael wrote:

 I am running Evolution 2.22.3.1 on my AMD64/Lenny box:
 
 22:06:17 ~$ uname -a
 Linux amd64 2.6.26-2-amd64 #1 SMP Fri Aug 14 07:12:04 UTC 2009 x86_64
 GNU/Linux
 
 but it frequently hangs when I quit Evo... here's a partial gdb attached
 log... any ideas? ta, M
 
 [Switching to Thread 0x7fb7103d6700 (LWP 6042)]
 0x7fb704dd5b66 in poll () from /lib/libc.so.6
 (gdb) where
 #0  0x7fb704dd5b66 in poll () from /lib/libc.so.6
 #1  0x7fb70509ee18 in ?? () from /usr/lib/libglib-2.0.so.0
 #2  0x7fb70509f4ad in g_main_loop_run ()
 from /usr/lib/libglib-2.0.so.0
 #3  0x7fb709c98336 in bonobo_main () from /usr/lib/libbonobo-2.so.0
 #4  0x00417af3 in ?? ()
 #5  0x7fb704d2d1a6 in __libc_start_main () from /lib/libc.so.6
 #6  0x0040af49 in ?? ()
 #7  0x7fff18528008 in ?? ()
 #8  0x001c in ?? ()
 #9  0x0001 in ?? ()
 #10 0x7fff18529ce7 in ?? ()
 #11 0x in ?? ()

you'll probably need to install the *dbg packages to see more

regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: megaHAL

2009-08-31 Thread Emanoil Kotsev
Charles Kroeger wrote:

 why just not installing it and giving it a try - it's very simple.
 I've tried it. It's a chat/conversation engine.
 
 OK
 
I've written a thesis  about  dialogue systems,
 
 Is this online somewhere?

not sure - besides, it's in German. It might be published next year or I
could send you a copy.

 
but megaHAL is not what someone would expect.
 
 You mean megahal is sort of incomplete not developed completely?

No, it's made for fun.

 
 As  far as  I remember it has a different logic then ALICE but the
 output As is similar.
 
 What is ALICE?

you need some basics in computational linguistics - ALICE is ELIZA today the
first chat engine.

http://www.alicebot.org/aimlbots.html

 
 Do you know that Wikipedia exists? It's explained there and you can find
 a lot of articles about it in Google.
 
 I use the Wikipedia, that great jewel of the Internet; Google, not so much
 just a quaint superstition about being syndicated.
 
 I like to hear expert opinion outside the Wiki, personal experience
 etc.

HMM are used for stochastic and other statistic based computations - it's
very useful.

 
 No and no.
 
 OK, it's a chat/conversation engine but not like a chat room so I'm
 unlikely to have a diverting keyboard banter with megaHAL?  At first of
 course I would be more tolerant like that first date.

I don't understand completely well what you mean - but you can chat with
megaHAL

 
 What is a 'scripting pleasure module' for Perl Python or Tcl?
 
 I don't know ... what do you mean?
 
 This was part of the package description when it came up. I thought it
 might be an inside joke. Scripting pleasure modules has a kind of decadent
 whiff about it. You better Google that, Emanoil.
 

:-) You are asking the questions - personally, I am done with megaHAL.

Right now I'm having fun with Rebecca http://rebecca-aiml.sourceforge.net/

I've just downloaded and compiled the cvs code the day before yesterday.

What are you exactly looking for?

For professional dialogue engines have a look at http://smartkom.org

There are very good demos. There is also a very good book (2006) describing
the architecture of SmartKom

regards




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: megaHAL

2009-08-30 Thread Emanoil Kotsev
Charles Kroeger wrote:

 Does anyone here use this conversation simulator and if so are the
 conversations interesting? I'm tired of talking to humans, listening to
 their drivil.  Can this package simulate a human conversation,  is megaHAL
 like Julie the AmTrak automated assistant?

why just not installing it and giving it a try - it's very simple.
I've tried it. It's a chat/conversation engine. I've written a thesis about
dialogue systems, but megaHAL is not what someone would expect. As far as I
remember it has a different logic then ALICE but the output is similar.

 
 What is the Markov Model?

Do you know that wikipedia exists? It's explained there and you can find a
lot of articles about it in google.

 
 Can megaHAL synthesize speech or is it like a chat room?

No and no.

 What is a 'scripting pleasure module' for perl Python or Tcl?
 

I don't know ... what do you mean?

regards




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Help with dict-client in Lenny?

2009-08-26 Thread Emanoil Kotsev
s. keeling wrote:

 Charlie aries...@clearmail.com.au:
  On Sun, 10 May 2009 18:29:56 -0600 s. keeling keel...@nucleus.com
  shared this with us all:
 
 Hi.  I've two Lenny boxes, both pretty much hand-crafted (as in no
 Desktop Environment on install; I startx into fluxbox).
 
 On one of them, dict-client works as expected.  It brings the result
 up in a pager.  In the other box, no pager.  It just dumps it to
 stdout.  How do I change this, or track down the problem?  I've looked
 
 Sorry it took so long to find your reply; seems to happen to me a lot.
 This was useful, thanks.  /etc/dictd/dict.conf contains:
 
 # pager most
 server localhost
 server dict.org
 server dict0.us.dict.org
 server alt0.dict.org
 
 I uncomment the pager line and get:
 
 /etc/dictd/dict.conf:17: syntax error, unexpected TOKEN_STRING, expecting
 TOKEN_SERVER /etc/dictd/dict.conf:17: pager most
 /etc/dictd/dict.conf:17: ^
 dict (yyerror): parse error
 
 
 most is installed.
 
 
  This may help from man dict:
 
  -c file or --config file
Specify  the  configuration  file.   The  default  is
  to  try ~/.dictrc and /etc/dictd/dict.conf, using the first file that
 
 Again, thanks.
 
 
comment it again - don't think it's part of the config, but a comment to
following config lines

grep pager /usr/share/doc/dictd/examples/*

gives nothing

regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



RE: x won't start as a particular user. for other users works fine. what file is causing it? how to troubleshoot?

2009-08-26 Thread Emanoil Kotsev
Kevin Ross wrote:

 From: JoeHill [mailto:joeh...@teksavvy.com]
 Sent: Tuesday, August 25, 2009 3:14 PM
  Is there something in your ~/.xinitrc, ~/.Xsessionrc, or ~/.xserverrc
 file
  causing startup to fail?
 
  Have you looked for errors in the ~/.xsession-errors file?
 
 Okay, c'mon, did you read his original post? I mean, really:
 
 I looked for .xinitrc .xsession files .xsession-error  files etc.
 
 I looked in the /var/log/Xorg.0.log file and no information...
 
 Actually I read every post in this thread, and by the time I got to the
 last post, I forgot that detail from the first post, since it was never
 mentioned again.
 
 Sorry for the extra line noise.  Move along, nothing to see here...
 
 -- Kevin

there are few symbolic links to sockets in your home

like .DCOPserver* also ./.Xauthority ./.ICEauthority

I don't think the kids had root access to mess up that much, so the issue is
at user level. 

Are you using kde or gnome ... look in their directories. for me in .kde

ls .kde/tmp*
.kde/tmp-bendida:
ksycoca  us..xkm

ls .kde/sock*
.kde/socket-bendida:
Arts_AudioManager  Arts_PlayObjectFactory  Arts_SoundServerV2 
klauncherZoDbEb.slave-socket  secret-cookie
artsd-samples  Arts_SimpleSoundServer  kdeinit__0  KSMserver__0
Arts_MidiManager   Arts_SoundServerkdeinit-:0 
maistor-230f-4a956c75

ls .kde/cache-*
.kde/cache-bendida:
akregator  background  favicons  help  http  kpc  krun  ksycoca  ksycoca4 
ksycoca4stamp  ksycocastamp  ldapkio

I personally had long time ago issue with ./.Xauthority ./.ICEauthority

regards



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: problem compiling kernel

2009-08-25 Thread Emanoil Kotsev
Bernard wrote:


You really could use the recent 2.6.30.4. There were different problems
with 2.6.20 to 2.6.30. I find 2.6.30.4 the best I've had since 2.6.20.
  

 I tried 2.6.30.4. Same result as with 2.6.26.2 : compiles without
 errors, but crashes on boot.
 

so you are missing some essential part of it

So, what I would do (if I were you) is that I would download latest
2.6.30.4, and compile all I need to access my boot partition (as you
already did with md in the kernel),

 
 I just did that again

You sure you picked up _all_ you need to boot?

 
then compile and rebuild or build by
hand initramfs.
Build by hand I pretty simple- it's actually hacking the one used. I do
unzip it
cd /tmp; mkdir test; cd test
zcat /boot/initrdgz | cpio -Hnewc -i
  

 The initrd.img that I have on my working system, as well as those
 initrd.img that 'mkinitrd' generates when requested, are not compressed
 files. Filenames are : initrd.img-2.6.20-16-386 for instance. No .gz
 behind. I still tried to gunzip one, just in case that would still be a
 compressed file without usual extension, but no, it is not handled by
 gunzip or zcat. I tried cpio on that file as is, but I got : 'cpio:
 premature end of file'. a 'vi filename' shows that this is a binary
 file. No point to edit then.

Did you try bzip?

 
 So, at this point, I don't have a clue of how to build an initrd.img
 file that would allow my newly compiled 2.6.30.4 kernel to boot on my
 system.

You know pretty much already. You can do it yourself.

What about using a already working image like I've suggested.
You can take i.e. ubuntu knoppix or debian live - boot with it and copy the
relevant parts from

/boot/ and /lib/modules to your hard drive

I now had also another idea. Is your boot partition may be full, so initrd
can not be written completely when generated? it happens more often then
you can imagine

regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: [Debian] Re: Grub boot problems

2009-08-25 Thread Emanoil Kotsev
Glen Lee Edwards wrote:

 Emanoil Kotsev wrote:
 Glen Lee Edwards wrote:
 
 kernel  /boot/vmlinuz-2.6.26-2-686 root=/dev/sdb1 ro quiet
 
 you have the root already
 
 root(hd1,0) is used for setup, I think.
 
 
 
 The only reason I posed the question is because all my Dell PCs have
 this problem, and every time Debian upgrades the kernel APT redoes
 munu.lst, so the computers won't boot.  It doesn't take long to fix the
 problem, but it would seem that a better solution rather than constantly
 having to modify menu.lst would be to fix the problem once and for all
 on the PC end.
 
 Glen

Ever thought of configuring apt???


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



RE: motherboad for desktop

2009-08-24 Thread Emanoil Kotsev
David Christensen wrote:

 I'm currently considering the Intel DG45ID motherboard.  It has everything
 I need, including Intel's best video chip (X4500ID):

if you need this for a server - yes.

I think I bought earlier this year this same mainboard

I'm not very happy with intel graphic chipsets but for the price it's not
bad. I'm using it for a server I have at home and I thought I could use
also as a workstation, but there was some delay in rendering graphics (when
watching video or tv. 

The board itself had a really stupid bios, because it could not recognize
and remember all of the drives I attached to the board (look for info on
that if other people have the issue).
As it's server I can live with that but when rebooting I need to try several
time (going to the bios and checking if there are all the drives recognized
and listed)

regardding the video I had following situation. The machine stopped suddenly
and didn't come back until next day. The next day it booted (almost
normally - see above). Since then I'm not trying to use it as a workstation
and it never happened again, so my suspicion is that it overheated
somewhere in the graphics part and had to cool down over night.

Also it came out recently that intel was selling bundled sh*t to pc
manufacturers, causing disadvantage to competitors and they were sued
(don't remember if the EU or in the US - I think it was the EU)

Just be careful!

regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: top, www-data and other using LDAP?

2009-08-24 Thread Emanoil Kotsev
Jordi Espasa Clofent wrote:

 ¿Anyone?
 

I'm not using ldap right now, but I think you are missing the system users
in your ldap.

there was/is a setting to tell ldap from which user id it should count, or
better you say pam/nss to use ldap only with ids above a give one.

It's always a matter of reading the docs and configuring properly.

regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: help for kernel panic

2009-08-24 Thread Emanoil Kotsev
Alan Greenberger wrote:

 On 2009-08-22, Andrew Reid rei...@bellatlantic.net wrote:
 On Friday 21 August 2009 18:11:27 Alan Greenberger wrote:
 I have a system with Lenny installed from the KDE installer CD.  It was
 working fine for half a year.  Powering it on after being off for two
 weeks, it starts to load Lenny then dies with:
  Failed to execute /init
  can't open auto
  Kernel panic - not syncing: Attempted to kill init!

 iA linux-image-2.6.26-1-686
  Version 2.6.26-13
 The md5sum of /boot/vmlinuz-2.6.26-1-686 is
  824cfba2eac12d0c09747c0bd3426e4e

   I think your checksum is OK, with a caveat -- it's the
 right checksum for the advertised 2.6.26-13 version of that
 package, which is distinct from 2.6.26-13lenny2, the latter
 being the most recent 2.6.26-1 kernel for Debian lenny, which
 in turn is not the most 2.6.26 kernel, there is a 2.6.26-2
 out.

   I checksummed it by pulling the file out of
 /var/cache/apt/archives, manually unpacking it in a working
 directory, and running md5sum on the resulting $DIR/boot/vmlinuz-2.6.26-1
 file.

   So, you're apparently behind on kernel updates, but your
 kernel does not seem to be corrupt.

   That would seem to narrow it down to a corrupt initramfs,
 or, as you already suggested, motherboard hardware issues.

   I don't have a huge amount of experience with this, but
 I did once have a similar issue -- I had a server that wouldn't
 fully boot, it would just hang, always in different places in
 the boot sequence.  But, it could boot to single-user mode,
 and if you then started all the /etc/init.d services manually,
 it would run fine for months at a time.

   I never did figure that one out, I eventually got rid of
 the machine.

 -- A.
 
 Thanks for confirming the md5sum and the suggestion.  It also fails boot
 to level 1.  I used rescue to turn on /etc/default/bootlogd but nothing
 gets logged to /var/log so I guess it doesn't get that far.  I would
 have liked to know where it fails, since it does boot rescue CDs.  I am
 giving up assuming it is the motherboard.

hehe, why are you making this assumption?!

try passing init=/bin/sh to the kernel at boot time ( I wrote a basic 5step
howto get to the limited shell have a look in the list) you can start your
system and recreate the initramfs. This will solve your problem (I'm pretty
sure as I have seen this many times.)

The problem is I think when you install you have something like 2.6.26-1.
Then if you do an upgrade it will suggest something like 2.6.26-...i686 and
after installing you can not boot - I think this was notorious in etch)

If you are not using raid/lvm/encryption or other exotics you can skip the
initrd option on boot thus booting directly the kernel

hope it helps regards

regards



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Grub boot problems

2009-08-24 Thread Emanoil Kotsev
Glen Lee Edwards wrote:

 kernel          /boot/vmlinuz-2.6.26-2-686 root=/dev/sdb1 ro quiet

you have the root already

root(hd1,0) is used for setup, I think.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: help for kernel panic

2009-08-24 Thread Emanoil Kotsev
Alan Greenberger wrote:

 
 Thank you for your suggestion.  I just tried booting with init=/bin/sh
 and unfortunately it got Kernel panic in the same way.
 
 The box was not upgraded from the Lenny install of half a year ago.  It
 was just shut down for two weeks.
 
 How would I skip initrd?

then forget this suggestion and check the bios if your hard drives are still
recognized

it's not normal that it breaks without a reason after you just shut down.

There is always a rational reason!

What is interesting is the line with can't open auto

can you confirm that you are using grub and describe the kernel command and
initrd lines

regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: x won't start as a particular user. for other users works fine. what file is causing it? how to troubleshoot?

2009-08-24 Thread Emanoil Kotsev
Mitchell Laks wrote:

 On 10:58 Mon 24 Aug , Jimmy Johnson wrote:
 her /home partition was full, she called me and said it's broke. I
 logged in as root and deleted the file and it was fixed.
 --
 
 thanks Jimmy,
 but that couldn't explain my problem,
 
 1. No partitions are full.
 2. Why would the other users be able to startx just fine and this user
 cant?
 3.  Why when I change the login directory of 'bill' from /home/bill to
 /home/bill/foo in /etc/passwd
  does X start fine?
 
 So can any one tell me how to make the X startup verbose so that I can
 figure what file in /home/bill is causing the problem?
 
 Mitchell

look in /tmp or /var/tmp

delete related files and dirs belonging to the user and restart X.

they probably killed the pc and it has some lock files around

it's broken!

regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: problem compiling kernel

2009-08-23 Thread Emanoil Kotsev
Bernard wrote:

 Emanoil Kotsev wrote:
 
Bernard wrote:

  


Compiling md in the kernel is the right approach to boot from raided root
without initrd. You can try this just skipping (deleteing the line in grub
temporary)
  

 I just tried that. Raid compiled into the kernel instead of modules. No
 initrd. Still crashes at boot.

most probably you are missing other modules (like ide/ata lvm etc)
You said your boot is on md but not on lvm. you can build a working initrd
easily - this is actually all you need.

 
 Also done another test:
 in the /boot/grub/menu.lst file, replaced root=/dev/mapper/vg00-root by
 /dev/sda2. Still crashed : cannot open root device 'sda2' or unknown
 block(0,0).

this can not work as your root is on lvm. what did you expect?

try passing the kernel option init=/bin/sh

 
 There is another test that I would like to run, but I need help for
 this, since I don't know the whole package list:
 
 apt-get purge kernel-building gcc make kernel-utils etc...
 
 then edit my /etc/apt/sources.list and comment out lines that refer to
 package directories that are too recent, uncomment old lines referring
 to debian sarge packages only, excluding 'testing' etc..
 
 then
 
 apt-get install kernel-building gcc make kernel-utils etc...
 
 and, from there on, trying to recompile, not newer kernels, but my good
 old running kernel 2.6.20-16-386 into a custom version without any sound
 options in it.
 
 What I need is the list of all packages that I should purge and
 re-install in their former version.
 
 regards

You really could use the recent 2.6.30.4. There were different problems with
2.6.20 to 2.6.30. I find 2.6.30.4 the best I've had since 2.6.20.

I was also very sad when I found out I can not compile 2.6.20 anymore. Put
let's believe it's for the sake of the progress.

So, what I would do (if I were you) is that I would download latest
2.6.30.4, and compile all I need to access my boot partition (as you
already did with md in the kernel), then compile and rebuild or build by
hand initramfs.
Build by hand I pretty simple- it's actually hacking the one used. I do
unzip it
cd /tmp; mkdir test; cd test
zcat /boot/initrdgz | cpio -Hnewc -i
 then edit init to match my needs i.e. depmod, modprobe, cryptsetup etc
 and finally put a line to run the real init. I then zip it
find . ! -name *~ | cpio -H newc --create | gzip -9  ../test-initrd.gz
 I can install then the new initrd (cp ../test-initrd.gz /boot/initrdgz)

Once you've done it it's very simple and easy ... before it was a big
trouble for me too.

Just look positive as way to learn something new about your operating
system.

reagrds


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: safe to purge older versions of installed software?

2009-08-22 Thread Emanoil Kotsev
Robert P. J. Day wrote:

 On Sat, 22 Aug 2009, Dean Sutherland wrote:
 
 Hi,

 Someone correct me if I'm wrong, but I believe the command you're
 after is apt-cache rdepends packagename

 d...@subspace:~$ apt-cache rdepends gcc-4.1
 gcc-4.1
 Reverse Depends:
   linux-headers-2.6.26-1-686
   gcc-doc-base
   gcc-doc-base
   gcc-4.1-doc
   gcc-4.1-doc
   gpc-4.1
   gcj-4.4-jdk
   gcj-4.3
   gcj-4.2
   gcc-4.1-multilib
   gcc-4.1-multilib
   gcc-4.1-locales
   g++-4.1

 It appears not all of those packages will be removed if you remove the
 gcc-4.1 package.

 d...@subspace:~$ sudo apt-get remove gcc-4.1-base
 Reading package lists... Done
 Building dependency tree
 Reading state information... Done
 The following packages will be REMOVED:
   cpp-4.1 gcc-4.1 gcc-4.1-base linux-headers-2.6.26-1-686
 0 upgraded, 0 newly installed, 4 to remove and 394 not upgraded.
 
   yes, it look like that's what i was after, thanks.  (how many
 package management commands and alternatives *are* there in debian?
 :-)
 
   so the question now becomes, if i run that command on both
 gcc-4.2-base and gcc-4.3-base, it looks like (not surprisingly) the
 4.2 package has lots of 4.2-related reverse dependencies, and likewise
 for gcc-4.3-base.  so do i really need the 4.2 stuff?
 
   if anyone has a fully-updated *lenny* system and they're willing to
 run the same commands, is there anything about the output from the 4.2
 version that would suggest that it needs to be retained, given that
 4.3 is on the system?
 
   and on the system i'm upgrading, there are a number of packages that
 are installed with more than one version.  i'd just like to clean that
 system by purging anything that has no value.
 

Just having a discussion on g++ list about 4.3 two days ago

g++-4.3 is not able to compile older applications, which means everything
older then may be two years ago depending on how isoC++ programmers have
written the code.

I'm actually considering removing 4.3 right now otherways I have to export
CXX and CC everytime I do compile and this is annoying.

regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: problem compiling kernel

2009-08-22 Thread Emanoil Kotsev
Bernard wrote:

 
 2.6.30.4 does compile all right, so does 2.6.26, but 2.6.20 does not.

you find out why in the archives

 Problem is that I still can't boot those I compiled, i.e. 2.6.26. because
 the initrd.img is buggy. I did find something, still it is not enough to
 get the process to work. In my
 
 /etc/mkinitrd/mkinitrd.conf file, I found a modified line :
 
 # Command to generate the initrd image.
 # MKIMAGE='mkcramfs %s %s  /dev/null' this has been changed august 19,
 # 2009
 
 MKIMAGE='genromfs -d %s -f %s'
 
 The change date has not been written by me, so this must be a conf file
 that came with a recent package upgrade that I did. I tried uncommenting
 the old line, commenting the new one instead. MKIMAGE='mkcramfs... became
 active. What gave me this idea, is that in those error messages that I
 could see at crash, it was matter of cramfs.
 
 Well that change made mkinitrd to produce smaller images. I tried
 installing them in the grub boot menu, and then, now, the boot crashes do
 not happen at the same time as before... but it still crashes !
 
 I could do nothing else than catch photos of my screen, since no log file
 are recorded in such cases.
 
 http://www.teaser.fr/~bdebreil/bootcrash1.jpg

so this is the old error, and you don't need a fix for it

 
 and
 
 http://www.teaser.fr/~bdebreil/bootcrash2.jpg
 
 will show you what I got
 
 The first crash screen is not very informative :
 
 could not load '/lib/modules... no such files

I don't think so it's as informative as it should be. It can not mount sdb2
(is it your root?)

 
 (these files exist, but at this point in time it is not in the /boot
 partition, therefore not mounted as yet). This crash came from a kernel
 which I had configure to have RAID inside, not as modules. While watching
 the boot logs of my working kernel, I could see that RAID was as modules.
 So, I recompiled a new kernel with modules for RAID, and then boot went a
 little bit further, as can be seen in the screen picture at crash :
 
 'raid1 set md1 active with 2 out of 2 mirrors
 
 mdadm : /dev/md1 has been started with 2 drives'
 
 but then :
 
 'mkdir cannot create directory '/devfs/vg00' : read only filesystem
 ..
 
 failure to communicate to kernel device mapper driver
 incompatible libdevmapper 1.01.00-ioctl (2005-01-17) (compat) and kernel
 driver'
 

The problem is as far as I remember that devfs was given up ... was it
something that worked with hotplug ... I really don't remember right now,
but there was a change affecting devmapper. I think you have to read about
it, perhaps replace it and recreate initrd.

Compiling md in the kernel is the right approach to boot from raided root
without initrd. You can try this just skipping (deleteing the line in grub
temporary)

 I think that this last quoted line does most explain that the tools I am
 using are not appropriate.
 
 I have good grounds to think that the problems are in my initrd.img
 file... but there may also be something wrong in the compiled kernel
 image.

try without initrd (with custom kernel, you can put everything you need
inside it (i.e filesystem support ide/ata etc) you then can access your
root partition and the boot process will continue from there. The initrd is
only needed to load drivers which helps you do the above.
Because you are using lvm, if not using initrd you need to compile also lvm
inside the kernel.

 
 Could someone please tell me what tool packages to purge and what to
 install instead so that I can recompile a 2.6.26 or 2.6.30 kernel that
 will boot on my Debian 3.1 system with raid 1 ?
 
There are good howtos for upgrading from sarg - etch and etch - lenny.
You definitely better use udev ... devmapper is not needed anymore as far as
I know.

I did it last year ... and yes there were some troubles with the initrds ...

I could send you my scripts for building your own initrd ( I have used them
to build initrd for crypted root - before it started working in debian),
though I've already posted a 5step howto fix broken boot initrd - try
init=/bin/sh option ;-) and fix the boot by hand - you'll see what you are
missing

You could just copy over a working image and initrd (from some live cd/dvd)
edit grub and reboot - this should work.

regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Playing 8-bit raw Audio with mplayer

2009-08-22 Thread Emanoil Kotsev
Martin McCormick wrote:

 mplayer -quiet -rawaudio samplesize=1:channels=1:rate=8000 -demuxer
 rawaudio \ /tmp/

This was interesting experiment, but I don't hear such a thing.

what do you see in ratio (see below) from mplayer

for me it's ratio: 8000-8000

uname -a
Linux maistor 2.6.30.4eko2 #1 SMP PREEMPT Wed Aug 12 00:57:41 CEST 2009 i686
GNU/Linux

cat /proc/asound/card*/codec* | grep Codec
Codec: SigmaTel STAC9200

player -quiet -rawaudio samplesize=1:channels=1:rate=8000 -demuxer
rawaudio /tmp/testfile
MPlayer dev-SVN-r28048-4.3.2 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Core(TM)2 CPU T7200  @ 2.00GHz (Family: 6, Model: 15,
Stepping: 6)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
/usr/share/fonts/truetype/ttf-sil-gentium/GenAI102.ttf doesn't look like a
bitmap font description, ignoring.
Cannot load bitmap
font: /usr/share/fonts/truetype/ttf-sil-gentium/GenAI102.ttf
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote
control.

Playing /tmp/testfile.
rawaudio file format detected.
==
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 8000 Hz, 1 ch, u8, 64.0 kbit/100.00% (ratio: 8000-8000)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==
AO: [oss] 8000Hz 1ch u8 (1 bytes per sample)
Video: no video
Starting playback...


Exiting... (End of file)
eman...@maistor:/tmp$ mplayer -quiet -rawaudio
samplesize=1:channels=1:rate=8000 -demuxer rawaudio /tmp/testfile
MPlayer dev-SVN-r28048-4.3.2 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Core(TM)2 CPU T7200  @ 2.00GHz (Family: 6, Model: 15,
Stepping: 6)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
...
Playing /tmp/testfile.
rawaudio file format detected.
==
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 8000 Hz, 1 ch, u8, 64.0 kbit/100.00% (ratio: 8000-8000)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==
AO: [oss] 8000Hz 1ch u8 (1 bytes per sample)
Video: no video
Starting playback...


Exiting... (End of file)



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: how to migrate request-tracker database from sqlite3 to mysql

2009-08-21 Thread Emanoil Kotsev
Boyd Stephen Smith Jr. wrote:

 In h6l9af$4p...@ger.gmane.org, Emanoil Kotsev wrote:
 
Yeah, somehow SQL does not seem to be really Standard :-)
 
 The S in SQL stands/stood for Structured.  However, SQL has been
 standardized about 3 times, roughly the same number of times UNIX has been
 standardized.  However, like UNIX, each implementation has many, many
 extensions that the uninformed or undisciplined commonly use.  Also like
 UNIX, in places where the standard has undefined or implementation-defined
 behavior each implementation generally has consistent and predictable
 behavior that even disciplined, experienced users may end up expecting
 from an alternative implementation.
 
 In short, most SQL you will find is not strictly-conforming, just like
 most shell scripts and C/C++ programs.
hehe, I was thinking (because reading about standardization of SQL) it
stands for standard.
Thanks for pointing out.

I know there are non-free import/export tools if in hurry and it's
important, may be it's worth paying.

I've been playing with import/export sqlite - mysql/oracle.
Exporting only simple sql structure works (no indices and funktions).

regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Cannot Login - Access Found!

2009-08-21 Thread Emanoil Kotsev
Raquel wrote:

 
 Cite: Note that the issue occurs only when the 'admin' directory
 wasn't properly renamed during the installation process. 
 
 is this true?
 
 means your fault!
 
 sorry and reagards
 
 
 Yeah.  I held a gun to his head and told him to break into my
 computer and mess things up.  It's my fault the burglar broke into my
 house because I locked all the doors with double dead-bolts but
 didn't have a guard dog.
 
 It's my fault because I don't go to the Zen Cart web site regularly.
 

sorry didn't mean to insult you in any way.

young inpatient programmers ... what else I could say.

I also doubt I, myself, am well protected.

head up! sh*t happens!

regards

PS: If you were wise to make backups and know exactly when they broke in,
you also know how they got in, you could save time by starting over at some
previous point of time.




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Waiting for root file system ...

2009-08-21 Thread Emanoil Kotsev
Robert P. J. Day wrote:

 On Fri, 21 Aug 2009, Niu Kun wrote:
 
 Have you ever run update-initramfs command manually on the
 pre-compiled kernel? I remember that I fixed such a problem once.
 Hope this will help. And look forward to your feedback.
 
   nope -- as i mentioned earlier, i'm fairly new to debian so a good
 deal of this i'm doing for the first time.  i'm certainly willing to
 try this and, to play it safe, i'll try to update *only* the initramfs
 for that earlier 2.6.18 kernel (i don't want to touch the working
 initrd for the 2.4.27 kernel, for obvious reasons).
 
   is it as simple as
 
   # update-initramfs -k 2.6.18
 
 ???

Hi, I'm using custom kernel but I played also with the default one. I
already posted once that there is a problem with the update-initramfs ro
the make equivalent. The problem is  that if you are using let say 2.6.18
and upgrade to 2.6.24 the program is using the information available to the
system (which modules would be included in the initrd disk). So if I haved
some module compiled in in 2.6.18 it will not be included in the new
initrd.

Seems that here the opposite happens. You get your megaraid drivers included
and you don't want to have them in. I'm not sure if blacklist is working in
initram. I think it's safe to remove them from the archive. The other think
would be possibly to set the bios not to map the magaraid device to the
first bootable.

and last but not least it's pretty tricky to boot broken initram but not too
hard if you know the steps.

regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



  1   2   3   4   >