USB flash module giving errors

Posted by vshenoy on Ask Ubuntu See other posts from Ask Ubuntu or by vshenoy
Published on 2011-02-24T10:24:04Z Indexed on 2011/02/24 15:33 UTC
Read the original article Hit count: 251

Filed under:
|
|
|

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.

© Ask Ubuntu or respective owner

Related posts about 10.04

  • An increase to 3 Gig of RAM slows down Ubuntu 10.04 LTS

    as seen on Ask Ubuntu - Search for 'Ask Ubuntu'
    I have Ubuntu 10.04 running from an external hard drive (installed on an enclosure) connected via USB port. Like a month or so ago, I increased RAM on my pc from 2 Gigs to 3 Gigs. This resulted on extremely long boot times and slow application loads. While I was understanding the nature of my problem… >>> More

  • Default /etc/apt/sources.list?

    as seen on Ask Ubuntu - Search for 'Ask Ubuntu'
    I need default source list for ubuntu 10.04. Can anybody help me? Here is Mine:--- Ubuntu supported packages deb http://archive.ubuntu.com/ubuntu/ lucid main restricted multiverse universe deb http://archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse deb http://archive… >>> More

  • SSH main process ended

    as seen on Ask Ubuntu - Search for 'Ask Ubuntu'
    I have a running ubuntu server 10.04.1. When I tried to login to the server via ssh, I could not. Instead, I got connection refused error. I tried to ping the machine and I got reply! So, the clear reason is that SSH daemon is stopped. After reboot, I was able to login to my server via ssh. After… >>> More

  • Postgresql fails to start on Ubuntu 10.04.4 LTS

    as seen on Ask Ubuntu - Search for 'Ask Ubuntu'
    I installed postgresql 9.2 from add-apt-repository ppa:pitti/postgresql using apt-get install postgresql-9.2 At the end of the install and every time I try to launch postgresql by using the following command /etc/init.d/postgresql start or service postgresql start I get this error: Error:… >>> More

  • PPA causing 404 error?

    as seen on Ask Ubuntu - Search for 'Ask Ubuntu'
    I need default source list for ubuntu 10.04. Can anybody help me? Here is Mine:--- Ubuntu supported packages deb http://archive.ubuntu.com/ubuntu/ lucid main restricted multiverse universe deb http://archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse deb http://archive… >>> More

Related posts about server