some question about mount usb flash

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear all:
I try to mount usb flash on my embedded system.
But I get the error message as "Invalid argument".
(I attach the log at the end of letter)
>From the log, it seems scsi driver address the usb flash as sda1 and
/dev/sda1 node has been created as block device with (8,0), (major,
minor) number.
I also have create /mnt there.
Did I forget something?
appreciate your help,
miloody

usb 1-1: new high speed USB device using ehci and address 4
usb 1-1: Product: Mass Storage Device
usb 1-1: Manufacturer: JetFlash
usb 1-1: SerialNumber: H7DXB40C
usb 1-1: configuration #1 chosen from 1 choice
scsi2 : SCSI emulation for USB Mass Storage devices
  Vendor: JetFlash  Model: TS4GJFV30         Rev: 8.07
  Type:   Direct-Access                      ANSI SCSI revision: 02
SCSI device sda: 7987198 512-byte hdwr sectors (4089 MB)
sda: Write Protect is off
sda: assuming drive cache: write through
SCSI device sda: 7987198 512-byte hdwr sectors (4089 MB)
sda: Write Protect is off
sda: assuming drive cache: write through
 sda:<7>usb-storage: queuecommand called
 sda1
sd 2:0:0:0: Attached scsi removable disk sda
sd 2:0:0:0: Attached scsi generic sg0 type 0
/temp # mount -t vfat /dev/sda1 /mnt/
mount: mounting /dev/sda1 on /mnt/ failed: Invalid argument

/temp # ls /dev -l
crw-------    1 500      500        5,   1 Jan  1 00:00 console
drwxr-xr-x    3 0        0               0 Jan  1 00:00 dvb
crw-r--r--    1 500      500        1,   1 Jan  1 00:00 mem
crw-r--r--    1 0        0          1,   3 Jan  1 00:00 null
crw-rw-rw-    1 0        0          1,   8 Jan  1 00:00 random
crw-r--r--    1 0        0         10, 135 Jan  1 00:00 rtc
brw-r--r--    1 0        0          8,   0 Jan  1 00:00 sda1
crw-r--r--    1 500      500        5,   0 Jan  1 00:00 tty
crw-------    1 500      500        4,  64 Jan  1 00:34 ttyS0
crw-r--r--    1 0        0          4,  65 Jan  1 00:00 ttyS1
crw-r--r--    1 0        0         10, 130 Jan  1 00:00 watchdog
crw-rw-rw-    1 0        0          1,   5 Jan  1 00:00 zero
/temp # ls / -l
drwxr-xr-x    2 0        0               0 Jan  1 00:00 bin
drwxr-xr-x    3 0        0               0 Jan  1 00:09 dev
drwxr-xr-x    3 0        0               0 Jan  1 00:00 etc
lrwxrwxrwx    1 500      500            11 Jan  1 00:00 init -> bin/busybox
drwxr-xr-x    2 0        0               0 Jan  1 00:00 lib
drwxr-xr-x    2 0        0               0 Jan  1 00:05 mnt
dr-xr-xr-x   28 0        0               0 Jan  1 00:00 proc
drwxr-xr-x    2 0        0               0 Jan  1 00:00 sbin
drwxr-xr-x   10 0        0               0 Jan  1 00:00 sys
drwxr-xr-x    2 0        0               0 Jan  1 00:00 temp
drwxr-xr-x    3 0        0               0 Jan  1 00:00 usr

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux