Author Topic: Can't Mount Cf Card  (Read 12539 times)

cybernetseraph

  • Newbie
  • *
  • Posts: 31
    • View Profile
Can't Mount Cf Card
« on: October 25, 2005, 05:39:22 am »
Hey,
      I've installed the snapshot (as of the 23rd oct i believe). and i've been configuring it to my liking. However, i've hada problem mounting my cf card.

I know it's /dev/wd1c, it's fat32 formatted. however, there's no mount_vfat option for mount, and mount_msdos gives the error
Code: [Select]
mount_msdos: /dev/wd1c on /mnt/cf: Inappropriate file type or format
is it possiblt to mount this drive? or am i going to have to reformat it fat16?

I need to use it on windows (at Uni), and linux at home, so ffs wouldn't be suitable.

apart from this little hiccup i'm very happy with it.

One other question. does anyone know if they're working on autorotation? I don't use it often, but it would be handy.

I know pdaXrom has it, but i think they use a different mechanism (they have a shell script that runs when it rotates, OBSD's is in the xorg.conf).

thanks for any help.

-0-

darkloran

  • Jr. Member
  • **
  • Posts: 92
    • View Profile
    • http://freeloran.free.fr/zaurus.html
Can't Mount Cf Card
« Reply #1 on: October 25, 2005, 10:16:34 am »
Quote
Code: [Select]
mount_msdos: /dev/wd1c on /mnt/cf: Inappropriate file type or format
just try

Code: [Select]
mount wd1c /mnt/cfit should work.

the real device should be something like /dev/[r]wd1c check
Code: [Select]
dmesgfor the real name of the device

hope it helps

loran
SL-C3000 -- Cacko1.23b1
CE-RH2 remote / Belkin usblan / Asus WL-110 / Sandisk SD UII 256MB / Sandisk CF UII 1GB
STOREX OTG Club 40GB / Belkin IR Keyboard / Logitech mouse

Sequethin

  • Jr. Member
  • **
  • Posts: 72
    • View Profile
Can't Mount Cf Card
« Reply #2 on: October 25, 2005, 07:35:30 pm »
Quote
Quote
Code: [Select]
mount_msdos: /dev/wd1c on /mnt/cf: Inappropriate file type or format
just try

Code: [Select]
mount wd1c /mnt/cfit should work.

the real device should be something like /dev/[r]wd1c check
Code: [Select]
dmesgfor the real name of the device

hope it helps

loran
[div align=\"right\"][a href=\"index.php?act=findpost&pid=100882\"][{POST_SNAPBACK}][/a][/div]

You might also try mounting wd1a as opposed to wd1c

I use wd1a but I have fdisk-ed my cf card and formatted it with 4.2BSD [which does suck when I forget that it only works on my zaurus or freebsd box ] YMMV

good luck!

Mike

darkloran

  • Jr. Member
  • **
  • Posts: 92
    • View Profile
    • http://freeloran.free.fr/zaurus.html
Can't Mount Cf Card
« Reply #3 on: October 26, 2005, 01:37:27 am »
Quote
You might also try mounting wd1a as opposed to wd1c

I use wd1a but I have fdisk-ed my cf card and formatted it with 4.2BSD [which does suck when I forget that it only works on my zaurus or freebsd box ] YMMV

oh yes, you're right mike. I'm not completely familiar with obsd - not yet   - and i didn't notice the 'c' label.

cybernetseraph you should use
Code: [Select]
disklabel wd1 to see which partition supports your files. especially because you use dos format and the partitiion should be something like wd1i more than wd1c or wd1a. In BSD format the 'c' label stands for the 'whole disk' partition.

loran
« Last Edit: October 26, 2005, 01:38:23 am by darkloran »
SL-C3000 -- Cacko1.23b1
CE-RH2 remote / Belkin usblan / Asus WL-110 / Sandisk SD UII 256MB / Sandisk CF UII 1GB
STOREX OTG Club 40GB / Belkin IR Keyboard / Logitech mouse

cybernetseraph

  • Newbie
  • *
  • Posts: 31
    • View Profile
Can't Mount Cf Card
« Reply #4 on: October 28, 2005, 11:35:54 am »
Hey guys, i didn't get some of the replies until just now, but i worked it out myself,

disklabel /dev/wd1 told me that the partition i was looking for was i (i knew that c was the whole disk, but wasn't sure if it could be mounted if the device wasn't partitioned).

I've now set up hotplugd to automount it, though i'm tempted to use amd instead (i've used automounters in linux before for the same purpose.

Thanks for the help.

Wildherb

  • Jr. Member
  • **
  • Posts: 92
    • View Profile
Can't Mount Cf Card
« Reply #5 on: October 03, 2008, 09:38:04 am »
I'm having real trouble mounting CF card on OBSD 4.3

before starting X, If I insert or remove the CF card I see it referenced as wd1 and wdc1

If I do disklabel wd1 I see a c partition (unused) and an i partition (MSDOS)

fdisk wd1 shows four partitions, the first being formatteed Win95 FAT and the others all unused.

There cant be a technical problem becuse I installed the operating system from the same media card!

very similar story if I put a memory stick on the USB host cable, is shows as sd1 with disklabel partitions c and i, four partitions under fdisk.

I'm confused.  8¬(

====EDIT====
Ive concluded that somehow my system was screwed as I could also not edit simplt files such as kismet.conf
Done a rebuild and now I can mount CF and also, I can mount SD is this a first on OBSD??

mount_msdos /dev/wd1i /mnt/cf
mount_msdos /dev/sd0i /mnt/card

BINGO!
« Last Edit: October 03, 2008, 06:00:03 pm by Wildherb »
C3000 running OpenBSD 4.4
C3100 running OpenZaurus

Lance

  • Newbie
  • *
  • Posts: 14
    • View Profile
    • http://pages.suddenlink.net/nitch-z
Can't Mount Cf Card
« Reply #6 on: October 03, 2008, 07:35:26 pm »
<QUOTE>
Done a rebuild and now I can mount CF and also, I can mount SD is this a first on OBSD??
</QUOTE>

Mounting and reading an SD card is no problem.  It's writing to the SD card that's been the problem.
SL-C3000 - OpenBSD 4.2 (GENERIC) #168: Tue Aug 28
CF Wireless LAN card: wi0
SL-6000L - original sharp rom
SL-C760 - openzaurus 3.5.4
Desktop: OpenBSD 4.1 (GENERIC)

sdjf

  • Sr. Member
  • ****
  • Posts: 447
    • View Profile
    • http://www.sdjf.wordpress.com and http://www.sdjf.esmartdesign.com
Can't Mount Cf Card
« Reply #7 on: October 06, 2008, 12:45:38 am »
Quote from: Lance
Mounting and reading an SD card is no problem.  It's writing to the SD card that's been the problem.
Could it be a hardware problem?  I have been having similar issues with trying to read and write to a CF card via USB instead of using my Tosa's CF slot, and Quickening seemed to think it was the device (Lexar CF reader) that was the problem.  I haven't resolved it at this point.

Make sure "mount" shows the device  as rw and not just ro.  That may not resolve the issue, but is a piece of the puzzle to be sure of.  And check permissions with "ls -l".  You may want to play around with sudo, if it's available on OBSD?

sdjf
http://www.sdjf.esmartdesign.com
http://www.sdjf.wordpress.com
-----------------
sl5500 running Sharp ROM 2.38 (dead batteries)
sl6000L running Sharp ROM 1.12 (still working)
Opera 7.25 and 7.30
Socket CF 56k modem
3Com USB Ethernet Adapter
Toshiba, Lexar and Kingston SD cards
Lexar, Kingston and Transcend CF cards

Wildherb

  • Jr. Member
  • **
  • Posts: 92
    • View Profile
Can't Mount Cf Card
« Reply #8 on: October 06, 2008, 06:00:10 pm »
Quote from: sdjf
Quote from: Lance
Mounting and reading an SD card is no problem.  It's writing to the SD card that's been the problem.
Could it be a hardware problem?  I have been having similar issues with trying to read and write to a CF card via USB instead of using my Tosa's CF slot, and Quickening seemed to think it was the device (Lexar CF reader) that was the problem.  I haven't resolved it at this point.

Make sure "mount" shows the device  as rw and not just ro.  That may not resolve the issue, but is a piece of the puzzle to be sure of.  And check permissions with "ls -l".  You may want to play around with sudo, if it's available on OBSD?

sdjf

No, not a hardware problem. My Spitz was happily writing to the same SD card using Cakco just before I flashed it with OBSD.
C3000 running OpenBSD 4.4
C3100 running OpenZaurus