Author Topic: Usb Mass Storage On Oz 3.5.4.x  (Read 2978 times)

Antikx

  • Hero Member
  • *****
  • Posts: 1147
    • View Profile
    • http://tyrannozaurus.com
Usb Mass Storage On Oz 3.5.4.x
« on: April 20, 2006, 10:37:52 pm »
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.
Kanpai,
-Antikx (Twitter, Mugshot and PodNova)
C1000 - pdaXrom R198 (Celestial Environment)
tyrannozaurus.com
[img]http://www.tyrannozaurus.com/files/category_pictures/general_1.png\" border=\"0\" class=\"linked-sig-image\" /]
Zaurus news/blogs feed from Zaurus users
Free Windows, Linux, or Web RSS readers.
Featured pages at tyrannozaurus:
Sharp Petition, ScummVM, Cacko, pdaXii13, and Celestial Environment

Antikx

  • Hero Member
  • *****
  • Posts: 1147
    • View Profile
    • http://tyrannozaurus.com
Usb Mass Storage On Oz 3.5.4.x
« Reply #1 on: April 20, 2006, 11:24:29 pm »
It looks like others are having this problem: http://bugs.openembedded.org/show_bug.cgi?id=883
Anyone found a solution yet?
Kanpai,
-Antikx (Twitter, Mugshot and PodNova)
C1000 - pdaXrom R198 (Celestial Environment)
tyrannozaurus.com
[img]http://www.tyrannozaurus.com/files/category_pictures/general_1.png\" border=\"0\" class=\"linked-sig-image\" /]
Zaurus news/blogs feed from Zaurus users
Free Windows, Linux, or Web RSS readers.
Featured pages at tyrannozaurus:
Sharp Petition, ScummVM, Cacko, pdaXii13, and Celestial Environment

CoreDump

  • Hero Member
  • *****
  • Posts: 713
    • View Profile
    • http://www.hentges.net
Usb Mass Storage On Oz 3.5.4.x
« Reply #2 on: April 20, 2006, 11:29:10 pm »
Quote
It looks like others are having this problem: http://bugs.openembedded.org/show_bug.cgi?id=883
Anyone found a solution yet?
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

The solution to this problem is explained here:
[a href=\"http://bugs.openembedded.org/show_bug.cgi?id=811]http://bugs.openembedded.org/show_bug.cgi?id=811[/url]

hrw, could you update udev in the feed to the latest version please?
Webmaster of hentges.net & Embedded Linux Developer.

Hrw

  • Hero Member
  • *****
  • Posts: 1366
    • View Profile
Usb Mass Storage On Oz 3.5.4.x
« Reply #3 on: April 21, 2006, 02:03:24 am »
udev updated for 3.5.4.1-alpha2 machines to 084-r7
« Last Edit: April 21, 2006, 02:16:41 am by Hrw »
OpenZaurus 3.5.4x Release Manager
OpenEmbedded, Ångström, Poky developer
My website

Misc embedded hardware.

Antikx

  • Hero Member
  • *****
  • Posts: 1147
    • View Profile
    • http://tyrannozaurus.com
Usb Mass Storage On Oz 3.5.4.x
« Reply #4 on: April 21, 2006, 11:01:09 am »
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?
« Last Edit: April 21, 2006, 11:02:43 am by Antikx »
Kanpai,
-Antikx (Twitter, Mugshot and PodNova)
C1000 - pdaXrom R198 (Celestial Environment)
tyrannozaurus.com
[img]http://www.tyrannozaurus.com/files/category_pictures/general_1.png\" border=\"0\" class=\"linked-sig-image\" /]
Zaurus news/blogs feed from Zaurus users
Free Windows, Linux, or Web RSS readers.
Featured pages at tyrannozaurus:
Sharp Petition, ScummVM, Cacko, pdaXii13, and Celestial Environment

CoreDump

  • Hero Member
  • *****
  • Posts: 713
    • View Profile
    • http://www.hentges.net
Usb Mass Storage On Oz 3.5.4.x
« Reply #5 on: April 21, 2006, 11:28:15 am »
Quote
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?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=124041\"][{POST_SNAPBACK}][/a][/div]

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?
Webmaster of hentges.net & Embedded Linux Developer.

Antikx

  • Hero Member
  • *****
  • Posts: 1147
    • View Profile
    • http://tyrannozaurus.com
Usb Mass Storage On Oz 3.5.4.x
« Reply #6 on: April 21, 2006, 11:47:28 am »
Quote
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?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=124046\"][{POST_SNAPBACK}][/a][/div]

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: [Select]
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: [Select]
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.
Kanpai,
-Antikx (Twitter, Mugshot and PodNova)
C1000 - pdaXrom R198 (Celestial Environment)
tyrannozaurus.com
[img]http://www.tyrannozaurus.com/files/category_pictures/general_1.png\" border=\"0\" class=\"linked-sig-image\" /]
Zaurus news/blogs feed from Zaurus users
Free Windows, Linux, or Web RSS readers.
Featured pages at tyrannozaurus:
Sharp Petition, ScummVM, Cacko, pdaXii13, and Celestial Environment

Antikx

  • Hero Member
  • *****
  • Posts: 1147
    • View Profile
    • http://tyrannozaurus.com
Usb Mass Storage On Oz 3.5.4.x
« Reply #7 on: April 21, 2006, 11:57:45 am »
Quote
For one, your usb-storage device should now auto-mount as /media/sda1.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=124046\"][{POST_SNAPBACK}][/a][/div]

...and you're right, it is auto mounting.
« Last Edit: April 21, 2006, 11:58:04 am by Antikx »
Kanpai,
-Antikx (Twitter, Mugshot and PodNova)
C1000 - pdaXrom R198 (Celestial Environment)
tyrannozaurus.com
[img]http://www.tyrannozaurus.com/files/category_pictures/general_1.png\" border=\"0\" class=\"linked-sig-image\" /]
Zaurus news/blogs feed from Zaurus users
Free Windows, Linux, or Web RSS readers.
Featured pages at tyrannozaurus:
Sharp Petition, ScummVM, Cacko, pdaXii13, and Celestial Environment