Hi Ray,
I just installed an mmc card in a Verdex and it seems to work. Here is a link to the instructions for the CF card which are almost identical:

Don't know whether you had found these. I can't remember whether i mounted it is SDA or HDA, but I did mount it as vfat, and made sure the card was formatted before I mounted it.

Good luck,

On Thu, Jun 5, 2008 at 12:03 AM, Ray Johnston <Ray.Johnston@artifex.com> wrote:
Hi all,

I am able to see the CF card with the Uboot (following instructions
for flashing a new image), and from the ssh prompt I am able to see
the partition using:

    fdisk /dev/hda

and the 'p' shows the partition (I've tried FAT32, FAT16 and HPFS/NTFS)

    mount -t autofs /dev/hda1 /mnt/cf

fails with the message:
     mount: Mounting /dev/hda1 on /mnt/cf failed: No such device

Also "mount -a" doesn't mount the CF card (but doesn't issue any message
as the explicit "mount" above does). My /etc/fstab has:

/dev/mtdblock1  /               jffs2   rw,noatime              0       1
proc            /proc           proc    defaults                0       0
sysfs           /sys            sysfs   defaults                0       0
# devpts is noauto because it needs to mount *after* udev starts
devpts          /dev/pts        devpts  gid=5,mode=620,noauto   0       0
tmpfs           /tmp            tmpfs   mode=1777               0       0
/dev/mmcblk0p1  /mnt/mmc        vfat    sync,noauto             0       0
/dev/sda1       /mnt/usb        vfat    sync,noauto             0       0
/dev/hda1       /mnt/cf         vfat    sync,noauto             0       0

and 'lsmod' shows:

Module                  Size  Used by
vfat                    9920  0
fat                    45980  1 vfat
nls_base                6400  2 vfat,fat
ipv6                  248416  12
mcf25                 217136  0
cfio                    5120  1 mcf25
ide_disk               13216  0
pata_pcmcia             9696  0
libata                 94548  1 pata_pcmcia
scsi_mod               84772  1 libata
ide_cs                  8960  1
ide_core               81780  2 ide_disk,ide_cs
usblp                  11872  0
ohci_hcd               19620  0
usbcore               113340  3 usblp,ohci_hcd
pxa2xx_cs               3044  3
pxa2xx_core            10368  1 pxa2xx_cs
pcmcia                 25064  3 cfio,pata_pcmcia,ide_cs
pcmcia_core            30576  6 mcf25,cfio,pata_pcmcia,ide_cs,pxa2xx_core,pcmcia
firmware_class          7520  1 pcmcia
smc91x                 16104  0
mii                     4736  1 smc91x
gumstix_smc91x          2816  1 smc91x
unix                   22292  16

and ls -l /mnt shows:

drwxrwxr-x    2 root     root            0 Aug 22  2007 cf
drwxrwxr-x    2 root     root            0 Aug 22  2007 mmc
drwxrwxr-x    2 root     root            0 Aug 22  2007 nfs
drwxrwxr-x    2 root     root            0 Aug 22  2007 usb

which looks like an acceptable mount point.

Any suggestions?

Note, I've also attached my 'dmesg' output.

Ray Johnston

Linux version 2.6.21gum (glachac@centos4_1.tethermedia.net) (gcc version 4.1.1) #1 Wed Aug 22 07:19:27 EDT 2007 CPU: XScale-PXA270 [69054117] revision 7 (ARMv5TE), cr=0000397f Machine: The Gumstix Platform Memory policy: ECC disabled, Data cache writeback On node 0 totalpages: 32768 DMA zone: 256 pages used for memmap DMA zone: 0 pages reserved DMA zone: 32512 pages, LIFO batch:7 Normal zone: 0 pages used for memmap Run Mode clock: 208.00MHz (*16) Turbo Mode clock: 624.00MHz (*3.0, active) Memory clock: 104.00MHz (/2) System bus clock: 104.00MHz CPU0: D VIVT undefined 5 cache CPU0: I cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets CPU0: D cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets Built 1 zonelists. Total pages: 32512 Kernel command line: console=ttyS0,115200n8 root=1f01 rootfstype=jffs2 reboot=cold,hard PID hash table entries: 512 (order: 9, 2048 bytes) Console: colour dummy device 80x30 Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) Memory: 128MB = 128MB total Memory: 127744KB available (1748K code, 192K data, 132K init) Calibrating delay loop... 622.59 BogoMIPS (lpj=3112960) Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok NET: Registered protocol family 16 NET: Registered protocol family 2 Time: pxa_timer clocksource has been installed. IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 4096 (order: 3, 32768 bytes) TCP bind hash table entries: 4096 (order: 2, 16384 bytes) TCP: Hash tables configured (established 4096 bind 4096) TCP reno registered JFFS2 version 2.2. (NAND) (SUMMARY) (C) 2001-2006 Red Hat, Inc. io scheduler noop registered io scheduler cfq registered (default) Console: switching to colour frame buffer device 80x24 pxa2xx-uart.0: ttyS0 at MMIO 0x40100000 (irq = 22) is a FFUART pxa2xx-uart.1: ttyS1 at MMIO 0x40200000 (irq = 21) is a BTUART pxa2xx-uart.2: ttyS2 at MMIO 0x40700000 (irq = 20) is a STUART Probing Gumstix Flash ROM at physical address 0x00000000 (16-bit bankwidth) Gumstix Flash ROM: Found 1 x16 devices at 0x0 in 16-bit bank Gumstix Flash ROM: Found an alias at 0x2000000 for the chip at 0x0 Intel/Sharp Extended Query Table at 0x010A Intel/Sharp Extended Query Table at 0x010A Intel/Sharp Extended Query Table at 0x010A Intel/Sharp Extended Query Table at 0x010A Intel/Sharp Extended Query Table at 0x010A Using buffer write method cfi_cmdset_0001: Erase suspend on write enabled erase region 0: offset=0x0,size=0x20000,blocks=255 erase region 1: offset=0x1fe0000,size=0x8000,blocks=4 Using static partitions on Gumstix Flash ROM Creating 3 MTD partitions on "Gumstix Flash ROM": 0x00000000-0x00040000 : "Bootloader" 0x00040000-0x01f00000 : "RootFS" 0x01f00000-0x02000000 : "Kernel" TCP cubic registered XScale iWMMXt coprocessor detected. VFS: Mounted root (jffs2 filesystem). Freeing init memory: 132K NET: Registered protocol family 1 smc91x.c: v1.1, sep 22 2004 by Nicolas Pitre <nico@cam.org> eth0: SMC91C11xFD (rev 2) at c8870300 IRQ 131 DMA 8 [nowait] eth0: Ethernet addr: 02:00:00:35:80:90 eth0: PHY LAN83C183 (LAN91C111 Internal) CPLD responded with: 00 usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver pxa27x-ohci pxa27x-ohci: PXA27x OHCI pxa27x-ohci pxa27x-ohci: new USB bus registered, assigned bus number 1 pxa27x-ohci pxa27x-ohci: irq 3, io mem 0x4c000000 usb usb1: configuration #1 chosen from 1 choice hub 1-0:1.0: USB hub found hub 1-0:1.0: 3 ports detected pccard: PCMCIA card inserted into slot 0 pcmcia: registering new device pcmcia0.0 Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx Probing IDE interface ide0... usbcore: registered new interface driver usblp drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver hda: CF2GHS, CFA DISK drive ide0 at 0xc8880000-0xc8880007,0xc888000e on irq 141 ide-cs: hda: Vpp = 0.0 SCSI subsystem initialized libata version 2.20 loaded. hda: max request size: 128KiB hda: 3915072 sectors (2004 MB) w/1KiB Cache, CHS=3884/16/63 hda: hda1 eth0: link down cfio: module license 'unspecified' taints kernel. Before register driver After register driver NET: Registered protocol family 10 ADDRCONF(NETDEV_UP): eth0: link is not ready Mobile IPv6 eth0: link up, 100Mbps, full-duplex, lpa 0xC5E1 ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready eth0: no IPv6 routers present

Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
gumstix-users mailing list