Oi,
I have found a kernel bug: On my Asus S8600 I cannot hot-plug PCMCIA
cards, the machine crashes very often when plugging in a card and nearly
always when removing one. I have tested this under Mandrake 8.2RC1 with
the kernel-2.4.18.5mdk-1-1mdk. The cards which I have used are a
SmartMedia adapter from Olympus (with 64MB SmartMedia card, uses ide_cs
kernel module) and a modem which uses the serial_cs kernel module. The
CardBus controller of the notebook is a Texas Instruments PCI1451 (uses
the yenta_socket module). I have attached the output of "lspcidrake -v",
"lspci -vvv", and "lsmod". Having a card plugged during boot is no
problem, one can use the card normally. Also when one succeeds adding a
card after boot (it does not crash always) the card works. So only the
hot-plugging is a problem.
Till
unknown : Intel|82440MX CPU to I/O Controller [BRIDGE_HOST] (vendor:8086
device:7194)
unknown : Intel Corporation|82440 - 443MX AC97 Modem Controller (Winmodem)
[COMMUNICATION_MODEM] (vendor:8086 device:7196 subv:1043 subd:1436)
Card:SMI Lynx (generic): Silicon Motion, Inc.|SM720 Lynx3DM [DISPLAY_VGA] (vendor:126f
device:0720 subv:1043 subd:1332)
maestro3 : ESS Technology|ES1988 Allegro-1 [MULTIMEDIA_AUDIO] (vendor:125d
device:1988 subv:1043 subd:1049)
unknown : Intel|82440MX PCI to ISA Bridge [BRIDGE_ISA] (vendor:8086
device:7198)
unknown : Intel|82440MX EIDE Controller [STORAGE_IDE] (vendor:8086 device:7199)
usb-uhci : unknown (8086/719a/ffff/ffff) [SERIAL_USB]
unknown : Intel|82440MX Power Management Controller [BRIDGE_OTHER]
(vendor:8086 device:719b)
8139too : Realtek|RTL-8139 [NETWORK_ETHERNET] (vendor:10ec device:8139
subv:1043 subd:1045)
yenta_socket : Texas Instruments|PCI1451 PC card Cardbus Controller
[BRIDGE_CARDBUS] (vendor:104c device:ac52 subv:4000 subd:0000)
yenta_socket : Texas Instruments|PCI1451 PC card Cardbus Controller
[BRIDGE_CARDBUS] (vendor:104c device:ac52 subv:4800 subd:0000)
unknown : Virtual|Hub [] (vendor:0000 device:0000)
unknown : MITSUMI |MITSUMI USB FDD [Mass Storage|Floppy
(UFI)|Control/Bulk/Interrupt] (vendor:03ee device:6901)
00:00.0 Host bridge: Intel Corp. 82440MX I/O Controller (rev 01)
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping-
SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort-
<MAbort+ >SERR- <PERR-
Latency: 64
00:00.2 Modem: Intel Corp.: Unknown device 7196 (prog-if 00 [Generic])
Subsystem: Asustek Computer, Inc.: Unknown device 1436
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping-
SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
Latency: 0
Interrupt: pin B routed to IRQ 5
Region 0: I/O ports at 1000 [size=256]
Region 1: I/O ports at 1c00 [size=128]
00:02.0 VGA compatible controller: Silicon Motion, Inc. SM720 Lynx3DM (rev b1)
(prog-if 00 [VGA])
Subsystem: Asustek Computer, Inc.: Unknown device 1332
Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV+ VGASnoop- ParErr- Stepping-
SERR- FastB2B-
Status: Cap+ 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
Latency: 64
Interrupt: pin A routed to IRQ 11
Region 0: Memory at f8000000 (32-bit, non-prefetchable) [size=64M]
Capabilities: <available only to root>
00:06.0 Multimedia audio controller: ESS Technology ES1988 Allegro-1 (rev 12)
Subsystem: Asustek Computer, Inc.: Unknown device 1049
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping-
SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
Latency: 64 (500ns min, 6000ns max)
Interrupt: pin A routed to IRQ 5
Region 0: I/O ports at 1400 [size=256]
Capabilities: <available only to root>
00:07.0 ISA bridge: Intel Corp. 82440MX PCI to ISA Bridge (rev 01)
Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping-
SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
Latency: 0
00:07.1 IDE interface: Intel Corp. 82440MX EIDE Controller (prog-if 80 [Master])
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping-
SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
Latency: 64
Region 4: I/O ports at 1ca0 [size=16]
00:07.2 USB Controller: Intel Corp. 82440MX USB Universal Host Controller (prog-if 00
[UHCI])
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping-
SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
Latency: 64
Interrupt: pin D routed to IRQ 11
Region 4: I/O ports at 1c80 [size=32]
00:07.3 Bridge: Intel Corp. 82440MX Power Management Controller
Control: I/O+ Mem+ BusMaster- SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping-
SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
00:09.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139 (rev 10)
Subsystem: Asustek Computer, Inc.: Unknown device 1045
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping-
SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
Latency: 64 (8000ns min, 16000ns max)
Interrupt: pin A routed to IRQ 11
Region 0: I/O ports at 1800 [size=256]
Region 1: Memory at fc000000 (32-bit, non-prefetchable) [size=256]
Capabilities: <available only to root>
00:0c.0 CardBus bridge: Texas Instruments PCI1451 PC card Cardbus Controller
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping-
SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
Latency: 168, cache line size 08
Interrupt: pin A routed to IRQ 11
Region 0: Memory at 10000000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=00, secondary=01, subordinate=04, sec-latency=176
Memory window 0: 10400000-107ff000 (prefetchable)
Memory window 1: 10800000-10bff000
I/O window 0: 00004000-000040ff
I/O window 1: 00004400-000044ff
BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset+ 16bInt+ PostWrite+
00:0c.1 CardBus bridge: Texas Instruments PCI1451 PC card Cardbus Controller
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping-
SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
Latency: 168, cache line size 08
Interrupt: pin B routed to IRQ 5
Region 0: Memory at 10001000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=00, secondary=05, subordinate=08, sec-latency=176
Memory window 0: 10c00000-10fff000 (prefetchable)
Memory window 1: 11000000-113ff000
I/O window 0: 00004800-000048ff
I/O window 1: 00004c00-00004cff
BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset+ 16bInt+ PostWrite+
Module Size Used by Not tainted
sr_mod 15160 0 (autoclean) (unused)
sd_mod 11644 0 (autoclean)
autofs4 9252 3 (autoclean)
maestro3 25352 0
soundcore 4068 2 [maestro3]
ac97_codec 9568 0 [maestro3]
nfsd 69536 8 (autoclean)
lockd 49344 1 (autoclean) [nfsd]
sunrpc 62964 1 (autoclean) [nfsd lockd]
lp 6464 0 (autoclean) (unused)
parport 23968 0 (autoclean) [lp]
serial_cs 4480 0 (unused)
ds 6848 2 [serial_cs]
yenta_socket 9344 2
pcmcia_core 41824 0 [serial_cs ds yenta_socket]
af_packet 12488 1 (autoclean)
ip_vs 65400 0 (autoclean)
printer 5824 0 (unused)
usb-uhci 21668 0 (unused)
8139too 14336 1 (autoclean)
mii 1360 0 (autoclean) [8139too]
supermount 62180 2 (autoclean)
ide-scsi 8032 0
usb-storage 52236 0
scsi_mod 92488 4 [sr_mod sd_mod ide-scsi usb-storage]
usbcore 59072 1 [printer usb-uhci usb-storage]
rtc 5912 0 (autoclean)
ext3 62092 4
jbd 39356 4 [ext3]