Snapper 9260 :  Bluewater Systems Support Forum
Snapper 9260 discussion forum 
Mount of USB disk fails
Posted by: pas ()
Date: August 20, 2009 07:41AM

I have hooked up the USB host port as described in the FAQ section and my USB flash drive is recognized but I can't mount the file system. When the drive is detected I get the following in dmesg:

usb 1-1: new full speed USB device using at91_ohci and address 7
usb 1-1: configuration #1 chosen from 1 choice
scsi3 : SCSI emulation for USB Mass Storage devices
scsi 3:0:0:0: Direct-Access USB DISK 2.0 PMAP PQ: 0 ANSI: 0 CCS
SCSI device sda: 31277056 512-byte hdwr sectors (16014 Mcool smiley
sda: Write Protect is off
sda: assuming drive cache: write through
SCSI device sda: 31277056 512-byte hdwr sectors (16014 Mcool smiley
sda: Write Protect is off
sda: assuming drive cache: write through
sda: sda1
sd 3:0:0:0: Attached scsi removable disk sda

All looks good so I then try to mount the drive:

root@snapper:~$ mount /dev/sda1 /mnt
mount: mounting /dev/sda1 on /mnt failed: No such device or address

Both /dev/sda1 and /mnt exist and the USB is formatted as ext2.

Any clues?

Thanks,

Pete

Options: ReplyQuote
Re: Mount of USB disk fails
Posted by: andre ()
Date: August 28, 2009 01:34PM

Sorry for the delayed response - I believe for a period the /dev/sd* files had the incorrect major/minor numbers set up in the root filesystem. To make sure do an
ls -l /dev/sda*

They should look like this:
brw-rw---- 1 root root 8, 0 2009-07-02 23:42 /dev/sda
brw-rw---- 1 root root 8, 1 2009-07-02 23:42 /dev/sda1

If they don't, do the following:
rm /dev/sda*
mknod /dev/sda b 8 0
mknod /dev/sda1 b 8 1

After this the mount should work.

Regards,
Andre Renaud

Options: ReplyQuote
Re: Mount of USB disk fails
Posted by: pas ()
Date: August 31, 2009 09:32AM

Thanks, that fixed it.

Pete

Options: ReplyQuote


Your Name: 
Your Email: 
Subject: 
Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
This is a moderated forum. Your message will remain hidden until it has been approved by a moderator or administrator
This forum powered by Phorum.

Applications

rs1

rs_2

rs_3

rs_4