[ltp] Re: Linux-Thinkpad digest, Vol 1 #880 - 11 msgs

chris linux-thinkpad@linux-thinkpad.org
Mon, 02 May 2005 21:45:31 +1000


On Mon, 2005-05-02 at 12:01 +0200,
linux-thinkpad-request@linux-thinkpad.org wrote:
> Hi all,
> 
> I'm having an issue with my T42 running Mandrake 10.2 which has
> actually has existed for a few releases of MDK.
> 
> I seem to be able to use my PCMCIA data cards only once in each
> slot.  If I put it in a slot a second time, it seems to insert
> correct according to the syslog but when i try to mount it I get:
> 
>    mount: special device /dev/hde1 does not exist
> 
> I tried using the automatically created /mnt/removable and mounting
> it manually to no avail (BTW, how do you change that mount point?  I
> tried editing /etc/pcmcia/ide.opts but that didn't work.)
> 
> I also tried stopping cardmgr and completely removing pcmcia,
> pcmcia_core, yenta_socket, and rsrc_nonstatic modules and reloading
> all but that didn't help either.  I did, however, notice that the
> ide-cs module was still loaded after I cardctl eject'ed the card.
> It seems like something is left behind that's holding the pcmcia
> slots after I eject the card.  So far, only a reboot seems to
> fix it.  It looks like it's related to the /dev/hde* devices.
> 
> Below is the syslog block when it works and following is a syslog
> block when it doesn't.  Please let me know if anyone can recommend
> anything else to examine.
> 
> Thank you very much!
> 
> -Jeff
> 
> 
> The first insert after a reboot:
> 
> May  1 10:55:15 ferret cardmgr[4577]: socket 0: ATA/IDE Fixed Disk
> May  1 10:55:15 ferret kernel: cs: memory probe 0xa0000000-0xa0ffffff:
> clean.
> May  1 10:55:15 ferret kernel: Probing IDE interface ide2...
> May  1 10:55:15 ferret kernel: hde: SunDisk SDP3B-220, CFA DISK drive
> May  1 10:55:16 ferret kernel: ide2 at 0x100-0x107,0x10e on irq 3
> May  1 10:55:16 ferret kernel: hde: max request size: 128KiB
> May  1 10:55:16 ferret kernel: hde: 430080 sectors (220 MB) w/1KiB
> Cache, CHS=840/16/32
> May  1 10:55:16 ferret kernel: hde: cache flushes not supported
> May  1 10:55:16 ferret kernel:  /dev/ide/host2/bus0/target0/lun0: p1
> May  1 10:55:16 ferret kernel: ide-cs: hde: Vcc = 3.3, Vpp = 0.0
> May  1 10:55:17 ferret fstab-sync[7090]: added mount
> point /mnt/removable for /dev/hde1
> 
> Here's the mount attempt which works:
> May  1 10:57:10 ferret kernel:  /dev/ide/host2/bus0/target0/lun0: p1
> 
> 
> Here's the cardctl eject:
> May  1 10:58:52 ferret cardmgr[4577]: executing: 'modprobe -r ide-cs
> 2>&1'
> May  1 10:58:52 ferret cardmgr[4577]: + FATAL: Module ide-cs is in
> use.
> May  1 10:58:52 ferret cardmgr[4577]: modprobe exited with status 1
> May  1 10:58:52 ferret fstab-sync[7451]: removed mount
> point /mnt/removable for /dev/hde1
> 
> Not sure why ide-cs is still in use though.
> 
> Here's the insert which doesn't work:
> May  1 11:00:37 ferret cardmgr[4577]: socket 0: ATA/IDE Fixed Disk
> May  1 11:00:38 ferret kernel: Probing IDE interface ide2...
> May  1 11:00:38 ferret kernel: hde: SunDisk SDP3B-220, CFA DISK drive
> May  1 11:00:38 ferret kernel: ide2 at 0x100-0x107,0x10e on irq 3
> May  1 11:00:38 ferret kernel: hde: max request size: 128KiB
> May  1 11:00:38 ferret kernel: hde: 430080 sectors (220 MB) w/1KiB
> Cache, CHS=840/16/32
> May  1 11:00:38 ferret kernel: hde: cache flushes not supported
> May  1 11:00:38 ferret kernel:  /dev/ide/host2/bus0/target0/lun0: p1
> May  1 11:00:38 ferret kernel: ide-cs: hde: Vcc = 3.3, Vpp = 0.0
> May  1 11:00:39 ferret fstab-sync[7674]: added mount
> point /mnt/removable for /dev/hde1
> May  1 11:00:50 ferret kernel:  /dev/ide/host2/bus0/target0/lun0: p1
> May  1 11:00:50 ferret kernel:  /dev/ide/host2/bus0/target0/lun0: p1
> May  1 11:01:01 ferret CROND[7833]: (root) CMD (nice -n 19
> run-parts /etc/cron.hourly)
> May  1 11:01:03 ferret fstab-sync[7886]: removed mount
> point /mnt/removable for /dev/hde1
> May  1 11:01:24 ferret cardmgr[4577]: socket 0: ATA/IDE Fixed Disk
> May  1 11:01:24 ferret kernel: Probing IDE interface ide2...
> May  1 11:01:25 ferret kernel: hde: SunDisk SDP3B-220, CFA DISK drive
> May  1 11:01:25 ferret kernel: ide2 at 0x100-0x107,0x10e on irq 3
> May  1 11:01:25 ferret kernel: hde: max request size: 128KiB
> May  1 11:01:25 ferret kernel: hde: 430080 sectors (220 MB) w/1KiB
> Cache, CHS=840/16/32
> May  1 11:01:25 ferret kernel: hde: cache flushes not supported
> May  1 11:01:25 ferret kernel:  /dev/ide/host2/bus0/target0/lun0: p1
> May  1 11:01:25 ferret kernel: ide-cs: hde: Vcc = 3.3, Vpp = 0.0
> May  1 11:01:25 ferret cardmgr[4577]: executing: './ide start hde
> 2>&1'
> May  1 11:01:25 ferret cardmgr[4577]: + mknod /dev/hde2 b 33 2
> May  1 11:01:25 ferret cardmgr[4577]: + mknod: `/dev/hde2': File
> exists
> May  1 11:01:25 ferret cardmgr[4577]: + mknod /dev/hde3 b 33 3
> May  1 11:01:25 ferret cardmgr[4577]: + mknod: `/dev/hde3': File
> exists
> May  1 11:01:25 ferret cardmgr[4577]: + mknod /dev/hde4 b 33 4
> May  1 11:01:25 ferret cardmgr[4577]: + mknod: `/dev/hde4': File
> exists
> May  1 11:01:25 ferret cardmgr[4577]: + mknod /dev/hde5 b 33 5
> May  1 11:01:25 ferret cardmgr[4577]: + mknod: `/dev/hde5': File
> exists
> May  1 11:01:25 ferret cardmgr[4577]: + mknod /dev/hde6 b 33 6
> May  1 11:01:25 ferret cardmgr[4577]: + mknod: `/dev/hde6': File
> exists
> May  1 11:01:25 ferret cardmgr[4577]: + mknod /dev/hde7 b 33 7
> May  1 11:01:25 ferret cardmgr[4577]: + mknod: `/dev/hde7': File
> exists
> May  1 11:01:25 ferret cardmgr[4577]: + mknod /dev/hde8 b 33 8
> May  1 11:01:25 ferret cardmgr[4577]: + mknod: `/dev/hde8': File
> exists
> May  1 11:01:25 ferret cardmgr[4577]: + mknod /dev/hde9 b 33 9
> May  1 11:01:25 ferret cardmgr[4577]: + mknod: `/dev/hde9': File
> exists
> May  1 11:01:25 ferret cardmgr[4577]: + mknod /dev/hde10 b 33 10
> May  1 11:01:25 ferret cardmgr[4577]: + mknod: `/dev/hde10': File
> exists
> May  1 11:01:25 ferret cardmgr[4577]: + mknod /dev/hde11 b 33 11
> May  1 11:01:25 ferret cardmgr[4577]: + mknod: `/dev/hde11': File
> exists
> May  1 11:01:25 ferret cardmgr[4577]: + mknod /dev/hde12 b 33 12
> May  1 11:01:25 ferret cardmgr[4577]: + mknod: `/dev/hde12': File
> exists
> May  1 11:01:25 ferret cardmgr[4577]: + mknod /dev/hde13 b 33 13
> May  1 11:01:25 ferret cardmgr[4577]: + mknod: `/dev/hde13': File
> exists
> May  1 11:01:25 ferret cardmgr[4577]: + mknod /dev/hde14 b 33 14
> May  1 11:01:25 ferret cardmgr[4577]: + mknod: `/dev/hde14': File
> exists
> May  1 11:01:25 ferret cardmgr[4577]: + mknod /dev/hde15 b 33 15
> May  1 11:01:25 ferret cardmgr[4577]: + mknod: `/dev/hde15': File
> exists
> May  1 11:01:25 ferret cardmgr[4577]: + mknod /dev/hde16 b 33 16
> May  1 11:01:25 ferret cardmgr[4577]: + mknod: `/dev/hde16': File
> exists
> May  1 11:01:26 ferret fstab-sync[8023]: added mount
> point /mnt/removable for /dev/hde1
> 
> And the mount:
> May  1 11:01:48 ferret kernel:  /dev/ide/host2/bus0/target0/lun0: p1
> 
> and the result of the mount at the shell prompt:
> # mount /mnt/removable/
> mount: special device /dev/hde1 does not exist

I never had a PCMCIA before, but from my experience with my USB drive, I
need to umount it before I unplug it from the computer otherwise when
time I mount it again, I need to increment the number by 1.

e.g, mount /dev/sda1 /mnt/usb

unplug

to mount it again, I need to

mount /dev/sda2 /mnt/usb

but if I umount before I unplug, I don't have to change the mount
device.

how about "fdisk -l" see what it says?

Chris