From owner-freebsd-i386@FreeBSD.ORG Thu Jan 20 01:30:25 2005 Return-Path: Delivered-To: freebsd-i386@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2901C16A4CF for ; Thu, 20 Jan 2005 01:30:25 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C3BE243D39 for ; Thu, 20 Jan 2005 01:30:24 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id j0K1UOED096427 for ; Thu, 20 Jan 2005 01:30:24 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id j0K1UOQS096426; Thu, 20 Jan 2005 01:30:24 GMT (envelope-from gnats) Resent-Date: Thu, 20 Jan 2005 01:30:24 GMT Resent-Message-Id: <200501200130.j0K1UOQS096426@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-i386@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "J. S. Townsley" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DA6BD16A4CE for ; Thu, 20 Jan 2005 01:21:39 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8A9F243D53 for ; Thu, 20 Jan 2005 01:21:39 +0000 (GMT) (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 j0K1LdYC027056 for ; Thu, 20 Jan 2005 01:21:39 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id j0K1LdZ8027055; Thu, 20 Jan 2005 01:21:39 GMT (envelope-from nobody) Message-Id: <200501200121.j0K1LdZ8027055@www.freebsd.org> Date: Thu, 20 Jan 2005 01:21:39 GMT From: "J. S. Townsley" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: i386/76487: Compiled GENERIC kernel (and non-GENERIC) do not boot. X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Jan 2005 01:30:25 -0000 >Number: 76487 >Category: i386 >Synopsis: Compiled GENERIC kernel (and non-GENERIC) do not boot. >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-i386 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jan 20 01:30:24 GMT 2005 >Closed-Date: >Last-Modified: >Originator: J. S. Townsley >Release: 5.3-stable >Organization: Integrity Online >Environment: I can boot into the stock kernel: FreeBSD storage2-jan.foobar.com 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov 5 04:19:18 UTC 2004 root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 I can't give the uname from 5.3-stable because it won't boot. >Description: System will boot with FreeBSD installed GENERIC kernel. Any kernel I compile will lockup, wether it's just a renamed GENERIC kernel or a modified GENERIC kernel. Log of boot and a trace: KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2005 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.3-STABLE #1: Wed Jan 19 18:34:12 CST 2005 root@storage2-jan.foobar.com:/usr/src/sys/i386/compile/SIRUNF2 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2392.04-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf25 Stepping = 5 Features=0xbfebfbff Hyperthreading: 2 logical CPUs real memory = 536346624 (511 MB) avail memory = 515194880 (491 MB) ACPI APIC Table: ioapic0 irqs 0-23 on motherboard ioapic1 irqs 24-47 on motherboard ioapic2 irqs 48-71 on motherboard npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 cpu0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pci0: at device 0.1 (no driver attached) pcib1: at device 2.0 on pci0 pci1: on pcib1 pci1: at device 28.0 (no driver attached ) pcib2: at device 29.0 on pci1 pci2: on pcib2 pci1: at device 30.0 (no driver attached ) pcib3: at device 31.0 on pci1 pci3: on pcib3 3ware device driver for 9000 series storage controllers, version: 2.50.02.011 twa0: <3ware 9000 series Storage Controller> port 0x7000-0x70ff mem 0xfd800000-0 xfdffffff,0xfb200000-0xfb2000ff irq 48 at device 1.0 on pci3 twa0: 4 ports, Firmware FE9X 2.04.00.005, BIOS BE9X 2.03.01.047 twa0: [GIANT-LOCKED] pci0: at device 2.1 (no driver attached) uhci0: port 0x6c00-0x6c1f irq 16 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0x6c20-0x6c3f irq 19 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0x6c40-0x6c5f irq 18 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] usb2: on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered pcib4: at device 30.0 on pci0 pci4: on pcib4 pci4: at device 3.0 (no driver attached) fxp0: port 0x8400-0x843f mem 0xfb300000-0xfb31fff f,0xfb341000-0xfb341fff irq 20 at device 4.0 on pci4 fxp0: can't create DMA map for TX device_attach: fxp0 attach returned 12 em0: port 0x8440-0x847f mem 0xfb320000-0xfb33ffff irq 23 at device 5.0 on pci4 em0: Ethernet address: 00:0e:0c:4f:4d:df em0: Speed:N/A Duplex:N/A isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x6c60-0x6c6f,0x376,0x170-0x177,0x 3f6,0x1f0-0x1f7 at device 31.1 on pci0 ata0: channel #0 on atapci0 Fatal trap 12: page fault while in kernel mode fault virtual address = 0x28 fault code = supervisor read, page not present instruction pointer = 0x8:0xc062614a stack pointer = 0x10:0xc0c21a94 frame pointer = 0x10:0xc0c21a94 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 0 (swapper) [thread pid 0 tid 0 ] Stopped at device_get_unit+0x6: movl 0x28(%eax),%eax db> db> db> trace Tracing pid 0 tid 0 td 0xc08dd0e0 device_get_unit(0,c1b20400,c0c21ac4,c04c66d1,c1b20400) at device_get_unit+0x6 ata_printf(c1b20400,ffffffff,c07fec56,c04bd13d,c1b20400) at ata_printf+0x16 ata_dmaalloc(c1b20400) at ata_dmaalloc+0x221 ata_channel_attach(c1b09280) at ata_channel_attach+0x6b device_attach(c1b09280,c0c21b14,c1b09280,2,c0c21b34) at device_attach+0x58 device_probe_and_attach(c1b09280) at device_probe_and_attach+0xb4 bus_generic_attach(c1abd300,c1abd300,c1abd300,c1b1f500,8a) at bus_generic_attach+0x16 ata_pci_attach(c1abd300) at ata_pci_attach+0x30e device_attach(c1abd300,c1abdb80,c1abd300,c1abd680,c1abd680) at device_attach+0x58 device_probe_and_attach(c1abd300) at device_probe_and_attach+0xb4 bus_generic_attach(c1abd680,6,c194a260,1,c0a0def8) at bus_generic_attach+0x16 acpi_pci_attach(c1abd680) at acpi_pci_attach+0xec device_attach(c1abd680,2e696370,c1abd680,0,c19ee800) at device_attach+0x58 device_probe_and_attach(c1abd680) at device_probe_and_attach+0xb4 bus_generic_attach(c19ee800,c19ee800,c1aa48b4,0,0) at bus_generic_attach+0x16 acpi_pcib_attach(c19ee800,c1aa48b4,0,c0c21c58,c062a398) at acpi_pcib_attach+0x15e acpi_pcib_acpi_attach(c19ee800) at acpi_pcib_acpi_attach+0x20a device_attach(c19ee800,c19ee700,c19ee800,c19eee00,0) at device_attach+0x58 device_probe_and_attach(c19ee800) at device_probe_and_attach+0xb4 bus_generic_attach(c19eee00,c19eee00,c19eee00,c194a540,4) at bus_generic_attach+0x16 acpi_probe_children(c19eee00,6afb0,c19eee00,c19eee00,0) at acpi_probe_children+0x69 acpi_attach(c19eee00) at acpi_attach+0x523 device_attach(c19eee00,c0a23620,c19eee00,c1a15080,0) at device_attach+0x58 device_probe_and_attach(c19eee00) at device_probe_and_attach+0xb4 bus_generic_attach(c1a15080,c1a15080,c1a15080,c0c21d44,c062667c) at bus_generic_attach+0x16 nexus_attach(c1a15080) at nexus_attach+0x13 device_attach(c1a15080,c08b5a30,c1a15080,c08b5a30,c26000) at device_attach+0x58 device_probe_and_attach(c1a15080) at device_probe_and_attach+0xb4 root_bus_configure(c1a15600,c083ef8d,0) at root_bus_configure+0x16 configure(0,c1ec00,c1e000,0,c043f915) at configure+0x1b mi_startup() at mi_startup+0x96 begin() at begin+0x2c db> >How-To-Repeat: CVS update to 5.3 stable (today) and compile the GENERIC kernel; then reboot. >Fix: Not known >Release-Note: >Audit-Trail: >Unformatted: