From owner-freebsd-smp Thu Oct 30 15:52:03 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id PAA21896 for smp-outgoing; Thu, 30 Oct 1997 15:52:03 -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 PAA21839 for ; Thu, 30 Oct 1997 15:51:33 -0800 (PST) (envelope-from ivar@romulus.hosteng.org) Received: from localhost (ivar@localhost) by romulus.hosteng.org (8.8.7/8.8.7) with SMTP id AAA03542 for ; Fri, 31 Oct 1997 00:49:20 +0100 (CET) Date: Fri, 31 Oct 1997 00:49:20 +0100 (CET) From: Ivar Hosteng To: smp@freebsd.org Subject: Possible bug in SMP FreeBSD 3.0 kernel 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 have been running FreeBSD 3.0-100397-SNAP since it was released using a SMP enabled kernel on a Intel Dual PPRO 200Mzh motherboard without problems until I joined the Bovine rc5 keycracking effort. When I try to run 2 instances of the rc5 keycracking program the system freezes up, somtimes after gving me a kernel panic that seems to be different every time I get one. Here is the output of mptable: =============================================================================== 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 ------------------------------------------------------------------------------- dmesg output: Copyright (c) 1992-1997 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 3.0-971003-SNAP #0: Thu Oct 30 23:06:14 CET 1997 ivar@romulus.hosteng.org:/usr/src/sys/compile/erik CPU: Pentium Pro (686-class CPU) Origin = "GenuineIntel" Id = 0x619 Stepping=9 Features=0xfbff real memory = 134217728 (131072K bytes) avail memory = 128937984 (125916K bytes) FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 0, version: 0x00040011, at 0xfec08000 cpu1 (AP): apic id: 12, version: 0x00040011, at 0xfec08000 io0 (APIC): apic id: 13, version: 0x00170011, at 0xfec00000 Probing for devices on PCI bus 0: chip0: rev 0x02 on pci0.0.0 chip1: rev 0x01 on pci0.7.0 ide_pci0: rev 0x00 on pci0.7.1 ahc0: rev 0x00 int a irq 17 on pci0.9.0 ahc0: aic7880 Wide Channel, SCSI Id=7, 16 SCBs ahc0: waiting for scsi devices to settle scbus0 at ahc0 bus 0 sd0 at scbus0 target 0 lun 0 sd0: type 0 fixed SCSI 2 sd0: Direct-Access 8683MB (17783240 512 byte sectors) ahc1: rev 0x00 int a irq 16 on pci0.11.0 ahc1: aic7880 Single Channel, SCSI Id=7, 16 SCBs ahc1: waiting for scsi devices to settle scbus1 at ahc1 bus 0 sd1 at scbus1 target 0 lun 0 sd1: type 0 fixed SCSI 2 sd1: Direct-Access 8669MB (17755614 512 byte sectors) cd0 at scbus1 target 3 lun 0 cd0: type 5 removable SCSI 2 cd0: CD-ROM cd present [323633 x 2048 byte records] st0 at scbus1 target 4 lun 0 st0: type 1 removable SCSI 2 st0: Sequential-Access density code 0x0, drive empty vx0: <3COM 3C905 Fast Etherlink XL PCI> rev 0x00 int a irq 17 on pci0.15.0 mii[*mii*] address 00:60:97:1d:07:a9 vga0: rev 0x01 int a irq 19 on pci0.19.0 Probing for devices on the ISA bus: sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <16 virtual consoles, flags=0x0> sio0 at 0x3f8-0x3ff irq 4 on isa sio0: type 16550A lpt0 at 0x378-0x37f irq 7 on isa lpt0: Interrupt-driven port lp0: TCP/IP capable interface psm0 at 0x60-0x64 irq 12 on motherboard psm0: device ID 0 fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: FIFO enabled, 8 bytes threshold fd0: 1.44MB 3.5in wdc0 at 0x1f0-0x1f7 irq 14 on isa wdc0: unit 0 (wd0): wd0: 2015MB (4127760 sectors), 4095 cyls, 16 heads, 63 S/T, 512 B/S npx0 on motherboard npx0: INT 16 interface APIC_IO: routing 8254 via 8259 on pin 0 SMP: AP CPU #1 Launched! =============================================================================== The progam I am running is located at ftp://ftp.distributed.net/pub/rc5-64/v2.6401/rc56401-freebsd-x86-cli.tar.gz Regards, Ivar Hosteng