What's in /proc/scsi/scsi?

Matt

On Mon, Oct 22, 2001 at 06:08:58PM -0400, J. Lasser wrote:
> In the wise words of Matthew Dharm:
> 
> > Interesting... my 120/240 drive works fine.
> > 
> > That error message indicates one of two things:
> > (1) The USB device has detached itself from the bus.
> > (2) The device has stopped responding to USB requests.
> > 
> > Odd.
> 
> Hmmm... that may have been from actually unplugging the thing...
> 
> > Can you recompile with USB Mass Storage Verbose Debugging turned on?
> 
> I have it turned on... guess I sent the wrong messages (I sent the ones
> from dmesg...)
> 
> It's still unable to read from the disk.  I've popped the disk in and
> out a couple of times here, and tried several other commands:
> 
> [jon@frogbog ops-manual]$ sudo mount /dev/sda /mnt -t msdos
> mount: No medium found
> [jon@frogbog ops-manual]$ fdisk /dev/sda
> 
> Unable to open /dev/sda
> [jon@frogbog ops-manual]$ dd if=/dev/sda of=testfile
> dd: opening `/dev/sda': No medium found
> [jon@frogbog ops-manual]$ mt -f /dev/sda offline
> /dev/sda: No medium found
> 
> 
> 
> OK, now here's the output of dmesg from when I hooked the drive up. As
> of this moment it's not disconnected...
> 
> --- cut here ---
> hub.c: port 1 connection change
> hub.c: port 1, portstatus 100, change 3, 12 Mb/s
> usb.c: USB disconnect on device 13
> usb.c: kusbd: /sbin/hotplug remove 13
> hub.c: port 1 enable change, status 100
> hub.c: port 1 connection change
> hub.c: port 1, portstatus 101, change 1, 12 Mb/s
> hub.c: port 1, portstatus 103, change 0, 12 Mb/s
> hub.c: USB new device connect on bus1/1, assigned device number 15
> usb.c: kmalloc IF ceb8f8e0, numif 1
> usb.c: new device strings: Mfr=0, Product=1, SerialNumber=0
> usb.c: USB device number 15 default language ID 0x409
> Product: General Purpose USB Hub
> hub.c: USB hub found
> hub.c: 2 ports detected
> hub.c: standalone hub
> hub.c: individual port power switching
> hub.c: individual port over-current protection
> hub.c: Port indicators are not supported
> hub.c: power on to power good time: 100ms
> hub.c: hub controller current requirement: 100mA
> hub.c: port removable status: RR
> hub.c: local power source is good
> hub.c: no over-current condition exists
> hub.c: enabling power on all ports
> usb.c: hub driver claimed interface ceb8f8e0
> usb.c: kusbd: /sbin/hotplug add 15
> hub.c: port 2 connection change
> hub.c: port 2, portstatus 101, change 1, 12 Mb/s
> hub.c: port 2, portstatus 103, change 10, 12 Mb/s
> hub.c: USB new device connect on bus1/1/2, assigned device number 16
> usb.c: kmalloc IF ceb8fc60, numif 1
> usb.c: new device strings: Mfr=1, Product=2, SerialNumber=3
> usb.c: USB device number 16 default language ID 0x409
> Manufacturer: OnSpec
> Product: SuperDisk-USB drive 
> SerialNumber: 357565B675
> usb-storage: act_altsettting is 0
> usb-storage: id_index calculated to be: 74
> usb-storage: Array length appears to be: 77
> usb-storage: USB Mass Storage device detected
> usb-storage: Endpoints: In: 0xc6e18334 Out: 0xc6e18320 Int: 0x00000000
> (Period 0)
> usb-storage: Found existing GUID 55aa0102000000357565b675
> WARNING: USB Mass Storage data integrity not assured
> USB Mass Storage device found at 16
> usb.c: usb-storage driver claimed interface ceb8fc60
> usb.c: kusbd: /sbin/hotplug add 16
> Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
> Attached scsi removable disk sdb at scsi1, channel 0, id 0, lun 0
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Request is for removed device
> usb-storage: scsi cmd done, result=0x2
> usb-storage: *** thread sleeping.
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Request is for removed device
> usb-storage: scsi cmd done, result=0x2
> usb-storage: *** thread sleeping.
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Request is for removed device
> usb-storage: scsi cmd done, result=0x2
> usb-storage: *** thread sleeping.
> sda : READ CAPACITY failed.
> sda : status = 1, message = 00, host = 0, driver = 08 
> Info fld=0xa00 (nonstd), Current sd00:00: sense key Not Ready
> sda : block size assumed to be 512 bytes, disk size 1GB.  
>  sda: I/O error: dev 08:00, sector 0
>  unable to read partition table
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Command TEST_UNIT_READY (6 bytes)
> usb-storage: 00 00 00 00 00 00 00 00 00 00 1f 00
> usb-storage: Bulk command S 0x43425355 T 0x65 Trg 0 LUN 0 L 0 F 0 CL 12
> 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 0x65 R 0 Stat 0x1
> usb-storage: -- transport indicates command failure
> usb-storage: Issuing auto-REQUEST_SENSE
> usb-storage: Bulk command S 0x43425355 T 0x65 Trg 0 LUN 0 L 18 F 128 CL 12
> 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 0x65 R 0 Stat 0x0
> usb-storage: -- Result from auto-sense is 0
> usb-storage: -- code: 0x70, key: 0x6, ASC: 0x28, ASCQ: 0x0
> usb-storage: Unit Attention: not ready to ready transition
> usb-storage: scsi cmd done, result=0x2
> 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 00 00 00 00 1f 00
> usb-storage: Bulk command S 0x43425355 T 0x66 Trg 0 LUN 0 L 0 F 0 CL 12
> 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 0x66 R 0 Stat 0x0
> usb-storage: scsi cmd done, result=0x0
> usb-storage: *** thread sleeping.
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Command READ_CAPACITY (10 bytes)
> usb-storage: 25 00 00 00 00 00 00 00 00 00 1f 00
> usb-storage: Bulk command S 0x43425355 T 0x67 Trg 0 LUN 0 L 8 F 128 CL 12
> usb-storage: Bulk command transfer result=0
> usb-storage: usb_stor_transfer_partial(): xfer 8 bytes
> usb-storage: usb_stor_bulk_msg() returned 0 xferred 8/8
> 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 0x67 R 0 Stat 0x0
> usb-storage: scsi cmd done, result=0x0
> usb-storage: *** thread sleeping.
> SCSI device sdb: 2880 512-byte hdwr sectors (1 MB)
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Command MODE_SENSE (6 bytes)
> usb-storage: 1a 00 3f 00 ff 00 00 00 00 00 1f 00
> usb-storage: Bulk command S 0x43425355 T 0x68 Trg 0 LUN 0 L 255 F 128 CL 12
> 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 94/255
> usb-storage: Bulk data transfer result 0x1
> usb-storage: Attempting to get CSW...
> usb-uhci.c: interrupt, status 3, frame# 1356
> usb-storage: clearing endpoint halt for pipe 0xc0011080
> usb-storage: Attempting to get CSW (2nd try)...
> usb-storage: Bulk status result = 0
> usb-storage: Bulk status Sig 0x53425355 T 0x68 R 161 Stat 0x0
> usb-storage: -- converting 10 byte sense data to 6 byte
> usb-storage: scsi cmd done, result=0x0
> usb-storage: *** thread sleeping.
> sdb: Write Protect is on
>  sdb:<7>usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Command READ_10 (10 bytes)
> usb-storage: 28 00 00 00 00 00 00 00 08 00 00 00
> usb-storage: Bulk command S 0x43425355 T 0x69 Trg 0 LUN 0 L 4096 F 128 CL 12
> usb-storage: Bulk command transfer result=0
> usb-storage: usb_stor_transfer_partial(): xfer 4096 bytes
> usb-storage: usb_stor_bulk_msg() returned 0 xferred 4096/4096
> 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 0x69 R 0 Stat 0x0
> usb-storage: scsi cmd done, result=0x0
> usb-storage: *** thread sleeping.
>  sdb1
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Request is for removed device
> usb-storage: scsi cmd done, result=0x2
> usb-storage: *** thread sleeping.
> Device not ready.  Make sure there is a disc in the drive.
> VFS: Disk change detected on device sd(8,0)
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Request is for removed device
> usb-storage: scsi cmd done, result=0x2
> usb-storage: *** thread sleeping.
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Request is for removed device
> usb-storage: scsi cmd done, result=0x2
> usb-storage: *** thread sleeping.
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Request is for removed device
> usb-storage: scsi cmd done, result=0x2
> usb-storage: *** thread sleeping.
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Request is for removed device
> usb-storage: scsi cmd done, result=0x2
> usb-storage: *** thread sleeping.
> sda : READ CAPACITY failed.
> sda : status = 1, message = 00, host = 0, driver = 08 
> Info fld=0xa00 (nonstd), Current sd00:00: sense key Not Ready
> sda : block size assumed to be 512 bytes, disk size 1GB.  
>  sda: I/O error: dev 08:00, sector 0
>  unable to read partition table
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Request is for removed device
> usb-storage: scsi cmd done, result=0x2
> usb-storage: *** thread sleeping.
> Device not ready.  Make sure there is a disc in the drive.
> VFS: Disk change detected on device sd(8,0)
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Request is for removed device
> usb-storage: scsi cmd done, result=0x2
> usb-storage: *** thread sleeping.
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Request is for removed device
> usb-storage: scsi cmd done, result=0x2
> usb-storage: *** thread sleeping.
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Request is for removed device
> usb-storage: scsi cmd done, result=0x2
> usb-storage: *** thread sleeping.
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Request is for removed device
> usb-storage: scsi cmd done, result=0x2
> usb-storage: *** thread sleeping.
> sda : READ CAPACITY failed.
> sda : status = 1, message = 00, host = 0, driver = 08 
> Info fld=0xa00 (nonstd), Current sd00:00: sense key Not Ready
> sda : block size assumed to be 512 bytes, disk size 1GB.  
>  sda: I/O error: dev 08:00, sector 0
>  unable to read partition table
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Request is for removed device
> usb-storage: scsi cmd done, result=0x2
> usb-storage: *** thread sleeping.
> Device not ready.  Make sure there is a disc in the drive.
> VFS: Disk change detected on device sd(8,0)
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Request is for removed device
> usb-storage: scsi cmd done, result=0x2
> usb-storage: *** thread sleeping.
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Request is for removed device
> usb-storage: scsi cmd done, result=0x2
> usb-storage: *** thread sleeping.
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Request is for removed device
> usb-storage: scsi cmd done, result=0x2
> usb-storage: *** thread sleeping.
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Request is for removed device
> usb-storage: scsi cmd done, result=0x2
> usb-storage: *** thread sleeping.
> sda : READ CAPACITY failed.
> sda : status = 1, message = 00, host = 0, driver = 08 
> Info fld=0xa00 (nonstd), Current sd00:00: sense key Not Ready
> sda : block size assumed to be 512 bytes, disk size 1GB.  
>  sda: I/O error: dev 08:00, sector 0
>  unable to read partition table
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Request is for removed device
> usb-storage: scsi cmd done, result=0x2
> usb-storage: *** thread sleeping.
> Device not ready.  Make sure there is a disc in the drive.
> VFS: Disk change detected on device sd(8,0)
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Request is for removed device
> usb-storage: scsi cmd done, result=0x2
> usb-storage: *** thread sleeping.
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Request is for removed device
> usb-storage: scsi cmd done, result=0x2
> usb-storage: *** thread sleeping.
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Request is for removed device
> usb-storage: scsi cmd done, result=0x2
> usb-storage: *** thread sleeping.
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Request is for removed device
> usb-storage: scsi cmd done, result=0x2
> usb-storage: *** thread sleeping.
> sda : READ CAPACITY failed.
> sda : status = 1, message = 00, host = 0, driver = 08 
> Info fld=0xa00 (nonstd), Current sd00:00: sense key Not Ready
> sda : block size assumed to be 512 bytes, disk size 1GB.  
>  sda: I/O error: dev 08:00, sector 0
>  unable to read partition table
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Request is for removed device
> usb-storage: scsi cmd done, result=0x2
> usb-storage: *** thread sleeping.
> Device not ready.  Make sure there is a disc in the drive.
> VFS: Disk change detected on device sd(8,0)
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Request is for removed device
> usb-storage: scsi cmd done, result=0x2
> usb-storage: *** thread sleeping.
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Request is for removed device
> usb-storage: scsi cmd done, result=0x2
> usb-storage: *** thread sleeping.
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Request is for removed device
> usb-storage: scsi cmd done, result=0x2
> usb-storage: *** thread sleeping.
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Request is for removed device
> usb-storage: scsi cmd done, result=0x2
> usb-storage: *** thread sleeping.
> sda : READ CAPACITY failed.
> sda : status = 1, message = 00, host = 0, driver = 08 
> Info fld=0xa00 (nonstd), Current sd00:00: sense key Not Ready
> sda : block size assumed to be 512 bytes, disk size 1GB.  
>  sda: I/O error: dev 08:00, sector 0
>  unable to read partition table
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Request is for removed device
> usb-storage: scsi cmd done, result=0x2
> usb-storage: *** thread sleeping.
> Device not ready.  Make sure there is a disc in the drive.
> VFS: Disk change detected on device sd(8,0)
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Request is for removed device
> usb-storage: scsi cmd done, result=0x2
> usb-storage: *** thread sleeping.
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Request is for removed device
> usb-storage: scsi cmd done, result=0x2
> usb-storage: *** thread sleeping.
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Request is for removed device
> usb-storage: scsi cmd done, result=0x2
> usb-storage: *** thread sleeping.
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Request is for removed device
> usb-storage: scsi cmd done, result=0x2
> usb-storage: *** thread sleeping.
> sda : READ CAPACITY failed.
> sda : status = 1, message = 00, host = 0, driver = 08 
> Info fld=0xa00 (nonstd), Current sd00:00: sense key Not Ready
> sda : block size assumed to be 512 bytes, disk size 1GB.  
>  sda: I/O error: dev 08:00, sector 0
>  unable to read partition table
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Request is for removed device
> usb-storage: scsi cmd done, result=0x2
> usb-storage: *** thread sleeping.
> Device not ready.  Make sure there is a disc in the drive.
> VFS: Disk change detected on device sd(8,0)
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Request is for removed device
> usb-storage: scsi cmd done, result=0x2
> usb-storage: *** thread sleeping.
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Request is for removed device
> usb-storage: scsi cmd done, result=0x2
> usb-storage: *** thread sleeping.
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Request is for removed device
> usb-storage: scsi cmd done, result=0x2
> usb-storage: *** thread sleeping.
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Request is for removed device
> usb-storage: scsi cmd done, result=0x2
> usb-storage: *** thread sleeping.
> sda : READ CAPACITY failed.
> sda : status = 1, message = 00, host = 0, driver = 08 
> Info fld=0xa00 (nonstd), Current sd00:00: sense key Not Ready
> sda : block size assumed to be 512 bytes, disk size 1GB.  
>  sda: I/O error: dev 08:00, sector 0
>  unable to read partition table
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Request is for removed device
> usb-storage: scsi cmd done, result=0x2
> usb-storage: *** thread sleeping.
> Device not ready.  Make sure there is a disc in the drive.
> VFS: Disk change detected on device sd(8,0)
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Request is for removed device
> usb-storage: scsi cmd done, result=0x2
> usb-storage: *** thread sleeping.
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Request is for removed device
> usb-storage: scsi cmd done, result=0x2
> usb-storage: *** thread sleeping.
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Request is for removed device
> usb-storage: scsi cmd done, result=0x2
> usb-storage: *** thread sleeping.
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Request is for removed device
> usb-storage: scsi cmd done, result=0x2
> usb-storage: *** thread sleeping.
> sda : READ CAPACITY failed.
> sda : status = 1, message = 00, host = 0, driver = 08 
> Info fld=0xa00 (nonstd), Current sd00:00: sense key Not Ready
> sda : block size assumed to be 512 bytes, disk size 1GB.  
>  sda: I/O error: dev 08:00, sector 0
>  unable to read partition table
> --- cut here ---
> 
> And here's stuff from syslog:
> 
> --- cut here ---
> Oct 22 17:54:16 frogbog kernel: hub.c: USB new device connect on bus1/1, assigned 
>device number 15
> Oct 22 17:54:16 frogbog kernel: Product: General Purpose USB Hub
> Oct 22 17:54:16 frogbog kernel: hub.c: USB hub found
> Oct 22 17:54:16 frogbog kernel: hub.c: 2 ports detected
> Oct 22 17:54:16 frogbog /sbin/hotplug: arguments (usb) env (PWD=/etc/hotplug 
>HOSTNAME=frogbog.baltimorons.org DEVICE=/proc/bus/usb/001/015 ACTION=add DEBUG=kernel 
>MACHTYPE=i386-redhat-linux-gnu OLDPWD=/ DEVFS=/proc/bus/usb TYPE=9/0/0 SHLVL=1 
>SHELL=/bin/bash HOSTTYPE=i386 OSTYPE=linux-gnu HOME=/ TERM=dumb 
>PATH=/bin:/sbin:/usr/sbin:/usr/bin PRODUCT=451/2036/101 _=/usr/bin/env)
> Oct 22 17:54:16 frogbog /sbin/hotplug: invoke /etc/hotplug/usb.agent
> Oct 22 17:54:16 frogbog kernel: hub.c: USB new device connect on bus1/1/2, assigned 
>device number 16
> Oct 22 17:54:16 frogbog /etc/hotplug/usb.agent: ... no drivers for USB product 
>451/2036/101
> Oct 22 17:54:17 frogbog kernel: Manufacturer: OnSpec
> Oct 22 17:54:17 frogbog kernel: Product: SuperDisk-USB drive 
> Oct 22 17:54:17 frogbog kernel: SerialNumber: 357565B675
> Oct 22 17:54:17 frogbog /sbin/hotplug: arguments (usb) env (PWD=/etc/hotplug HOS
> TNAME=frogbog.baltimorons.org DEVICE=/proc/bus/usb/001/016 INTERFACE=8/5/80 ACTI
> ON=add DEBUG=kernel MACHTYPE=i386-redhat-linux-gnu OLDPWD=/ DEVFS=/proc/bus/usb 
> TYPE=0/0/0 SHLVL=1 SHELL=/bin/bash HOSTTYPE=i386 OSTYPE=linux-gnu HOME=/ TERM=du
> mb PATH=/bin:/sbin:/usr/sbin:/usr/bin PRODUCT=55aa/102/1212 _=/usr/bin/env)
> Oct 22 17:54:17 frogbog /sbin/hotplug: invoke /etc/hotplug/usb.agent
> Oct 22 17:54:18 frogbog /etc/hotplug/usb.agent: Modprobe and setup usb-storage 
>usb-storage for USB product 55aa/102/1212
> Oct 22 17:55:49 frogbog pumpd[726]: renewed lease for interface eth1
> Oct 22 17:56:26 frogbog kernel: Attached scsi removable disk sda at scsi0, channel 
>0, id 0, lun 0
> Oct 22 17:56:26 frogbog kernel: Attached scsi removable disk sdb at scsi1, channel 
>0, id 0, lun 0
> Oct 22 17:56:27 frogbog kernel: sda : READ CAPACITY failed.
> Oct 22 17:56:27 frogbog kernel: sda : status = 1, message = 00, host = 0, driver = 
>08 
> Oct 22 17:56:27 frogbog kernel: Info fld=0xa00 (nonstd), Current sd00:00: sense key 
>Not Ready
> Oct 22 17:56:27 frogbog kernel: sda : block size assumed to be 512 bytes, disk size 
>1GB.  
> Oct 22 17:56:27 frogbog kernel:  sda: I/O error: dev 08:00, sector 0
> Oct 22 17:56:27 frogbog kernel:  unable to read partition table
> Oct 22 17:56:27 frogbog kernel: SCSI device sdb: 2880 512-byte hdwr sectors (1 MB)
> Oct 22 17:56:27 frogbog kernel: usb-uhci.c: interrupt, status 3, frame# 1356
> Oct 22 17:56:27 frogbog kernel: sdb: Write Protect is on
> Oct 22 17:56:27 frogbog kernel:  sdb:<7>usb-storage: queuecommand() called
> Oct 22 17:56:33 frogbog kernel:  sdb1
> Oct 22 17:56:33 frogbog kernel: Device not ready.  Make sure there is a disc in the 
>drive.
> Oct 22 17:56:33 frogbog kernel: sda : READ CAPACITY failed.
> Oct 22 17:56:33 frogbog kernel: sda : status = 1, message = 00, host = 0, driver = 
>08 
> Oct 22 17:56:33 frogbog kernel: Info fld=0xa00 (nonstd), Current sd00:00: sense key 
>Not Ready
> Oct 22 17:56:33 frogbog kernel: sda : block size assumed to be 512 bytes, disk size 
>1GB.  
> Oct 22 17:56:33 frogbog kernel:  sda: I/O error: dev 08:00, sector 0
> Oct 22 17:56:33 frogbog kernel:  unable to read partition table
> Oct 22 17:56:57 frogbog kernel: Device not ready.  Make sure there is a disc in the 
>drive.
> Oct 22 17:56:57 frogbog kernel: sda : READ CAPACITY failed.
> Oct 22 17:56:57 frogbog kernel: sda : status = 1, message = 00, host = 0, driver = 
>08 
> Oct 22 17:56:57 frogbog kernel: Info fld=0xa00 (nonstd), Current sd00:00: sense key 
>Not Ready
> Oct 22 17:56:57 frogbog kernel: sda : block size assumed to be 512 bytes, disk size 
>1GB.  
> Oct 22 17:56:57 frogbog kernel:  sda: I/O error: dev 08:00, sector 0
> Oct 22 17:56:57 frogbog kernel:  unable to read partition table
> Oct 22 17:57:08 frogbog kernel: Device not ready.  Make sure there is a disc in the 
>drive.
> Oct 22 17:57:08 frogbog kernel: sda : READ CAPACITY failed.
> Oct 22 17:57:08 frogbog kernel: sda : status = 1, message = 00, host = 0, driver = 
>08 
> Oct 22 17:57:08 frogbog kernel: Info fld=0xa00 (nonstd), Current sd00:00: sense key 
>Not Ready
> Oct 22 17:57:08 frogbog kernel: sda : block size assumed to be 512 bytes, disk size 
>1GB.  
> Oct 22 17:57:08 frogbog kernel:  sda: I/O error: dev 08:00, sector 0
> Oct 22 17:57:08 frogbog kernel:  unable to read partition table
> Oct 22 17:57:13 frogbog kernel: Device not ready.  Make sure there is a disc in the 
>drive.
> Oct 22 17:57:13 frogbog kernel: sda : READ CAPACITY failed.
> Oct 22 17:57:13 frogbog kernel: sda : status = 1, message = 00, host = 0, driver = 
>08 
> Oct 22 17:57:13 frogbog kernel: Info fld=0xa00 (nonstd), Current sd00:00: sense key 
>Not Ready
> Oct 22 17:57:13 frogbog kernel: sda : block size assumed to be 512 bytes, disk size 
>1GB.  
> Oct 22 17:57:13 frogbog kernel:  sda: I/O error: dev 08:00, sector 0
> Oct 22 17:57:13 frogbog kernel:  unable to read partition table
> Oct 22 17:57:13 frogbog kernel: Device not ready.  Make sure there is a disc in the 
>drive.
> Oct 22 17:57:13 frogbog kernel: sda : READ CAPACITY failed.
> Oct 22 17:57:13 frogbog kernel: sda : status = 1, message = 00, host = 0, driver = 
>08 
> Oct 22 17:57:13 frogbog kernel: Info fld=0xa00 (nonstd), Current sd00:00: sense key 
>Not Ready
> Oct 22 17:57:13 frogbog kernel: sda : block size assumed to be 512 bytes, disk size 
>1GB.  
> Oct 22 17:57:13 frogbog kernel:  sda: I/O error: dev 08:00, sector 0
> Oct 22 17:57:13 frogbog kernel:  unable to read partition table
> Oct 22 17:57:33 frogbog kernel: Device not ready.  Make sure there is a disc in the 
>drive.
> Oct 22 17:57:33 frogbog kernel: sda : READ CAPACITY failed.
> Oct 22 17:57:33 frogbog kernel: sda : status = 1, message = 00, host = 0, driver = 
>08 
> Oct 22 17:57:33 frogbog kernel: sda : block size assumed to be 512 bytes, disk size 
>1GB.  
> Oct 22 17:57:33 frogbog kernel:  sda: I/O error: dev 08:00, sector 0
> Oct 22 17:57:33 frogbog kernel:  unable to read partition table
> Oct 22 17:57:45 frogbog kernel: Device not ready.  Make sure there is a disc in the 
>drive.
> Oct 22 17:57:45 frogbog kernel: sda : READ CAPACITY failed.
> Oct 22 17:57:45 frogbog kernel: sda : status = 1, message = 00, host = 0, driver = 
>08 
> Oct 22 17:57:45 frogbog kernel: Info fld=0xa00 (nonstd), Current sd00:00: sense key 
>Not Ready
> Oct 22 17:57:45 frogbog kernel: sda : block size assumed to be 512 bytes, disk size 
>1GB.  
> Oct 22 17:57:45 frogbog kernel:  sda: I/O error: dev 08:00, sector 0
> Oct 22 17:57:45 frogbog kernel:  unable to read partition table
> Oct 22 17:59:05 frogbog kernel: Device not ready.  Make sure there is a disc in the 
>drive.
> Oct 22 17:59:05 frogbog kernel: sda : READ CAPACITY failed.
> Oct 22 17:59:05 frogbog kernel: sda : status = 1, message = 00, host = 0, driver = 
>08 
> Oct 22 17:59:05 frogbog kernel: Info fld=0xa00 (nonstd), Current sd00:00: sense key 
>Not Ready
> Oct 22 17:59:05 frogbog kernel: sda : block size assumed to be 512 bytes, disk size 
>1GB.  
> Oct 22 17:59:05 frogbog kernel:  sda: I/O error: dev 08:00, sector 0
> Oct 22 17:59:05 frogbog kernel:  unable to read partition table
> 
> --- cut here ---
> 
> That was with a floppy disk. Output from the included SuperDisk is
> essentially indistinguishable --- fdisk /dev/sda yields the following
> in syslog:
> 
> --- cut here ---
> Oct 22 18:06:40 frogbog kernel: Device not ready.  Make sure there is a disc in the 
>drive.
> Oct 22 18:06:40 frogbog kernel: sda : READ CAPACITY failed.
> Oct 22 18:06:40 frogbog kernel: sda : status = 1, message = 00, host = 0, driver = 
>08 
> Oct 22 18:06:40 frogbog kernel: Info fld=0xa00 (nonstd), Current sd00:00: sense key 
>Not Ready
> Oct 22 18:06:40 frogbog kernel: sda : block size assumed to be 512 bytes, disk size 
>1GB.  
> Oct 22 18:06:40 frogbog kernel:  sda: I/O error: dev 08:00, sector 0
> Oct 22 18:06:40 frogbog kernel:  unable to read partition table
> Oct 22 18:06:40 frogbog kernel: Device not ready.  Make sure there is a disc in the 
>drive.
> Oct 22 18:06:40 frogbog kernel: sda : READ CAPACITY failed.
> Oct 22 18:06:40 frogbog kernel: sda : status = 1, message = 00, host = 0, driver = 
>08 
> Oct 22 18:06:40 frogbog kernel: Info fld=0xa00 (nonstd), Current sd00:00: sense key 
>Not Ready
> Oct 22 18:06:40 frogbog kernel: sda : block size assumed to be 512 bytes, disk size 
>1GB.  
> Oct 22 18:06:40 frogbog kernel:  sda: I/O error: dev 08:00, sector 0
> Oct 22 18:06:40 frogbog kernel:  unable to read partition table
> --- cut here ---
> 
> Please let me know if there's anything more I can do to help debug this.
> 
> Jon Lasser
> -- 
> Jon Lasser    
> Home: [EMAIL PROTECTED]          |    Work:[EMAIL PROTECTED]
> http://www.tux.org/~lasser/     |    http://www.cluestickconsulting.com
>    Buy my book, _Think_Unix_! http://www.tux.org/~lasser/think-unix/



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

It was a new hope.
                                        -- Dust Puppy
User Friendly, 12/25/1998

PGP signature

Reply via email to