2001-02-02 00:09:44

by Roeland Th. Jansen

[permalink] [raw]
Subject: hard crashes 2.4.0/1 with NE2K stuff

2.4.1. rebuilt here and with a floodping towards my machine causes a
hard crash where nothing works anymore.

just before it happens :

Feb 1 13:07:24 grobbebol kernel: NETDEV WATCHDOG: eth0: transmit timed out
Feb 1 13:07:24 grobbebol kernel: eth0: Tx timed out, lost interrupt? TSR=0x3, ISR=0x3, t=21.
Feb 1 13:07:36 grobbebol kernel: NETDEV WATCHDOG: eth0: transmit timed out
Feb 1 13:07:36 grobbebol kernel: eth0: Tx timed out, lost interrupt? TSR=0x3, ISR=0xb7, t=38.
Feb 1 13:07:41 grobbebol kernel: NETDEV WATCHDOG: eth0: transmit timed out
Feb 1 13:07:41 grobbebol kernel: eth0: Tx timed out, lost interrupt? TSR=0x3, ISR=0xb7, t=38.
Feb 1 13:07:43 grobbebol kernel: NETDEV WATCHDOG: eth0: transmit timed out
Feb 1 13:07:43 grobbebol kernel: eth0: Tx timed out, lost interrupt? TSR=0x3, ISR=0x97, t=118.
Feb 1 13:07:45 grobbebol kernel: NETDEV WATCHDOG: eth0: transmit timed out
Feb 1 13:07:45 grobbebol kernel: eth0: Tx timed out, lost interrupt? TSR=0x3, ISR=0x97, t=118.
Feb 1 13:07:46 grobbebol kernel: NETDEV WATCHDOG: eth0: transmit timed out
Feb 1 13:07:46 grobbebol kernel: eth0: Tx timed out, lost interrupt? TSR=0x3, ISR=0x97, t=38.


note that it doesn't happen when 2.2.19pre* is used. Still some work
there to do.

the used board BP6 (abit), apics enabled. non-overclocked. card is a

00:09.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL-8029(AS)

IRQ:

19: 6851 7642 IO-APIC-level eth0

I assume Franks suggestions didn't get into the kernel ?
--
Grobbebol's Home | Don't give in to spammers. -o)
http://www.xs4all.nl/~bengel | Use your real e-mail address /\
Linux 2.2.16 SMP 2x466MHz / 256 MB | on Usenet. _\_v


2001-02-02 00:26:47

by Alan

[permalink] [raw]
Subject: Re: hard crashes 2.4.0/1 with NE2K stuff

> the used board BP6 (abit), apics enabled. non-overclocked. card is a
>
> 00:09.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
> RTL-8029(AS)

Try 2.4.1ac - that should fix it

2001-02-02 09:28:20

by Roeland Th. Jansen

[permalink] [raw]
Subject: Re: hard crashes 2.4.0/1 with NE2K stuff

On Fri, Feb 02, 2001 at 12:13:45AM +0000, Alan Cox wrote:
> > the used board BP6 (abit), apics enabled. non-overclocked. card is a
> >
> > 00:09.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
> > RTL-8029(AS)
>
> Try 2.4.1ac - that should fix it

ok, downloading the -ac1 patch; I'll report.

--
Grobbebol's Home | Don't give in to spammers. -o)
http://www.xs4all.nl/~bengel | Use your real e-mail address /\
Linux 2.2.16 SMP 2x466MHz / 256 MB | on Usenet. _\_v

2001-02-02 11:36:21

by Roeland Th. Jansen

[permalink] [raw]
Subject: Re: hard crashes 2.4.0/1 with NE2K stuff

On Fri, Feb 02, 2001 at 12:13:45AM +0000, Alan Cox wrote:
> > the used board BP6 (abit), apics enabled. non-overclocked. card is a
> >
> > 00:09.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
> > RTL-8029(AS)
>
> Try 2.4.1ac - that should fix it

ok, it doesn't crash (the first test) but.... the ne2k also doesn't work
anymore after approx 1000 interrupts.

I'll see if normal use (e.g. no floodping) helps here.
[later.... xferred approx 300 MBytes. initially looks "good"]

--
Grobbebol's Home | Don't give in to spammers. -o)
http://www.xs4all.nl/~bengel | Use your real e-mail address /\
Linux 2.2.16 SMP 2x466MHz / 256 MB | on Usenet. _\_v

2001-02-02 13:52:54

by Frank de Lange

[permalink] [raw]
Subject: Re: hard crashes 2.4.0/1 with NE2K stuff

> 2.4.1. rebuilt here and with a floodping towards my machine causes a
> hard crash where nothing works anymore.

I'm currently running 2.4.1 with Maciej's patch-2.4.0-io_apic-4. Additionally,
I disabled focus_processor in apic.c to get rid of some network delays. Flood
pings both from and to this system do not cause any problems, other than making
the streaming audio sound a bit choppy...

Box is a dual-celeron (466, non-overclocked) BP-6 with two ne2k (Winbond
W89C940 based) cards sharing an interrupt.

Maybe that works for you as well?

Cheers//Frank

--
WWWWW _______________________
## o o\ / Frank de Lange \
}# \| / \
##---# _/ <Hacker for Hire> \
#### \ +31-320-252965 /
\ [email protected] /
-------------------------
[ "Omnis enim res, quae dando non deficit, dum habetur
et non datur, nondum habetur, quomodo habenda est." ]

2001-02-02 13:59:54

by mirabilos

[permalink] [raw]
Subject: Re: hard crashes 2.4.0/1 with NE2K stuff

----- Original Message -----
From: "Roeland Th. Jansen" <[email protected]>
To: <[email protected]>
Sent: Thursday, February 01, 2001 11:16 PM
Subject: hard crashes 2.4.0/1 with NE2K stuff


> 2.4.1. rebuilt here and with a floodping towards my machine causes a
> hard crash where nothing works anymore.
>
> just before it happens :
>
> Feb 1 13:07:24 grobbebol kernel: NETDEV WATCHDOG: eth0: transmit timed out
> Feb 1 13:07:24 grobbebol kernel: eth0: Tx timed out, lost interrupt? TSR=0x3, ISR=0x3, t=21.
> Feb 1 13:07:36 grobbebol kernel: NETDEV WATCHDOG: eth0: transmit timed out
> Feb 1 13:07:36 grobbebol kernel: eth0: Tx timed out, lost interrupt? TSR=0x3, ISR=0xb7, t=38.
> Feb 1 13:07:41 grobbebol kernel: NETDEV WATCHDOG: eth0: transmit timed out
> Feb 1 13:07:41 grobbebol kernel: eth0: Tx timed out, lost interrupt? TSR=0x3, ISR=0xb7, t=38.
> Feb 1 13:07:43 grobbebol kernel: NETDEV WATCHDOG: eth0: transmit timed out
> Feb 1 13:07:43 grobbebol kernel: eth0: Tx timed out, lost interrupt? TSR=0x3, ISR=0x97, t=118.
> Feb 1 13:07:45 grobbebol kernel: NETDEV WATCHDOG: eth0: transmit timed out
> Feb 1 13:07:45 grobbebol kernel: eth0: Tx timed out, lost interrupt? TSR=0x3, ISR=0x97, t=118.
> Feb 1 13:07:46 grobbebol kernel: NETDEV WATCHDOG: eth0: transmit timed out
> Feb 1 13:07:46 grobbebol kernel: eth0: Tx timed out, lost interrupt? TSR=0x3, ISR=0x97, t=38.
>
>
> note that it doesn't happen when 2.2.19pre* is used. Still some work
> there to do.
>
> the used board BP6 (abit), apics enabled. non-overclocked. card is a
>
> 00:09.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
> RTL-8029(AS)
>
> IRQ:
>
> 19: 6851 7642 IO-APIC-level eth0
>
> I assume Franks suggestions didn't get into the kernel ?


I have UP P133/56MB, 2.4.1-vanilla, some config changes.
NE2K works fine for me though software watchdog enabled.
I didn't strain test it yet, but will do l8er.

-mirabilos

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12+(proprietary extensions) # Updated:20010129 nick=mirabilos
GO/S d@ s--: a--- C++ UL++++ P--- L++$(-^lang) E----(joe) W+(++) loc=.de
N? o K? w-(+$) O+>+++ M-- V- PS+++@ PE(--) Y+ PGP t+ 5? X+ R+ !tv(silly)
b++++* DI- D+ G(>++) e(^age) h! r(-) y--(!y+) /* lang=NASM;GW-BASIC;C */
------END GEEK CODE BLOCK------


2001-02-02 14:57:02

by Roeland Th. Jansen

[permalink] [raw]
Subject: Re: hard crashes 2.4.0/1 with NE2K stuff

On Fri, Feb 02, 2001 at 02:52:16PM +0100, Frank de Lange wrote:
> I'm currently running 2.4.1 with Maciej's patch-2.4.0-io_apic-4. Additionally,
> I disabled focus_processor in apic.c to get rid of some network delays. Flood
> pings both from and to this system do not cause any problems, other than making
> the streaming audio sound a bit choppy...

ok, just loaded 2.4.1 again with Maciej's patch. works fine but here too
-- flood ping kills the ethernet stuff in a few seconds. in fact, within
approx 800 interrupts. the god news is that teh system stays alive, just
as with Alan's -ac1 version.

ok, here is the list

2.4.0 stock floodping received crash
2.4.1 stock crash

2.4.1 + patch ok, but ethernet dies
2.4.1-ac1 same


--
Grobbebol's Home | Don't give in to spammers. -o)
http://www.xs4all.nl/~bengel | Use your real e-mail address /\
Linux 2.2.16 SMP 2x466MHz / 256 MB | on Usenet. _\_v

2001-02-02 20:59:01

by Maciej W. Rozycki

[permalink] [raw]
Subject: Re: hard crashes 2.4.0/1 with NE2K stuff

On Fri, 2 Feb 2001, Roeland Th. Jansen wrote:

> ok, just loaded 2.4.1 again with Maciej's patch. works fine but here too
> -- flood ping kills the ethernet stuff in a few seconds. in fact, within
> approx 800 interrupts. the god news is that teh system stays alive, just
> as with Alan's -ac1 version.

Could you please apply the following patch, wait for a lockup, then hit
SysRq+A (you need to have CONFIG_MAGIC_SYSRQ enabled) and send me the
resulting output? You need to include debug messages, so I recommend to
use `dmesg' for getting the log.

I'd like to know if the conditions are the same as previously.

Maciej

--
+ Maciej W. Rozycki, Technical University of Gdansk, Poland +
+--------------------------------------------------------------+
+ e-mail: [email protected], PGP key available +

patch-2.4.0-test11-pic_debug-0
diff -up --recursive --new-file linux-2.4.0-test11.macro/arch/i386/kernel/io_apic.c linux-2.4.0-test11/arch/i386/kernel/io_apic.c
--- linux-2.4.0-test11.macro/arch/i386/kernel/io_apic.c Thu Oct 5 21:08:17 2000
+++ linux-2.4.0-test11/arch/i386/kernel/io_apic.c Sun Nov 26 12:39:01 2000
@@ -692,7 +692,7 @@ void __init UNEXPECTED_IO_APIC(void)
printk(KERN_WARNING " to [email protected]\n");
}

-void __init print_IO_APIC(void)
+void /*__init*/ print_IO_APIC(void)
{
int apic, i;
struct IO_APIC_reg_00 reg_00;
diff -up --recursive --new-file linux-2.4.0-test11.macro/drivers/char/sysrq.c linux-2.4.0-test11/drivers/char/sysrq.c
--- linux-2.4.0-test11.macro/drivers/char/sysrq.c Tue Nov 14 10:24:52 2000
+++ linux-2.4.0-test11/drivers/char/sysrq.c Sun Nov 26 12:42:11 2000
@@ -72,6 +72,15 @@ void handle_sysrq(int key, struct pt_reg
console_loglevel = 7;
printk(KERN_INFO "SysRq: ");
switch (key) {
+ case 'a':
+ printk("\n");
+ printk("print_PIC()\n");
+ print_PIC();
+ printk("print_IO_APIC()\n");
+ print_IO_APIC();
+ printk("print_all_local_APICs()\n");
+ print_all_local_APICs();
+ break;
case 'r': /* R -- Reset raw mode */
if (kbd) {
kbd->kbdmode = VC_XLATE;

2001-02-03 11:42:05

by Roeland Th. Jansen

[permalink] [raw]
Subject: Re: hard crashes 2.4.0/1 with NE2K stuff

On Fri, Feb 02, 2001 at 09:42:30PM +0100, Maciej W. Rozycki wrote:
> Could you please apply the following patch, wait for a lockup, then hit
> SysRq+A (you need to have CONFIG_MAGIC_SYSRQ enabled) and send me the
> resulting output? You need to include debug messages, so I recommend to
> use `dmesg' for getting the log.
>
> I'd like to know if the conditions are the same as previously.

ok. the conditions are this :


2.4.1 with your APIC patch & the sysrq-a addition.

the system doesn't lock up anymore with your patch as mentioned before.
what does happen is that the ne2k doesn't react anymore (eth0 dead).

I have sysrq'd twice. the first one is the one where it works, then,
after a floodping of only 5 seconds, eth0 stops working. the floodping
is generated from outside towards this machine. then again I sysrq'd/
here are the results. I glued dmesg from begin to end so that all
messages are visible from boot time. pls explain what you find :-)


Linux version 2.4.1 (root@grobbebol) (gcc version 2.95.2 19991024 (release)) #5 SMP Sat Feb 3 11:02:44 GMT 2001
BIOS-provided physical RAM map:
BIOS-e820: 000000000009fc00 @ 0000000000000000 (usable)
BIOS-e820: 0000000000000400 @ 000000000009fc00 (usable)
BIOS-e820: 0000000000010000 @ 00000000000f0000 (reserved)
BIOS-e820: 0000000000001000 @ 00000000fec00000 (reserved)
BIOS-e820: 0000000000001000 @ 00000000fee00000 (reserved)
BIOS-e820: 0000000000010000 @ 00000000ffff0000 (reserved)
BIOS-e820: 000000000ff00000 @ 0000000000100000 (usable)
Scan SMP from c0000000 for 1024 bytes.
Scan SMP from c009fc00 for 1024 bytes.
Scan SMP from c00f0000 for 65536 bytes.
found SMP MP-table at 000f5ae0
hm, page 000f5000 reserved twice.
hm, page 000f6000 reserved twice.
hm, page 000f1000 reserved twice.
hm, page 000f2000 reserved twice.
On node 0 totalpages: 65536
zone(0): 4096 pages.
zone(1): 61440 pages.
zone(2): 0 pages.
Intel MultiProcessor Specification v1.4
Virtual Wire compatibility mode.
OEM ID: OEM00000 Product ID: PROD00000000 APIC at: 0xFEE00000
Processor #0 Pentium(tm) Pro APIC version 17
Floating point unit present.
Machine Exception supported.
64 bit compare & exchange supported.
Internal APIC present.
SEP present.
MTRR present.
PGE present.
MCA present.
CMOV present.
Bootup CPU
Processor #1 Pentium(tm) Pro APIC version 17
Floating point unit present.
Machine Exception supported.
64 bit compare & exchange supported.
Internal APIC present.
SEP present.
MTRR present.
PGE present.
MCA present.
CMOV present.
Bus #0 is PCI
Bus #1 is PCI
Bus #2 is ISA
I/O APIC #2 Version 17 at 0xFEC00000.
Int: type 3, pol 0, trig 0, bus 2, IRQ 00, APIC ID 2, APIC INT 00
Int: type 0, pol 0, trig 0, bus 2, IRQ 01, APIC ID 2, APIC INT 01
Int: type 0, pol 0, trig 0, bus 2, IRQ 00, APIC ID 2, APIC INT 02
Int: type 0, pol 0, trig 0, bus 2, IRQ 03, APIC ID 2, APIC INT 03
Int: type 0, pol 0, trig 0, bus 2, IRQ 04, APIC ID 2, APIC INT 04
Int: type 0, pol 0, trig 0, bus 2, IRQ 05, APIC ID 2, APIC INT 05
Int: type 0, pol 0, trig 0, bus 2, IRQ 06, APIC ID 2, APIC INT 06
Int: type 0, pol 0, trig 0, bus 2, IRQ 07, APIC ID 2, APIC INT 07
Int: type 0, pol 1, trig 1, bus 2, IRQ 08, APIC ID 2, APIC INT 08
Int: type 0, pol 0, trig 0, bus 2, IRQ 0a, APIC ID 2, APIC INT 0a
Int: type 0, pol 0, trig 0, bus 2, IRQ 0b, APIC ID 2, APIC INT 0b
Int: type 0, pol 0, trig 0, bus 2, IRQ 0d, APIC ID 2, APIC INT 0d
Int: type 0, pol 0, trig 0, bus 2, IRQ 0e, APIC ID 2, APIC INT 0e
Int: type 0, pol 0, trig 0, bus 2, IRQ 0f, APIC ID 2, APIC INT 0f
Int: type 0, pol 3, trig 3, bus 0, IRQ 1f, APIC ID 2, APIC INT 13
Int: type 0, pol 3, trig 3, bus 0, IRQ 24, APIC ID 2, APIC INT 13
Int: type 0, pol 3, trig 3, bus 0, IRQ 2c, APIC ID 2, APIC INT 12
Int: type 0, pol 3, trig 3, bus 0, IRQ 4c, APIC ID 2, APIC INT 12
Int: type 0, pol 3, trig 3, bus 0, IRQ 4d, APIC ID 2, APIC INT 12
Int: type 0, pol 3, trig 3, bus 1, IRQ 00, APIC ID 2, APIC INT 10
Int: type 2, pol 0, trig 0, bus 2, IRQ 00, APIC ID 2, APIC INT 17
Lint: type 3, pol 0, trig 0, bus 0, IRQ 00, APIC ID ff, APIC LINT 00
Lint: type 1, pol 0, trig 0, bus 0, IRQ 00, APIC ID ff, APIC LINT 01
Processors: 2
mapped APIC to ffffe000 (fee00000)
mapped IOAPIC to ffffd000 (fec00000)
Kernel command line: BOOT_IMAGE=linux ro root=302
Initializing CPU#0
Detected 467.732 MHz processor.
Console: colour VGA+ 132x43
Calibrating delay loop... 933.88 BogoMIPS
Memory: 255540k/262144k available (939k kernel code, 6216k reserved, 391k data, 204k init, 0k highmem)
Dentry-cache hash table entries: 32768 (order: 6, 262144 bytes)
Buffer-cache hash table entries: 16384 (order: 4, 65536 bytes)
Page-cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 16384 (order: 5, 131072 bytes)
VFS: Diskquotas version dquot_6.4.0 initialized
CPU: Before vendor init, caps: 0183fbff 00000000 00000000, vendor = 0
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 128K
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: After vendor init, caps: 0183fbff 00000000 00000000 00000000
CPU: After generic, caps: 0183fbff 00000000 00000000 00000000
CPU: Common caps: 0183fbff 00000000 00000000 00000000
Enabling fast FPU save and restore... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.37 (20001109) Richard Gooch ([email protected])
mtrr: detected mtrr type: Intel
CPU: Before vendor init, caps: 0183fbff 00000000 00000000, vendor = 0
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 128K
Intel machine check reporting enabled on CPU#0.
CPU: After vendor init, caps: 0183fbff 00000000 00000000 00000000
CPU: After generic, caps: 0183fbff 00000000 00000000 00000000
CPU: Common caps: 0183fbff 00000000 00000000 00000000
CPU0: Intel Celeron (Mendocino) stepping 05
per-CPU timeslice cutoff: 365.67 usecs.
Getting VERSION: 40011
Getting VERSION: 40011
Getting ID: 0
Getting ID: f000000
Getting LVT0: 700
Getting LVT1: 400
enabled ExtINT on CPU#0
ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
CPU present map: 3
Booting processor 1/1 eip 2000
Setting warm reset code and vector.
1.
2.
3.
Asserting INIT.
Waiting for send to finish...
+Deasserting INIT.
Waiting for send to finish...
+#startup loops: 2.
Sending STARTUP #1.
After apic_write.
Initializing CPU#1
CPU#1 (phys ID: 1) waiting for CALLOUT
Startup point 1.
Waiting for send to finish...
+Sending STARTUP #2.
After apic_write.
Startup point 1.
Waiting for send to finish...
+After Startup.
Before Callout 1.
After Callout 1.
CALLIN, before setup_local_APIC().
masked ExtINT on CPU#1
ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
Calibrating delay loop... 933.88 BogoMIPS
Stack at about c15fffbc
CPU: Before vendor init, caps: 0183fbff 00000000 00000000, vendor = 0
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 128K
Intel machine check reporting enabled on CPU#1.
CPU: After vendor init, caps: 0183fbff 00000000 00000000 00000000
CPU: After generic, caps: 0183fbff 00000000 00000000 00000000
CPU: Common caps: 0183fbff 00000000 00000000 00000000
OK.
CPU1: Intel Celeron (Mendocino) stepping 05
CPU has booted.
Before bogomips.
Total of 2 processors activated (1867.77 BogoMIPS).
Before bogocount - setting activated=1.
Boot done.
ENABLING IO-APIC IRQs
...changing IO-APIC physical APIC ID to 2 ... ok.
Synchronizing Arb IDs.
init IO_APIC IRQs
IO-APIC (apicid-pin) 2-0, 2-9, 2-12, 2-17, 2-20, 2-21, 2-22, 2-23 not connected.
..TIMER: vector=49 pin1=2 pin2=0
activating NMI Watchdog ... done.
number of MP IRQ sources: 21.
number of IO-APIC #2 registers: 24.
testing the IO APIC.......................

IO APIC #2......
.... register #00: 02000000
....... : physical APIC id: 02
.... register #01: 00170011
....... : max redirection entries: 0017
....... : IO APIC version: 0011
.... register #02: 00000000
....... : arbitration: 00
.... IRQ redirection table:
NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect:
00 000 00 1 0 0 0 0 0 0 00
01 003 03 0 0 0 0 0 1 1 39
02 003 03 0 0 0 0 0 1 1 31
03 003 03 0 0 0 0 0 1 1 41
04 003 03 0 0 0 0 0 1 1 49
05 003 03 0 0 0 0 0 1 1 51
06 003 03 0 0 0 0 0 1 1 59
07 003 03 0 0 0 0 0 1 1 61
08 003 03 0 0 0 0 0 1 1 69
09 000 00 1 0 0 0 0 0 0 00
0a 003 03 0 0 0 0 0 1 1 71
0b 003 03 0 0 0 0 0 1 1 79
0c 000 00 1 0 0 0 0 0 0 00
0d 000 00 1 0 0 0 0 0 0 00
0e 003 03 0 0 0 0 0 1 1 81
0f 003 03 0 0 0 0 0 1 1 89
10 003 03 1 1 0 1 0 1 1 91
11 000 00 1 0 0 0 0 0 0 00
12 003 03 1 1 0 1 0 1 1 99
13 003 03 1 1 0 1 0 1 1 A1
14 000 00 1 0 0 0 0 0 0 00
15 000 00 1 0 0 0 0 0 0 00
16 000 00 1 0 0 0 0 0 0 00
17 000 00 1 0 0 0 0 0 0 00
IRQ to pin mappings:
IRQ0 -> 2
IRQ1 -> 1
IRQ3 -> 3
IRQ4 -> 4
IRQ5 -> 5
IRQ6 -> 6
IRQ7 -> 7
IRQ8 -> 8
IRQ10 -> 10
IRQ11 -> 11
IRQ13 -> 13
IRQ14 -> 14
IRQ15 -> 15
IRQ16 -> 16
IRQ18 -> 18
IRQ19 -> 19
.................................... done.
calibrating APIC timer ...
..... CPU clock speed is 467.7620 MHz.
..... host bus clock speed is 66.8228 MHz.
cpu: 0, clocks: 668228, slice: 222742
CPU0<T0:668224,T1:445472,D:10,S:222742,C:668228>
cpu: 1, clocks: 668228, slice: 222742
CPU1<T0:668224,T1:222736,D:4,S:222742,C:668228>
checking TSC synchronization across CPUs: passed.
Setting commenced=1, go go go
mtrr: your CPUs had inconsistent fixed MTRR settings
mtrr: probably your BIOS does not setup all CPUs
PCI: PCI BIOS revision 2.10 entry at 0xfb5c0, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
Unknown bridge resource 0: assuming transparent
PCI: Using IRQ router PIIX [8086/7110] at 00:07.0
PCI->APIC IRQ transform: (B0,I7,P3) -> 19
PCI->APIC IRQ transform: (B0,I9,P0) -> 19
PCI->APIC IRQ transform: (B0,I11,P0) -> 18
PCI->APIC IRQ transform: (B0,I19,P0) -> 18
PCI->APIC IRQ transform: (B0,I19,P1) -> 18
PCI->APIC IRQ transform: (B1,I0,P0) -> 16
Limiting direct PCI/PCI transfers.
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
DMI 2.2 present.
41 structures occupying 1111 bytes.
DMI table at 0x000F0800.
BIOS Vendor: Award Software International, Inc.
BIOS Version: 4.51 PG
BIOS Release: 04/20/00
Starting kswapd v1.8
pty: 256 Unix98 ptys configured
block: queued sectors max/low 169730kB/56576kB, 512 slots per queue
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PIIX4: IDE controller on PCI bus 00 dev 39
PIIX4: chipset revision 1
PIIX4: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:pio, hdd:pio
HPT366: onboard version of chipset, pin1=1 pin2=2
HPT366: IDE controller on PCI bus 00 dev 98
HPT366: chipset revision 1
HPT366: not 100% native mode: will probe irqs later
ide2: BM-DMA at 0xd400-0xd407, BIOS settings: hde:pio, hdf:pio
HPT366: IDE controller on PCI bus 00 dev 99
HPT366: chipset revision 1
HPT366: not 100% native mode: will probe irqs later
ide3: BM-DMA at 0xe000-0xe007, BIOS settings: hdg:pio, hdh:pio
hda: ST313021A, ATA DISK drive
hdc: Hewlett-Packard CD-Writer Plus 9100, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: 25434228 sectors (13022 MB) w/512KiB Cache, CHS=25232/16/63, UDMA(33)
Partition check:
hda: hda1 hda2 hda3 hda4
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
Serial driver version 5.02 (2000-08-09) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
ttyS03 at 0x02e8 (irq = 3) is a 16550A
Real Time Clock Driver v1.10d
SCSI subsystem driver Revision: 1.00
scsi: ***** BusLogic SCSI Driver Version 2.1.15 of 17 August 1998 *****
scsi: Copyright 1995-1998 by Leonard N. Zubkoff <[email protected]>
scsi0: Configuring BusLogic Model BT-930 PCI Ultra SCSI Host Adapter
scsi0: Firmware Version: 5.02, I/O Address: 0xC800, IRQ Channel: 18/Level
scsi0: PCI Bus: 0, Device: 11, Address: 0xD8000000, Host Adapter SCSI ID: 7
scsi0: Parity Checking: Enabled, Extended Translation: Enabled
scsi0: Synchronous Negotiation: Fast, Wide Negotiation: Disabled
scsi0: Disconnect/Reconnect: Enabled, Tagged Queuing: Enabled
scsi0: Driver Queue Depth: 255, Scatter/Gather Limit: 128 segments
scsi0: Tagged Queue Depth: Automatic, Untagged Queue Depth: 3
scsi0: Error Recovery Strategy: Default, SCSI Bus Reset: Enabled
scsi0: SCSI Bus Termination: Enabled, SCAM: Disabled
scsi0: *** BusLogic BT-930 Initialized Successfully ***
scsi0 : BusLogic BT-930
Vendor: COMPAQ Model: ST15150N Rev: 5217
Type: Direct-Access ANSI SCSI revision: 02
scsi0: Target 0: Queue Depth 28, Synchronous at 10.0 MB/sec, offset 15
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP: Hash tables configured (established 16384 bind 16384)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 204k freed
Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sda: 8386000 512-byte hdwr sectors (4294 MB)
sda: sda1
reiserfs: checking transaction log (device 08:01) ...
Using tea hash to sort names
reiserfs: using 3.5.x disk format
ReiserFS version 3.6.25
i2c-core.o: i2c core module
i2c-isa.o version 2.5.4 (20001012)
i2c-core.o: adapter ISA main adapter registered as adapter 0.
i2c-isa.o: ISA bus access for i2c modules initialized.
sensors.o version 2.5.4 (20001012)
w83781d.o version 2.5.4 (20001012)
i2c-core.o: driver W83781D sensor driver registered.
i2c-core.o: client [W83782D chip] registered to adapter [ISA main adapter](pos. 0).
scsi1 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: HP Model: CD-Writer+ 9100 Rev: 1.0c
Type: CD-ROM ANSI SCSI revision: 02
ne2k-pci.c:v1.02 10/19/2000 D. Becker/P. Gortmaker
http://www.scyld.com/network/ne2k-pci.html
eth0: RealTek RTL-8029 found at 0xc400, IRQ 19, 00:20:18:54:6F:35.
Adding Swap: 51192k swap-space (priority -1)
SysRq:
print_PIC()

printing PIC contents
... PIC IMR: fffa
... PIC IRR: 0000
... PIC ISR: 0000
... PIC ELCR: 1200
print_IO_APIC()
number of MP IRQ sources: 21.
number of IO-APIC #2 registers: 24.
testing the IO APIC.......................

IO APIC #2......
.... register #00: 02000000
....... : physical APIC id: 02
.... register #01: 00170011
....... : max redirection entries: 0017
....... : IO APIC version: 0011
.... register #02: 01000000
....... : arbitration: 01
.... IRQ redirection table:
NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect:
00 000 00 1 0 0 0 0 0 0 00
01 003 03 0 0 0 0 0 1 1 39
02 003 03 0 0 0 0 0 1 1 31
03 003 03 0 0 0 0 0 1 1 41
04 003 03 0 0 0 0 0 1 1 49
05 003 03 0 0 0 0 0 1 1 51
06 003 03 0 0 0 0 0 1 1 59
07 003 03 0 0 0 0 0 1 1 61
08 003 03 0 0 0 0 0 1 1 69
09 000 00 1 0 0 0 0 0 0 00
0a 003 03 0 0 0 0 0 1 1 71
0b 003 03 0 0 0 0 0 1 1 79
0c 000 00 1 0 0 0 0 0 0 00
0d 000 00 1 0 0 0 0 0 0 00
0e 003 03 0 0 0 0 0 1 1 81
0f 003 03 0 0 0 0 0 1 1 89
10 003 03 1 1 0 1 0 1 1 91
11 000 00 1 0 0 0 0 0 0 00
12 003 03 0 1 0 1 0 1 1 99
13 003 03 0 1 0 1 0 1 1 A1
14 000 00 1 0 0 0 0 0 0 00
15 000 00 1 0 0 0 0 0 0 00
16 000 00 1 0 0 0 0 0 0 00
17 000 00 1 0 0 0 0 0 0 00
IRQ to pin mappings:
IRQ0 -> 2
IRQ1 -> 1
IRQ3 -> 3
IRQ4 -> 4
IRQ5 -> 5
IRQ6 -> 6
IRQ7 -> 7
IRQ8 -> 8
IRQ10 -> 10
IRQ11 -> 11
IRQ13 -> 13
IRQ14 -> 14
IRQ15 -> 15
IRQ16 -> 16
IRQ18 -> 18
IRQ19 -> 19
.................................... done.
print_all_local_APICs()

printing local APIC contents on CPU#0/0:
... APIC ID: 00000000 (0)
... APIC VERSION: 00040011
... APIC TASKPRI: 00000000 (00)
... APIC ARBPRI: 00000000 (00)
... APIC PROCPRI: 00000000
... APIC EOI: 00000000
... APIC LDR: 01000000
... APIC DFR: ffffffff
... APIC SPIV: 000001ff
... APIC ISR field:
0123456789abcdef0123456789abcdef
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
... APIC TMR field:
0123456789abcdef0123456789abcdef
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000001000000
01000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
... APIC IRR field:
0123456789abcdef0123456789abcdef
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000010000000000000000
... APIC ESR: 00000000
... APIC ICR: 000008fc
... APIC ICR2: 02000000
... APIC LVTT: 000200ef
... APIC LVTPC: 00010000
... APIC LVT0: 00000400
... APIC LVT1: 00000400
... APIC LVTERR: 000000fe
... APIC TMICT: 0000a324
... APIC TMCCT: 000090ee
... APIC TDCR: 00000003


printing local APIC contents on CPU#1/1:
... APIC ID: 01000000 (1)
... APIC VERSION: 00040011
... APIC TASKPRI: 00000000 (00)
... APIC ARBPRI: 000000f0 (f0)
... APIC PROCPRI: 00000000
... APIC EOI: 00000000
... APIC LDR: 02000000
... APIC DFR: ffffffff
... APIC SPIV: 000001ff
... APIC ISR field:
0123456789abcdef0123456789abcdef
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
... APIC TMR field:
0123456789abcdef0123456789abcdef
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000001000000
01000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
... APIC IRR field:
0123456789abcdef0123456789abcdef
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000010000000000001000
... APIC ESR: 00000000
... APIC ICR: 000c08fb
... APIC ICR2: 01000000
... APIC LVTT: 000200ef
... APIC LVTPC: 00010000
... APIC LVT0: 00000400
... APIC LVT1: 00010400
... APIC LVTERR: 000000fe
... APIC TMICT: 0000a324
... APIC TMCCT: 00007339
... APIC TDCR: 00000003

SysRq:
print_PIC()

printing PIC contents
... PIC IMR: fffa
... PIC IRR: 0200
... PIC ISR: 0000
... PIC ELCR: 1200
print_IO_APIC()
number of MP IRQ sources: 21.
number of IO-APIC #2 registers: 24.
testing the IO APIC.......................

IO APIC #2......
.... register #00: 02000000
....... : physical APIC id: 02
.... register #01: 00170011
....... : max redirection entries: 0017
....... : IO APIC version: 0011
.... register #02: 00000000
....... : arbitration: 00
.... IRQ redirection table:
NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect:
00 000 00 1 0 0 0 0 0 0 00
01 003 03 0 0 0 0 0 1 1 39
02 003 03 0 0 0 0 0 1 1 31
03 003 03 0 0 0 0 0 1 1 41
04 003 03 0 0 0 0 0 1 1 49
05 003 03 0 0 0 0 0 1 1 51
06 003 03 0 0 0 0 0 1 1 59
07 003 03 0 0 0 0 0 1 1 61
08 003 03 0 0 0 0 0 1 1 69
09 000 00 1 0 0 0 0 0 0 00
0a 003 03 0 0 0 0 0 1 1 71
0b 003 03 0 0 0 0 0 1 1 79
0c 000 00 1 0 0 0 0 0 0 00
0d 000 00 1 0 0 0 0 0 0 00
0e 003 03 0 0 0 0 0 1 1 81
0f 003 03 0 0 0 0 0 1 1 89
10 003 03 1 1 0 1 0 1 1 91
11 000 00 1 0 0 0 0 0 0 00
12 003 03 0 1 0 1 0 1 1 99
13 003 03 0 1 1 1 1 1 1 A1
14 000 00 1 0 0 0 0 0 0 00
15 000 00 1 0 0 0 0 0 0 00
16 000 00 1 0 0 0 0 0 0 00
17 000 00 1 0 0 0 0 0 0 00
IRQ to pin mappings:
IRQ0 -> 2
IRQ1 -> 1
IRQ3 -> 3
IRQ4 -> 4
IRQ5 -> 5
IRQ6 -> 6
IRQ7 -> 7
IRQ8 -> 8
IRQ10 -> 10
IRQ11 -> 11
IRQ13 -> 13
IRQ14 -> 14
IRQ15 -> 15
IRQ16 -> 16
IRQ18 -> 18
IRQ19 -> 19
.................................... done.
print_all_local_APICs()

printing local APIC contents on CPU#1/1:
... APIC ID: 01000000 (1)
... APIC VERSION: 00040011
... APIC TASKPRI: 00000000 (00)
... APIC ARBPRI: 00000000 (00)
... APIC PROCPRI: 00000000
... APIC EOI: 00000000
... APIC LDR: 02000000
... APIC DFR: ffffffff
... APIC SPIV: 000001ff
... APIC ISR field:
0123456789abcdef0123456789abcdef
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
... APIC TMR field:
0123456789abcdef0123456789abcdef
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000001000000
01000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
... APIC IRR field:
0123456789abcdef0123456789abcdef
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
... APIC ESR: 00000000
... APIC ICR: 000008fc
... APIC ICR2: 01000000
... APIC LVTT: 000200ef
... APIC LVTPC: 00010000
... APIC LVT0: 00000400
... APIC LVT1: 00010400
... APIC LVTERR: 000000fe
... APIC TMICT: 0000a324
... APIC TMCCT: 00001e10
... APIC TDCR: 00000003


printing local APIC contents on CPU#0/0:
... APIC ID: 00000000 (0)
... APIC VERSION: 00040011
... APIC TASKPRI: 00000000 (00)
... APIC ARBPRI: 000000e0 (e0)
... APIC PROCPRI: 00000000
... APIC EOI: 00000000
... APIC LDR: 01000000
... APIC DFR: ffffffff
... APIC SPIV: 000001ff
... APIC ISR field:
0123456789abcdef0123456789abcdef
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
... APIC TMR field:
0123456789abcdef0123456789abcdef
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000001000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
... APIC IRR field:
0123456789abcdef0123456789abcdef
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000010000000000000000
... APIC ESR: 00000000
... APIC ICR: 000c08fb
... APIC ICR2: 02000000
... APIC LVTT: 000200ef
... APIC LVTPC: 00010000
... APIC LVT0: 00000400
... APIC LVT1: 00000400
... APIC LVTERR: 000000fe
... APIC TMICT: 0000a324
... APIC TMCCT: 00007b18
... APIC TDCR: 00000003


--
Grobbebol's Home | Don't give in to spammers. -o)
http://www.xs4all.nl/~bengel | Use your real e-mail address /\
Linux 2.2.16 SMP 2x466MHz / 256 MB | on Usenet. _\_v

2001-02-05 10:44:55

by Maciej W. Rozycki

[permalink] [raw]
Subject: Re: hard crashes 2.4.0/1 with NE2K stuff

On Sat, 3 Feb 2001, Roeland Th. Jansen wrote:

> I have sysrq'd twice. the first one is the one where it works, then,
> after a floodping of only 5 seconds, eth0 stops working. the floodping
> is generated from outside towards this machine. then again I sysrq'd/
> here are the results. I glued dmesg from begin to end so that all
> messages are visible from boot time. pls explain what you find :-)

The I/O APIC still sends an edge-triggered interrupt resulting in a
lockup, sigh. This is already being discussed in another thread.

--
+ Maciej W. Rozycki, Technical University of Gdansk, Poland +
+--------------------------------------------------------------+
+ e-mail: [email protected], PGP key available +

2001-02-05 18:30:38

by Roeland Th. Jansen

[permalink] [raw]
Subject: Re: hard crashes 2.4.0/1 with NE2K stuff

On Fri, Feb 02, 2001 at 02:52:16PM +0100, Frank de Lange wrote:
> I'm currently running 2.4.1 with Maciej's patch-2.4.0-io_apic-4. Additionally,
> I disabled focus_processor in apic.c to get rid of some network delays. Flood
> pings both from and to this system do not cause any problems, other than making
> the streaming audio sound a bit choppy...


ok, Franks -- the deal -- I'll re-add the disable foxus stuff; Maciej's
latest apic patch keeps the system working for 2days+ and that is much
better tahan before., it used to lock up within half a day.

I'll report further. an Maciej -- thanks for your work !

--
Grobbebol's Home | Don't give in to spammers. -o)
http://www.xs4all.nl/~bengel | Use your real e-mail address /\
Linux 2.2.16 SMP 2x466MHz / 256 MB | on Usenet. _\_v

2001-02-05 19:44:51

by Roeland Th. Jansen

[permalink] [raw]
Subject: Re: hard crashes 2.4.0/1 with NE2K stuff

On Mon, Feb 05, 2001 at 06:26:52PM +0000, Roeland Th. Jansen wrote:
>
> I'll report further. an Maciej -- thanks for your work !

with the extra patch in arch/i386/kernel/apic.c:

#else
/* Disable focus processor (bit==1) */
value |= (1<<9);
#endif

used, eth0 (ne2k) doesn't die anymore; no choppy sound either. we're
currently having over 2.100.000 interrupts without a problem.

--
Grobbebol's Home | Don't give in to spammers. -o)
http://www.xs4all.nl/~bengel | Use your real e-mail address /\
Linux 2.2.16 SMP 2x466MHz / 256 MB | on Usenet. _\_v

2001-02-05 19:51:31

by Frank de Lange

[permalink] [raw]
Subject: Re: hard crashes 2.4.0/1 with NE2K stuff

On Mon, Feb 05, 2001 at 07:41:11PM +0000, Roeland Th. Jansen wrote:
> On Mon, Feb 05, 2001 at 06:26:52PM +0000, Roeland Th. Jansen wrote:
> >
> > I'll report further. an Maciej -- thanks for your work !
>
> with the extra patch in arch/i386/kernel/apic.c:
>
> #else
> /* Disable focus processor (bit==1) */
> value |= (1<<9);
> #endif
>
> used, eth0 (ne2k) doesn't die anymore; no choppy sound either. we're
> currently having over 2.100.000 interrupts without a problem.

Same here (although I just changed #if 1 to #if 0 to disable focus processor
support), the net stays up and the chops are gone.

Cheers//Frank
--
WWWWW _______________________
## o o\ / Frank de Lange \
}# \| / \
##---# _/ <Hacker for Hire> \
#### \ +31-320-252965 /
\ [email protected] /
-------------------------
[ "Omnis enim res, quae dando non deficit, dum habetur
et non datur, nondum habetur, quomodo habenda est." ]

2001-02-05 20:19:25

by Roeland Th. Jansen

[permalink] [raw]
Subject: Re: hard crashes 2.4.0/1 with NE2K stuff

On Mon, Feb 05, 2001 at 08:49:47PM +0100, Frank de Lange wrote:
> Same here (although I just changed #if 1 to #if 0 to disable focus processor
> support), the net stays up and the chops are gone.


so did I (change the 1 into 0). just didn't cut/paste it enough...


--
Grobbebol's Home | Don't give in to spammers. -o)
http://www.xs4all.nl/~bengel | Use your real e-mail address /\
Linux 2.2.16 SMP 2x466MHz / 256 MB | on Usenet. _\_v