vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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. |
| |||
| In comp.os.linux.hardware hseaver@nospamcybershamanix.com 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 http://www.cybershamanix.com |
| ||||
| hseaver@nospamcybershamanix.com 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 |