Author Topic: Cf Card Setup- Please Help  (Read 2682 times)

mickeyboa

  • Newbie
  • *
  • Posts: 22
    • View Profile
Cf Card Setup- Please Help
« on: October 06, 2005, 08:19:10 pm »
I'm having problems of mounting CF card on my laptop , if I run fdisk on my laptop it tells me that the CF card has a fat16 (6) partition , but I get the error below if I do a    mount -t vfat /dev/hde /mnt/ide
I'am trying to get Ospack on the CF card so I can update my rom to 3.1 on my Zaurus SL5500
Can someone please help.

Jim

dmesg | tail
hde: cache flushes not supported
 hde: hde1
ide-cs: hde: Vcc = 3.3, Vpp = 0.0
 hde: hde1
 hde: hde1
 hde: hde1
 hde: hde1
FAT: invalid media value (0x00)
VFS: Can't find a valid FAT filesystem on dev hde.
 hde: hde1

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Cf Card Setup- Please Help
« Reply #1 on: October 07, 2005, 03:57:57 am »
You sure it should be /dev/hde?

In any case you'll probably want to change the command line to add in the partition, e.g.:

mount -t vfat /dev/hde1 /mnt/ide


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

mickeyboa

  • Newbie
  • *
  • Posts: 22
    • View Profile
Cf Card Setup- Please Help
« Reply #2 on: October 07, 2005, 06:54:25 am »
Quote
You sure it should be /dev/hde?

In any case you'll probably want to change the command line to add in the partition, e.g.:

mount -t vfat /dev/hde1 /mnt/ide


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

I still can't copy to the CF card.
What command will unzip this file 5500v31c.zip, using tar -x or gunzip -d won't unzip it, I get
errors

gunzip -d 5500v31c.zip
gunzip: 5500v31c.zip: unknown suffix -- ignored

tar -x 5500v31c.zip  just sites there like it's running, but doing nothing.

jim

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Cf Card Setup- Please Help
« Reply #3 on: October 07, 2005, 12:23:44 pm »
It's a zip file so use 'unzip'

Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

mickeyboa

  • Newbie
  • *
  • Posts: 22
    • View Profile
Cf Card Setup- Please Help
« Reply #4 on: October 07, 2005, 05:46:59 pm »
I cannot copy anything to this CF card, and when I boot laptop I have entry in /media/LEXAR_MEDIA
but I can't copy anything to it.
This a 40X CF card. The CF card is mounted in a pcmcia adapter, and plugged into a pcmcia slot in my laptop.
In my /etc/pcmcia/config file, below is the entering for the CF card, is this correct?

card " LEXAR ATA FLASH CARD    ", "TWISTER", "TTE01"
  manfid: 0x4e01, 0x0200
  function: 4 (fixed disk)
  bind "ide-cs"

Jim

mickeyboa

  • Newbie
  • *
  • Posts: 22
    • View Profile
Cf Card Setup- Please Help
« Reply #5 on: October 07, 2005, 06:21:18 pm »
I have shown what was happening during boot in /var/log/messages
As you can see the CF card is being reconized at boot, but I can not copy anything to it.

Jim

kernel: hde: LEXAR ATA FLASH, CFA DISK drive
 kernel: ide2 at 0x100-0x107,0x10e on irq 3
kernel: hde: max request size: 128KiB
 kernel: hde: 1001952 sectors (512 MB) w/1KiB Cache, CHS=994/16/63
 kernel: hde: cache flushes not supported
kernel:  hde: hde1
kernel: ide-cs: hde: Vcc = 3.3, Vpp = 0.0
fstab-sync[2476]: removed all generated mount points
kernel:  hde: hde1
fstab-sync[2526]: added mount point /media/LEXAR_MEDIA1 for /dev/hde1

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Cf Card Setup- Please Help
« Reply #6 on: October 08, 2005, 07:33:01 am »
What does 'mount' show?

Are you root when you're trying to copy to it? What error message does it give you?


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

mickeyboa

  • Newbie
  • *
  • Posts: 22
    • View Profile
Cf Card Setup- Please Help
« Reply #7 on: October 08, 2005, 02:12:08 pm »
Quote
What does 'mount' show?

Are you root when you're trying to copy to it? What error message does it give you?


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

In fstab I had to enter ,   user,uid=<yourusername>, notime  at the beginning of options line.
That solved the problem.

Jim