On Fri, 10 Jun 2005, Nitin Mahajan wrote:

> Hi, 
> I am using kernel 2.6.11.11 patched with 2.6.12-rc5
> patch for usb support. i have enabled hot pulggable in
> the kernel. and also made proper selections under the
> USB driver options. I am trying to use a USB memeory
> stick.
>  
> i have entry in /etc/fstab 
> usbfs /proc/bus/usb usbfs noauto 0 0 
> /dev/sda /mnt/usbpen vfat noauto,user 0 0 
> and i mount the usb file system also. 
> I have a /dev/sda entry for my mass storage also 
> when i hot plug my pen drive i get the following
> messages and cant mount the pen drive directory .
> (/mnt/usbpen) 
> usb 1-2: new full speed USB device using s3c2410-ohci
> and address 2
> scsi0 : SCSI emulation for USB Mass Storage devices
> Vendor: JetFlash Model: TS1GJF2B Rev: 2.00
> Type: Direct-Access ANSI SCSI revision: 02
> sda: Unit Not Ready, sense:
> : Current: sense key=0x6
> ASC=0x28 ASCQ=0x0
> sda : READ CAPACITY failed.
> sda : status=1, message=00, host=0, driver=08
> sd: Current: sense key=0x6
> ASC=0x28 ASCQ=0x0
> sda: test WP failed, assume Write Enabled
> sda: assuming drive cache: write through
> sda: Unit Not Ready, sense:
> : Current: sense key=0x6
> ASC=0x28 ASCQ=0x0
> sda : READ CAPACITY failed.
> sda : status=1, message=00, host=0, driver=08
> sd: Current: sense key=0x6
> ASC=0x28 ASCQ=0x0
> sda: test WP failed, assume Write Enabled
> sda: assuming drive cache: write through
> sda: Unit Not Ready, sense:
> : Current: sense key=0x6
> ASC=0x28 ASCQ=0x0
> sda : READ CAPACITY failed.
> sda : status=1, message=00, host=0, driver=08
> sd: Current: sense key=0x6
> ASC=0x28 ASCQ=0x0
> sda: test WP failed, assume Write Enabled
> sda: assuming drive cache: write through
> /dev/scsi/host0/bus0/target0/lun0:<7>usb-storage:
> queuecommand called
> end_request: I/O error, dev sda, sector 0
> Buffer I/O error on device sda, logical block 0
> Buffer I/O error on device sda, logical block 0
> unable to read partition table
> Attached scsi removable disk sda at scsi0, channel 0,
> id 0, lun 0
> can anyone please give me some pointers on what might
> be going wrogn here. How will I be able to access my
> pen drive?

Your pen drive isn't working right.  It keeps sending error codes with 
sense key = 0x06, ASC = 0x28, which means Media Change.  In the first 
place that's nonsense for a flash drive, and in the second place such 
error codes are only supposed to be sent once.

It's possible that if you wait a few seconds after plugging in the device 
and then try to mount it, it might work better.  If that fails, try doing 
"touch /dev/sda" and then try to mount it again.

Alan Stern



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to