Debugging 5.2 Beta

Benjamin Close cisbjc at
Wed Nov 26 18:16:34 PST 2003

Hi All,
    Just grabbed the 5.2Beta mini iso. Sadly the machine I tried it on 
caused a panic during kernel boot.
A boot -v shows the last lines as (hand transcribed):

PNP0700: ading dma mask 0x4
pnpbios: handle 10 device ID PNP0700 (0007d041)

Fatal trap 9: general protection falut while in kernel mode
cpuid=0; apic id=00
instruction pointer = 0x58:0x1023
stack pointer = 0x10:0xf80
frame pointer = 0x10:0x0
code segment = base 0xc00f0000, limit 0xffff, type 0x1b
    = DPL 0, pres1, def 32 0, gran 0
processor eflags = interrupt enabled, resume, IOPL=0
current process = 0 (swapper)
track number =9
panic: general protection fault
cpuid = 0;
uptime: 1s

Tried turning PNP off/on in the bios, tried toggling hint.acpi.disable 
0/1, not luck.
Quick stats: P4 3G with HTT, 1024MB ram. MPTable: < Springdale-G >, 
pnpbios 15 devices,
FreeBSD 4.9 runs nicely on the box with the attached dmesg.
The box has a Promisc SATA Raid controller (which isn't detected under 
4.9) which I'd really like to get working hence the attempt at 5.2.
Any way to drop to DDB go get better traces? as 
debug.debugger_on_panic=1 & debug.witness_ddb=1 do nothing.


3D Research Associate / System Administrator     +61 8 8302 3669
School of Computer and Information Science       Room D1-07, ML Campus
University of South Australia                    Mawson Lakes Blvd.
Benjamin.Close at                   South Australia, 5095
F00D C83D 5F7E 5561 DF91  B74D E602 CAA3 4842 B5B4

-------------- next part --------------
Copyright (c) 1992-2003 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 4.9-RC #0: Wed Oct 29 06:26:58 GMT 2003
    root at
Timecounter "i8254"  frequency 1193182 Hz
CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (2992.51-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf29  Stepping = 9
  Hyperthreading: 2 logical CPUs
real memory  = 1072889856 (1047744K bytes)
avail memory = 1038823424 (1014476K bytes)
Preloaded elf kernel "kernel" at 0xc0548000.
Warning: Pentium 4 CPU: PSE disabled
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 12 entries at 0xc00f3d20
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
agp0: <Intel 82865 host to AGP bridge> mem 0xf8000000-0xfbffffff at device 0.0 on pci0
pcib1: <PCI to PCI bridge (vendor=8086 device=2571)> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <NVidia model 0181 graphics accelerator> at 0.0 irq 11
uhci0: <Intel 82801EB (ICH5) USB controller USB-A> port 0xcc00-0xcc1f irq 11 at device 29.0 on pci0
usb0: <Intel 82801EB (ICH5) 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 82801EB (ICH5) USB controller USB-B> port 0xd000-0xd01f irq 5 at device 29.1 on pci0
usb1: <Intel 82801EB (ICH5) 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 82801EB (ICH5) USB controller USB-C> port 0xd400-0xd41f irq 10 at device 29.2 on pci0
usb2: <Intel 82801EB (ICH5) 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
uhci3: <Intel 82801EB (ICH5) USB controller USB-D> port 0xd800-0xd81f irq 11 at device 29.3 on pci0
usb3: <Intel 82801EB (ICH5) USB controller USB-D> on uhci3
usb3: USB revision 1.0
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
pci0: <USB controller> at 29.7 irq 9
pcib2: <Intel 82801BA/BAM (ICH2) Hub to PCI bridge> at device 30.0 on pci0
pci2: <PCI bus> on pcib2
pci2: <unknown card> (vendor=0x105a, dev=0x3371) at 1.0 irq 11
fwohci0: <Lucent FW322/323> mem 0xfeafe000-0xfeafefff irq 3 at device 7.0 on pci2
fwohci0: OHCI version 1.0 (ROM=0)
fwohci0: No. of Isochronous channel is 8.
fwohci0: EUI64 00:07:e9:00:00:3d:6d:51
fwohci0: Phy 1394a available S400, 3 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
if_fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 02:07:e9:3d:6d:51
sbp0: <SBP2/SCSI over firewire> on firewire0
fwohci0: Initiate bus reset
fwohci0: BUS reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
fxp0: <Intel 82801BA (D865) Pro/100 VE Ethernet> port 0xb000-0xb03f mem 0xfeafd000-0xfeafdfff irq 5 at device 8.0 on pci2
fxp0: Ethernet address 00:07:e9:3d:6d:51
inphy0: <i82562ET 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0: <PCI to ISA bridge (vendor=8086 device=24d0)> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH5 ATA100 controller> port 0xffa0-0xffaf,0-0x3,0-0x7,0-0x3,0-0x7 at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
atapci1: <Intel ICH5 SATA150 controller> port 0xdc00-0xdc0f,0xe000-0xe003,0xe400-0xe407,0xe800-0xe803,0xec00-0xec07 irq 10 at device 31.2 on pci0
ata2: at 0xec00 on atapci1
ata3: at 0xe400 on atapci1
pci0: <unknown card> (vendor=0x8086, dev=0x24d3) at 31.3 irq 3
pci0: <unknown card> (vendor=0x8086, dev=0x24d5) at 31.5 irq 3
orm0: <Option ROMs> at iomem 0xc0000-0xcf7ff,0xcf800-0xd67ff on isa0
pmtimer0 on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppi0: <Parallel I/O> on ppbus0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ad0: 28629MB <WDC WD300AB-00BPA1> [58168/16/63] at ata0-master UDMA100
Mounting root from ufs:/dev/ad0s1a

More information about the freebsd-current mailing list