Re: Problems with USB Drive

From: Rogério Brito
Date: Thu Nov 06 2003 - 17:51:26 EST


On Nov 06 2003, Rogério Brito wrote:
> Just as some extra information, when I try to shutdown the hotplug
> service (via /etc/init.d/hotplug stop), the program hangs and I get
> processes in the D state in the output of ps.
>
> Also, when this occurs, lsmod also hangs and is also unkillable.
(...)

Here are some extra pieces of information regarding what people told me
or recommended me:

* I am already using UHCI, and not OHCI (in particular, I am using the
uhci_hcd module);

* I tried inserting my USB drive slowly, but it seemed to make no
difference;

* Before inserting the USB drive, I already have scsi_mod, ide_scsi,
sd_mod, usbcore and usblp loaded.

The bad thing is that apart from not being able to store my files in my
drive, this process is leaving some unkillable processes in my system as
shows the following excerpt from an execution of the command "ps aux":

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 2650 0.0 1.2 2648 1536 pts/0 S 20:14 0:00 -su
root 2757 0.0 0.3 1524 464 pts/0 T 20:19 0:00 /bin/sh /etc/init.d/hotplug status
root 2772 0.0 0.9 2384 1184 pts/0 T 20:19 0:00 /bin/bash /etc/hotplug/usb.rc status
root 2778 0.0 0.3 1504 448 pts/0 D 20:19 0:00 grep ^[TPSI]: /proc/bus/usb/devices
root 2795 0.0 0.6 2452 828 pts/0 R 20:22 0:00 ps aux
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

As a reminder, the last lines of my dmesg output that seems relevant to
the problem is attached to this message. After that, I get the message
that /dev/sda1 is not a valid block device.

I put all the relevant files that I can think of on my homepage, at
<http://www.ime.usp.br/~rbrito/usb/> for further reference.

Please feel free to ask me whatever you feel is important and I will do
my best to answer to get this working correctly.


Thanks in advance, Rogério Brito.

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Rogério Brito - rbrito@xxxxxxxxxx - http://www.ime.usp.br/~rbrito
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/