[BUG] 2.6.3 + hp100 -> Oops

From: Jean Tourrilhes
Date: Wed Feb 18 2004 - 15:18:16 EST


Hi,

Maybe it would be a good idea to fix or revert the hp100 patch
that went into 2.6.3 :

----------------------------------------------------------
# modprobe hp100
FATAL: Error inserting hp100 (/lib/modules/2.6.3/kernel/drivers/net/hp100.ko): No such device
# dmesg
[...]
hp100: Busmaster mode enabled.
hp100: at 0xf400, IRQ 16, PCI bus, 32k SRAM (rx/tx 75%).
hp100: Adapter is attached to 100Mb/s Voice Grade AnyLAN network.
# cat /proc/net/dev
Segmentation fault
# dmesg
[...]
hp100: Busmaster mode enabled.
hp100: at 0xf400, IRQ 16, PCI bus, 32k SRAM (rx/tx 75%).
hp100: Adapter is attached to 100Mb/s Voice Grade AnyLAN network.
Unable to handle kernel paging request at virtual address d086648c
printing eip:
d086648c
*pde = 0fda1067
*pte = 00000000
Oops: 0000 [#1]
CPU: 1
EIP: 0060:[<d086648c>] Not tainted
EFLAGS: 00010282
EIP is at 0xd086648c
eax: d086648c ebx: ccf6b000 ecx: fffffffd edx: cfb99000
esi: c139cca0 edi: ccf6b000 ebp: 000001be esp: c90b5f20
ds: 007b es: 007b ss: 0068
Process cat (pid: 511, threadinfo=c90b4000 task=c9080670)
Stack: c01ee394 ccf6b000 c139cca0 00000000 c01ee46d c139cca0 ccf6b000 c139cca0
00000000 ccf6b000 c0167d60 c139cca0 ccf6b000 00000000 c55888e0 c5588900
00000400 c139ccb8 00000000 00000003 00000000 00000002 00000000 c014cf1c
Call Trace:
[<c01ee394>] dev_seq_printf_stats+0x14/0x94
[<c01ee46d>] dev_seq_show+0x59/0x64
[<c0167d60>] seq_read+0x1bc/0x2fc
[<c014cf1c>] vfs_read+0x9c/0xcc
[<c014d0fd>] sys_read+0x31/0x4c
[<c0108c33>] syscall_call+0x7/0xb

Code: Bad EIP value.

---------------------------------------------------------------

After that, the whole system is mostly unusable and doesn't
reboot cleanly.
This is with a PCI card. Looking at the changes, they would
also require testing with a ISA card (which I don't have in my box at
the moment).

2.6.2 works perfectly. This is what 2.6.2 looks like :
---------------------------------------------
hp100: eth1: Busmaster mode enabled.
hp100: eth1: HP J2585B at 0xf400, IRQ 16, PCI bus, 32k SRAM (rx/tx 75%).
hp100: eth1: Adapter is attached to 100Mb/s Voice Grade AnyLAN network.
---------------------------------------------
Also :
-----------------------------------
00:12.0 Ethernet controller: Hewlett-Packard Company J2585B
Subsystem: Hewlett-Packard Company J2585B DeskDirect 10/100VG NIC
Flags: bus master, medium devsel, latency 64, IRQ 16
I/O ports at f400 [size=256]
Memory at fedfc000 (32-bit, non-prefetchable) [disabled] [size=8K]
-----------------------------------

Have fun...

Jean

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