FROM: David Brownell
DATE: 06/19/2001 08:23:11
SUBJECT: RE: [Linux-usb-users] usb-storage and sd_mod zombies (threads?)
[ Matthew Dharm wrote: ]
[>] Does _anyone_ have any ideas on this?
Someone mentioned "kusbd" -- curious, that's a string which
shows up only in some dbg() messages. So if "ps" shows such
a string then it can't be a standard kernel. That'd suggest that
I booted back to a 2.4.3 kernel to check on the zombies and khubd (not
kusbd as I said originally, thanks for catching that) showed up in the
process table there too. The same zombies were created when the modules
were removed after unmounting the camera (FlashCompact card).
I built that kernel from the pristine 2.4.3 source that is found
at zeus.kernel.org, so it's not found just in the 2.4.5-ac9 kernel.
I also build that after patching a pristine 2.4.5 kernel from zeus,
patched because the kernel code for my sound card was so broken that
it stopped the compile for 2.4.5.
there's a problem in the way the hotplug agents are invoked,
likely related to whatever patches in that kernel put that string
into new places.
I don't know where to point the finger so the zombies are *not* caused
by a patched kernel.
FWIW I've never seen zombies related to hotplugging, and other than
finding ways usb-storage can lock up the entire system (needing power
cycling to recover) the strangest thing I've seen with usb-storage is
creation of two different "scsi0" pseudocontrollers. (On 2.4.5-ac6,
by unplugging one device and then plugging in another -- haven't
tried to reproduce.)
I don't autoload modules, kmod is not compiled into any of my kernels.
I attach the camera, use modprobe to insert the modules, turn on the
camera, and then mount the camera, and I undo this in reverse order when
I'm finished. I don't think that is hotplugging.
---
Clifford Kite
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
http://lists.sourceforge.net/lists/listinfo/linux-usb-users