I've just installed Gentoo from stage1 into my old laptop. In the past I've run RedHat and Slackware but always compiled pcmcia-cs manually. I have the following ide.opts settings case "$ADDRESS" in *,*,*) #INFO="Sample IDE setup" DO_FSTAB="y" ; DO_FSCK="n" ; DO_MOUNT="y" FSTYPE="vfat" OPTS="gid=100,umask=002" MOUNTPT="/mnt/ide" ;; esac As I insert the CF card into the PCMCIA slot the mount fails. The log entries are Oct 15 15:24:34 i5000 cardmgr[769]: socket 0: ATA/IDE Fixed Disk Oct 15 15:24:34 i5000 cardmgr[769]: executing: 'modprobe ide-cs' Oct 15 15:24:36 i5000 hde: SanDisk SDCFB-64, ATA DISK drive Oct 15 15:24:36 i5000 ide2 at 0x140-0x147,0x14e on irq 10 Oct 15 15:24:36 i5000 hde: 125440 sectors (64 MB) w/1KiB Cache, CHS=490/8/32 Oct 15 15:24:36 i5000 /dev/ide/host2/bus0/target0/lun0: p1 Oct 15 15:24:36 i5000 ide-cs: hde: Vcc = 3.3, Vpp = 0.0 Oct 15 15:24:36 i5000 cardmgr[769]: executing: './ide start hde' Oct 15 15:24:36 i5000 /dev/ide/host2/bus0/target0/lun0: p1 Oct 15 15:24:36 i5000 /dev/ide/host2/bus0/target0/lun0: p1 Oct 15 15:24:36 i5000 FAT: bogus logical sector size 20487 Oct 15 15:24:36 i5000 VFS: Can't find a valid FAT filesystem on dev 21:00. Oct 15 15:24:36 i5000 /dev/ide/host2/bus0/target0/lun0: p1 Oct 15 15:24:36 i5000 cardmgr[769]: + mount -v -o gid=100,umask=002 -t vfat /dev/hde /mnt/ide Oct 15 15:24:36 i5000 cardmgr[769]: + mount: wrong fs type, bad option, bad superblock on /dev/hde, Oct 15 15:24:36 i5000 cardmgr[769]: + or too many mounted file systems Apparently Gentoo's IDE script /etc/pcmcia/ide tries to mount the device hde whereas it should be /dev/hde1 in this case. Running 'mount -t vfat /dev/hde1 /mnt/ide' manually works fine. Reproducible: Always Steps to Reproduce: 1. insert the CF card into the PCMCIA slot using the ide.opts given above 2. 3. Actual Results: Mounting /dev/hde fails. Expected Results: Mount /dev/hde1.
Reporter, please check if sys-apps/pcmcia-3.2.8 fixes this issue.
Closing due to lack of feedback.