Re: using USB card reader

From: Sybren Stüvel (sybrenUSE_at_YOURthirdtower.imagination.com)
Date: 01/28/04


Date: 28 Jan 2004 17:02:32 GMT


["Followup-To:" header set to alt.os.linux.]
Blues Traveler enlightened us with:
> the output of "fdisk -l /dev/sda" hangs up in the same way as the
> mount instruction had, so I guess you could say that the output
> doesn't make sense.

Auch.. It seems as if every read hangs. What happens if you use another
USB Host module? You seem to be using 'usb-uhci'. Try 'uhci' instead,
and see if it works. On my box, 'usb-uhci' works better than 'uhci', but
perhaps on yours it's the other way around.

> Speaking of which, these mount (and now fdisk) processes are starting
> to pile up- how can I get rid of them if not with "kill"?

In what state are they? You can see that with 'ps ax':

  PID TTY STAT TIME COMMAND
 5962 pts/0 S 0:01 slrn
               |
 Sleeping? ----/
 
 5985 pts/2 R 0:00 ps a
               |
 Running ------/

If it's in state 'D', you're going to have to reboot, or simply wait for
them to time out (might take long). They're hanging in a kernel call, so
any signal you send them will be received when the kernel call returns,
which might take a long time (the forementioned timeout).

> I had also been trying the mount instructions with the 'auto'
> filesystem type, so the vfat hasn't been the problem.

Good thinking, but if you can't even do 'fstab -l', you sure can't mount
it, no matter the filesystem.

Sybren

-- 
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let the problem solve itself?