From: Manish RATHI <manish.rathi@st.com>
To: linux-scsi@vger.kernel.org
Subject: scsi problem with usb
Date: Mon, 14 Aug 2006 14:58:21 +0530 [thread overview]
Message-ID: <000201c6bf83$fc6200e0$802cc70a@dlh.st.com> (raw)
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
next reply other threads:[~2006-08-14 9:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-14 9:28 Manish RATHI [this message]
2006-08-18 12:06 ` scsi problem with usb Julian Calaby
2006-08-18 13:06 ` Manish RATHI
2006-08-18 15:00 ` Julian Calaby
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='000201c6bf83$fc6200e0$802cc70a@dlh.st.com' \
--to=manish.rathi@st.com \
--cc=linux-scsi@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox