i386/76487: Compiled GENERIC kernel (and non-GENERIC) do not boot.
J. S. Townsley
jst at jstownsely.com
Wed Jan 19 17:30:25 PST 2005
>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 at 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 at 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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,C
MOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
Hyperthreading: 2 logical CPUs
real memory = 536346624 (511 MB)
avail memory = 515194880 (491 MB)
ACPI APIC Table: <PTLTD APIC >
ioapic0 <Version 2.0> irqs 0-23 on motherboard
ioapic1 <Version 2.0> irqs 24-47 on motherboard
ioapic2 <Version 2.0> irqs 48-71 on motherboard
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <PTLTD RSDT> 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: <ACPI CPU> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pci0: <unknown> at device 0.1 (no driver attached)
pcib1: <ACPI PCI-PCI bridge> at device 2.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pci1: <base peripheral, interrupt controller> at device 28.0 (no driver attached
)
pcib2: <ACPI PCI-PCI bridge> at device 29.0 on pci1
pci2: <ACPI PCI bus> on pcib2
pci1: <base peripheral, interrupt controller> at device 30.0 (no driver attached
)
pcib3: <ACPI PCI-PCI bridge> at device 31.0 on pci1
pci3: <ACPI PCI bus> 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: <unknown> at device 2.1 (no driver attached)
uhci0: <Intel 82801CA/CAM (ICH3) USB controller USB-A> port 0x6c00-0x6c1f irq 16
at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: <Intel 82801CA/CAM (ICH3) USB controller USB-A> 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: <Intel 82801CA/CAM (ICH3) USB controller USB-B> port 0x6c20-0x6c3f irq 19
at device 29.1 on pci0
uhci1: [GIANT-LOCKED]
usb1: <Intel 82801CA/CAM (ICH3) USB controller USB-B> 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: <Intel 82801CA/CAM (ICH3) USB controller USB-C> port 0x6c40-0x6c5f irq 18
at device 29.2 on pci0
uhci2: [GIANT-LOCKED]
usb2: <Intel 82801CA/CAM (ICH3) USB controller USB-C> 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: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci4: <ACPI PCI bus> on pcib4
pci4: <display, VGA> at device 3.0 (no driver attached)
fxp0: <Intel 82550 Pro/100 Ethernet> 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: <Intel(R) PRO/1000 Network Connection, Version - 1.7.35> 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: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH3 UDMA100 controller> 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:
More information about the freebsd-i386
mailing list