From owner-freebsd-bugs@FreeBSD.ORG Mon Jul 9 20:20:02 2007 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6E1AC16A468 for ; Mon, 9 Jul 2007 20:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 4E54813C44B for ; Mon, 9 Jul 2007 20:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l69KK2EW097321 for ; Mon, 9 Jul 2007 20:20:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l69KK2pJ097320; Mon, 9 Jul 2007 20:20:02 GMT (envelope-from gnats) Resent-Date: Mon, 9 Jul 2007 20:20:02 GMT Resent-Message-Id: <200707092020.l69KK2pJ097320@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Rick Macklem Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E039116A46C for ; Mon, 9 Jul 2007 20:18:02 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.freebsd.org (Postfix) with ESMTP id C41CD13C455 for ; Mon, 9 Jul 2007 20:18:02 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l69KI2ej097174 for ; Mon, 9 Jul 2007 20:18:02 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id l69KI2ed097173; Mon, 9 Jul 2007 20:18:02 GMT (envelope-from nobody) Message-Id: <200707092018.l69KI2ed097173@www.freebsd.org> Date: Mon, 9 Jul 2007 20:18:02 GMT From: Rick Macklem To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: kern/114459: FreeBSD-CURRENT crash during boot with Adaptec 7880 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2007 20:20:02 -0000 >Number: 114459 >Category: kern >Synopsis: FreeBSD-CURRENT crash during boot with Adaptec 7880 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jul 09 20:20:01 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Rick Macklem >Release: FreeBSD-CURRENT May 2007 snapshot >Organization: univ of Guelph >Environment: FreeBSD 7.0-CURRENT-200705 #0: Mon May 7 11:24:25 UTC 2007 root@almeida.cse.buffalo.edu: /usr/obj/usr/src/sys/GENERIC i386 >Description: Intermittently FreeBSD-CURRENT (May 2007 snapshot) crashes during booting on an old dual CPU PII with an Adaptec 7880 SCSI chip on the mainboard. Disabling the Adaptec chip in BIOS Setup makes the problem go away. (I don't have any SCSI devices plugged into the SCSI bus on it.) Actually, the crash is pretty consistent for a given kernel build (happens or doesn't). However, a kernel build with code changes that have nothing to do with booting (nfs server stuff) will cause it to show up or not. It panics: failed to create swap_zone. I have put what the boot messages look like (I used a boot that worked and manually added the painc line). It is the "patch" file attached to this. >How-To-Repeat: Boot with Adaptec 7880 enabled in BIOS setup. >Fix: Disable Adaptec 7880 is BIOS Setup. Patch attached with submission follows: Copyright (c) 1992-2007 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 is a registered trademark of The FreeBSD Foundation. FreeBSD 7.0-CURRENT-200705 #0: Mon May 7 11:24:25 UTC 2007 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC WARNING: WITNESS option enabled, expect reduced performance. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Pentium II/Pentium II Xeon/Celeron (267.27-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x633 Stepping = 3 Features=0x80fbff real memory = 536870912 (512 MB) avail memory = 515690496 (491 MB) MPTable: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 1 cpu1 (AP): APIC ID: 0 ioapic0: Assuming intbase of 0 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) cpu0 on motherboard cpu1 on motherboard pcib0: pcibus 0 on motherboard pir0: on motherboard pci0: on pcib0 agp0: on hostb0 pcib1: at device 1.0 on pci0 pci1: on pcib1 isab0: at device 4.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xd800-0xd80f at device 4.1 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] uhci0: port 0xd400-0xd41f irq 10 at device 4.2 on pci0 uhci0: [GIANT-LOCKED] uhci0: [ITHREAD] usb0: on uhci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered piix0: port 0xe800-0xe80f at device 4.3 on pci0 Timecounter "PIIX" frequency 3579545 Hz quality 0 ahc0: port 0xd000-0xd0ff mem 0xe3000000-0xe3000fff irq 10 at device 6.0 on pci0 ahc0: [ITHREAD] aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs xl0: <3Com 3c905-TX Fast Etherlink XL> port 0xb800-0xb83f irq 11 at device 10.0 on pci0 miibus0: on xl0 nsphy0: PHY 24 on miibus0 nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl0: Ethernet address: 00:a0:24:d8:ba:60 xl0: [ITHREAD] pmtimer0 on isa0 orm0: at iomem 0xc0000-0xc7fff,0xc8000-0xc87ff pnpid ORM0000 on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: [FILTER] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/9 bytes threshold ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 ppc0: [GIANT-LOCKED] ppc0: [ITHREAD] sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio0: [FILTER] sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A sio1: [FILTER] vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (memory) unknown: can't assign resources (port) unknown: can't assign resources (port) Timecounters tick every 1.000 msec Waiting 5 seconds for SCSI devices to settle ad0: 12970MB at ata0-master UDMA33 acd0: CDROM at ata1-slave PIO3 SMP: AP CPU #1 Launched! panic: failed to create swap_zone. >Release-Note: >Audit-Trail: >Unformatted: