Glomation
 
Advanced Search
Welcome, Guest. Please login or register.

Login with username, password and session length
February 05, 2012, 05:47:54 AM
News: Welcome to GLomation peer support forum
Pages: [1]
Topic Tools  
Read February 12, 2009, 07:09:45 PM #0
station8

USB mounting failure

I connect a USB flash drive to the USB port and attempt to mount the drive I get the error message saying that the device is not found.

~ # usb 1-1: USB disconnect, address 2
usb 1-1: new full speed USB device using address 3
~ # mount -t ext2 /dev/sda1 /mnt
mount: Mounting /dev/sda1 on /mnt failed: No such device or address
~ # mount
/dev/ramdisk on / type ext2 (rw)
/proc on /proc type proc (rw,nodiratime)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
devpts on /dev/pts type devpts (rw)
~ #


What could be causing my mount to fail?
 
Read February 17, 2009, 09:49:11 AM #1
admin

Re: USB mounting failure

Please make sure the USB drive has good physical connection to the USB port.  The log message showed that the USB device was detected but did not have USB storage device driver output.  Please make sure the kernel built has USB mass storage device driver included.  The following shows the kernel log when a USB drive is connected,

usb 1-1.2: new full speed USB device using ep93xx-ohci and address 8
usb 1-1.2: Product: USB DISK 28X
usb 1-1.2: Manufacturer:
usb 1-1.2: SerialNumber: 07651015223D
usb 1-1.2: configuration #1 chosen from 1 choice
scsi3 : SCSI emulation for USB Mass Storage devices
scsi 3:0:0:0: Direct-Access              USB DISK 28X     PMAP PQ: 0 ANSI: 0 CCS
sd 3:0:0:0: [sda] 2015232 512-byte hardware sectors (1032 MB)
sd 3:0:0:0: [sda] Write Protect is off
sd 3:0:0:0: [sda] Assuming drive cache: write through
sd 3:0:0:0: [sda] 2015232 512-byte hardware sectors (1032 MB)
sd 3:0:0:0: [sda] Write Protect is off
sd 3:0:0:0: [sda] Assuming drive cache: write through
 sda: sda1
sd 3:0:0:0: [sda] Attached SCSI removable disk

 
Read February 24, 2009, 10:50:13 PM #2
station8

Re: USB mounting failure

The drive does have a good connection to the port, but I fear that the kernel does not support mass storage device USB drives, just HID (see output below). I have not modified the kernel from that which came pre-installed with to board.

From board boot up output:

ep93xxusb ep93xxusb0: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 3 ports detected
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
mice: PS/2 mouse device common for all mice

I have not had experience building a kernel from scratch yet. Any suggestions?
 
Pages: [1]
Jump to:  

Theme Update by Runic Warrior Originally created by m3talc0re