Remove pcmcia card, system hangs

Ask a Question related to Linux Setup, Configuration & Administration, Design and Development.

  1. #1

    Default Remove pcmcia card, system hangs

    When I remove the card, the whole
    system hangs. Totally -- can't log in from the network, if top is running it
    stops, etc. Have to do a hard reboot. I've tried installing the latest
    pcmcia-cs. Otherwise pcmcia works fine, it correctly ID's the flash card I put
    in, reads it, writes to it.
    Here's what it says in /var/log/messages when I insert the card:

    Sep 3 21:01:40 cybershamanix cardmgr[1516]: socket 0: ATA/IDE Fixed Disk
    Sep 3 21:01:40 cybershamanix kernel: cs: memory probe 0x0d0000-0x0dffff:
    clean.
    Sep 3 21:01:40 cybershamanix cardmgr[1516]: executing: 'modprobe ide-cs'
    Sep 3 21:01:43 cybershamanix kernel: hdc: LEXAR ATA FLASH, CFA DISK drive
    Sep 3 21:01:43 cybershamanix kernel: ide1 at 0x100-0x107,0x10e on irq 3
    Sep 3 21:01:43 cybershamanix kernel: hdc: attached ide-disk driver.
    Sep 3 21:01:43 cybershamanix kernel: hdc: task_no_data_intr: status=0x51 {
    DriveReady SeekComplete Error }
    Sep 3 21:01:43 cybershamanix kernel: hdc: task_no_data_intr: error=0x04 {
    DriveStatusError }
    Sep 3 21:01:43 cybershamanix kernel: hdc: 31808 sectors (16 MB) w/1KiB Cache,
    CHS=497/2/32
    Sep 3 21:01:43 cybershamanix kernel: hdc: hdc1
    Sep 3 21:01:43 cybershamanix kernel: ide_cs: hdc: Vcc = 5.0, Vpp = 0.0
    Sep 3 21:01:43 cybershamanix cardmgr[1516]: executing: './ide start hdc'

    So I can can then mount /dev/hdc1 on /mnt/temp, read it, write to it, then
    unmount it, pull out the card and bam! the machine locks up.


    hseaver@nospamcybershamanix.com Guest

  2. Similar Questions and Discussions

    1. pcmcia ethernet card for 3400
      Anyone know where I can find a pcmcia ethernet card for a pbk. 3400? tia........Rich
    2. Belkin PCMCIA FireWire card for G3 PB?
      Totday I bought a Belkin PCMCIA FireWire card for G3 Powerbooks but I can't get it working in my G3/300 with OS 9.1 I installed the software,...
    3. need help with compile of pcmcia card driver
      I have an old laptop on which I have recently installed Woody. I have a new pcmcia NIC which I would like to use on said laptop to connect it to...
    4. PC Card/PCMCIA adapter for CF memory cards with WinNT laptop
      Here's how I actually got this to work!: When I last week got my first dig. camera (Canon A70), I was aware that USB connection was a no-go with...
    5. Lombard PCMCIA Card Cage
      Hello all. Can anyone please tell me if the PCMCIA Card Cage for a Pismo will work in a Lombard? I found one on Ebay, but do not want to go through...
  3. #2

    Default Re: Remove pcmcia card, system hangs

    In comp.os.linux.hardware [email]hseaver@nospamcybershamanix.com[/email] wrote:
    > When I remove the card, the whole
    > system hangs. Totally -- can't log in from the network, if top is running it
    > stops, etc. Have to do a hard reboot. I've tried installing the latest
    > pcmcia-cs. Otherwise pcmcia works fine, it correctly ID's the flash card I put
    > in, reads it, writes to it.
    > Here's what it says in /var/log/messages when I insert the card:
    > Sep 3 21:01:40 cybershamanix cardmgr[1516]: socket 0: ATA/IDE Fixed Disk
    > Sep 3 21:01:40 cybershamanix kernel: cs: memory probe 0x0d0000-0x0dffff:
    > clean.
    > Sep 3 21:01:40 cybershamanix cardmgr[1516]: executing: 'modprobe ide-cs'
    > Sep 3 21:01:43 cybershamanix kernel: hdc: LEXAR ATA FLASH, CFA DISK drive
    > Sep 3 21:01:43 cybershamanix kernel: ide1 at 0x100-0x107,0x10e on irq 3
    > Sep 3 21:01:43 cybershamanix kernel: hdc: attached ide-disk driver.
    > Sep 3 21:01:43 cybershamanix kernel: hdc: task_no_data_intr: status=0x51 {
    > DriveReady SeekComplete Error }
    > Sep 3 21:01:43 cybershamanix kernel: hdc: task_no_data_intr: error=0x04 {
    > DriveStatusError }
    > Sep 3 21:01:43 cybershamanix kernel: hdc: 31808 sectors (16 MB) w/1KiB Cache,
    > CHS=497/2/32
    > Sep 3 21:01:43 cybershamanix kernel: hdc: hdc1
    > Sep 3 21:01:43 cybershamanix kernel: ide_cs: hdc: Vcc = 5.0, Vpp = 0.0
    > Sep 3 21:01:43 cybershamanix cardmgr[1516]: executing: './ide start hdc'
    > So I can can then mount /dev/hdc1 on /mnt/temp, read it, write to it, then
    > unmount it, pull out the card and bam! the machine locks up.
    One thing else I've noticed is that if I do an "fdisk /dev/hdc" either
    before or after I put in the flash card, I get the partition table for what is
    actually /dev/hda. If I do a fdisk /dev/hdc1, then I get the correct partion
    table, but that's weird.

    --
    Harmon Seaver
    CyberShamanix
    [url]http://www.cybershamanix.com[/url]

    hseaver@nospamcybershamanix.com Guest

  4. #3

    Default Re: Remove pcmcia card, system hangs

    [email]hseaver@nospamcybershamanix.com[/email] wrote:
    > When I remove the card, the whole
    > system hangs. Totally -- can't log in from the network, if top is running
    > it stops, etc. Have to do a hard reboot. I've tried installing the latest
    > pcmcia-cs. Otherwise pcmcia works fine, it correctly ID's the flash card I
    > put in, reads it, writes to it.
    >
    > So I can can then mount /dev/hdc1 on /mnt/temp, read it, write to it,
    > then
    > unmount it, pull out the card and bam! the machine locks up.
    For some reason my laptop has been doing the same thing. Here is a simple
    work around to the problem, for now.

    1) insert pcmcia card and do what ever you are going to do

    2) before removeing the card issue the following command

    cardctl eject (that will eject all of the card slots)

    3) now physicaly remove the card, no lock ups ;-)

    Jayson Garrell
    Jayson Garrell Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139