Hi,
I upgraded a server from 4.10 to 5.4-rel and it paniced at soon as I put
some load on it...
panic: lockmgr: thread 0xfffffffe, not exclusive lock holder 0x76fe0300
unlocking
cpuid = 0
KDB: enter: panic
[thread pid 101 tid 100112 ]
Stopped at 0x6f33c5a7: nop
db>
db> trace
Tracing pid 101 tid 100112 td 0x76fe0300
kdb_enter(6f4af15b) at 0x6f33c5a7
panic(6f4add4c,fffffffe,6f4add36,76fe0300,fffffffe) at 0x6f324cc7
lockmgr(775d57e4,6,775d5738,0,bcd33a1c) at 0x6f319421
vop_stdunlock(bcd33a4c,bcd33a28,6f2ebb6f,bcd33a4c,bcd33a68) at 0x6f3711c7
vop_defaultop(bcd33a4c,bcd33a68,6f2ec0fc,bcd33a4c,1000) at 0x6f371077
spec_vnoperate(bcd33a4c,1000,7f010000,7747fa00,bcd33ab4) at 0x6f2ebb6f
spec_write(bcd33a94,bcd33ae0,6f448c7d,bcd33a94,2b3) at 0x6f2ec0fc
spec_vnoperate(bcd33a94) at 0x6f2ebb6f
vnode_pager_generic_putpages(775d5738,bcd33bf0,1000,0,bcd33b70) at 0x6f448c7d
vop_stdputpages(bcd33b28,bcd33b14,6f2ebb6f,bcd33b28,bcd33b54) at 0x6f37191e
vop_defaultop(bcd33b28,bcd33b54,6f448a1a,bcd33b28,1000) at 0x6f371077
spec_vnoperate(bcd33b28) at 0x6f2ebb6f
vnode_pager_putpages(774dbe70,bcd33bf0,1,0,bcd33b70) at 0x6f448a1a
vm_pageout_flush(bcd33bf0,1,0,78a2f300,bcd33bc8) at 0x6f4403e7
vm_pageout_clean(6f8cc70c) at 0x6f440311
vm_pageout_scan(0) at 0x6f441192
vm_pageout(0,bcd33d48) at 0x6f441f12
fork_exit(6f441c00,0,bcd33d48) at 0x6f30f3bd
fork_trampoline() at 0x6f46bdcc
--- trap 0x1, eip = 0, esp = 0xbcd33d7c, ebp = 0 ---
The hardware is a Intel 7501 with a single 3G Xeon 6G mem. I tried disable
option MP and made no difference. Any help or suggestion!?
Regards
Kachun
A sample dmesg...
May 19 11:18:24 dex kernel: Copyright (c) 1992-2005 The FreeBSD Project.
May 19 11:18:24 dex kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988,
1989, 19
91, 1992, 1993, 1994
May 19 11:18:24 dex kernel: The Regents of the University of California.
All rig
hts reserved.
May 19 11:18:24 dex kernel: FreeBSD 5.4-RELEASE #2: Fri May 13 15:29:36 PDT
2005
May 19 11:18:24 dex kernel:
root@lisa.pathlink.com:/n/obj/n/bsd.src/5.4/src/sys/
LEX
May 19 11:18:24 dex kernel: acpi_alloc_wakeup_handler: can't alloc wake
memory
May 19 11:18:24 dex kernel: Timecounter "i8254" frequency 1193182 Hz
quality 0
May 19 11:18:24 dex kernel: CPU: Intel(R) Xeon(TM) CPU 3.06GHz (3056.82-MHz
686-
class CPU)
May 19 11:18:24 dex kernel: Origin = "GenuineIntel" Id = 0xf25
Stepping = 5
May 19 11:18:24 dex kernel:
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,C
X8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HT
T,TM,PBE>
May 19 11:18:24 dex kernel: Hyperthreading: 2 logical CPUs
May 19 11:18:24 dex kernel: real memory = 6710886400 (6400 MB)
May 19 11:18:24 dex kernel: avail memory = 6304645120 (6012 MB)
May 19 11:18:24 dex kernel: ACPI APIC Table: <INTEL SBR20 >
May 19 11:18:24 dex kernel: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
May 19 11:18:24 dex kernel: cpu0 (BSP): APIC ID: 0
May 19 11:18:24 dex kernel: cpu1 (AP): APIC ID: 1
May 19 11:18:24 dex kernel: ACPI-0698: *** Warning: Type override - [DEB_]
had i
nvalid type (Integer) for Scope operator, changed to (Scope)
May 19 11:18:24 dex kernel: ACPI-0698: *** Warning: Type override - [MLIB]
had i
nvalid type (Integer) for Scope operator, changed to (Scope)
May 19 11:18:24 dex kernel: ACPI-0698: *** Warning: Type override - [DATA]
had i
nvalid type (String) for Scope operator, changed to (Scope)
May 19 11:18:24 dex kernel: ACPI-0698: *** Warning: Type override - [SIO_]
had i
nvalid type (String) for Scope operator, changed to (Scope)
May 19 11:18:24 dex kernel: ACPI-0698: *** Warning: Type override - [LEDP]
had i
nvalid type (String) for Scope operator, changed to (Scope)
May 19 11:18:24 dex kernel: ACPI-0698: *** Warning: Type override - [GPEN]
had i
nvalid type (String) for Scope operator, changed to (Scope)
May 19 11:18:24 dex kernel: ACPI-0698: *** Warning: Type override - [GPST]
had i
nvalid type (String) for Scope operator, changed to (Scope)
May 19 11:18:24 dex kernel: ACPI-0698: *** Warning: Type override - [GP1N]
had i
nvalid type (String) for Scope operator, changed to (Scope)
May 19 11:18:24 dex kernel: ACPI-0698: *** Warning: Type override - [WUES]
had i
nvalid type (String) for Scope operator, changed to (Scope)
May 19 11:18:24 dex kernel: ACPI-0698: *** Warning: Type override - [WUSE]
had i
nvalid type (String) for Scope operator, changed to (Scope)
May 19 11:18:24 dex kernel: ACPI-0698: *** Warning: Type override - [SBID]
had i
nvalid type (String) for Scope operator, changed to (Scope)
May 19 11:18:24 dex kernel: ACPI-0698: *** Warning: Type override - [SWCE]
had i
nvalid type (String) for Scope operator, changed to (Scope)
May 19 11:18:24 dex kernel: ACPI-0698: *** Warning: Type override - [SMIR]
had i
nvalid type (String) for Scope operator, changed to (Scope)
May 19 11:18:24 dex kernel: ioapic0 <Version 2.0> irqs 0-23 on motherboard
May 19 11:18:24 dex kernel: ioapic1 <Version 2.0> irqs 24-47 on
motherboard
May 19 11:18:24 dex kernel: ioapic2 <Version 2.0> irqs 48-71 on
motherboard
May 19 11:18:24 dex kernel: lapic0: Forcing LINT1 to edge trigger
May 19 11:18:24 dex kernel: acpi0: <INTEL SBR20> on motherboard
May 19 11:18:24 dex kernel: acpi0: Power Button (fixed)
May 19 11:18:24 dex kernel: acpi_ec0: <Embedded Controller: GPE 0x8> port
0xca7,
0xca6 on acpi0
May 19 11:18:24 dex kernel: Timecounter "ACPI-fast" frequency 3579545
Hz
quality
1000
May 19 11:18:24 dex kernel: acpi_timer0: <24-bit timer at 3.579545MHz>
port
0x40
8-0x40b on acpi0
May 19 11:18:24 dex kernel: cpu0: <ACPI CPU> on acpi0
May 19 11:18:24 dex kernel: cpu1: <ACPI CPU> on acpi0
May 19 11:18:24 dex kernel: pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff
on ac
pi0
May 19 11:18:24 dex kernel: pci0: <ACPI PCI bus> on pcib0
May 19 11:18:24 dex kernel: pci0: <unknown> at device 0.1 (no driver
attached)
May 19 11:18:24 dex kernel: pcib1: <ACPI PCI-PCI bridge> at device 3.0 on
pci0
May 19 11:18:24 dex kernel: pci2: <ACPI PCI bus> on pcib1
May 19 11:18:24 dex kernel: pci2: <base peripheral, interrupt controller>
at dev
ice 28.0 (no driver attached)
May 19 11:18:24 dex kernel: pcib2: <ACPI PCI-PCI bridge> at device 29.0 on
pci2
May 19 11:18:24 dex kernel: pci4: <ACPI PCI bus> on pcib2
May 19 11:18:24 dex kernel: ahc0: <Adaptec 3960D Ultra160 SCSI adapter>
port 0x3
400-0x34ff mem 0xfeae0000-0xfeae0fff irq 48 at device 1.0 on pci4
May 19 11:18:24 dex kernel: aic7899: Ultra160 Wide Channel A, SCSI Id=7,
32/253
SCBs
May 19 11:18:24 dex kernel: ahc1: <Adaptec 3960D Ultra160 SCSI adapter>
port 0x3
000-0x30ff mem 0xfeaf0000-0xfeaf0fff irq 49 at device 1.1 on pci4
May 19 11:18:24 dex kernel: aic7899: Ultra160 Wide Channel B, SCSI Id=7,
32/253
SCBs
May 19 11:18:24 dex kernel: twe0: <3ware Storage Controller. Driver version
1.50
.01.002> port 0x3800-0x380f mem 0xfe000000-0xfe7fffff irq 52 at device 2.0
on pc
i4
May 19 11:18:24 dex kernel: twe0: 12 ports, Firmware FE7X 1.05.00.068, BIOS
BE7X
1.08.00.048
May 19 11:18:24 dex kernel: pci2: <base peripheral, interrupt controller>
at dev
ice 30.0 (no driver attached)
May 19 11:18:24 dex kernel: pcib3: <ACPI PCI-PCI bridge> at device 31.0 on
pci2
May 19 11:18:24 dex kernel: pci3: <ACPI PCI bus> on pcib3
May 19 11:18:24 dex kernel: twe1: <3ware Storage Controller. Driver version
1.50
.01.002> port 0x2000-0x200f mem 0xfd000000-0xfd7fffff irq 24 at device 1.0
on pc
i3
May 19 11:18:24 dex kernel: twe1: 12 ports, Firmware FE8S 1.05.00.068, BIOS
BE7X
1.08.00.048
May 19 11:18:24 dex kernel: twe2: <3ware Storage Controller. Driver version
1.50
.01.002> port 0x2010-0x201f mem 0xfc800000-0xfcffffff irq 28 at device 2.0
on pc
i3
May 19 11:18:24 dex kernel: twe2: 12 ports, Firmware FE8S 1.05.00.068, BIOS
BE7X
1.08.00.048
May 19 11:18:24 dex kernel: ahd0: <Adaptec AIC7901A Ultra320 SCSI adapter>
port
0x2800-0x28ff,0x2400-0x24ff mem 0xfd9b0000-0xfd9b1fff irq 26 at device 3.0
on pc
i3
May 19 11:18:24 dex kernel: aic7901A: Ultra320 Wide Channel A, SCSI Id=7,
PCI 33
or 66Mhz, 512 SCBs
May 19 11:18:24 dex kernel: pci0: <unknown> at device 3.1 (no driver
attached)
May 19 11:18:24 dex kernel: pci0: <serial bus, USB> at device 29.0 (no
driver at
tached)
May 19 11:18:24 dex kernel: pci0: <serial bus, USB> at device 29.1 (no
driver at
tached)
May 19 11:18:24 dex kernel: pcib4: <ACPI PCI-PCI bridge> at device 30.0 on
pci0
May 19 11:18:24 dex kernel: pci1: <ACPI PCI bus> on pcib4
May 19 11:18:24 dex kernel: fxp0: <Intel 82550 Pro/100 Ethernet> port
0x1440-0x1
47f mem 0xfb780000-0xfb79ffff,0xfb7a0000-0xfb7a0fff irq 20 at device 3.0 on
pci1
May 19 11:18:24 dex kernel: miibus0: <MII bus> on fxp0
May 19 11:18:24 dex kernel: inphy0: <i82555 10/100 media interface> on
miibus0
May 19 11:18:24 dex kernel: inphy0: 10baseT, 10baseT-FDX, 100baseTX,
100baseTX-
FDX, auto
May 19 11:18:24 dex kernel: fxp0: Ethernet address: 00:03:47:30:f6:77
May 19 11:18:24 dex kernel: em0: <Intel(R) PRO/1000 Network Connection,
Version
- 1.7.35> port 0x1480-0x14bf mem 0xfb740000-0xfb75ffff irq 21 at device 4.0
on p
ci1
May 19 11:18:24 dex kernel: em0: Ethernet address: 00:03:47:30:f6:78
May 19 11:18:24 dex kernel: em0: Speed:N/A Duplex:N/A
May 19 11:18:24 dex kernel: twe3: <3ware Storage Controller. Driver version
1.50
.01.002> port 0x1400-0x140f mem 0xf9800000-0xf9ffffff irq 18 at device 9.0
on pc
i1
May 19 11:18:24 dex kernel: twe3: 12 ports, Firmware FE8S 1.05.00.068, BIOS
BE7X
1.08.00.048
May 19 11:18:24 dex kernel: pci1: <display, VGA> at device 12.0 (no driver
attac
hed)
May 19 11:18:24 dex kernel: isab0: <PCI-ISA bridge> at device 31.0 on pci0
May 19 11:18:24 dex kernel: isa0: <ISA bus> on isab0
May 19 11:18:24 dex kernel: atapci0: <Intel ICH3 UDMA100 controller> port
0x3a0-
0x3af,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0
May 19 11:18:24 dex kernel: ata0: channel #0 on atapci0
May 19 11:18:24 dex kernel: ata1: channel #1 on atapci0
May 19 11:18:24 dex kernel: pci0: <serial bus, SMBus> at device 31.3 (no
driver
attached)
May 19 11:18:24 dex kernel: atkbdc0: <Keyboard controller (i8042)> port
0x64,0x6
0 irq 1 on acpi0
May 19 11:18:24 dex kernel: atkbd0: <AT Keyboard> irq 1 on atkbdc0
May 19 11:18:24 dex kernel: fdc0: <floppy drive controller (FDE)> port
0x3f7,0x3
f4-0x3f5,0x3f2-0x3f3 irq 6 drq 2 on acpi0
May 19 11:18:24 dex kernel: sio0: <16550A-compatible COM port> port
0x3f8-0x3ff
irq 4 flags 0x10 on acpi0
May 19 11:18:24 dex kernel: sio0: type 16550A, console
May 19 11:18:24 dex kernel: sio1: <16550A-compatible COM port> port
0x2f8-0x2ff
irq 3 on acpi0
May 19 11:18:24 dex kernel: sio1: type 16550A
May 19 11:18:24 dex kernel: ppc0: <ECP parallel printer port> port
0x778-0x77f,0
x378-0x37f irq 7 drq 3 on acpi0
May 19 11:18:24 dex kernel: ppc0: Generic chipset (ECP/PS2/NIBBLE) in
COMPATIBLE
mode
May 19 11:18:24 dex kernel: ppc0: FIFO with 16/16/8 bytes threshold
May 19 11:18:24 dex kernel: ppbus0: <Parallel port bus> on ppc0
May 19 11:18:24 dex kernel: lpt0: <Printer> on ppbus0
May 19 11:18:24 dex kernel: lpt0: Interrupt-driven port
May 19 11:18:24 dex kernel: npx0: <math processor> on motherboard
May 19 11:18:24 dex kernel: npx0: INT 16 interface
May 19 11:18:24 dex kernel: orm0: <ISA Option ROMs> at iomem
0xe4000-0xe7fff,0xc
e000-0xcf7ff,0xcc800-0xcdfff,0xcb000-0xcc7ff,0xc9800-0xcafff,0xc8000-0xc8fff,0xc
0000-0xc7fff on isa0
May 19 11:18:24 dex kernel: sc0: <System console> at flags 0x100 on isa0
May 19 11:18:24 dex kernel: sc0: VGA <16 virtual consoles, flags=0x100>
May 19 11:18:24 dex kernel: vga0: <Generic ISA VGA> at port 0x3c0-0x3df
iomem 0x
a0000-0xbffff on isa0
May 19 11:18:24 dex kernel: Timecounters tick every 1.000 msec