Hello all,
I have something of a problem with a USB Compact Flash reader
as of kernel 2.4.18-pre8. The kernel 'stops' during boot,
while loading the usb-storage module. This is caused by an
unbranded 3-in-1 reader (CF/SM/MMC) which works correctly in 2.4.17
(but I cannot identify the underlying hardware).
According to various experiments the problem is not actually caused
in usb-storage itself, but somewhere else along the line, possibly
in the SCSI system, though I can't see many changes in pre8.
What seems to be happening is that usb-storage never finishes
being initialised by insmod and sits there forever.
To get into the system reliably, I unplugged the device and
plugged it in once the system was fully booted.
Starting from the module entrypoint in usb-storage, this is what
appears to be going on (judicious use of printk):
usb/storage/usb.c : usb_stor_init
Initializing USB Mass Storage driver...
Init_MUTEX()
usb_register() [Never returns from this call]
So, inside usb_register we go:
usb/usb.c : usb_register
registered new driver usb-storage
Init_MUTEX()
list_add_tail()
usb_scan_devices() [Never returns from this call]
And so we call usb_scan_devices:
usb_scan_devices()
down()
list_entry()
usb_check_support() [Never returns from this call]
And it goes on:
usb_check_support()
usb_check_support(child 0)
Check_support calls itself recursively for all the child devices.
In this case it tries the first child (and never recovers):
usb_check_support()
[No more children, find interface]
usb_find_interface_driver() [Never returns from this call]
Now, I haven't yet looked inside find_interface_driver, but the
following message appears in /var/log/messages:
scsi1 : SCSI emulation for USB Mass Storage devices
..after which no more is said.
I can post the relevant sections of /var/log/messages if desired, but it
is currently tainted by my own printk statements, and this is already
a log bug submission.
--
JP Morris - aka DOUG the Eagle (Dragon) -=UDIC=- [EMAIL PROTECTED]
Fun things to do with the Ultima games http://www.it-he.com
Developing a U6/U7 clone http://ire.it-he.org
d+++ e+ N+ T++ Om U1234!56!7'!S'!8!9!KA u++ uC+++ uF+++ uG---- uLB----
uA--- nC+ nR---- nH+++ nP++ nI nPT nS nT wM- wC- y a(YEAR - 1976)
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users