Re: Problems with PCMCIA Compact Flash adapter in 2.5.72

Eivind Tagseth (eivindt@multinet.no)
Sun, 22 Jun 2003 21:16:27 +0200


* Eivind Tagseth <eivindt@multinet.no> [030622 20:31]:
> * Russell King <rmk@arm.linux.org.uk> [030622 15:18]:
> > There appears to be something of an inconsistency in the naming (again)
> > for ide-cs. This should fix it.
>
> Much better. At least I think so:
>
> Jun 22 20:22:19 [kernel] kobject_register failed for hdc1 (-17)
> Jun 22 20:22:19 [kernel] Call Trace:

Actually, rebooting and retrying, it works:

Jun 22 20:52:37 [cardmgr] initializing socket 1
Jun 22 20:52:37 [kernel] cs: memory probe 0xa0000000-0xa0ffffff: clean.
Jun 22 20:52:37 [cardmgr] socket 1: ATA/IDE Fixed Disk
Jun 22 20:52:37 [cardmgr] product info: "SanDisk", "SDP", "5/3 0.6"
Jun 22 20:52:37 [cardmgr] manfid: 0x0045, 0x0401 function: 4 (fixed disk)
Jun 22 20:52:37 [cardmgr] executing: 'modprobe ide-cs'
Jun 22 20:52:40 [kernel] hdc: SanDisk SDCFB-32, CFA DISK drive
Jun 22 20:52:40 [kernel] hdc: max request size: 128KiB
Jun 22 20:52:40 [kernel] /dev/ide/host1/bus0/target0/lun0: p1
Jun 22 20:52:40 [kernel] Module ide_cs cannot be unloaded due to unsafe usage in
include/linux/module.h:479
Jun 22 20:52:40 [cardmgr] executing: './ide start hdc'
Jun 22 20:52:40 [cardmgr] + mknod /dev/hdc b 22 0
Jun 22 20:52:40 [cardmgr] + mknod: `/dev/hdc': File exists
Jun 22 20:52:40 [cardmgr] + mknod /dev/hdc1 b 22 1
Jun 22 20:52:40 [cardmgr] + mknod: `/dev/hdc1': File exists
Jun 22 20:52:40 [cardmgr] + mknod /dev/hdc2 b 22 2
Jun 22 20:52:40 [cardmgr] + mknod /dev/hdc3 b 22 3
.
.
.
Jun 22 20:52:40 [cardmgr] + mknod /dev/hdc16 b 22 16

However, removing the card causes a kernel panic, and everything completely
freezes. This also happened with 2.5.69, so it's not caused by a recent
change.

If I'm not _supposed_ to be able to remove the card, or if I'm doing it
the wrong way, please let me know...

I'm unable to see the top of the panic, and I'm too lazy to type
it all down, but here's what I did see:

try_to_wake_up
default_wake_function
ide_release
update_process_times
ide_release
run_timer
do_timer
do_softirq
do_IRQ
common_interrupt
sys_ipc
apm_bios_call_simple
apm_do_idle
apm_cpu_idle
apm_cpu_idle
default_idle
cpu_idle
_stext
start_kernel
unknown_bootoption

Code: 0f 0b 4b 02 3f fd 31 c0 e9 a6 f7 ff ff 8d 74 26 00 55 31 d2
<0>Kernel panic: Fatal exception in interrupt

(beware of typos).

If providing all the info helps you, I'll do it. I have no idea what I can
do to read the whole message though.

Eivind
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/