Hi,
I have a SATA USB flash module which was earlier running a 2.4 linux kernel (2.4.36.6) and on which now I am trying to install ubuntu server 10.04.1 LTS.
I have two such USB flash modules and on one of them the installation process itself giving these errors:
sd 4:0:0:0 [sda] Device not ready
sd 4:0:0:0 [sda] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
sd 4:0:0:0 [sda] Sense Key : Not Ready [current]
sd 4:0:0:0 [sda] Add. Sense: Medium not present
sd 4:0:0:0 [sda] CDB: Write(10): 2a 00 00 05 48 02 00 00 04 00
end_request: I/O error, dev sda, sector 46114
usb 1-1: reset high speed USB device using ehci_hcd and address 2
Buffer I/O error on device sda1, logical block 172033
lost page write due to I/O error on sda1
Buffer I/O error on device sda1, logical block 172034
lost page write due to I/O error on sda1
on the other the installation is successful, but after a day or two of running the machine hangs because of kernel spewing these messages:
Remounting filesystem read-only
EXT2-fs error (device sda1): read_block_bitmap: Cannot read block
[bitmap - block_group = 105, block_bitmap = 860161]
EXT2-fs error (device sda1): ext2_get_inode: unable to read inode block
- inode=13083, block=24683
ext2_free_inode: bit already cleared for inode 83966
and the machine needs to be hard rebooted.
On both the systems SCSI emulation with usb_storage driver is being used to detect the module.
Here is the output of /proc/scsi/scsi on 2.4:
# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: TS Model: UFM Rev: 1100
Type: Direct-Access ANSI SCSI revision: 02
and on 2.6:
# cat /proc/scsi/scsi
Attached devices:
Host: scsi6 Channel: 00 Id: 00 Lun: 00
Vendor: TS Model: UFM Rev: 1100
Type: Direct-Access ANSI SCSI revision: 00
i.e. only 'ANSI SCSI revision:' is shown as different, although I am not sure if this can cause any problem.
Really appreciate if someone can point as to how to debug this issue or any mailing list where I can further ask questions about this.