Weird occurance while "make buildworld" from /usr/src

From: Drew Broadley <drew_at_corrupt.co.nz>
Date: Fri, 28 May 2004 15:53:02 +1200
This appeared in my /var/log/messages while building from latest source:

lock order reversal
 1st 0xc52e6108 vm object (vm object) _at_ /usr/src/sys/vm/swap_pager.c:1313
 2nd 0xc09710e0 swap_pager swhash (swap_pager swhash) _at_ 
/usr/src/sys/vm/swap_pager.c:1799
 3rd 0xc1040948 vm object (vm object) _at_ /usr/src/sys/vm/uma_core.c:886
Stack backtrace:
backtrace(0,1,c093fd88,c09411d8,c08d2d1c) at backtrace+0x12
witness_checkorder(c1040948,9,c086bb23,376) at witness_checkorder+0x593
_mtx_lock_flags(c1040948,0,c086bb23,376,c45a8a94) at _mtx_lock_flags+0x67
obj_alloc(c45a8a80,1000,d6c70a3b,101,c45a8a94) at obj_alloc+0x31
slab_zalloc(c45a8a80,1,c45a8a80,c45a8a94,1) at slab_zalloc+0x82
uma_zone_slab(c45a8a80,1,c45a8a94,0,c086bb23,68f) at uma_zone_slab+0xb5
uma_zalloc_internal(c45a8a80,0,1,c45a8a94,0) at uma_zalloc_internal+0x28
uma_zalloc_arg(c45a8a80,0,1) at uma_zalloc_arg+0x2f8
swp_pager_meta_build(c52e6108,5,0,2,0) at swp_pager_meta_build+0x108
swap_pager_putpages(c52e6108,d6c70c00,1,0,d6c70b70) at 
swap_pager_putpages+0x2b4
default_pager_putpages(c52e6108,d6c70c00,1,0,d6c70b70) at 
default_pager_putpages+0x18
vm_pageout_flush(d6c70c00,1,0,e4,c0986160) at vm_pageout_flush+0x11e
vm_pageout_clean(c169b828) at vm_pageout_clean+0x2a5
vm_pageout_scan(0) at vm_pageout_scan+0x54b
vm_pageout(0,d6c70d48,0,c079eea4,0) at vm_pageout+0x2d2
fork_exit(c079eea4,0,d6c70d48) at fork_exit+0xa8
fork_trampoline() at fork_trampoline+0x8
--- trap 0x1, eip = 0, esp = 0xd6c70d7c, ebp = 0 ---

---------------------------------------------------

uname -a
FreeBSD taz.lan.corrupt.co.nz 5.2-CURRENT FreeBSD 5.2-CURRENT #14: Fri 
May 28 12:53:11 NZST 2004     
drew_at_taz.lan.corrupt.co.nz:/usr/obj/usr/src/sys/EVOn800v  i386

---------------------------------------------------

dmesg -a

Copyright (c) 1992-2004 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.2-CURRENT #14: Fri May 28 12:53:11 NZST 2004
    drew_at_taz.lan.corrupt.co.nz:/usr/obj/usr/src/sys/EVOn800v
WARNING: WITNESS option enabled, expect reduced performance.
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0a77000.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 Mobile CPU 1.70GHz (1694.51-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf24  Stepping = 4
  
Features=0x3febf9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM>
real memory  = 536674304 (511 MB)
avail memory = 515444736 (491 MB)
random: <entropy source, Software, Yarrow>
Pentium Pro MTRR support enabled
acpi0: <COMPAQ CPQ004A> on motherboard
pcibios: BIOS version 2.10
acpi0: [GIANT-LOCKED]
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 (3 Cx states)> on acpi0
acpi_tz0: <Thermal Zone> port 0x530-0x537 on acpi0
acpi_tz1: <Thermal Zone> port 0x530-0x537 on acpi0
acpi_tz2: <Thermal Zone> port 0x530-0x537 on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib0: slot 31 INTA is routed to irq 11
pcib0: slot 31 INTB is routed to irq 5
agp0: <Intel 82845 host to AGP bridge> mem 0xa0000000-0xafffffff at 
device 0.0 on pci0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pcib1: slot 0 INTA is routed to irq 11
drm0: <ATI Radeon LW Mobility 7500 M7> port 0x3000-0x30ff mem 
0x80380000-0x8038ffff,0x88000000-0x8fffffff irq 11 at device 0.0 on pci1
info: [drm] AGP at 0xa0000000 256MB
info: [drm] Initialized radeon 1.10.0 20020828 on minor 0
pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci2: <ACPI PCI bus> on pcib2
pcib2: slot 4 INTA is routed to irq 5
pcib2: slot 6 INTA is routed to irq 11
pcib2: slot 8 INTA is routed to irq 10
pcib2: slot 14 INTA is routed to irq 10
pcib2: slot 14 INTC is routed to irq 10
pci2: <simple comms> at device 4.0 (no driver attached)
cbb0: <TI1410 PCI-CardBus Bridge> mem 0x80100000-0x80100fff irq 11 at 
device 6.0 on pci2
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
fxp0: <Intel 82801CAM (ICH3) Pro/100 VE Ethernet> port 0x2000-0x203f mem 
0x80180000-0x80180fff irq 10 at device 8.0 on pci2
miibus0: <MII bus> on fxp0
inphy0: <i82562ET 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:08:02:63:7a:48
fxp0: [GIANT-LOCKED]
ohci0: <NEC uPD 9210 USB controller> mem 0x80200000-0x80200fff irq 10 at 
device 14.0 on pci2
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: <NEC uPD 9210 USB controller> on ohci0
usb0: USB revision 1.0
uhub0: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1: <NEC uPD 9210 USB controller> mem 0x80280000-0x80280fff at device 
14.1 on pci2
pcib2: slot 14 INTB is routed to irq 10
ohci1: [GIANT-LOCKED]
usb1: OHCI version 1.0, legacy support
usb1: <NEC uPD 9210 USB controller> on ohci1
usb1: USB revision 1.0
uhub1: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
pci2: <serial bus, USB> at device 14.2 (no driver attached)
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH3 UDMA100 controller> port 
0x4440-0x444f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 irq 11 at device 31.1 
on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pcm0: <Intel ICH3 (82801CA)> port 0x4400-0x443f,0x4000-0x40ff irq 5 at 
device 31.5 on pci0
pcm0: [GIANT-LOCKED]
pcm0: <Analog Devices AD1886A AC97 Codec>
acpi_cmbat0: <Control Method Battery> on acpi0
acpi_cmbat1: <Control Method Battery> on acpi0
acpi_acad0: <AC Adapter> on acpi0
acpi_button0: <Power Button> on acpi0
acpi_button1: <Sleep Button> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_ec0: <Embedded Controller: GPE 0x1d> port 0x66,0x62 on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model Generic PS/2 mouse, device ID 0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x3e8-0x3ef irq 3 drq 3 on acpi0
sio1: type 16550A
ppc0 port 0x778-0x77a,0x378-0x37f irq 7 drq 1 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
orm0: <Option ROM> at iomem 0xc0000-0xcffff on isa0
pmtimer0 on isa0
fdc0: ready for input in output
fdc0: cmd 3 failed at out byte 1 of 3
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 1694513996 Hz quality 800
Timecounters tick every 1.000 msec
acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0%
ad0: 38154MB <HITACHI_DK23DA-40> [77520/16/63] at ata0-master UDMA100
acd0: CDRW <SD-R2102> at ata1-master WDMA2
Mounting root from ufs:/dev/ad0s1a
Loading configuration files.
Entropy harvesting:
 interrupts
 ethernet
 point_to_point
.
swapon: adding /dev/ad0s1b as swap device
Starting file system checks:
/dev/ad0s1a: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s1a: clean, 77704 free (1136 frags, 9571 blocks, 0.9% fragmentation)
/dev/ad0s2d: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s2d: clean, 2247983 free (27183 frags, 277600 blocks, 0.2% 
fragmentation)
/dev/ad0s1e: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s1e: clean, 119692 free (196 frags, 14937 blocks, 0.2% 
fragmentation)
/dev/ad0s1f: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s1f: clean, 532887 free (20279 frags, 64076 blocks, 0.9% 
fragmentation)
/dev/ad0s1d: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s1d: clean, 106477 free (613 frags, 13233 blocks, 0.5% 
fragmentation)
kern.ipc.shm_allow_removed:
0
 ->
1

Setting hostname: taz.lan.corrupt.co.nz.
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet 127.0.0.1 netmask 0xff000000
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
Starting dhclient.
fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=48<VLAN_MTU,POLLING>
        inet6 fe80::208:2ff:fe63:7a48%fxp0 prefixlen 64 scopeid 0x1
        inet 192.168.63.101 netmask 0xffffff00 broadcast 192.168.63.255
        ether 00:08:02:63:7a:48
        media: Ethernet autoselect (10baseT/UTP)
        status: active
route:
writing to routing socket
:
File exists
add net default: gateway 10.10.69.254: File exists
Additional routing options:
.
hw.bus.devctl_disable:
0
 ->
1

Mounting NFS file systems:
.
Starting syslogd.
May 28 13:48:22 taz syslogd: kernel boot file is /boot/kernel/kernel
Starting ntpdate.
NFS access cache time=2
ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/X11R6/lib 
/usr/local/lib
a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout 
/usr/X11R6/lib/aout /usr/local/lib/aout
Recovering vi editor sessions:
.
Starting usbd.
Starting local daemons:
Updating motd
.
Configuring syscons:
 blanktime
.
Starting sshd.
Starting sendmail.
Initial i386 initialization:
.
Additional ABI support:
 linux
.
Starting cron.
Local package initialization:
ldconfig:
/usr/local/lib/mysql: ignoring group-writable directory

ldconfig:
/usr/local/lib/compat/pkg: ignoring group-writable directory

Starting ifconfigd

 (skipping isc-dhcpd.sh, not executable)
 (skipping jabberd.sh, not executable)
Starting Samba
Starting smartd.
.
Additional TCP options:
.
Starting moused:
.
Starting inetd.
Starting background file system checks in 60 seconds.

Fri May 28 13:48:33 NZST 2004
Received on Thu May 27 2004 - 18:55:00 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:55 UTC