Help - Search - Members - Calendar
Full Version: Usb Mass Storage On Oz 3.5.4.x
OESF Forums > Distros, Development, and Model Specific Forums > Distro Support and Discussion > Angstrom & OpenZaurus
Antikx
Has anyone had any success with getting USB mass storage devices working under OZ 3.5.4.x?
If so, what please let me know what steps you took.
What kernel modules did you install?
Dmesg see's my externally powered, USB HDD but have have no /dev/sdaX to mount it with.
It worked under pdaXrom.

Thanks in advance.
Antikx
It looks like others are having this problem: http://bugs.openembedded.org/show_bug.cgi?id=883
Anyone found a solution yet?
CoreDump
QUOTE(Antikx @ Apr 21 2006, 05:24 AM)
It looks like others are having this problem: http://bugs.openembedded.org/show_bug.cgi?id=883
Anyone found a solution yet?
*


The solution to this problem is explained here:
http://bugs.openembedded.org/show_bug.cgi?id=811

hrw, could you update udev in the feed to the latest version please?
Hrw
udev updated for 3.5.4.1-alpha2 machines to 084-r7
Antikx
Thanks hrw and coredump.

The sda and sda1 devices now show up in /dev/ and when I do this:
mount -t vfat /dev/sda1 /media/usbhdd
...I can now access my USB hdd but now /dev/mmcblk0p1 has disapeared and my SD card won't mount.

Am I doing something wrong?
CoreDump
QUOTE(Antikx @ Apr 21 2006, 05:01 PM)
Thanks hrw and coredump.

The sda and sda1 devices now show up in /dev/ and when I do this:
mount -t vfat /dev/sda1 /media/usbhdd
...I can now access my USB hdd but now /dev/mmcblk0p1 has disapeared and my SD card won't mount.

Am I doing something wrong?
*


For one, your usb-storage device should now auto-mount as /media/sda1. Also there were no changes in udev which should affect /dev/mmc*. Tried rebooting?
Antikx
QUOTE(CoreDump @ Apr 21 2006, 09:28 AM)
For one, your usb-storage device should now auto-mount as /media/sda1. Also there were no changes in udev which should affect /dev/mmc*. Tried rebooting?
*


Yes, I tried rebooting.
I noticed that there is a folder called packages in my /media/card folder even when my card is not inserted. Perhaps I messed something up.

If I mount my card in /mnt/temp (I created temp) I can see my card fine.

Here's dmesg out put for the USB drive:
CODE
usb 1-2: new full speed USB device using pxa27x-ohci and address 3
usb 1-2: configuration #1 chosen from 1 choice
scsi1 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 3
usb-storage: waiting for device to settle before scanning
 Vendor: FUJITSU   Model: MHS2020AT         Rev: 0811
 Type:   Direct-Access                      ANSI SCSI revision: 00
SCSI device sda: 39070080 512-byte hdwr sectors (20004 MB)
sda: test WP failed, assume Write Enabled
sda: assuming drive cache: write through
SCSI device sda: 39070080 512-byte hdwr sectors (20004 MB)
sda: test WP failed, assume Write Enabled
sda: assuming drive cache: write through
sda: sda1
sd 1:0:0:0: Attached scsi disk sda
FAT: invalid media value (0xb9)
VFS: Can't find a valid FAT filesystem on dev sda.
VFS: Can't find an ext2 filesystem on dev sda.
VFS: Can't find ext3 filesystem on dev sda.
usb-storage: device scan complete
VFS: Can't find ext3 filesystem on dev sda.
VFS: Can't find an ext2 filesystem on dev sda.
FAT: invalid media value (0xb9)
VFS: Can't find a valid FAT filesystem on dev sda.
FAT: invalid media value (0xb9)
VFS: Can't find a valid FAT filesystem on dev sda.
FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
Unable to load NLS charset cp932
FAT: codepage cp932 not found


dmesg from SD card:
CODE
mmcblk0: mmc0:0002 SD1GB 997632KiB
mmcblk0: p1 p2
FAT: bogus number of reserved sectors
VFS: Can't find a valid FAT filesystem on dev mmcblk0.
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended


My SD card is setup with a 900MB ext2 and a 100MB swap

I think I'm going to reflash tnite and see how everyting pans out. I've been mucking around alot this last week and may have messed several things up.

Thanks for you help hrw, and coredump.
Antikx
QUOTE(CoreDump @ Apr 21 2006, 09:28 AM)
For one, your usb-storage device should now auto-mount as /media/sda1.
*


...and you're right, it is auto mounting.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.