Ooops: PCMCIA 3c575 and 2.3.33

Serge Robyns (serge.robyns@advalvas.be)
Sat, 18 Dec 1999 12:01:46 +0100


This is a multi-part message in MIME format.
--------------818B964B4A31A326F2A27A38
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,

I've a reproducible problem wth the PCMCIA 3c575 network cardon 2.3 kernels.
Since 2.3.33 it looks more stable but when I remove the card from the slot I
always get
a kernel panic oops. This happens if the card actually is hooked up to the
network or not.
Below you will find a part of the screenshot.
Also when looking to the driver code I found a supsisious #elif ... part in
the code, which seems to
come from the pre 2.3 pcmcia package.
I patched the driver to elimintaed the elif and following few lines but they
seem not to help.

=============================
c0156da1
Ooops : 0002
CPU : 0
EIP : 0010 [<c0156da1>]
EFLAGS: 00010296
eax: 3a ebx: c01fff60 ecx: 632800 edx: c6329f84
esi: 15 edi: c5fb800 epb: c5bfb800 esp: Co211e3c
ds: 18 es:18 ss:18
process swapper (pid 0, stackpage = c0211000)
Stack: ...
Call trace: ....

Code : C7 05 00 00 00 00 00 00 00 00 83 c4 08 83 e6 fe 56 a1 84 0b
Aaie, killing interupt handler
kernel panic : Attempted to kill idle task
In swapper task - not syncing
=========================================

Sincerly,

Serge

--
 _______________
/               \
|  Serge Robyns  \_______________________________
|                                                \
| RC&S (Robyns Consulting & Services)             \
| 139, avenue De Fre                               |
| 1180 Uccle - Belgium                             |
|                         \|/                      |
| phone: +32(477)29.66.97 -O- fax: +1(801)469-9358 |
|                         /|\                      |
|                                                  |
|   \|/   mailto:serge.robyns@advalvas.be   \|/    |
\___/o\____ http://web.wanadoo.be/rc.s/ ____/o\____/

--------------818B964B4A31A326F2A27A38 Content-Type: text/plain; charset=us-ascii; name="patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="patch"

--- 3c575_cb.c.orig Sat Dec 18 10:57:26 1999 +++ 3c575_cb.c Sat Dec 18 10:57:36 1999 @@ -688,10 +688,6 @@ struct pci_dev *pdev = pci_find_slot(pci_bus, pci_device_fn); ioaddr = pdev->resource[0].start; irq = pdev->irq; -#elif LINUX_VERSION_CODE >= 0x20155 - struct pci_dev *pdev = pci_find_slot(pci_bus, pci_device_fn); - ioaddr = pdev->base_address[0] & ~3; - irq = pdev->irq; } if (ioaddr == 0) {

--------------818B964B4A31A326F2A27A38--

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