panic on boot caused by svn commit: r189367 - head/sys/dev/pci

From: Tom Uffner <tom_at_uffner.com>
Date: Fri, 06 Mar 2009 12:44:00 -0500
My system works w/ kernel & world built from current as of Date:
Wed Mar  4 18:15:00 2009.

this commit seems to break my Promise SATA controller

with same world and kernel from Wed Mar  4 18:24:00 2009, differing
only by head/sys/dev/pci/pci.c it panics while booting:

...
pci2: <network, ethernet> at device 8.0 (no driver attached)
re0: <RealTek 8169/8169S/8169SB(L)/8110S/8110SB(L) Gigabit Ethernet> port 0xd400
-0xd4ff mem 0xfeafe800-0xfeafe8ff irq 22 at device 10.0 on pci2
re0: Chip rev. 0x10000000
re0: MAC rev. 0x00000000
miibus0: <MII bus> on re0
rgephy0: <RTL8169S/8110S/8211B media interface> PHY 1 on miibus0
rgephy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-F
DX, auto
re0: Ethernet address: 00:14:d1:38:81:ab
re0: [FILTER]
atapci0: <Promise PDC20771 SATA300 controller> port 0xdc00-0xdc7f,0xd800-0xd8ff
mem 0xfeaff000-0xfeafffff,0xfeac0000-0xfeadffff irq 23 at device 11.0 on pci2
atapci0: [ITHREAD]

Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0xfffffffc
fault code              = supervisor read, page not present
instruction pointer     = 0x20:0xc050767a
stack pointer           = 0x28:0xc0c2085c
frame pointer           = 0x28:0xc0c20880
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)
panic: from debugger
cpuid = 0
Uptime: 1s

unfortunately i cannot provide a traceback because savecore complains
about a bad magic number and refuses to produce a dump, even w/ -f

here is the normal boot (kernel: Wed Mar  4 18:15:00 2009)

Copyright (c) 1992-2009 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 8.0-CURRENT #390: Fri Mar  6 03:45:32 EST 2009
     tom_at_xiombarg.uffner.com:/usr/obj/usr/src/sys/XIOMBARG
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (2386.57-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0xf27  Stepping = 7
 
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
   Features2=0x400<CNXT-ID>
real memory  = 1073479680 (1023 MB)
avail memory = 1041518592 (993 MB)
ACPI APIC Table: <GATEWA N0CPP116>
ioapic0: Changing APIC ID to 2
ioapic0 <Version 2.0> irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: <GATEWA N0CPP116> on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of 0, a0000 (3) failed
acpi0: reservation of 100000, 3ff00000 (3) failed
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel 82850 host to AGP bridge> on hostb0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
vgapci0: <VGA-compatible display> mem 
0xfd000000-0xfdffffff,0xe8000000-0xefffffff irq 16 at device 0.0 on pci1
pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci2: <ACPI PCI bus> on pcib2
pci2: <serial bus, USB> at device 1.0 (no driver attached)
pci2: <serial bus, USB> at device 1.1 (no driver attached)
ehci0: <NEC uPD 720100 USB 2.0 controller> mem 0xfeafec00-0xfeafecff irq 23 at 
device 1.2 on pci2
ehci0: [ITHREAD]
usbus0: EHCI version 0.95
usbus0: <NEC uPD 720100 USB 2.0 controller> on ehci0
pci2: <network, ethernet> at device 8.0 (no driver attached)
re0: <RealTek 8169/8169S/8169SB(L)/8110S/8110SB(L) Gigabit Ethernet> port 
0xd400-0xd4ff mem 0xfeafe800-0xfeafe8ff irq 22 at device 10.0 on pci2
re0: Chip rev. 0x10000000
re0: MAC rev. 0x00000000
miibus0: <MII bus> on re0
rgephy0: <RTL8169S/8110S/8211B media interface> PHY 1 on miibus0
rgephy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-FDX, auto
re0: Ethernet address: 00:14:d1:38:81:ab
re0: [FILTER]
atapci0: <Promise PDC20771 SATA300 controller> port 
0xdc00-0xdc7f,0xd800-0xd8ff mem 0xfeaff000-0xfeafffff,0xfeac0000-0xfeadffff 
irq 23 at device 11.0 on pci2
atapci0: [ITHREAD]
atapci0: [ITHREAD]
ata2: <ATA channel 0> on atapci0
ata2: SIGNATURE: 00000101
ata2: [ITHREAD]
ata3: <ATA channel 1> on atapci0
ata3: [ITHREAD]
ata4: <ATA channel 2> on atapci0
ata4: [ITHREAD]
pci2: <multimedia, audio> at device 12.0 (no driver attached)
pci2: <network, ethernet> at device 13.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci1: <Intel ICH2 UDMA100 controller> port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 31.1 on pci0
ata0: <ATA channel 0> on atapci1
ata0: [ITHREAD]
ata1: <ATA channel 1> on atapci1
ata1: [ITHREAD]
uhci0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> port 0xef80-0xef9f irq 
19 at device 31.2 on pci0
uhci0: [ITHREAD]
uhci0: LegSup = 0x0030
usbus1: <Intel 82801BA/BAM (ICH2) USB controller USB-A> on uhci0
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
fdc0: <floppy drive controller> port 0x3f0-0x3f1,0x3f2-0x3f3,0x3f4-0x3f5,0x3f7 
irq 6 drq 2 on acpi0
fdc0: [FILTER]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
uart0: [FILTER]
ppc0: <Parallel port> port 0x378-0x37f,0x778-0x77f irq 7 drq 3 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppc0: [ITHREAD]
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
plip0: [ITHREAD]
lpt0: <Printer> on ppbus0
lpt0: [ITHREAD]
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
cpu0: <ACPI CPU> on acpi0
p4tcc0: <CPU Frequency Thermal Control> on cpu0
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 
0xc0000-0xca7ff,0xca800-0xd2fff,0xd3000-0xd37ff,0xec000-0xec7ff pnpid ORM0000 
on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 2386568852 Hz quality 800
Timecounters tick every 1.000 msec
usbus0: 480Mbps High Speed USB v2.0
usbus1: 12Mbps Full Speed USB v1.0
acd0: DVDR <LITE-ON DVDRW SOHW-1693S/KS06> at ata0-master UDMA66
ugen0.1: <NEC> at usbus0
uhub0: <NEC EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus0
ugen1.1: <Intel> at usbus1
uhub1: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
acd1: CDRW <HL-DT-ST RW/DVD GCC-4320B/1.01> at ata1-master UDMA33
ad4: 953869MB <WDC WD10EACS-00D6B1 01.01A01> at ata2-master SATA300
uhub1: 2 ports with 2 removable, self powered
ugen1.2: <Logitech> at usbus1
ums0: <Logitech USB-PS/2 Mouse, class 0/0, rev 1.00/1.20, addr 2> on usbus1
ums0: 3 buttons and [XY] coordinates
GEOM: ad4s1: geometry does not match label (255h,63s != 16h,63s).
Root mount waiting for: usbus1 usbus0
uhub0: 4 ports with 4 removable, self powered
Root mount waiting for: usbus1
ugen1.3: <SanDisk> at usbus1
Trying to mount root from ufs:/dev/ad4s1a
Received on Fri Mar 06 2009 - 16:58:32 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:43 UTC