Subject: i386 MP panic: amap_pp_adjref: negative reference count
To: None <current-users@netbsd.org>
From: Sami Kantoluoto <sami.kantoluoto@sjk-software.fi>
List: current-users
Date: 12/14/2002 22:26:04
--ReaqsoxgOBHFXBhH
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Hi,
I'm getting that panic (amap_pp_adjref: negative reference count) when
building openoffice. It seems to be repeatable. I don't have ddb/trace
output yet (I'll post it when I get the panic next time [don't know how
long it actually takes]).. What other information could be useful to
catch the reason? Kernel is almost equal to GENERIC.MP (I'm going to compile
a new kernel with MPDEBUG option [DEBUG & DIAGNOSTIC are enabled already]).
-sk
--ReaqsoxgOBHFXBhH
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="haapana.dmesg"
NetBSD 1.6K (HAAPANA) #5: Sat Dec 14 12:02:08 EET 2002
root@haapana:/usr/src/sys/arch/i386/compile/HAAPANA
total memory = 511 MB
avail memory = 466 MB
using 6144 buffers containing 26268 KB of memory
BIOS32 rev. 0 found at 0xfd6b0
mainbus0 (root)
mainbus0: scanning 0x9f800 to 0x9fbf0 for MP signature
mainbus0: scanning 0x9f400 to 0x9f7f0 for MP signature
mainbus0: scanning 0xf0000 to 0xffff0 for MP signature
mainbus0: MP floating pointer found in bios at 0xf7170
mainbus0: MP config table at 0x9fd70, 284 bytes long
mainbus0: Intel MP Specification (Version 1.4) (TYAN PAULANER )
cpu0 at mainbus0: apid 1 (boot processor)
cpu0: AMD Athlon MP 2100+ (686-class), 1733.49 MHz, id 0x662
cpu0: features c3cbfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features c3cbfbff<PGE,MCA,CMOV,PAT,PSE36,MPC,MMXX,MMX>
cpu0: features c3cbfbff<FXSR,SSE,3DNOW2,3DNOW>
cpu0: I-cache 64 KB 64b/line 2-way, D-cache 64 KB 64b/line 2-way
cpu0: L2 cache 256 KB 64b/line 16-way
cpu0: ITLB 16 4 KB entries fully associative, 8 4 MB entries fully associative
cpu0: DTLB 32 4 KB entries fully associative, 8 4 MB entries 4-way
cpu0: calibrating local timer
cpu0: apic clock running at 266 MHz
cpu0: 8 page colors
cpu0: kstack at 0xe2b60000 for 16384 bytes
cpu0: idle pcb at 0xe2b60000, idle sp at 0xe2b63f98
cpu1 at mainbus0: apid 0 (application processor)
cpu1: starting
cpu1: AMD Athlon MP 2100+ (686-class), 1733.40 MHz, id 0x662
cpu1: features c3cbfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu1: features c3cbfbff<PGE,MCA,CMOV,PAT,PSE36,MPC,MMXX,MMX>
cpu1: features c3cbfbff<FXSR,SSE,3DNOW2,3DNOW>
cpu1: I-cache 64 KB 64b/line 2-way, D-cache 64 KB 64b/line 2-way
cpu1: L2 cache 256 KB 64b/line 16-way
cpu1: ITLB 16 4 KB entries fully associative, 8 4 MB entries fully associative
cpu1: DTLB 32 4 KB entries fully associative, 8 4 MB entries 4-way
cpu1: kstack at 0xe2b6c000 for 16384 bytes
cpu1: idle pcb at 0xe2b6c000, idle sp at 0xe2b6ff98
mpbios: bus 0 is type PCI
mpbios: bus 1 is type PCI
mpbios: bus 2 is type PCI
mpbios: bus 3 is type ISA
ioapic0 at mainbus0 apid 2 (I/O APIC)
ioapic0: pa 0xfec00000, virtual wire mode, version 11, 24 pins
ioapic0: int0 attached to ExtINT (type 3<type=3=ExtINT> flags 5<pol=1=Act Hi,trig=1=Edge>)
ioapic0: int1 attached to isa0 irq 1 (type 0<type=0> flags 5<pol=1=Act Hi,trig=1=Edge>)
ioapic0: int2 attached to isa0 irq 0 (type 0<type=0> flags 5<pol=1=Act Hi,trig=1=Edge>)
ioapic0: int3 attached to isa0 irq 3 (type 0<type=0> flags 5<pol=1=Act Hi,trig=1=Edge>)
ioapic0: int4 attached to isa0 irq 4 (type 0<type=0> flags 5<pol=1=Act Hi,trig=1=Edge>)
ioapic0: int5 attached to isa0 irq 5 (type 0<type=0> flags 5<pol=1=Act Hi,trig=1=Edge>)
ioapic0: int6 attached to isa0 irq 6 (type 0<type=0> flags 5<pol=1=Act Hi,trig=1=Edge>)
ioapic0: int7 attached to isa0 irq 7 (type 0<type=0> flags 5<pol=1=Act Hi,trig=1=Edge>)
ioapic0: int8 attached to isa0 irq 8 (type 0<type=0> flags 5<pol=1=Act Hi,trig=1=Edge>)
ioapic0: int9 attached to isa0 irq 9 (type 0<type=0> flags 5<pol=1=Act Hi,trig=1=Edge>)
ioapic0: int19 attached to pci2 device 0 INT_D (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
ioapic0: int18 attached to pci1 device 5 INT_A (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
ioapic0: int12 attached to isa0 irq 12 (type 0<type=0> flags 5<pol=1=Act Hi,trig=1=Edge>)
ioapic0: int13 attached to isa0 irq 13 (type 0<type=0> flags 5<pol=1=Act Hi,trig=1=Edge>)
ioapic0: int14 attached to isa0 irq 14 (type 0<type=0> flags 5<pol=1=Act Hi,trig=1=Edge>)
ioapic0: int15 attached to isa0 irq 15 (type 0<type=0> flags 5<pol=1=Act Hi,trig=1=Edge>)
ioapic0: int18 attached to pci2 device 6 INT_A (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
ioapic0: int19 attached to pci2 device 8 INT_A (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
local apic: int0 attached to ExtINT (type 3<type=3=ExtINT> flags 5<pol=1=Act Hi,trig=1=Edge>)
local apic: int1 attached to NMI (type 1<type=1=NMI> flags 5<pol=1=Act Hi,trig=1=Edge>)
mainbus0: MP WARNING: 324 bytes of extended entries not examined
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: Advanced Micro Devices AMD762 NorthBridge (rev. 0x11)
agp0 at pchb0: aperture at 0xf8000000, size 0x4000000
ppb0 at pci0 dev 1 function 0: Advanced Micro Devices AMD762 AGP Bridge (rev. 0x00)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga1 at pci1 dev 5 function 0: Matrox MGA G400 AGP (rev. 0x82)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
pcib0 at pci0 dev 7 function 0
pcib0: Advanced Micro Devices AMD768 PCI to ISA/LPC Bridge (rev. 0x05)
pciide0 at pci0 dev 7 function 1: Advanced Micro Devices AMD768 IDE Controller (rev. 0x04)
pciide0: bus-master DMA support present
pciide0: primary channel configured to compatibility mode
wd0 at pciide0 channel 0 drive 0: <IC35L060AVER07-0>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 58644 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 120103200 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
pciide0: primary channel interrupting at irq 14
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA data transfers)
pciide0: secondary channel configured to compatibility mode
atapibus0 at pciide0 channel 1: 2 targets
cd0 at atapibus0 drive 0: <CR-48X5TE, 1A29PH0100, 1.8A> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2
cd1 at atapibus0 drive 1: <IDE/ATAPI DVD-ROM 10X, , 510C> cdrom removable
cd1: 32-bit data port
cd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
pciide0: secondary channel interrupting at irq 15
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
cd1(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)
Advanced Micro Devices AMD768 Power Management Controller (miscellaneous bridge, revision 0x03) at pci0 dev 7 function 3 not configured
ppb1 at pci0 dev 16 function 0: Advanced Micro Devices AMD768 PCI to PCI Bridge (rev. 0x05)
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled
ohci0 at pci2 dev 0 function 0: Advanced Micro Devices AMD768 USB Controller (rev. 0x07)
ohci0: interrupting at apic 2 int 19 (irq 10)
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Advanced Micro OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
emuxki0 at pci2 dev 6 function 0: Creative Labs SBLive! EMU 10000 (audio multimedia, revision 0x07)
emuxki0: interrupting at apic 2 int 18 (irq 11)
emuxki0: SigmaTel STAC9708 codec; 18 bit DAC, 18 bit ADC, SigmaTel 3D
emuxki0: surround DAC
audio0 at emuxki0: full duplex, mmap, independent
joy0 at pci2 dev 6 function 1: Creative Labs PCI Gameport Joystick (rev 0x07)
joy0: joystick not connected
ex0 at pci2 dev 8 function 0: 3Com 3c905C-TX 10/100 Ethernet with mngmt (rev. 0x78)
ex0: interrupting at apic 2 int 19 (irq 10)
ex0: MAC address 00:e0:81:23:cb:ae
exphy0 at ex0 phy 24: 3Com internal media interface
exphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
lpt0 at isa0 port 0x378-0x37b irq 7
lptprobe: mask ff data 55 failed
lptprobe: mask ff data 55 failed
seaprobe: board type unknown at address 0xc0803000
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
isapnp0: no ISA Plug 'n Play devices found
cpu0: prelint0 10700<vector=0,delmode=7,masked,dest=0> 0<target=0>
cpu0: prelint1 400<vector=0,delmode=4,dest=0> 0<target=0>
cpu0: timer0 300c0<vector=c0,delmode=0,masked,dest=0> 0<target=0>
cpu0: pcint0 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
cpu0: lint0 10700<vector=0,delmode=7,masked,dest=0> 0<target=0>
cpu0: lint1 400<vector=0,delmode=4,dest=0> 0<target=0>
cpu0: err0 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
ioapic0: enabling
ioapic0: int1 190<vector=90,delmode=1,dest=0> 1000000<target=1>
ioapic0: int3 1d1<vector=d1,delmode=1,dest=0> 1000000<target=1>
ioapic0: int4 1d0<vector=d0,delmode=1,dest=0> 1000000<target=1>
ioapic0: int6 163<vector=63,delmode=1,dest=0> 1000000<target=1>
ioapic0: int7 192<vector=92,delmode=1,dest=0> 1000000<target=1>
ioapic0: int12 191<vector=91,delmode=1,dest=0> 1000000<target=1>
ioapic0: int14 160<vector=60,delmode=1,dest=0> 1000000<target=1>
ioapic0: int15 161<vector=61,delmode=1,dest=0> 1000000<target=1>
ioapic0: int18 a1b0<vector=b0,delmode=1,actlo,level,dest=0> 1000000<target=1>
ioapic0: int19 b162<vector=62,delmode=1,pending,actlo,level,dest=0> 1000000<target=1>
raidattach: Asked for 8 units
Kernelized RAIDframe activated
IPsec: Initialized Security Association Processing.
uhub1 at uhub0 port 1
uhub1: ALCOR Generic USB Hub, class 9/0, rev 1.10/3.10, addr 2
uhub1: 4 ports with 4 removable, self powered
Searching for RAID components...
boot device: wd0
root on wd0a dumps on wd0b
mountroot: trying coda...
mountroot: trying msdos...
mountroot: trying cd9660...
isofs: session offset (part 0) 0
mountroot: trying ntfs...
mountroot: trying nfs...
mountroot: trying lfs...
mountroot: trying ext2fs...
mountroot: trying ffs...
root file system type: ffs
cpu1: prelint0 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
cpu1: prelint1 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
cpu1: timer0 200c0<vector=c0,delmode=0,dest=0> 0<target=0>
cpu1: pcint0 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
cpu1: lint0 10700<vector=0,delmode=7,masked,dest=0> 0<target=0>
cpu1: lint1 400<vector=0,delmode=4,dest=0> 0<target=0>
cpu1: err0 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
cpu1: CPU 0 running
init: copying out path `/sbin/init' 11
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
--ReaqsoxgOBHFXBhH--