public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* scsi problem with usb
@ 2006-08-14  9:28 Manish RATHI
  2006-08-18 12:06 ` Julian Calaby
  0 siblings, 1 reply; 4+ messages in thread
From: Manish RATHI @ 2006-08-14  9:28 UTC (permalink / raw)
  To: linux-scsi

Hi,
I am using linux 2.6.17 for my usb controller driver in host mode for mass storage emulation. Mass storage device is detected and I got following prints


/ # INQUIRY message sent

  Vendor: Generic   Model: Flash D           Rev:     

  Type:   Direct-Access                      ANSI SCSI revision: 00

SCSI device sdb: 1024 512-byte hdwr sectors (1 MB)

sdb: Write Protect is off

sdb: assuming drive cache: write through


SCSI device sdb: 1024 512-byte hdwr sectors (1 MB)


sdb: Write Protect is off

sdb: assuming drive cache: write through

sdb:<7>usb-storage: queuecommand called

unknown partition table

sd 1:0:0:0: Attached scsi removable disk sdb

sd 1:0:0:0: Attached scsi generic sg1 type 0

INQUIRY message sent

  Vendor: Generic   Model:  AUTORUN  Disk    Rev: 8.00

  Type:   Direct-Access                      ANSI SCSI revision: 02


SCSI device sdc: 1024 512-byte hdwr sectors (1 MB)

sdc: Write Protect is on

sdc: assuming drive cache: write through


SCSI device sdc: 1024 512-byte hdwr sectors (1 MB)


sdc: Write Protect is on

sdc: assuming drive cache: write through

 sdc:<7>usb-storage: queuecommand called



 sdc1 sdc4

sd 1:0:0:1: Attached scsi disk sdc

sd 1:0:0:1: Attached scsi generic sg2 type 0



crw-r--r--    1 root     root       5,   1 Jan  1 00:01 console

crw-r--r--    1 root     root      29,   0 May 11  2006 fb0

crw-r--r--    1 root     root      89,   0 May 11  2006 i2c-0

crw-r--r--    1 root     root      89,   1 May 11  2006 i2c-1

crw-r--r--    1 root     root       1,   1 May 11  2006 mem

crw-r--r--    1 root     root      90,   0 May 11  2006 mtd0

crw-r--r--    1 root     root       1,   3 May 11  2006 null

brw-r--r--    1 root     root       8,   0 Aug 14  2006 sda

brw-r--r--    1 root     root       8,   1 Aug 14  2006 sda1

brw-r--r--    1 root     root       8,   2 Aug 14  2006 sda2

brw-r--r--    1 root     root       8,  16 Aug 14  2006 sdb

brw-r--r--    1 root     root       8,  32 Aug 14  2006 sdc

crw-r--r--    1 root     root      21,   0 Aug 14  2006 sg0

crw-r--r--    1 root     root      21,   1 Aug 14  2006 sg1

crw-r--r--    1 root     root      21,   3 Jan  1 00:01 sg3

crw-r--r--    1 root     root     204,  64 May 11  2006 ttyAMA0

crw-r--r--    1 root     root     204,  65 May 11  2006 ttyAMA1



I mounted usbfs and able to see mass storage in /proc/bus/usb/devices

However when I try to mount by
Mount -t vfat /dev/sda /mnt/pendrive then
I get error "Mounting /dev/sda on /mems failed: No such device" I tried it on sdb and sdc as well but it's not mounted.

I also tried to run fdisk /dev/sda but same type of error appears.

Can any one tell me abt possible problem?

Regards
Manish


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-08-18 15:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-14  9:28 scsi problem with usb Manish RATHI
2006-08-18 12:06 ` Julian Calaby
2006-08-18 13:06   ` Manish RATHI
2006-08-18 15:00     ` Julian Calaby

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox