Ron Johnson wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 02/24/08 15:11, postid wrote:
Greetings:

When I unmount a USB memory stick my machine becomes completely
unresponsive. I can't access a console and even the sysreq key sequences
don't work. I end up shutting it down with the power button.

My /etc/fstab has this line:

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
/dev/sda1       /media/usb      auto    rw,user,noauto  0       0

This is an IBM R40 laptop running Sarge.

Any ideas for using USB sticks successfully?

(Yes, I'll upgrade to Etch eventually, but right now I'm too busy for
that.)

Please CC me as I'm not currently subscribed.

- From the console, or within X?
From Konsole within X.

Are you sure that it's successfully mounted?

I can access the contents of the Swissbit stick in Konqueror.

I'd run "# tail /var/log/syslog" in one xterm, while in the other
run "# umount -v /media/usb".

- --
Ron Johnson, Jr.
Jefferson LA  USA

I tried first with the Swissbit stick.

[EMAIL PROTECTED]:~$ mount /media/usb
[EMAIL PROTECTED]:~$ umount -v /media/usb /dev/sda1 umounted
[EMAIL PROTECTED]:~$

R40:/home/ellsworth# tail /var/log/syslog
Feb 25 07:35:52 localhost udev[5612]: creating device node '/dev/sda'
Feb 25 07:35:53 localhost kernel: SCSI device sda: 245760 512-byte hdwr 
sectors(126 MB)
Feb 25 07:35:53 localhost kernel: sda: assuming Write Enabled
Feb 25 07:35:53 localhost kernel: sda: assuming drive cache: write through
Feb 25 07:35:53 localhost kernel: SCSI device sda: 245760 512-byte hdwr 
sectors(126 MB)
Feb 25 07:35:53 localhost kernel: sda: assuming Write Enabled
Feb 25 07:35:53 localhost kernel: sda: assuming drive cache: write through
Feb 25 07:35:53 localhost kernel:  /dev/scsi/host0/bus0/target0/lun0: p1
Feb 25 07:35:53 localhost udev[5657]: configured rule in 
'/etc/udev/rules.d/z_hal-plugdev.rules[2]' applied, 'sda1' becomes '%k'
Feb 25 07:35:53 localhost udev[5657]: creating device node '/dev/sda1'
R40:/home/ellsworth#

After umount, tried:
[EMAIL PROTECTED]:~$ umount -v /media/usb
Could not find /media/usb in mtab
umount: /media/usb is not mounted (according to mtab)
[EMAIL PROTECTED]:~$

Removing stick results in:
Feb 25 07:49:51 localhost kernel: usb 1-3: USB disconnect, address 3
Feb 25 07:49:51 localhost udev[5743]: removing device node '/dev/sda1'
Feb 25 07:49:52 localhost udev[5809]: removing device node '/dev/sda'
R40:/home/ellsworth#

Even after unmounting, Konqueror still indicates that it's mounted in the 
devices directory.

Inserting "M" stick (no mount command) results in:

R40:/home/ellsworth# tail /var/log/syslog
Feb 25 07:54:00 localhost scsi.agent[6015]:      sg: loaded sucessfully (for 
cdrom)
Feb 25 07:54:00 localhost kernel: Attached scsi generic sg0 at scsi1, channel 
0, id 0, lun 0,  type 0
Feb 25 07:54:00 localhost kernel: Attached scsi generic sg1 at scsi1, channel 
0, id 0, lun 1,  type 5
Feb 25 07:54:00 localhost udev[6076]: creating device node '/dev/sg0'
Feb 25 07:54:00 localhost udev[6081]: creating device node '/dev/sg1'
Feb 25 07:54:00 localhost usb.agent[6046]:      usb-storage: already loaded
Feb 25 07:54:00 localhost udev[5993]: configured rule in 
'/etc/udev/rules.d/cd-aliases.rules[8]' applied, added symlink '%c{1} %c{2} 
%c{3} %c{4} %c{5} %c{6}'
Feb 25 07:54:00 localhost udev[5993]: configured rule in 
'/etc/udev/rules.d/udev.rules[20]' applied, added symlink 'sr%n'
Feb 25 07:54:00 localhost udev[5993]: configured rule in 
'/etc/udev/rules.d/udev.rules[20]' applied, 'sr0' becomes 'scd%n'
Feb 25 07:54:00 localhost udev[5993]: creating device node '/dev/scd0'
R40:/home/ellsworth#
It looks like it thinks it's a cd?! It's loading usb-storage. Why is it 
creating /dev/scd0 instead of /dev/sda1?

What do I do about this?

Thanks in advance for advice here!

Please CC me as I am not currently subscribed.

Postid


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to