> Additional sense indicates Logical unit is in process of becoming ready

The SCSI layer should wait in response to the sense data that indicates LUN
becoming ready.

I suggest taking this up with the SCSI folks.

Matt

On Mon, Sep 08, 2003 at 12:32:31AM +0200, Kristian Eide wrote:
> I recently aquired a 30GB iPod and tried to connect it to my portable Dell 
> X200 running Mandrake 9.1. It works, but it seems there is a problem with the 
> iPod HD not spinning up fast enough for proper detection to take place. The 
> following is from the output of 'dmesg' when I plug in my iPod:
> 
> usb-uhci.c: interrupt, status 2, frame# 1601
> usb.c: USB device not accepting new address=3 (error=-110)
> hub.c: new USB device 00:1d.0-1, assigned address 4
> usb.c: USB device not accepting new address=4 (error=-110)
> hub.c: new USB device 00:1d.0-1, assigned address 5
> scsi0 : SCSI emulation for USB Mass Storage devices
>   Vendor: Apple     Model: iPod              Rev: 1.40
>   Type:   Direct-Access                      ANSI SCSI revision: 02
> WARNING: USB Mass Storage data integrity not assured
> USB Mass Storage device found at 5
> Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
> usb-uhci.c: interrupt, status 3, frame# 52
> sda : READ CAPACITY failed.
> sda : status = 1, message = 00, host = 0, driver = 08
> Current sd00:00: sense key Not Ready
> Additional sense indicates Logical unit is in process of becoming ready
> sda : block size assumed to be 512 bytes, disk size 1GB.
>  /dev/scsi/host0/bus0/target0/lun0: I/O error: dev 08:00, sector 0
>  I/O error: dev 08:00, sector 0
>  I/O error: dev 08:00, sector 2097144
>  I/O error: dev 08:00, sector 2097144
>  I/O error: dev 08:00, sector 0
>  I/O error: dev 08:00, sector 0
> ldm_validate_partition_table(): Disk read failed.
>  I/O error: dev 08:00, sector 0
>  I/O error: dev 08:00, sector 2
>  unable to read partition table
> VFS: Disk change detected on device 08:00
> sda : READ CAPACITY failed.
> sda : status = 1, message = 00, host = 0, driver = 08
> Current sd00:00: sense key Not Ready
> Additional sense indicates Logical unit is in process of becoming ready
> sda : block size assumed to be 512 bytes, disk size 1GB.
> sda: test WP failed, assume Write Enabled
>  /dev/scsi/host0/bus0/target0/lun0: I/O error: dev 08:00, sector 0
>  I/O error: dev 08:00, sector 0
>  I/O error: dev 08:00, sector 2097144
>  I/O error: dev 08:00, sector 2097144
>  I/O error: dev 08:00, sector 0
>  I/O error: dev 08:00, sector 0
> ldm_validate_partition_table(): Disk read failed.
>  I/O error: dev 08:00, sector 0
> VFS: Disk change detected on device 08:00
> SCSI device sda: 58595040 512-byte hdwr sectors (30001 MB)
> sda: Write Protect is off
>  /dev/scsi/host0/bus0/target0/lun0: p1 p2
> 
> Especially the "sda : block size assumed to be 512 bytes, disk size 1GB." is a 
> problem as the kernel only thinks the HD is 1GB while the partition table of 
> course says 30GB. I can solve it by disconnecting and quickly reconnecting the 
> iPod as the HD will then already be spun up and it is detected correctly as 
> seen above.
> 
> Perhaps the USB drivers can be made to wait a bit in case the device does not 
> seem ready, or perhaps an exception with extra waiting time in the case of the 
> iPod?
> 
> Thanks.
> 
> -- 
> Kristian
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> [EMAIL PROTECTED]
> To unsubscribe, use the last form field at:
> https://lists.sourceforge.net/lists/listinfo/linux-usb-users

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

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

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to