This doesn't look like a 2.4.22 kernel -- it's issuing an INQUIRY for 255
bytes.  We changed that a while ago.

Matt

On Fri, Oct 03, 2003 at 06:13:49AM -0700, Kevin Golding wrote:
> --- Matthew Dharm <[EMAIL PROTECTED]>
> wrote:
> > On Thu, Oct 02, 2003 at 05:21:34PM +0100, Ged
> > Haywood wrote:
> > > Hi Kevin,
> > > 
> > > On Thu, 2 Oct 2003, Kevin Golding wrote:
> > > 
> > > > notice that the sg module is added, presumably
> > for my
> > > > dvd drive at /dev/hdb (mountable at /dev/sr0).
> > > 
> > > That's being loaded automatically when you need
> > it.
> > > 
> > > You should have sd_mod too, that might be the
> > problem.
> > 
> > sd_mod is only for disks.  sr_mod is for CD-ROM.
> > 
> > Matt
> 
> Hi All
> 
> I think the sd_ and sr_mods were compiled into the
> kernel itself.
> Anyway, just to be sure, I downloaded and recompiled
> the 2.4.22 kernel yesterday and compiled sr_mod and
> sd_mod as modules. I also noticed some stuff about
> verbose reporting and debugging which I switched on.
> 
> After booting, I manually did..
> # modprobe sd_mod
> # modprobe sr_mod
> ... and tried plugging the drive in again.
> 
> It still didn't work.
> 
> Below is the lsmod output as before.
> Also below is the more verbose output from dmesg.
> 
> Thanks
> Kevin
> 
> --------------------------------------
> lsmod output
> <--- Just booted up --->
> Module                  Size  Used by    Not tainted
> orinoco_cs              4212   1
> orinoco                32940   0 [orinoco_cs]
> hermes                  5348   0 [orinoco_cs orinoco]
> autofs4                 9204   0 (unused)
> af_packet              13768   0
> ext3                   63012   0 (unused)
> jbd                    47972   0 [ext3]
> nls_iso8859-1           2780   0 (unused)
> ntfs                   49536   0 (unused)
> msdos                   5004   0 (unused)
> agpgart                37336   0 (unused)
> maestro                28456   1
> soundcore               3300   2 [maestro]
> eepro100               18996   0
> mii                     2112   0 [eepro100]
> serial                 51492   0
> hid                    19748   0 (unused)
> mousedev                4024   1
> input                   3040   0 [hid mousedev]
> usb-uhci               21836   0 (unused)
> usbcore                63776   0 [hid usb-uhci]
> ds                      6344   2 [orinoco_cs]
> yenta_socket            9536   2
> pcmcia_core            39808   0 [orinoco_cs ds
> yenta_socket]
> apm                     9704   1
> rtc                     7132   0
> 
> <--- Manually modprobe sr_mod and sd_mod --->
> Module                  Size  Used by    Not tainted
> sr_mod                 14424   0  (unused)
> sd_mod                 11372   0  (unused)
> orinoco_cs              4212   1 
> orinoco                32940   0  [orinoco_cs]
> hermes                  5348   0  [orinoco_cs orinoco]
> autofs4                 9204   0  (unused)
> af_packet              13768   0 
> ext3                   63012   0  (unused)
> jbd                    47972   0  [ext3]
> nls_iso8859-1           2780   0  (unused)
> ntfs                   49536   0  (unused)
> msdos                   5004   0  (unused)
> agpgart                37336   0  (unused)
> maestro                28456   1 
> soundcore               3300   2  [maestro]
> eepro100               18996   0 
> mii                     2112   0  [eepro100]
> serial                 51492   0 
> hid                    19748   0  (unused)
> mousedev                4024   1 
> input                   3040   0  [hid mousedev]
> usb-uhci               21836   0  (unused)
> usbcore                63776   0  [hid usb-uhci]
> ds                      6344   2  [orinoco_cs]
> yenta_socket            9536   2 
> pcmcia_core            39808   0  [orinoco_cs ds
> yenta_socket]
> apm                     9704   1 
> rtc                     7132   0 
> 
> <--- Plug in drive --->
> Module                  Size  Used by    Not tainted
> usb-storage           113392   1  (initializing)
> sr_mod                 14424   0  (unused)
> sd_mod                 11372   0  (unused)
> orinoco_cs              4212   1 
> orinoco                32940   0  [orinoco_cs]
> hermes                  5348   0  [orinoco_cs orinoco]
> autofs4                 9204   0  (unused)
> af_packet              13768   0 
> ext3                   63012   0  (unused)
> jbd                    47972   0  [ext3]
> nls_iso8859-1           2780   0  (unused)
> ntfs                   49536   0  (unused)
> msdos                   5004   0  (unused)
> agpgart                37336   0  (unused)
> maestro                28456   1 
> soundcore               3300   2  [maestro]
> eepro100               18996   0 
> mii                     2112   0  [eepro100]
> serial                 51492   0 
> hid                    19748   0  (unused)
> mousedev                4024   1 
> input                   3040   0  [hid mousedev]
> usb-uhci               21836   0  (unused)
> usbcore                63776   0  [usb-storage hid
> usb-uhci]
> ds                      6344   2  [orinoco_cs]
> yenta_socket            9536   2 
> pcmcia_core            39808   0  [orinoco_cs ds
> yenta_socket]
> apm                     9704   1 
> rtc                     7132   0 
> 
> <--- Do 'cdrecord -scanbus' --->
> Module                  Size  Used by    Not tainted
> sg                     30924   0  (autoclean) (unused)
> usb-storage           113392   0  (unused)
> sr_mod                 14424   0  (unused)
> sd_mod                 11372   0  (unused)
> orinoco_cs              4212   1 
> orinoco                32940   0  [orinoco_cs]
> hermes                  5348   0  [orinoco_cs orinoco]
> autofs4                 9204   0  (unused)
> af_packet              13768   0 
> ext3                   63012   0  (unused)
> jbd                    47972   0  [ext3]
> nls_iso8859-1           2780   0  (unused)
> ntfs                   49536   0  (unused)
> msdos                   5004   0  (unused)
> agpgart                37336   0  (unused)
> maestro                28456   1 
> soundcore               3300   2  [maestro]
> eepro100               18996   0 
> mii                     2112   0  [eepro100]
> serial                 51492   0 
> hid                    19748   0  (unused)
> mousedev                4024   1 
> input                   3040   0  [hid mousedev]
> usb-uhci               21836   0  (unused)
> usbcore                63776   0  [usb-storage hid
> usb-uhci]
> ds                      6344   2  [orinoco_cs]
> yenta_socket            9536   2 
> pcmcia_core            39808   0  [orinoco_cs ds
> yenta_socket]
> apm                     9704   1 
> rtc                     7132   0 
> 
> --------------------------------------
> dmesg
> hub.c: port 1, portstatus 101, change 1, 12 Mb/s
> hub.c: port 1 connection change
> hub.c: port 1, portstatus 101, change 1, 12 Mb/s
> hub.c: port 1, portstatus 101, change 0, 12 Mb/s
> hub.c: port 1, portstatus 101, change 0, 12 Mb/s
> hub.c: port 1, portstatus 101, change 0, 12 Mb/s
> hub.c: port 1, portstatus 101, change 0, 12 Mb/s
> hub.c: port 1, portstatus 103, change 0, 12 Mb/s
> hub.c: new USB device 00:07.2-1, assigned address 2
> usb.c: kmalloc IF c744cfa0, numif 1
> usb.c: new device strings: Mfr=73, Product=81,
> SerialNumber=93
> usb.c: USB device number 2 default language ID 0x409
> Manufacturer: FREECOM
> Product: USB-2 Drive
> SerialNumber: 406F11100Fw15004EFA2EE
> usb.c: unhandled interfaces on device
> usb.c: USB device 2 (vend/prod 0x7ab/0xfc03) is not
> claimed by any active driver.
>   Length              = 18
>   DescriptorType      = 01
>   USB version         = 2.00
>   Vendor:Product      = 07ab:fc03
>   MaxPacketSize0      = 64
>   NumConfigurations   = 1
>   Device version      = 11.10
>   Device Class:SubClass:Protocol = 00:00:00
>     Per-interface classes
> Configuration:
>   bLength             =    9
>   bDescriptorType     =   02
>   wTotalLength        = 0027
>   bNumInterfaces      =   01
>   bConfigurationValue =   02
>   iConfiguration      =   00
>   bmAttributes        =   c0
>   MaxPower            =   98mA
> 
>   Interface: 0
>   Alternate Setting:  0
>     bLength             =    9
>     bDescriptorType     =   04
>     bInterfaceNumber    =   00
>     bAlternateSetting   =   00
>     bNumEndpoints       =   03
>     bInterface Class:SubClass:Protocol =   08:06:50
>     iInterface          =   00
>     Endpoint:
>       bLength             =    7
>       bDescriptorType     =   05
>       bEndpointAddress    =   01 (out)
>       bmAttributes        =   02 (Bulk)
>       wMaxPacketSize      = 0040
>       bInterval           =   00
>     Endpoint:
>       bLength             =    7
>       bDescriptorType     =   05
>       bEndpointAddress    =   82 (in)
>       bmAttributes        =   02 (Bulk)
>       wMaxPacketSize      = 0040
>       bInterval           =   00
>     Endpoint:
>       bLength             =    7
>       bDescriptorType     =   05
>       bEndpointAddress    =   83 (in)
>       bmAttributes        =   03 (Interrupt)
>       wMaxPacketSize      = 0002
>       bInterval           =   20
> usb.c: kusbd: /sbin/hotplug add 2
> hub.c: port 2, portstatus 100, change 0, 12 Mb/s
> hub.c: port 1, portstatus 103, change 0, 12 Mb/s
> hub.c: port 2, portstatus 100, change 0, 12 Mb/s
> Initializing USB Mass Storage driver...
> usb.c: registered new driver usb-storage
> usb-storage: act_altsettting is 0
> usb-storage: id_index calculated to be: 98
> usb-storage: Array length appears to be: 100
> usb-storage: USB Mass Storage device detected
> usb-storage: Endpoints: In: 0xc850c9a4 Out: 0xc850c990
> Int: 0xc850c9b8 (Period 32)
> usb-storage: New GUID 07abfc03100f015004efa2ee
> usb-storage: GetMaxLUN command result is 1, data is 0
> usb-storage: Transport: Bulk
> usb-storage: Protocol: Transparent SCSI
> usb-storage: *** thread sleeping.
> scsi1 : SCSI emulation for USB Mass Storage devices
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Command INQUIRY (6 bytes)
> usb-storage: 12 00 00 00 ff 00 a9 cc 00 f0 fe 0f
> usb-storage: Bulk command S 0x43425355 T 0x1 Trg 0 LUN
> 0 L 255 F 128 CL 6
> usb-storage: Bulk command transfer result=0
> usb-storage: usb_stor_transfer_partial(): xfer 255
> bytes
> usb-storage: command_abort() called
> usb-storage: usb_stor_bulk_msg() returned -104 xferred
> 0/255
> usb-storage: usb_stor_transfer_partial(): transfer
> aborted
> usb-storage: Bulk data transfer result 0x3
> usb-storage: -- transport indicates command was
> aborted
> usb-storage: Bulk reset requested
> usb_control/bulk_msg: timeout
> usb-storage: Bulk soft reset failed -110
> usb-storage: scsi command aborted
> usb-storage: *** thread sleeping.
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Command TEST_UNIT_READY (6 bytes)
> usb-storage: 00 00 00 00 00 00 a9 cc 00 f0 fe 0f
> usb-storage: Bulk command S 0x43425355 T 0x2 Trg 0 LUN
> 0 L 0 F 0 CL 6
> usb-storage: Bulk command transfer result=0
> usb-storage: Attempting to get CSW...
> usb-storage: Bulk status result = 0
> usb-storage: Bulk status Sig 0x53425355 T 0x2 R 0 Stat
> 0x1
> usb-storage: -- transport indicates command failure
> usb-storage: Issuing auto-REQUEST_SENSE
> usb-storage: Bulk command S 0x43425355 T 0x3 Trg 0 LUN
> 0 L 18 F 128 CL 6
> usb-storage: Bulk command transfer result=0
> usb-storage: usb_stor_transfer_partial(): xfer 18
> bytes
> usb-storage: usb_stor_bulk_msg() returned 0 xferred
> 18/18
> usb-storage: usb_stor_transfer_partial(): transfer
> complete
> usb-storage: Bulk data transfer result 0x0
> usb-storage: Attempting to get CSW...
> usb-storage: Bulk status result = 0
> usb-storage: Bulk status Sig 0x53425355 T 0x3 R 0 Stat
> 0x0
> usb-storage: -- Result from auto-sense is 0
> usb-storage: -- code: 0x70, key: 0x6, ASC: 0x29, ASCQ:
> 0x0
> usb-storage: Unit Attention: device reset occurred
> usb-storage: scsi cmd done, result=0x2
> usb-storage: *** thread sleeping.
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Command INQUIRY (6 bytes)
> usb-storage: 12 00 00 00 ff 00 a9 cc 00 f0 fe 0f
> usb-storage: Bulk command S 0x43425355 T 0x4 Trg 0 LUN
> 0 L 255 F 128 CL 6
> usb-storage: Bulk command transfer result=0
> usb-storage: usb_stor_transfer_partial(): xfer 255
> bytes
> usb-storage: usb_stor_bulk_msg() returned 0 xferred
> 36/255
> usb-storage: Bulk data transfer result 0x1
> usb-storage: Attempting to get CSW...
> usb-uhci.c: interrupt, status 3, frame# 1961
> usb-storage: clearing endpoint halt for pipe
> 0xc0010280
> usb-storage: usb_stor_clear_halt: result=0
> usb-storage: Attempting to get CSW (2nd try)...
> usb-storage: Bulk status result = 0
> usb-storage: Bulk status Sig 0x53425355 T 0x4 R 219
> Stat 0x0
> usb-storage: Fixing INQUIRY data to show SCSI rev 2 -
> was 0
> usb-storage: scsi cmd done, result=0x0
> usb-storage: *** thread sleeping.
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Bad target number (1/0)
> usb-storage: *** thread sleeping.
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Bad target number (2/0)
> usb-storage: *** thread sleeping.
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Bad target number (3/0)
> usb-storage: *** thread sleeping.
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Bad target number (4/0)
> usb-storage: *** thread sleeping.
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Bad target number (5/0)
> usb-storage: *** thread sleeping.
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Bad target number (6/0)
> usb-storage: *** thread sleeping.
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Bad target number (7/0)
> usb-storage: *** thread sleeping.
> WARNING: USB Mass Storage data integrity not assured
> USB Mass Storage device found at 2
> usb.c: usb-storage driver claimed interface c744cfa0
> USB Mass Storage support registered.
> 
> --------------------------------------
> 
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Shopping - with improved product search
> http://shopping.yahoo.com

-- 
Matthew Dharm                              Home: [EMAIL PROTECTED] 
Maintainer, Linux USB Mass Storage Driver

Why am I talking to a toilet brush?
                                        -- CEO
User Friendly, 4/30/1998

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to