Professional Web Applications Themes

Remove pcmcia card, system hangs - Linux Setup, Configuration & Administration

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 ...

  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. #2

    Default Re: Remove pcmcia card, system hangs

    In comp.os.linux.hardware [email]hseavernospamcybershamanix.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

  3. #3

    Default Re: Remove pcmcia card, system hangs

    [email]hseavernospamcybershamanix.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

Similar Threads

  1. pcmcia ethernet card for 3400
    By Rich Binkley in forum Mac Portable
    Replies: 2
    Last Post: September 8th, 09:14 PM
  2. Belkin PCMCIA FireWire card for G3 PB?
    By JiP in forum Mac Portable
    Replies: 4
    Last Post: September 8th, 06:05 PM
  3. need help with compile of pcmcia card driver
    By Paul E Condon in forum Debian
    Replies: 8
    Last Post: July 29th, 03:20 PM
  4. Replies: 0
    Last Post: July 11th, 04:36 PM
  5. Lombard PCMCIA Card Cage
    By quakedeus in forum Mac Portable
    Replies: 4
    Last Post: July 11th, 12:59 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not 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