From owner-freebsd-smp Fri Oct 25 9:54:55 2002 Delivered-To: freebsd-smp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0335437B401 for ; Fri, 25 Oct 2002 09:54:29 -0700 (PDT) Received: from thuvia.demon.co.uk (thuvia.demon.co.uk [193.237.34.248]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E24043E65 for ; Fri, 25 Oct 2002 09:54:21 -0700 (PDT) (envelope-from mark@thuvia.demon.co.uk) Received: from dotar.thuvia.org (dotar.thuvia.org [10.0.0.4]) by phaidor.thuvia.org (8.12.3/8.12.3) with ESMTP id g9PGsIcF050107 for ; Fri, 25 Oct 2002 17:54:19 +0100 (BST) (envelope-from mark@thuvia.demon.co.uk) Received: from dotar.thuvia.org (localhost [IPv6:::1]) by dotar.thuvia.org (8.12.6/8.12.6) with ESMTP id g9PGsIH5074911 for ; Fri, 25 Oct 2002 17:54:18 +0100 (BST) (envelope-from mark@dotar.thuvia.org) Received: (from mark@localhost) by dotar.thuvia.org (8.12.6/8.12.6/Submit) id g9PGsIK5074910 for freebsd-smp@freebsd.org; Fri, 25 Oct 2002 17:54:18 +0100 (BST) Date: Fri, 25 Oct 2002 17:54:18 +0100 (BST) From: Mark Valentine Message-Id: <200210251654.g9PGsIK5074910@dotar.thuvia.org> X-Mailer: Mail User's Shell (7.2.6 beta(5) 10/07/98) To: freebsd-smp@freebsd.org Subject: ahc-related panic on boot, dual PPro system Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I have a dual Pentium Pro system which is extremely temperamental running a -CURRENT SMP kernel, as in it'll only boot for me once every few attempts. I noticed problems about a year ago, when I would generally just get an ahc timeout and reset and it would eventually come up, but I didn't pursue it at the time as it's mostly been running -STABLE since then. It's also been running OpenUNIX 8 in SMP and a couple of flavours of Linux MP kernel, without complaint, though it's mostly been idle. However, now it's running -CURRENT again and is up to date, but is even more flaky. On the other hand, once it does come up, it will generally survive a make world (/usr/src and /usr/obj are NFS mounted). Is there anything about this system which should cause such unreliable booting of -CURRENT SMP (it doesn't have problems booting GENERIC)? First off, here's a typical boot panic: ------------------------------------------------------------------------------- Copyright (c) 1992-2002 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.0-CURRENT #2: Fri Oct 25 12:32:29 BST 2002 root@carthoris.thuvia.org:/usr/obj/usr/src/sys/SMP Preloaded elf kernel "/boot/kernel/kernel" at 0xc0673000. Preloaded elf module "/boot/kernel/aout.ko" at 0xc06730b4. Timecounter "i8254" frequency 1193182 Hz CPU: Pentium Pro (195.84-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x619 Stepping = 9 Features=0xfbff real memory = 134217728 (131072K bytes) avail memory = 123179008 (120292K bytes) APIC_IO: MP table broken: 8259->APIC entry missing! Programming 16 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): apic id: 1, version: 0x00040011, at 0xfee00000 cpu1 (AP): apic id: 0, version: 0x00040011, at 0xfee00000 io0 (APIC): apic id: 14, version: 0x000f0011, at 0xfec00000 Initializing GEOMetry subsystem Pentium Pro MTRR support enabled npx0: on motherboard npx0: INT 16 interface pcib0: at pcibus 0 on motherboard pci0: on pcib0 isab0: at device 2.0 on pci0 isa0: on isab0 pci0: at device 5.0 (no driver attached) lnc0: port 0xff80-0xff9f mem 0xffbe4fe0-0xffbe4fff irq 9 at device 6.0 on pci0 lnc0: Attaching PCNet/PCI Ethernet adapter lnc0: PCnet-PCI address 08:00:36:6c:1e:03 ahc0: port 0xf400-0xf4ff mem 0xffbe5000-0xffbe5fff irq 15 at device 7.0 on pci0 ahc0: Host Adapter Bios disabled. Using default SCSI device parameters aic7850: Single Channel A, SCSI Id=7, 3/253 SCBs ahc1: port 0xf800-0xf8ff mem 0xffbe6000-0xffbe6fff irq 11 at device 13.0 on pci0 aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs fxp0: port 0xff00-0xff3f mem 0xff900000-0xff9fffff,0xffbe7000-0xffbe7fff irq 9 at device 15.0 on pci0 fxp0: Ethernet address 00:90:27:af:3b:a1 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci0: at device 20.0 (no driver attached) orm0: