Hi!
I have problems getting my CF card mounted/umounted automatically at
insertion/removal into/from the CF card jacket. I use familiar 0.4. I
made the modifications to /etc/pcmcia/ide.opts as suggested by Jamey
Hicks:
# ATA/IDE drive adapter configuration
#
# The address format is "scheme,socket,serial_no[,part]".
#
# For multi-partition devices, first return list of partitions in
# $PARTS. Then, we'll get called for each partition.
#
case "$ADDRESS" in
*,*,*,1)
INFO="Sample IDE setup"
DO_FSTAB="n" ; DO_FSCK="y" ; DO_MOUNT="y"
FSTYPE="vfat"
OPTS=""
MOUNTPT="/mnt/ide"
;;
*,*,*)
#PARTS="1"
# Card eject policy options
NO_CHECK=n
NO_FUSER=y
;;
esac
I also installed pcmcia-cs 3.1.29 from
ftp://lorien.handhelds.org/pub/linux/feeds/outgoing
When I already have mount the card manually,
~# mount /mnt/ide/
/dev/ide/host0/bus0/target0/lun0: p1
/dev/ide/host0/bus0/target0/lun0: p1
modprobe: modprobe: Can't locate module nls_cp437
modprobe: modprobe: Can't locate module nls_iso8859-1
modprobe: modprobe: Can't locate module nls_iso8859-1
modprobe: modprobe: Can't locate module nls_iso8859-1
it gets umounted at removal:
~# cardmgr[60]: executing: './ide stop hda'
hda: status error: status=0xff { Busy }
hda: drive not ready for command
hda: status error: status=0xff { Busy }
hda: drive not ready for command
cardmgr[60]: + /dev/hda1 umounted
cardmgr[60]: executing: 'modprobe -r ide-cs'
but when I insert it again, it does not get mounted automatically:
bitsy_pcmcia_configure_socket: socket=0 vcc=50 vpp=50 reset=0
bitsy_pcmcia_configure_socket: socket=0 vcc=50 vpp=50 reset=1
ide0: unexpected interrupt, status=0x80, count=3
bitsy_pcmcia_configure_socket: socket=0 vcc=50 vpp=50 reset=0
cardmgr[60]: socket 0: ATA/IDE Fixed Disk
cardmgr[60]: executing: 'modprobe ide-cs'
bitsy_pcmcia_configure_socket: socket=0 vcc=50 vpp=0 reset=0
bitsy_pcmcia_configure_socket: socket=0 vcc=50 vpp=0 reset=0
Trying to free nonexistent resource <f6000000-f600000f>
hda: CF_128MB, ATA DISK drive
ide0 at 0xf6000000-0xf6000007,0xf600000e on irq 42
hda: 257024 sectors (132 MB) w/0KiB Cache, CHS=1004/8/32
/dev/ide/host0/bus0/target0/lun0: p1
ide_cs: hda: Vcc = 5.0, Vpp = 0.0
cardmgr[60]: executing: './ide start hda'
Looking forward to any suggestion,
Markus
Received on Wed Oct 10 07:48:48 2001
This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:44:13 EDT