From owner-freebsd-smp Wed Nov 19 13:29:49 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id NAA29639 for smp-outgoing; Wed, 19 Nov 1997 13:29:49 -0800 (PST) (envelope-from owner-freebsd-smp) Received: from romulus.hosteng.org (romulus.ihosteng.priv.no [195.0.205.14]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id NAA29622 for ; Wed, 19 Nov 1997 13:29:41 -0800 (PST) (envelope-from ivar@romulus.hosteng.org) Received: from localhost (ivar@localhost) by romulus.hosteng.org (8.8.8/8.8.7) with SMTP id WAA12892 for ; Wed, 19 Nov 1997 22:28:33 +0100 (CET) Date: Wed, 19 Nov 1997 22:28:33 +0100 (CET) From: Ivar Hosteng To: freebsd-smp@freebsd.org Subject: rc564 on freeBSD 3.0 SMP Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-smp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I am experiencing kernel hangs and panics when I leave the rc564 processes running for more than 30-60 minutes. Sometimes I get a kernel panic and somthimes the kernel hangs compleatly. In the case of a kernel panic the system loocks up after I press ctrl+alt+escape. My system is a dual PPro 200Mhz system using the intel PR440FX motherboard. The system is completly stable if I don't try to run the rc564 program. I have suspected that the hangs only appear when both processors are working at 100% utilization so I wrote a small C program consisteing of a while (1) do ; loop. But I have left 2 processes running this program for days with no crashes. Does anyone else experience kernel hangs/crashes running the rc564 program on FreeBSD 3.0-current (the last cvsup sync was 18/11-97) and using the SMP kernel? Here is the output of the mptable -verbose program: =============================================================================== MPTable, version 2.0.15 looking for EBDA pointer @ 0x040e, found, searching EBDA @ 0x0009fc00 searching CMOS 'top of mem' @ 0x0009f800 (638K) searching default 'top of mem' @ 0x0009fc00 (639K) searching BIOS @ 0x000f0000 MP FPS found in BIOS @ physical addr: 0x000f8120 ------------------------------------------------------------------------------- MP Floating Pointer Structure: location: BIOS physical address: 0x000f8120 signature: '_MP_' length: 16 bytes version: 1.4 checksum: 0xe0 mode: Virtual Wire ------------------------------------------------------------------------------- MP Config Table Header: physical address: 0x000f8130 signature: 'PCMP' base table length: 268 version: 1.4 checksum: 0xf8 OEM ID: 'INTEL ' Product ID: 'PR440FX ' OEM table pointer: 0x00000000 OEM table size: 0 entry count: 25 local APIC address: 0xfec08000 extended table length: 120 extended table checksum: 15 ------------------------------------------------------------------------------- MP Config Base Table Entries: -- Processors: APIC ID Version State Family Model Step Flags 0 0x11 BSP, usable 6 1 9 0xfbff 12 0x11 AP, usable 6 1 9 0xfbff -- Bus: Bus ID Type 0 PCI 18 ISA -- I/O APICs: APIC ID Version State Address 13 0x11 usable 0xfec00000 -- I/O Ints: Type Polarity Trigger Bus ID IRQ APIC ID PIN# ExtINT active-hi edge 18 0 13 0 INT active-hi edge 18 1 13 1 INT active-hi edge 18 3 13 3 INT active-hi edge 18 4 13 4 INT active-hi edge 18 5 13 5 INT active-hi edge 18 6 13 6 INT active-hi edge 18 7 13 7 INT active-hi edge 18 8 13 8 INT active-hi edge 18 9 13 9 INT active-hi edge 18 11 13 11 INT active-hi edge 18 12 13 12 INT active-hi edge 18 14 13 14 INT active-hi edge 18 15 13 15 INT active-lo level 0 19:A 13 19 INT active-lo level 0 15:A 13 17 INT active-lo level 0 11:A 13 16 INT active-lo level 0 9:A 13 17 INT active-lo level 0 6:A 13 18 -- Local Ints: Type Polarity Trigger Bus ID IRQ APIC ID PIN# ExtINT active-hi edge 18 0 255 0 NMI active-hi edge 0 0:A 255 1 ------------------------------------------------------------------------------- MP Config Extended Table Entries: -- bus ID: 0 address type: memory address address base: 0xd4000 address range: 0x4000 -- bus ID: 0 address type: memory address address base: 0xd8000 address range: 0x4000 -- bus ID: 0 address type: memory address address base: 0xdc000 address range: 0x4000 -- bus ID: 0 address type: memory address address base: 0xa0000 address range: 0x20000 -- bus ID: 0 address type: memory address address base: 0x8000000 address range: 0xf8000000 -- bus ID: 0 address type: I/O address address base: 0x0 address range: 0x10000 ------------------------------------------------------------------------------- # SMP kernel config file options: # Required: options SMP # Symmetric MultiProcessor Kernel options APIC_IO # Symmetric (APIC) I/O # Optional (built-in defaults will work in most cases): #options NCPU=2 # number of CPUs #options NBUS=2 # number of busses #options NAPIC=1 # number of IO APICs #options NINTR=24 # number of INTs =============================================================================== Regards, Ivar Hosteng email: ivar@hosteng.org