LOR
Johan Hendriks
johan at double-l.nl
Thu Aug 11 14:25:23 GMT 2005
Here is a LOR from a HP e800 dual proc netserver pIII 800 with todays releng_6 build
lock order reversal
1st 0xc08e8c80 UMA lock (UMA lock) @ /usr/src/sys/vm/uma_core.c:1494
2nd 0xc1060144 system map (system map) @ /usr/src/sys/vm/vm_map.c:2317
KDB: stack backtrace:
witness_checkorder(c1060144,9,c081a48c,90d,9d6) at witness_checkorder+0x526
_mtx_lock_flags(c1060144,0,c081a48c,90d,c21ae000) at _mtx_lock_flags+0x54
_vm_map_lock(c10600c0,c081a48c,90d,0,c1044500) at _vm_map_lock+0x35
vm_map_remove(c10600c0,c21ae000,c21af000,2df,c08195ca) at vm_map_remove+0x32
zone_drain(c103f000,8,c08195ca,5d6,c085f2c0) at zone_drain+0x27b
zone_foreach(29e,c081b9a6,cca47d00,c07519d7,c154fa0c) at zone_foreach+0x4a
uma_reclaim(c154fa0c,0,c081b9a6,29e,1388) at uma_reclaim+0x1b
vm_pageout(0,cca47d38,c0801d74,30d,0) at vm_pageout+0x3c7
fork_exit(c0751610,0,cca47d38) at fork_exit+0xa4
fork_trampoline() at fork_trampoline+0x8
--- trap 0x1, eip = 0, esp = 0xcca47d6c, ebp = 0 ---
DMESG
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-BETA2 #0: Thu Aug 11 14:23:02 CEST 2005
root at dlsrv01.double-l.nl:/usr/obj/usr/src/sys/KRNL
WARNING: WITNESS option enabled, expect reduced performance.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel Pentium III (800.03-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0x686 Stepping = 6
Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory = 268369920 (255 MB)
avail memory = 252989440 (241 MB)
ACPI APIC Table: <PTLTD APIC >
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
cpu0 (BSP): APIC ID: 3
cpu1 (AP): APIC ID: 0
MADT: Forcing active-low polarity and level trigger for SCI
ioapic0 <Version 1.1> irqs 0-15 on motherboard
ioapic1 <Version 1.1> irqs 16-31 on motherboard
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <HP HWPC20F> on motherboard
acpi0: Power Button (fixed)
pci_link0: <ACPI PCI Link LNKU> irq 10 on acpi0
pci_link1: <ACPI PCI Link LNK0> on acpi0
pci_link2: <ACPI PCI Link LNK1> on acpi0
pci_link3: <ACPI PCI Link LNK2> on acpi0
pci_link4: <ACPI PCI Link LNK3> on acpi0
pci_link5: <ACPI PCI Link LNK4> irq 11 on acpi0
pci_link6: <ACPI PCI Link LNK5> on acpi0
pci_link7: <ACPI PCI Link LNK6> on acpi0
pci_link8: <ACPI PCI Link LNK7> on acpi0
pci_link9: <ACPI PCI Link LNK8> irq 5 on acpi0
pci_link10: <ACPI PCI Link LNK9> irq 9 on acpi0
pci_link11: <ACPI PCI Link LNKA> on acpi0
pci_link12: <ACPI PCI Link LNKB> on acpi0
pci_link13: <ACPI PCI Link LNKC> on acpi0
pci_link14: <ACPI PCI Link LNKD> on acpi0
pci_link15: <ACPI PCI Link LNKE> on acpi0
pci_link16: <ACPI PCI Link LNKF> on acpi0
pci_link17: <ACPI PCI Link LNKX> on acpi0
unknown: I/O range not supported
can't fetch resources for \_SB_.PCI0.ISA_.SIO_.LPT_ - AE_AML_INVALID_RESOURCE_TYPE
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x1208-0x120b on acpi0
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pci_link0: Unable to choose an IRQ
fxp0: <Intel 82559 Pro/100 Ethernet> port 0x1800-0x183f mem 0xfd100000-0xfd100fff,0xfd000000-0xfd0fffff irq 20 at device 2.0 on pci0
miibus0: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> on miibus0
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:e0:18:cb:a7:3c
pci0: <display, VGA> at device 7.0 (no driver attached)
isab0: <PCI-ISA bridge> port 0x1040-0x104f at device 15.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <ServerWorks ROSB4 UDMA33 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1840-0x184f at device 15.1 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
ohci0: <OHCI (generic) USB controller> mem 0xfd102000-0xfd102fff irq 9 at device 15.2 on pci0
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: <OHCI (generic) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: (0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
pcib1: <ACPI Host-PCI bridge> on acpi0
pci5: <ACPI PCI bus> on pcib1
sym0: <896> port 0x1c00-0x1cff mem 0xfd112000-0xfd1123ff,0xfd110000-0xfd111fff irq 24 at device 5.0 on pci5
sym0: Symbios NVRAM, ID 7, Fast-40, LVD, parity checking
sym0: open drain IRQ line driver, using on-chip SRAM
sym0: using LOAD/STORE-based firmware.
sym0: handling phase mismatch from SCRIPTS.
sym0: [GIANT-LOCKED]
sym1: <896> port 0x2000-0x20ff mem 0xfd112400-0xfd1127ff,0xfd114000-0xfd115fff irq 25 at device 5.1 on pci5
sym1: Symbios NVRAM, ID 7, Fast-40, SE, parity checking
sym1: open drain IRQ line driver, using on-chip SRAM
sym1: using LOAD/STORE-based firmware.
sym1: handling phase mismatch from SCRIPTS.
sym1: [GIANT-LOCKED]
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
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
ppc0: <ECP parallel printer port> port 0x378-0x37f 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: Polled port
ppi0: <Parallel I/O> on ppbus0
fdc0: <floppy drive controller> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xc0000-0xca7ff,0xca800-0xce7ff 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
Timecounters tick every 1.000 msec
acd0: CDROM <LTN486S/YKS4> at ata0-master PIO4
Waiting 5 seconds for SCSI devices to settle
(noperiph:sym0:0:-1:-1): SCSI BUS reset delivered.
(noperiph:sym1:0:-1:-1): SCSI BUS reset delivered.
sa0 at sym1 bus 0 target 6 lun 0
sa0: <COMPAQ SDT-9000 4.20> Removable Sequential Access SCSI-2 device
sa0: 10.000MB/s transfers (10.000MHz, offset 15)
da0 at sym0 bus 0 target 0 lun 0
da0: <HP 18.2G ST318406LW HP05> Fixed Direct Access SCSI-2 device
da0: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing Enabled
da0: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C)
da1 at sym0 bus 0 target 4 lun 0
da1: <HP 18.2GB C 68-D94N D94N> Fixed Direct Access SCSI-2 device
da1: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing Enabled
da1: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C)
SMP: AP CPU #1 Launched!
Best regards Johan
More information about the freebsd-current
mailing list