I'm running 6.0-BETA1 to help out the effort, and I got a lock order
reversal. I assume I'll get more.
Should I be filing PRs for these? Posting them here?
Is there better debugging info I can turn on?
Which is better, salmon or tuna?
Jul 23 21:41:25 devel kernel: lock order reversal
Jul 23 21:41:25 devel kernel: 1st 0xc097e140 UMA lock (UMA lock) @
/usr/src/sys/vm/uma_core.c:1475
Jul 23 21:41:25 devel kernel: 2nd 0xc1061144 system map (system map) @
/usr/src/sys/vm/vm_map.c:2317
Jul 23 21:41:25 devel kernel: KDB: stack backtrace:
Jul 23 21:41:25 devel kernel:
kdb_backtrace(0,ffffffff,c0933278,c09333b8,c08bdd04) at kdb_backtrace+0x29
Jul 23 21:41:25 devel kernel: witness_checkorder(c1061144,9,c0873e13,90d) at
witness_checkorder+0x564
Jul 23 21:41:25 devel kernel: _mtx_lock_flags(c1061144,0,c0873e13,90d) at
_mtx_lock_flags+0x5b
Jul 23 21:41:25 devel kernel: _vm_map_lock(c10610c0,c0873e13,90d) at
_vm_map_lock+0x26
Jul 23 21:41:25 devel kernel:
vm_map_remove(c10610c0,c23b3000,c23b4000,d0ffac08,c0781865) at
vm_map_remove+0x1f
Jul 23 21:41:25 devel kernel:
kmem_free(c10610c0,c23b3000,1000,d0ffac38,c0781216) at kmem_free+0x25
Jul 23 21:41:25 devel kernel: page_free(c23b3000,1000,2) at page_free+0x29
Jul 23 21:41:25 devel kernel: zone_drain(c19c76e0) at zone_drain+0x26a
Jul 23 21:41:25 devel kernel:
zone_foreach(c0780fac,d0ffacec,c0792a27,c17e3780,d0ffac74) at zone_foreach+0x37
Jul 23 21:41:25 devel kernel: uma_reclaim(c17e3780,d0ffac74,0,c09298a0,d0ffac80)
at uma_reclaim+0x12
Jul 23 21:41:25 devel kernel: vm_pageout_scan(0,c097e5a0,0,c0875300,5c3) at
vm_pageout_scan+0x103
Jul 23 21:41:25 devel kernel: vm_pageout(0,d0ffad38,0,c07937e0,0) at
vm_pageout+0x2c3
Jul 23 21:41:25 devel kernel: fork_exit(c07937e0,0,d0ffad38) at fork_exit+0xa0
Jul 23 21:41:25 devel kernel: fork_trampoline() at fork_trampoline+0x8
Jul 23 21:41:25 devel kernel: --- trap 0x1, eip = 0, esp = 0xd0ffad6c, ebp = 0
---
------------ uname -a ------------
FreeBSD devel.ghostmrami.com 6.0-BETA1 FreeBSD 6.0-BETA1 #0: Sat Jul 23 22:09:29
EDT 2005 mrami@devel.ghostmrami.com:/usr/obj/usr/src/sys/DEVEL i386
--------- cat /sys/i386/conf/DEVEL ---------
include GENERIC
ident DEVEL
device smb
device smbus
device ichsmb
device atapicam
options DDB
options KDB
makeoptions DEBUG=-g
--------------- boot messages: -----------------
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 6.0-BETA1 #0: Sat Jul 23 14:40:35 EDT 2005
mrami@devel.ghostmrami.com:/usr/obj/usr/src/sys/DEVEL
WARNING: WITNESS option enabled, expect reduced performance.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Celeron(TM) CPU 1300MHz (1296.07-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0x6b1 Stepping = 1
Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory = 401342464 (382 MB)
avail memory = 383143936 (365 MB)
ACPI APIC Table: <D815EW EW81510A>
ioapic0: Changing APIC ID to 1
ioapic0 <Version 2.0> irqs 0-23 on motherboard
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <D815EW EW81510A> on motherboard
acpi0: Power Button (fixed)
pci_link0: <ACPI PCI Link LNKA> irq 11 on acpi0
pci_link1: <ACPI PCI Link LNKB> irq 9 on acpi0
pci_link2: <ACPI PCI Link LNKC> irq 0 on acpi0
pci_link3: <ACPI PCI Link LNKD> irq 10 on acpi0
pci_link4: <ACPI PCI Link LNKE> irq 3 on acpi0
pci_link5: <ACPI PCI Link LNKF> irq 0 on acpi0
pci_link6: <ACPI PCI Link LNKG> irq 5 on acpi0
pci_link7: <ACPI PCI Link LNKH> irq 0 on acpi0
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
cpu0: <ACPI CPU> 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 82815 (i815 GMCH) SVGA controller> mem
0xf8000000-0xfbffffff,0xffa80000-0xffafffff irq 16 at device 2.0 on pci0
pcib1: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci1: <ACPI PCI bus> on pcib1
fxp0: <Intel 82801BA/CAM (ICH2/3) Pro/100 Ethernet> port 0xdf00-0xdf3f mem
0xff8ef000-0xff8effff irq 20 at device 8.0 on pci1
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:03:47:f5:be:31
pci1: <simple comms> at device 10.0 (no driver attached)
cbb0: <RF5C475 PCI-CardBus Bridge> at device 12.0 on pci1
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH2 UDMA100 controller> port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 31.1 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
uhci0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> port 0xef80-0xef9f
irq 19 at device 31.2 on pci0
uhci0: [GIANT-LOCKED]
usb0: <Intel 82801BA/BAM (ICH2) 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
ichsmb0: <Intel 82801BA (ICH2) SMBus controller> port 0xefa0-0xefaf irq 17
at device 31.3 on pci0
ichsmb0: [GIANT-LOCKED]
smbus0: <System Management Bus> on ichsmb0
smb0: <SMBus generic I/O> on smbus0
pcm0: <Intel ICH2 (82801BA)> port 0xe800-0xe8ff,0xef00-0xef3f irq 17 at
device 31.5 on pci0
pcm0: [GIANT-LOCKED]
pcm0: <Analog Devices AD1885 AC97 Codec>
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse, device ID 3
fdc0: <floppy drive controller> port
0x3f0-0x3f1,0x3f2-0x3f3,0x3f4-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FAST]
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
ppc0: <ECP parallel printer port> port 0x378-0x37f,0x778-0x77f irq 7 drq 3
on acpi0
ppc0: Generic chipset (ECP/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
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem
0xc0000-0xcbfff,0xcc000-0xccfff,0xcd000-0xcdfff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
ulpt0: Hewlett-Packard DeskJet 845C, rev 1.10/1.00, addr 2, iclass 7/1
ulpt0: using bi-directional mode
Timecounter "TSC" frequency 1296065965 Hz quality 800
Timecounters tick every 1.000 msec
ad0: DMA limited to UDMA33, controller found non-ATA66 cable
ad0: 28629MB <Seagate ST330610A 3.99> at ata0-master UDMA33
acd0: CDRW <TSST CDW/DVD TS-H492A/TB05> at ata0-slave UDMA33
ad2: 152627MB <SAMSUNG SP1604N TM100-24> at ata1-master UDMA100
ATA PseudoRAID loaded
Trying to mount root from ufs:/dev/ad0s1a
wi0: <SMC SMC2632W> at port 0xd000-0xd03f irq 17 function 0 config 1 on
pccard0
wi0: using RF:PRISM2 MAC:HFA3841 CARD:HWB3163 rev.A
wi0: Intersil Firmware: Primary (0.3.0), Station (0.8.3)
wi0: Ethernet address: 00:04:e2:1b:49:93
cd0 at ata0 bus 0 targe 1 lun 0
cd0: <TSSTcorp CDW/DVD TS-H492A TB05> Removable CD-ROM SCSI-0 device
cd0: 33.000MB/s transfertempt to query device size failed:sent - tray closed
--
Marc Ramirez
Blue Circle Software Corporation
513-688-1070 (main)
513-382-1270 (direct)
http://www.bluecirclesoft.com
http://www.mrami.com (personal)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :
http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20050724/dc44f2a9/attachment.bin