LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   mounting PCMCIA (compact flash) IDE device (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/mounting-pcmcia-compact-flash-ide-device-139842/)

superbondbond 01-28-2004 10:56 PM

mounting PCMCIA (compact flash) IDE device
 
I expected to be able to solve this fairly quickly, but I'm stumped.

I have a Compact Flash memory card that I use in my Zaurus, and am trying to get it working on my laptop using a PCMCIA CF adaptor. When I insert the card, I get this from dmesg:
Code:

hde: STI Flash S.1.0, CFA DISK drive
ide2 at 0x100-0x107,0x10e on irq 3
hde: attached ide-disk driver.
hde: status error: status=0x20 { DeviceFault }

hde: drive not ready for command
hde: 250368 sectors (128 MB) w/1KiB Cache, CHS=978/8/32
 hde:hde: status error: status=0x20 { DeviceFault }

hde: drive not ready for command
ide2: reset: success
hde: status error: status=0x20 { DeviceFault }

end_request: I/O error, dev 21:00 (hde), sector 6
hde: drive not ready for command
ldm_validate_partition_table(): Disk read failed.
hde: status error: status=0x20 { DeviceFault }

end_request: I/O error, dev 21:00 (hde), sector 6
hde: drive not ready for command
 unable to read partition table
ide_cs: hde: Vcc = 3.3, Vpp = 0.0
hde: status error: status=0x20 { DeviceFault }

I checked that the ide-cs module get loaded as it should and it does, and I've configured (for now while troubleshooting) my /etc/pcmcia/ide.opts as follows:
Code:

case "$ADDRESS" in
*,*,*,1)
    #INFO="Sample IDE setup"
    #DO_FSTAB="y" ;
    DO_FSCK="n" ;
    DO_MOUNT="n"
    #FSTYPE="msdos"
    #OPTS=""
    #MOUNTPT="/mnt/ide"
    ;;
*,*,*)
    #PARTS="1"
    # Card eject policy options
    NO_CHECK=n
    NO_FUSER=n
    ;;

I wasn't surprised that when I mount /dev/hde1 -t vfat /mnt/card I get the typical "bad superblock....." error. I just can't figure out what's missing.

Sidenote: The config files and settings are the same on the Zaurus, and it has no trouble with that card. Add the fact that my CF wireless adaptor works flawlessly on both systems.

There must be something obvious I'm not seeing. Any help would be appreciated.

Thanks!

superbondbond 02-02-2004 05:07 PM

bump


All times are GMT -5. The time now is 12:47 PM.