I believe what you are seeing is the result of a problem I accidentally
introduced while making the probe routine more stable.  The probe routine
is mistakenly rejecting your device because it's over-agressive about
sanity checking.

I have a fix.  Unfortunately Randy rejected it because it also contained
some other things which seem to conflict with the UHCI driver.

I'm trying to get info on why that patch breaks with UHCI but not OHCI.
As soon as that's done, I'll resend the entire patch.

Matt Dharm

On Tue, 21 Mar 2000, geoffrey hausheer wrote:

> This may be a duplicate message.  If so, sorry ,mozilla crashed on me.
> 
> I just installed 2.3.99-pre2 (unpatched), and my usb-cdrom drive stopped working.  
>With 2.3.99-pre1 (unpatched), the drive worked fine (though I had to be careful to 
>install modules in the right order).  I used the same configuration options for both 
>kernels, and haven't changed anything else.  The usb-uhci module appears to work ok 
>(I get the normal screenworth of text when I plug the cdrom in, and the 
>/proc/bus/usb/devices for both kernels looks very similar), so I am assuming the 
>problem is either with the usb-storage or scsi modules.  'modprobe usb-storage' gives 
>no messages (debug is turned on) with the pre2 kernel (I got a message identifying 
>the drive with the pre1 kernel), and /proc/scsi/scsi shows no devices.  I have 
>included all of the information I could think of for both the pre1 and pre2 kernels 
>below.
> 
> .Geoff
> 
> Unpatched 2.3.99-pre1 kernel:
> 
> Here is what is reported by modprobe usb-storage:
> scsi0 : usbscsi0
> scsi : 1 host.
> usb-uhci.c: interrupt, status 3, frame# 712
>    Vendor: SONY    Model: CD-RW CRX120E Rev: 1.0k
>    Type: CD-ROM                         ANSI SCSI revision: 02
> 
> /proc/scsi/scsi:
> Attached devices: 
> Host: scsi0 Channel: 00 Id: 00 Lun: 00
>   Vendor: SONY     Model: CD-RW  CRX120E   Rev: 1.0k
>   Type:   CD-ROM                           ANSI SCSI revision: 02
> 
> /proc/bus/usb/devices
> T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
> B:  Alloc= 17/900 us ( 2%), #Int=  1, #Iso=  0
> D:  Ver= 1.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
> P:  Vendor=0000 ProdID=0000 Rev= 0.00
> C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
> I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
> E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=255ms
> T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
> D:  Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
> P:  Vendor=55aa ProdID=1234 Rev= 0.06
> S:  Manufacturer=OnSpec
> S:  Product=USB Atapi
> C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
> I:  If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
> E:  Ad=01(O) Atr=02(Bulk) MxPS=  64 Ivl=  0ms
> E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=  0ms
> 
> lspci -v
> 00:03.2 USB Controller: Intel Corporation 82371AB PIIX4 USB (rev 01) (prog-if 00 
>[UHCI])
>  Flags: medium devsel, IRQ 11
>  I/O ports at fca0 [size=32]
> 
> Unpatched 2.3.99-pre2 kernel:
> 
> modprobe usb-storage gives no messages
> 
> lsmod (after running 'modprobe usb-storage'):
> usb-storage            18808   0  (unused)
> scsi_mod               59708   0  [usb-storage]
> soundcore               3588   0  (autoclean) (unused)
> pcnet_cs                8528   1 
> 8390                    6172   0  [pcnet_cs]
> usb-uhci               20712   0  (unused)
> usbcore                45280   1  [usb-storage usb-uhci]
> 
> /proc/scsi/scsi:
> Attached devices: none
> 
> lspci -v:
> 00:03.2 USB Controller: Intel Corporation 82371AB PIIX4 USB (rev 01) (prog-if 00 
>[UHCI])
>  Flags: medium devsel, IRQ 11
>  I/O ports at fca0 [size=32]
> 
>   
> /proc/bus/usb/devices
> T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
> B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
> D:  Ver= 1.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
> P:  Vendor=0000 ProdID=0000 Rev= 0.00
> C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
> I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
> E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=255ms
> T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
> D:  Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
> P:  Vendor=55aa ProdID=1234 Rev= 0.06
> S:  Manufacturer=OnSpec
> S:  Product=USB Atapi
> C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
> I:  If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=(none)
> E:  Ad=01(O) Atr=02(Bulk) MxPS=  64 Ivl=  0ms
> E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=  0ms
> 
> /proc/bus/usb/devices (before drive is plugged in):
> T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
> B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
> D:  Ver= 1.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
> P:  Vendor=0000 ProdID=0000 Rev= 0.00
> C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
> I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
> E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=255ms
> 
> 
> 

-- 
Matthew Dharm                              Home: [EMAIL PROTECTED] 
Engineer, Qualcomm, Inc.                         Work: [EMAIL PROTECTED]

G:   Baaap booop BAHHHP.
Mir: 9600 Baud?
Mik: No, no!  9600 goes baap booop, not booop bahhhp!
                                        -- Greg, Miranda and Mike
User Friendly, 12/31/1998



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to