Thanks alot for the tip about the memory space.
Unfortunately, this does not completely solve the issue. I compared the ioport regions reported by /proc/ioports and those given in /etc/pcmcia/config.opts and split the regions in more smaller regions, excluding the ide ports.
This and the larger memory region in fact led to another case of an almost-working pcmcia subsystem. Upon card insertion, the system locked up as usual after the first high beep. No keystroke could be seen on the screen. After removing the card, all pending activities (the second beep, the keystrokes) were issued and the system was running. From now on, the card could be inserted and was usable up to the next reboot. Unfortunately, i could not reproduce this behaviour after reboot... :-(
I post the modified /etc/pcmcia/config.opts and the dmesg output of the almost-working case (the two card insertions can be seen. In the first case, the card's eeprom was not seen by the driver).
Another thing perhaps worth to be mentioned: Whenever the system locked up and could not be reactivated by removing the card, the system log (/var/log/messages) was filled with a number of binary zero's...?! (That is why i suspected the ide port regions) After changing the ioport regions, this could not be reproduced, so perhaps one more issue is solved.
# # Local PCMCIA Configuration File # # System resources available for PCMCIA devices # # include port 0x100-0x4ff, port 0x1000-0x17ffinclude port 0x100-0x16f, port 0x200-0x36f, port 0x1000-0x103f, port 0x1050-0x17 ff include memory 0x8000000-0x8ffffff
# include memory 0xc0000-0xfffff # include memory 0xa0000000-0xa0ffffff, memory 0x60000000-0x60ffffff # # Extra port range for IBM Token Ring #include port 0xa00-0xaff
# # Resources we should not use, even if they appear to be available # # First built-in serial portexclude irq 4
# Second built-in serial port #exclude irq 3 # First built-in parallel portexclude irq 7 #
dmesg output (two subsequent card insertions): Linux PCMCIA Card Services 3.1.11 kernel build: 2.2.14 unknown options: [pci] [cardbus] [apm] [pnp] PCI routing table version 1.0 at 0xfdf60 PnP: PNP BIOS installation structure at 0xc00f7170 PnP: PNP BIOS version 1.0, entry at f0000:a554, dseg at 400 Intel PCIC probe: TI 1225 PCI-to-CardBus at slot 00:04, mem 0x68000000 host opts : [serial pci & irq] [pci irq 11] [lat 64/32] [bus 32/34] host opts : [serial pci & irq] [pci irq 11] [lat 64/32] [bus 35/37] ISA irqs (scanned) = 3,9,10 PCI status changes cs: IO port probe 0x1050-0x17ff: clean. cs: IO port probe 0x1000-0x103f: clean. cs: IO port probe 0x0200-0x036f: clean. cs: IO port probe 0x0100-0x016f: clean. cs: IO port probe 0x0a00-0x0aff: clean.cs: cb_alloc(bus 35): vendor 0x1011, device 0x0019 cs: cb_config(bus 35) fn 0 bar 1: io 0x200-0x27f fn 0 bar 2: mem 0x80c0000-0x80c03ff fn 0 rom: mem 0x8080000-0x80bffff cs: cb_enable(bus 35) bridge io map 0 (flags 0x21): 0x200-0x27f bridge mem map 0 (flags 0x1): 0x8080000-0x80c0fff tulip_reap() tulip_attach(bus 35, function 0) tulip.c:v0.91g-ppc 7/16/99 firstname.lastname@example.org (modified by email@example.com i-magdeburg.de for XIRCOM CBE, fixed by Doug Ledford) eth0: Digital DS21143 Tulip rev 65 at 0x200,<7>cs: cb_disable(bus 35) cs: cb_release(bus 35) EEPROM not present, 00:4C:69:6E:75:79, IRQ 11. eth0: Missing EEPROM, this interface may not work correctly! cs: cb_free(bus 35) cs: cb_alloc(bus 35): vendor 0x1011, device 0x0019 cs: cb_config(bus 35) fn 0 bar 1: io 0x280-0x2ff fn 0 bar 2: mem 0x80c0000-0x80c03ff fn 0 rom: mem 0x8080000-0x80bffff cs: cb_enable(bus 35) bridge io map 0 (flags 0x21): 0x280-0x2ff bridge mem map 0 (flags 0x1): 0x8080000-0x80c0fff tulip_reap() tulip_attach(bus 35, function 0) eth1: Digital DS21143 Tulip rev 65 at 0x280, 00:E0:98:75:08:67, IRQ 11. eth1: EEPROM default media type Autosense. eth1: Index #0 - Media MII (#11) described by a 21142 MII PHY (3) block. eth1: MII transceiver #0 config 3000 status 7809 advertising 01e1.
I really do not know what i am doing wrong here. And i also do not know what is the difference in the rare cases it works.