> Hi,
> I am using my usb controller driver in host mode for mass torage
> emulation.
> Mass torage 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
   ^^^^ ^^^^
See there are 2 partitions detected: sdc1 & sdc4. SO try mounting these.

>
> sd 1:0:0:1: Attached scsi disk sdc
>
> sd 1:0:0:1: Attached scsi generic sg2 type 0
>

[snip]

> 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
                     ^^^
replace `sda` with `sdc1` or `sdc4` in the mount command above.
>From the above messages you see only 'sdb' & 'sdc', plus 'sdb' has no
vaild partition table! So you are left with 'sdc'.


> 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.
>
> Can any one tell me abt possible problem?
>
> Regards
> Manish

Hope this helps!

          Thanks,
          Subhash

>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> linux-usb-devel@lists.sourceforge.net
> To unsubscribe, use the last form field at:
> https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
>


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to