Page fault while in kernel mode (fatal trap 12)

From: Peter Kostouros <kpeter_at_melbpc.org.au>
Date: Sun, 27 Apr 2008 21:09:47 +1000
Hi

I have experienced several page faults this month with the last from a 
19APR2008 source build.

A debug session, (today's) dmesg and kernel config file (diff between 
GENERIC and site kernel config) are listed below. Let me know if I can 
provide further information.

Script started on Sat Apr 26 22:37:07 2008
baeon# kgdb -c vmcore.1`6070 -f /boot/ekernel/kernel

[GDB will not be able to debug user-mode threads: 
/usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"]
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain 
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd".
Reading symbols from /boot/kernel/linux.ko...Reading symbols from 
/boot/kernel/linux.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/linux.ko
Reading symbols from /boot/kernel/aio.ko...Reading symbols from 
/boot/kernel/aio.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/aio.ko
Reading symbols from /boot/kernel/acpi.ko...Reading symbols from 
/boot/kernel/acpi.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/acpi.ko
Reading symbols from /boot/kernel/linprocfs.ko...Reading symbols from 
/boot/kernel/linprocfs.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/linprocfs.ko
Reading symbols from /boot/kernel/pflog.ko...Reading symbols from 
/boot/kernel/pflog.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/pflog.ko
Reading symbols from /boot/kernel/pf.ko...Reading symbols from 
/boot/kernel/pf.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/pf.ko

Unread portion of the kernel message buffer:
Kernel page fault with the following non-sleepable locks held:
exclusive sleep mutex vm page queue free mutex r = 0 (0xc0ce5a90) locked 
_at_ /mnt/cvs/FreeBSD/usr/src/sys/vm/vm_page.c:1037
exclusive sleep mutex vm object (standard object) r = 0 (0xc5a50600) 
locked _at_ /mnt/cvs/FreeBSD/usr/src/sys/vm/vm_fault.c:295
KDB: stack backtrace:
db_trace_self_wrapper(c0b5e231,e68ed9a8,c07fba17,c0b5e604,e68ed9bc,...) 
at db_trace_self_wrapper+0x26
kdb_backtrace(c0b5e604,e68ed9bc,4,1,0,...) at kdb_backtrace+0x29
witness_warn(5,0,c0b8cc48,c07fa5fe,c58d7530,...) at witness_warn+0x1d7
trap(e68eda48) at trap+0x13e
calltrap() at calltrap+0x6
--- trap 0xc, eip = 0xc09e8632, esp = 0xe68eda88, ebp = 0xe68edadc ---
vm_reserv_alloc_page(c5a50600,f0000,0,36f,0,...) at 
vm_reserv_alloc_page+0x102
vm_page_alloc(c5a50600,f0000,0,40,e68edbe8,...) at vm_page_alloc+0x27e
vm_fault(c4fd02c4,29656000,1,0,29656000,...) at vm_fault+0x702
trap_pfault(5,0,c0b8cc48,2c4,c58d7530,...) at trap_pfault+0x119
trap(e68edd38) at trap+0x26e
calltrap() at calltrap+0x6
--- trap 0xc, eip = 0x2851ecbc, esp = 0xbfbfea24, ebp = 0xbfbfea38 ---


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address    = 0xc2587868
fault code        = supervisor read, page not present
instruction pointer    = 0x20:0xc09e8632
stack pointer            = 0x28:0xe68eda88
frame pointer            = 0x28:0xe68edadc
code segment        = base 0x0, limit 0xfffff, type 0x1b
            = DPL 0, pres 1, def32 1, gran 1
processor eflags    = interrupt enabled, resume, IOPL = 3
current process        = 6380 (Xorg)
trap number        = 12
panic: page fault
cpuid = 0
Uptime: 13h22m21s
Physical memory: 1011 MB
Dumping 180 MB: 165 149 133 117 101 85 69 53 37 21 5

#0  doadump () at pcpu.h:195
195    pcpu.h: No such file or directory.
    in pcpu.h
(kgdb) where
#0  doadump () at pcpu.h:195
#1  0xc07bf48d in boot (howto=260) at 
/mnt/cvs/FreeBSD/usr/src/sys/kern/kern_shutdown.c:418
#2  0xc07bf758 in panic (fmt=Variable "fmt" is not available.
) at /mnt/cvs/FreeBSD/usr/src/sys/kern/kern_shutdown.c:572
#3  0xc0abf7f3 in trap_fatal (frame=0xe68eda48, eva=3260577896)
    at /mnt/cvs/FreeBSD/usr/src/sys/i386/i386/trap.c:894
#4  0xc0ac013c in trap (frame=0xe68eda48) at 
/mnt/cvs/FreeBSD/usr/src/sys/i386/i386/trap.c:279
#5  0xc0aa3edb in calltrap () at 
/mnt/cvs/FreeBSD/usr/src/sys/i386/i386/exception.s:146
#6  0xc09e8632 in vm_reserv_alloc_page (object=0xc5a50600, pindex=983040)
    at /mnt/cvs/FreeBSD/usr/src/sys/vm/vm_reserv.c:320
#7  0xc09e1c6e in vm_page_alloc (object=0xc5a50600, pindex=983040, req=64)
    at /mnt/cvs/FreeBSD/usr/src/sys/vm/vm_page.c:1066
#8  0xc09d1762 in vm_fault (map=0xc4fd02c4, vaddr=694509568, 
fault_type=Variable "fault_type" is not available.
)
    at /mnt/cvs/FreeBSD/usr/src/sys/vm/vm_fault.c:441
#9  0xc0abf919 in trap_pfault (frame=0xe68edd38, usermode=1, eva=694509568)
    at /mnt/cvs/FreeBSD/usr/src/sys/i386/i386/trap.c:784
#10 0xc0ac025e in trap (frame=0xe68edd38) at 
/mnt/cvs/FreeBSD/usr/src/sys/i386/i386/trap.c:352
#11 0xc0aa3edb in calltrap () at 
/mnt/cvs/FreeBSD/usr/src/sys/i386/i386/exception.s:146
#12 0x2851ecbc in ?? ()
Previous frame inner to this frame (corrupt stack?)
(kgdb) up 6
#6  0xc09e8632 in vm_reserv_alloc_page (object=0xc5a50600, pindex=983040)
    at /mnt/cvs/FreeBSD/usr/src/sys/vm/vm_reserv.c:320
/mnt/cvs/FreeBSD/usr/src/sys/vm/vm_reserv.c:320:10603:beg:0xc09e8632
(kgdb) l
315        mpred = object->root;
316        while (mpred != NULL) {
317            KASSERT(mpred->pindex != pindex,
318                ("vm_reserv_alloc_page: pindex already allocated"));
319            rv = vm_reserv_from_page(mpred);
320            if (rv->object == object && vm_reserv_has_pindex(rv, 
pindex)) {
321                m = &rv->pages[VM_RESERV_INDEX(object, pindex)];
322                /* Handle vm_page_rename(m, new_object, ...). */
323                if ((m->flags & (PG_CACHED | PG_FREE)) == 0)
324                    return (NULL);
(kgdb) p rv
$1 = 0xc2587858
(kgdb) p rv*                                     // p *rv
Cannot access memory at address 0xc2587858
(kgdb) p *rv   rv->object                            // p rv->object
Cannot access memory at address 0xc2587868
(kgdb) p mpred
$2 = 0xc4910330
(kgdb) p mpred*                               // p *mpred
$3 = {pageq = {tqe_next = 0x0, tqe_prev = 0xc49102ec}, listq = {tqe_next 
= 0x0,
    tqe_prev = 0xc49101a0}, left = 0xc4910198, right = 0x0, object = 
0xc5a50600, pindex = 999392,
  phys_addr = 4093509632, md = {pv_list = {tqh_first = 0x0, tqh_last = 
0x0}}, queue = 0 '\0',
  segind = 0 '\0', flags = 152, order = 0 '\0', pool = 0 '\0', 
wire_count = 1, cow = 0,
  hold_count = 0, oflags = 0, act_count = 0 '\0', busy = 0 '\0', valid = 
255 'ÿ', dirty = 255 'ÿ'}
(kgdb) p obhec   he  ject                        // p object
$4 = 0xc5a50600
(kgdb) p object*                             // p *object
$5 = {mtx = {lock_object = {lo_name = 0xc0b7da04 "vm object",
      lo_type = 0xc0b7f06c "standard object", lo_flags = 21168128, 
lo_witness_data = {lod_list = {
          stqe_next = 0xc0c9b5d0}, lod_witness = 0xc0c9b5d0}}, mtx_lock 
= 3314394720,
    mtx_recurse = 0}, object_list = {tqe_next = 0xc4ae2c80, tqe_prev = 
0xc5a02c98},
  shadow_head = {lh_first = 0x0}, shadow_list = {le_next = 0xc1459b80, 
le_prev = 0xc4e0e0a0},
  memq = {tqh_first = 0xc494b5d8, tqh_last = 0xc4910338}, root = 
0xc4910330, size = 999424,
  generation = 163, ref_count = 5, shadow_count = 0, type = 3 '\003', 
flags = 4352,
  pg_color = 34229, paging_in_progress = 1, resident_page_count = 54, 
backing_object = 0x0,
  backing_object_offset = 0, pager_object_list = {tqe_next = 0x0, 
tqe_prev = 0xc0ce5358}, rvq = {
    lh_first = 0x0}, cache = 0x0, handle = 0xc3e89100, un_pager = {vnp = {
      vnp_size = -4282638262661237288}, devp = {devp_pglist = {tqh_first 
= 0xc494b5d8,
        tqh_last = 0xc4910330}}, swp = {swp_bcount = -996887080}}}
(kgdb) quit
baron# exit

exit

Script done on Sat Apr 26 22:46:13 2008





Copyright (c) 1992-2008 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 #0: Sat Apr 19 14:48:48 EST 2008
    peter_at_baron.from.hell:/usr/obj/mnt/cvs/FreeBSD/usr/src/sys/BARON
WARNING: WITNESS option enabled, expect reduced performance.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (2806.38-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  = 1073659904 (1023 MB)
avail memory = 1038118912 (990 MB)
ACPI APIC Table: <ASUS   P4PE    >
ioapic0 <Version 2.0> irqs 0-23 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
acpi0: <ASUS P4PE> on motherboard
acpi0: Overriding SCI Interrupt from IRQ 9 to IRQ 22
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 0xe408-0xe40b on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel 82845G host to AGP bridge> on hostb0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
vgapci0: <VGA-compatible display> mem 
0xe6000000-0xe6ffffff,0xf0000000-0xf7ffffff,0xef800000-0xef87ffff irq 16 
at device 0.0 on pci1
uhci0: <Intel 82801DB (ICH4) USB controller USB-A> port 0xd800-0xd81f 
irq 16 at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
uhci0: [ITHREAD]
usb0: <Intel 82801DB (ICH4) 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> on usb0
uhub0: 2 ports with 2 removable, self powered
uhci1: <Intel 82801DB (ICH4) USB controller USB-B> port 0xd400-0xd41f 
irq 19 at device 29.1 on pci0
uhci1: [GIANT-LOCKED]
uhci1: [ITHREAD]
usb1: <Intel 82801DB (ICH4) 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> on usb1
uhub1: 2 ports with 2 removable, self powered
uhci2: <Intel 82801DB (ICH4) USB controller USB-C> port 0xd000-0xd01f 
irq 18 at device 29.2 on pci0
uhci2: [GIANT-LOCKED]
uhci2: [ITHREAD]
usb2: <Intel 82801DB (ICH4) 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> on usb2
uhub2: 2 ports with 2 removable, self powered
ehci0: <Intel 82801DB/L/M (ICH4) USB 2.0 controller> mem 
0xe5800000-0xe58003ff irq 23 at device 29.7 on pci0
ehci0: [GIANT-LOCKED]
ehci0: [ITHREAD]
usb3: EHCI version 1.0
usb3: companion controllers, 2 ports each: usb0 usb1 usb2
usb3: <Intel 82801DB/L/M (ICH4) USB 2.0 controller> on ehci0
usb3: USB revision 2.0
uhub3: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb3
uhub3: 6 ports with 6 removable, self powered
pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci2: <ACPI PCI bus> on pcib2
fwohci0: <VIA Fire II (VT6306)> port 0xb800-0xb87f mem 
0xe5000000-0xe50007ff irq 22 at device 3.0 on pci2
fwohci0: [FILTER]
fwohci0: OHCI version 1.0 (ROM=1)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:e0:18:00:00:0e:35:c1
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
dcons_crom0: <dcons configuration ROM> on firewire0
dcons_crom0: bus_addr 0x1278000
fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 02:e0:18:0e:35:c1
fwe0: Ethernet address: 02:e0:18:0e:35:c1
fwip0: <IP over FireWire> on firewire0
fwip0: Firewire address: 00:e0:18:00:00:0e:35:c1 _at_ 0xfffe00000000, S400, 
maxrec 2048
sbp0: <SBP-2/SCSI over FireWire> on firewire0
fwohci0: Initiate bus reset
fwohci0: BUS reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
bge0: <Broadcom NetXtreme Gigabit Ethernet Controller, ASIC rev. 0x1002> 
mem 0xe4800000-0xe480ffff irq 20 at device 5.0 on pci2
miibus0: <MII bus> on bge0
brgphy0: <BCM5703 10/100/1000baseTX PHY> PHY 1 on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-FDX, auto
bge0: Ethernet address: 00:e0:18:dd:7a:5a
bge0: [ITHREAD]
emu10kx0: <Creative SBLive! Player 5.1 [SB????]> port 0xb400-0xb41f irq 
22 at device 10.0 on pci2
emu10kx0: [ITHREAD]
pcm0: <EMU10Kx DSP front PCM interface> on emu10kx0
pcm0: <SigmaTel STAC9708/11 AC97 Codec>
pcm1: <EMU10Kx DSP rear PCM interface> on emu10kx0
pci2: <input device> at device 10.1 (no driver attached)
pci2: <unknown> at device 11.0 (no driver attached)
pci2: <multimedia, video> at device 12.0 (no driver attached)
re0: <RealTek 8169 Gigabit Ethernet> port 0xa800-0xa8ff mem 
0xe3000000-0xe30000ff irq 21 at device 13.0 on pci2
miibus1: <MII bus> on re0
rgephy0: <RTL8169S/8110S/8211B media interface> PHY 1 on miibus1
rgephy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-FDX, auto
re0: Ethernet address: 00:09:5b:e0:ea:db
re0: [FILTER]
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH4 UDMA100 controller> port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f irq 18 at device 31.1 
on pci0
ata0: <ATA channel 0> on atapci0
ata0: [ITHREAD]
ata1: <ATA channel 1> on atapci0
ata1: [ITHREAD]
cpu0: <ACPI CPU> on acpi0
p4tcc0: <CPU Frequency Thermal Control> on cpu0
acpi_button0: <Power Button> on acpi0
atrtc0: <AT realtime clock> port 0x70-0x73 irq 8 on acpi0
fdc0: <floppy drive controller> port 0x3f2-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FILTER]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on 
acpi0
sio0: type 16550A
sio0: [FILTER]
sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 flags 0x80 on 
acpi0
sio1: type 16550A
sio1: [FILTER]
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]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: [ITHREAD]
psm0: model MouseMan+, device ID 0
pmtimer0 on isa0
orm0: <ISA Option ROM> at iomem 0xd0000-0xd3fff pnpid ORM0000 on isa0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/16 bytes threshold
ppbus0: <Parallel port bus> on ppc0
ppbus0: [ITHREAD]
ppi0: <Parallel I/O> on ppbus0
plip0: <PLIP network interface> on ppbus0
plip0: WARNING: using obsoleted IFF_NEEDSGIANT flag
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppc0: [GIANT-LOCKED]
ppc0: [ITHREAD]
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 2806377684 Hz quality 800
Timecounters tick every 1.000 msec
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
ad0: 78167MB <Maxtor 6Y080L0 YAR41VW0> at ata0-master UDMA100
ad1: 78167MB <Maxtor 6Y080L0 YAR41VW0> at ata0-slave UDMA100
acd0: DMA limited to UDMA33, controller found non-ATA66 cable
acd0: DVDR <PIONEER DVD-RW DVR-109/1.50> at ata1-master UDMA33
acd1: DMA limited to UDMA33, controller found non-ATA66 cable
acd1: DVDROM <Pioneer DVD-ROM ATAPIModel DVD-116 0107/E1.07> at 
ata1-slave UDMA33
acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x48 0x00 
0x01
acd1: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00
acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x48 0x00 
0x01
acd1: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00
WARNING: WITNESS option enabled, expect reduced performance.
cd0 at ata1 bus 0 target 0 lun 0
cd0: <PIONEER DVD-RW  DVR-109 1.50> Removable CD-ROM SCSI-0 device
cd0: 33.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
cd1 at ata1 bus 0 target 1 lun 0
cd1: <PIONEER DVD-ROM DVD-116 1.07> Removable CD-ROM SCSI-0 device
cd1: 33.000MB/s transfers
cd1: Attempt to query device size failed: NOT READY, Medium not present
lock order reversal: (sleepable after non-sleepable)
 1st 0xc4356020 struct mount mtx (struct mount mtx) _at_ 
/mnt/cvs/FreeBSD/usr/src/sys/kern/vfs_subr.c:338
 2nd 0xc4356000 vfslock (vfslock) _at_ 
/mnt/cvs/FreeBSD/usr/src/sys/kern/vfs_subr.c:365
KDB: stack backtrace:
db_trace_self_wrapper(c0b5e231,e287ab70,c07fc876,c0b607ba,c4356000,...) 
at db_trace_self_wrapper+0x26
kdb_backtrace(c0b607ba,c4356000,c0b667ea,c0b667ea,c0b66d87,...) at 
kdb_backtrace+0x29
witness_checkorder(c4356000,1,c0b66d87,16d,c0b59beb,...) at 
witness_checkorder+0x6d6
__lockmgr_args(c4356000,200100,c4356020,0,0,...) at __lockmgr_args+0x221
vfs_busy(c4356000,200,0,c3e27cc0,1,...) at vfs_busy+0x1d4
vfs_mount_alloc(0,c0c17600,c0b66b2d,c3e27cc0,c083b200,...) at 
vfs_mount_alloc+0x78
vfs_mountroot(c0c87170,4,c0b55a89,264,0,...) at vfs_mountroot+0x26f
start_init(0,e287ad38,c0b574ba,30d,c3e25cf8,...) at start_init+0x65
fork_exit(c07864b0,0,e287ad38) at fork_exit+0xc5
fork_trampoline() at fork_trampoline+0x8
--- trap 0, eip = 0, esp = 0xe287ad70, ebp = 0 ---
lock order reversal: (sleepable after non-sleepable)
 1st 0xc4106eb0 vnode interlock (vnode interlock) _at_ 
/mnt/cvs/FreeBSD/usr/src/sys/fs/devfs/devfs_vnops.c:197
 2nd 0xc4106e90 devfs (devfs) _at_ 
/mnt/cvs/FreeBSD/usr/src/sys/kern/vfs_subr.c:2046
KDB: stack backtrace:
db_trace_self_wrapper(c0b5e231,e287aa9c,c07fc876,c0b607ba,c4106e90,...) 
at db_trace_self_wrapper+0x26
kdb_backtrace(c0b607ba,c4106e90,c0b5116b,c0b5116b,c0b66d87,...) at 
kdb_backtrace+0x29
witness_checkorder(c4106e90,9,c0b66d87,7fe,c4106e90,...) at 
witness_checkorder+0x6d6
__lockmgr_args(c4106e90,80100,c4106eb0,0,0,...) at __lockmgr_args+0x7b8
vop_stdlock(e287ab90,c0b51368,c0b54713,80100,c4106e38,...) at 
vop_stdlock+0x62
VOP_LOCK1_APV(c0c17680,e287ab90,c0c54880,c4106e38,80100,...) at 
VOP_LOCK1_APV+0xa5
_vn_lock(c4106e38,80100,c0b66d87,7fe,c0b51368,...) at _vn_lock+0x5e
vget(c4106e38,80100,c3e27cc0,c6,c4327114,...) at vget+0xac
devfs_allocv(c4329800,c4356000,e287ac20,c3e27cc0,c3e27d64,...) at 
devfs_allocv+0x127
devfs_root(c4356000,80000,c0cd9a78,c3e27cc0,4,...) at devfs_root+0x51
set_rootvnode(c0cd9a60,0,c0b666dc,5f7,c083b200,...) at set_rootvnode+0x2d
vfs_mountroot(c0c87170,4,c0b55a89,264,0,...) at vfs_mountroot+0x34d
start_init(0,e287ad38,c0b574ba,30d,c3e25cf8,...) at start_init+0x65
fork_exit(c07864b0,0,e287ad38) at fork_exit+0xc5
fork_trampoline() at fork_trampoline+0x8
--- trap 0, eip = 0, esp = 0xe287ad70, ebp = 0 ---
lock order reversal:
 1st 0xc4106e90 devfs (devfs) _at_ 
/mnt/cvs/FreeBSD/usr/src/sys/kern/vfs_subr.c:2046
 2nd 0xc4327114 devfsmount (devfsmount) _at_ 
/mnt/cvs/FreeBSD/usr/src/sys/fs/devfs/devfs_vnops.c:201
KDB: stack backtrace:
db_trace_self_wrapper(c0b5e231,e287abb4,c07fc876,c0b607ba,c4327114,...) 
at db_trace_self_wrapper+0x26
kdb_backtrace(c0b607ba,c4327114,c0b51327,c0b51327,c0b51368,...) at 
kdb_backtrace+0x29
witness_checkorder(c4327114,9,c0b51368,c9,c7,...) at 
witness_checkorder+0x6d6
_sx_xlock(c4327114,0,c0b51368,c9,c4327114,...) at _sx_xlock+0x7d
devfs_allocv(c4329800,c4356000,e287ac20,c3e27cc0,c3e27d64,...) at 
devfs_allocv+0x14c
devfs_root(c4356000,80000,c0cd9a78,c3e27cc0,4,...) at devfs_root+0x51
set_rootvnode(c0cd9a60,0,c0b666dc,5f7,c083b200,...) at set_rootvnode+0x2d
vfs_mountroot(c0c87170,4,c0b55a89,264,0,...) at vfs_mountroot+0x34d
start_init(0,e287ad38,c0b574ba,30d,c3e25cf8,...) at start_init+0x65
fork_exit(c07864b0,0,e287ad38) at fork_exit+0xc5
fork_trampoline() at fork_trampoline+0x8
--- trap 0, eip = 0, esp = 0xe287ad70, ebp = 0 ---
Trying to mount root from ufs:/dev/ad1s2a
lock order reversal: (sleepable after non-sleepable)
 1st 0xc4106ba0 bufobj interlock (bufobj interlock) _at_ 
/mnt/cvs/FreeBSD/usr/src/sys/kern/vfs_bio.c:2442
 2nd 0xd7e7d088 bufwait (bufwait) _at_ 
/mnt/cvs/FreeBSD/usr/src/sys/kern/vfs_bio.c:2456
KDB: stack backtrace:
db_trace_self_wrapper(c0b5e231,e287a798,c07fc876,c0b607ba,d7e7d088,...) 
at db_trace_self_wrapper+0x26
kdb_backtrace(c0b607ba,d7e7d088,c0b6565e,c0b6565e,c0b64bfd,...) at 
kdb_backtrace+0x29
witness_checkorder(d7e7d088,9,c0b64bfd,998,c0b59beb,...) at 
witness_checkorder+0x6d6
__lockmgr_args(d7e7d088,81900,c4106ba0,c0b655ba,50,...) at 
__lockmgr_args+0x7b8
getblk(c4106af0,0,0,800,0,...) at getblk+0x16e
breadn(c4106af0,0,0,800,0,...) at breadn+0x44
bread(c4106af0,0,0,800,0,...) at bread+0x4c
ffs_blkatoff(c4106af0,0,0,0,e287a9a8,...) at ffs_blkatoff+0xdf
ufs_lookup(e287a9ec,c4106af0,0,c4106af0,e287aa0c,...) at ufs_lookup+0x2bb
VOP_CACHEDLOOKUP_APV(c0c3c220,e287a9ec,e287ab50,e287ab3c,c3df4500,...) 
at VOP_CACHEDLOOKUP_APV+0xa5
vfs_cache_lookup(e287aa6c,e287aa6c,500000c,80000,c4106af0,...) at 
vfs_cache_lookup+0xd7
VOP_LOOKUP_APV(c0c3c220,e287aa6c,c0b6647a,1b0,e287ab3c,...) at 
VOP_LOOKUP_APV+0xa5
lookup(e287ab24,c0b6647a,d8,c0,c3df462c,...) at lookup+0x59e
namei(e287ab24,e287ab28,c07fc05c,0,c0cd92d0,...) at namei+0x47b
kern_unlinkat(c3e27cc0,ffffff9c,c0b66b29,1,e287ac5c,...) at 
kern_unlinkat+0x46
kern_unlink(c3e27cc0,c0b66b29,1,632,0,...) at kern_unlink+0x27
vfs_mountroot_try(c0b66ce3,c0b54715,c0b4ccbd,1,c083b200,...) at 
vfs_mountroot_try+0x472
vfs_mountroot(c0c87170,4,c0b55a89,264,0,...) at vfs_mountroot+0x409
start_init(0,e287ad38,c0b574ba,30d,c3e25cf8,...) at start_init+0x65
fork_exit(c07864b0,0,e287ad38) at fork_exit+0xc5
fork_trampoline() at fork_trampoline+0x8
--- trap 0, eip = 0, esp = 0xe287ad70, ebp = 0 ---
Loading configuration files.
kernel dumps on /dev/ad1s3b
Entropy harvesting:
 interrupts
 ethernet
 point_to_point
 kickstart
.
swapon: adding /dev/ad1s3b as swap device
Starting file system checks:
/dev/ad1s2a: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ad1s2a: clean, 43815 free (1943 frags, 5234 blocks, 1.0% fragmentation)
/dev/ad1s3d: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ad1s3d: clean, 139338 free (22130 frags, 14651 blocks, 2.2% 
fragmentation)
/dev/ad1s3e: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ad1s3e: clean, 345255 free (143 frags, 43139 blocks, 0.0% 
fragmentation)
/dev/ad1s3a: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ad1s3a: clean, 389603 free (531 frags, 48634 blocks, 0.1% 
fragmentation)
/dev/ad1s2d: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ad1s2d: clean, 1619072 free (19168 frags, 199988 blocks, 0.9% 
fragmentation)
/dev/ad1s2g: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ad1s2g: clean, 765578 free (20442 frags, 93142 blocks, 0.5% 
fragmentation)
/dev/ad1s2e: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ad1s2e: clean, 219109 free (1317 frags, 27224 blocks, 0.1% 
fragmentation)
/dev/ad1s2h: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ad1s2h: clean, 1403597 free (13165 frags, 173804 blocks, 0.6% 
fragmentation)
/dev/ad1s2b: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ad1s2b: clean, 871451 free (3691 frags, 108470 blocks, 0.2% 
fragmentation)
/dev/ad1s2f: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ad1s2f: clean, 1485670 free (7750 frags, 184740 blocks, 0.4% 
fragmentation)
/dev/ad1s3g: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ad1s3g: clean, 1337445 free (94045 frags, 155425 blocks, 4.6% 
fragmentation)
/dev/ad1s3h: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ad1s3h: clean, 363043 free (3771 frags, 44909 blocks, 0.2% 
fragmentation)
/dev/ad1s3f: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ad1s3f: clean, 995155 free (35 frags, 124390 blocks, 0.0% 
fragmentation)
/dev/ad1s4d: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ad1s4d: clean, 524308 free (7636 frags, 64584 blocks, 0.2% 
fragmentation)
Setting hostuuid: df53a73e-f29d-11db-99fb-02e0180e35c1.
Setting hostid: 0x8d14ecad.
Mounting local file systems:
.
Setting hostname: baron.from.hell.
net.inet6.ip6.auto_linklocal:
1
 ->
0

debug.debugger_on_panic:
1
 ->
0

/etc/rc initiated on Sun Apr 27 19:05:38 EST 2008
DHCPDISCOVER on re0 to 255.255.255.255 port 67 interval 8

DHCPOFFER from 192.168.1.254

DHCPREQUEST on re0 to 255.255.255.255 port 67

DHCPACK from 192.168.1.254

bound to 192.168.1.1 -- renewal in 21600 seconds.

/etc/resolv.conf.save -> /etc/resolv.conf
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
    inet6 fe80::1%lo0 prefixlen 64 scopeid 0x6
    inet6 ::1 prefixlen 128
    inet 127.0.0.1 netmask 0xff000000
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
    
options=399b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_UCAST,WOL_MCAST,WOL_MAGIC>
    ether 00:09:5b:e0:ea:db
    inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255
    media: Ethernet autoselect (none)
    status: no carrier
lock order reversal:
 1st 0xc442e6e8 ufs (ufs) _at_ 
/mnt/cvs/FreeBSD/usr/src/sys/kern/vfs_subr.c:2046
 2nd 0xc0c85bd8 kernel linker (kernel linker) _at_ 
/mnt/cvs/FreeBSD/usr/src/sys/kern/kern_linker.c:687
KDB: stack backtrace:
db_trace_self_wrapper(c0b5e231,e670d6c8,c07fc876,c0b607ba,c0c85bd8,...) 
at db_trace_self_wrapper+0x26
kdb_backtrace(c0b607ba,c0c85bd8,c0b57f0b,c0b57f0b,c0b57f4f,...) at 
kdb_backtrace+0x29
witness_checkorder(c0c85bd8,9,c0b57f4f,2af,e670d718,...) at 
witness_checkorder+0x6d6
_sx_xlock(c0c85bd8,0,c0b57f4f,2af,c0b57f4f,...) at _sx_xlock+0x7d
linker_file_lookup_set(c4440100,c0b57fb1,e670d734,e670d730,0,...) at 
linker_file_lookup_set+0x4a
linker_file_register_sysctls(c0c85bd8,c0b57f4f,19d,17c,0,...) at 
linker_file_register_sysctls+0x2d
linker_load_module(c452c5bc,0,e670d940,e670d93c,e670d938,...) at 
linker_load_module+0x944
linker_load_dependencies(c4440300,78,c452c500,168,1500,...) at 
linker_load_dependencies+0x1a3
link_elf_load_file(c0c239a0,c44da180,e670dc24,17c,0,...) at 
link_elf_load_file+0x4d5
linker_load_module(0,e670dc4c,c0b57f4f,3ca,bfbfeed8,...) at 
linker_load_module+0x8da
kern_kldload(c4344220,c4321c00,e670dc70,0,280c3ba0,...) at kern_kldload+0xc8
kldload(c4344220,e670dcfc,4,c4344220,c0c1c820,...) at kldload+0x74
syscall(e670dd38) at syscall+0x2d3
Xint0x80_syscall() at Xint0x80_syscall+0x20
--- syscall (304, FreeBSD ELF32, kldload), eip = 0x280c3ba7, esp = 
0xbfbfee6c, ebp = 0xbfbfee98 ---
Starting pflog.
Enabling pf.
Apr 27 19:05:44 pflogd[412]: [priv]: msg PRIV_OPEN_LOG received
lock order reversal:
 1st 0xc456506c pf task mtx (pf task mtx) _at_ 
/mnt/cvs/FreeBSD/usr/src/sys/modules/pf/../../contrib/pf/net/pf_ioctl.c:1394
 2nd 0xc0cd9d4c ifnet (ifnet) _at_ /mnt/cvs/FreeBSD/usr/src/sys/net/if.c:1497
KDB: stack backtrace:
db_trace_self_wrapper(c0b5e231,e670da58,c07fc876,c0b607ba,c0cd9d4c,...) 
at db_trace_self_wrapper+0x26
kdb_backtrace(c0b607ba,c0cd9d4c,c0b683aa,c0b683aa,c0b681f3,...) at 
kdb_backtrace+0x29
witness_checkorder(c0cd9d4c,9,c0b681f3,5d9,0,...) at 
witness_checkorder+0x6d6
_mtx_lock_flags(c0cd9d4c,0,c0b681f3,5d9,c0104414,...) at 
_mtx_lock_flags+0xbc
ifunit(c4319c30,0,c4562a20,572,6f6,...) at ifunit+0x2f
pfioctl(c443fb00,c0104414,c4319c30,3,c4344220,...) at pfioctl+0x2f80
devfs_ioctl_f(c43632a4,c0104414,c4319c30,c3df4500,c4344220,...) at 
devfs_ioctl_f+0xd5
kern_ioctl(c4344220,3,c0104414,c4319c30,17f5e98,...) at kern_ioctl+0x1c8
ioctl(c4344220,e670dcfc,c,c0b8f8aa,c0c1b0b0,...) at ioctl+0x13f
syscall(e670dd38) at syscall+0x2d3
Xint0x80_syscall() at Xint0x80_syscall+0x20
--- syscall (54, FreeBSD ELF32, ioctl), eip = 0x281b07a3, esp = 
0xbfbfde5c, ebp = 0xbfbfde88 ---
pf enabled
Additional routing options:
 IP gateway=YES
.
Starting devd.
hw.acpi.cpu.cx_lowest:
C1

sysctl:
hw.acpi.cpu.cx_lowest
:
Invalid argument
Additional IP options:
 log_in_vain=1
.
Mounting NFS file systems:
.
ELF ldconfig path: /lib /usr/lib /usr/X11R6/lib /usr/local/lib 
/compat/linux/lib /usr/local/lib/compat /usr/local/lib/compat/pkg 
/usr/local/lib/gcc/i386-portbld-freebsd7.0/3.4.6 /usr/local/lib/kde3 
/usr/local/lib/nss
a.out ldconfig path: /usr/lib/aout
Clearing /tmp (X related).
Creating and/or trimming log files:
.
Starting syslogd.
Checking for core dump on /dev/ad1s3b...
savecore: no dumps found
Initial i386 initialization:
.
Additional ABI support:
 linux
.
Setting date via ntp.
27 Apr 19:05:46 ntpdate[833]: step time server 128.250.33.242 offset 
-1.014745 sec
Starting rpcbind.
Starting mountd.
NFS on reserved port only=YES
Starting nfsd.
Recovering vi editor sessions:
TCP: [127.0.0.1]:15122 to [127.0.0.1]:25 tcpflags 0x2<SYN>; tcp_input: 
Connection attempt to closed port
TCP: [127.0.0.1]:65362 to [127.0.0.1]:25 tcpflags 0x2<SYN>; tcp_input: 
Connection attempt to closed port
.
Removing stale Samba tdb files:
 done
Starting local daemons:
.
Updating motd
.
Mounting late file systems:
.
Performing sanity check on apache22 configuration:
httpd: Could not reliably determine the server's fully qualified domain 
name, using baron.from.hell for ServerName
Syntax OK
Starting apache22.
httpd: Could not reliably determine the server's fully qualified domain 
name, using baron.from.hell for ServerName
Configuring syscons:
 blanktime
.
Starting sshd.
Starting cron.
Local package initialization:
 rtc
link_elf: symbol callout_reset undefined
kldload:
can't load /usr/local/modules/rtc.ko
:
No such file or directory
.
Starting default moused:
.
Starting background file system checks in 60 seconds.

Sun Apr 27 19:05:54 EST 2008
lock order reversal:
 1st 0xc4a58170 pseudofs (pseudofs) _at_ 
/mnt/cvs/FreeBSD/usr/src/sys/kern/vfs_vnops.c:530
 2nd 0xc4106b48 ufs (ufs) _at_ 
/mnt/cvs/FreeBSD/usr/src/sys/kern/vfs_lookup.c:432
KDB: stack backtrace:
db_trace_self_wrapper(c0b5e231,e679c8d4,c07fc876,c0b607ba,c4106b48,...) 
at db_trace_self_wrapper+0x26
kdb_backtrace(c0b607ba,c4106b48,c0b5503d,c0b5503d,c0b6647a,...) at 
kdb_backtrace+0x29
witness_checkorder(c4106b48,9,c0b6647a,1b0,4,...) at 
witness_checkorder+0x6d6
__lockmgr_args(c4106b48,80400,c4106b68,0,0,...) at __lockmgr_args+0x7b8
ffs_lock(e679c9d0,c0c92c74,4,80400,c4106af0,...) at ffs_lock+0x82
VOP_LOCK1_APV(c0c3c220,e679c9d0,c0c54880,c4106af0,80400,...) at 
VOP_LOCK1_APV+0xa5
_vn_lock(c4106af0,80400,c0b6647a,1b0,820,...) at _vn_lock+0x5e
lookup(e679caec,c0b6647a,d8,c0,c470b72c,...) at lookup+0xee
namei(e679caec,2,e679cae4,c09cc7f7,c147108c,...) at namei+0x47b
linprocfs_domtab(c46ac000,0,c4366d80,c4a27220,e679cc60,...) at 
linprocfs_domtab+0x44
pfs_read(e679cbc8,c46ac000,c46b3b94,c46ac000,e679cbe8,...) at pfs_read+0x59f
VOP_READ_APV(c0c18480,e679cbc8,c0b67a9d,212,c0cd9330,...) at 
VOP_READ_APV+0xa5
vn_read(c46b3b94,e679cc60,c4893c00,0,c46ac000,...) at vn_read+0x1ee
dofileread(e679cc60,ffffffff,ffffffff,0,c46b3b94,...) at dofileread+0x96
kern_readv(c46ac000,1b,e679cc60,299f5000,1000,...) at kern_readv+0x58
read(c46ac000,e679ccfc,e679ccf8,e679cd1c,c0e54408,...) at read+0x4f
syscall(e679cd38) at syscall+0x2d3
Xint0x80_syscall() at Xint0x80_syscall+0x20
--- syscall (3, Linux ELF, read), eip = 0x29871165, esp = 0xbfbfc544, 
ebp = 0xbfbfc548 ---





--- GENERIC    2008-04-21 07:42:00.000000000 +1000
+++ BARON    2008-02-09 19:49:38.000000000 +1100
_at__at_ -16,12 +16,12 _at__at_
 # If you are in doubt as to the purpose or necessity of a line, check first
 # in NOTES.
 #
-# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.485 2008/04/20 20:35:39 sam Exp $
+# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.481 2008/02/03 07:07:30 
scottl Exp $
 
 cpu        I486_CPU
 cpu        I586_CPU
 cpu        I686_CPU
-ident        GENERIC
+ident        BARON
 
 # To statically compile in device wiring instead of /boot/device.hints
 #hints        "GENERIC.hints"        # Default places to look for devices.
_at__at_ -41,7 +41,6 _at__at_
 options     MD_ROOT            # MD is a potential root device
 options     NFSCLIENT        # Network Filesystem Client
 options     NFSSERVER        # Network Filesystem Server
-options     NFSLOCKD        # Network Lock Manager
 options     NFS_ROOT        # NFS usable as /, requires NFSCLIENT
 options     MSDOSFS            # MSDOS Filesystem
 options     CD9660            # ISO 9660 Filesystem
_at__at_ -253,10 +252,13 _at__at_
 device        wlan_ccmp    # 802.11 CCMP support
 device        wlan_tkip    # 802.11 TKIP support
 device        wlan_amrr    # AMRR transmit rate control algorithm
+device        wlan_scan_ap    # 802.11 AP mode scanning
+device        wlan_scan_sta    # 802.11 STA mode scanning
 device        an        # Aironet 4500/4800 802.11 wireless NICs.
 device        ath        # Atheros pci/cardbus NIC's
 device        ath_hal        # Atheros HAL (Hardware Access Layer)
 device        ath_rate_sample    # SampleRate tx rate control for ath
+device        awi        # BayStack 660 and others
 device        ral        # Ralink Technology RT2500 wireless NICs.
 device        wi        # WaveLAN/Intersil/Symbol 802.11 wireless NICs.
 #device        wl        # Older non 802.11 Wavelan wireless NIC.
_at__at_ -304,7 +306,6 _at__at_
 device        uftdi        # For FTDI usb serial adapters
 device        uipaq        # Some WinCE based devices
 device        uplcom        # Prolific PL-2303 serial adapters
-device        uslcom        # SI Labs CP2101/CP2102 serial adapters
 device        uvisor        # Visor and Palm devices
 device        uvscom        # USB serial support for DDI pocket's PHS
 # USB Ethernet, requires miibus
_at__at_ -323,3 +324,31 _at__at_
 device        fwip        # IP over FireWire (RFC 2734,3146)
 device        dcons        # Dumb console driver
 device        dcons_crom    # Configuration ROM for dcons
+
+#
+# BARON
+#
+device          sound
+device          snd_emu10kx
+
+#
+# Options to enable ATAPI devices access through SCSI subsystem
+#
+device          atapicam
+device          ata
+device          scbus
+device          cd
+device          pass
+
+#
+# Alternate queuing of network packets
+#
+options         ALTQ
+options         ALTQ_CBQ
+options         ALTQ_RED
+options         ALTQ_RIO
+options         ALTQ_HFSC
+options         ALTQ_CDNR
+options         ALTQ_PRIQ
+options         ALTQ_NOPCC
+options         ALTQ_DEBUG



-- 

Regards

Peter

As always the organisation disavows knowledge of this email
Received on Sun Apr 27 2008 - 09:26:48 UTC

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