tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
netbsd 4.0 hangs....deadlock detected.
Hi,
So I have been searching the lists and have seen some bugs/emails
about seeing deadlock detected, but I didn't see any resolutions. I
am running netbsd 4.0 on an Intel Xeon E3110 using the amd64 port.
The kernel is compiled to only use one of the cores on that processor.
I am using the Intel S3210 system board. I am experiencing a system
hang that is very reproducible, it sometimes results in deadlock
detected being printed and always results the system hanging.
Basically if you run:
dd if=/dev/urandom of=/home/user/data.out
The home directory is mounted on an LFS partition.
I have a serial console connected to the appliance so I can reproduce
the problem and try anything you would like.
The system will eventually lock up, usually less than 5 minutes. I am
able to break into the kernel debugger and this is the output of bt:
# Stopped in pid 15.1 (pagedaemon) at netbsd:cpu_Debugger+0x5: leave
db> bt
cpu_Debugger() at netbsd:cpu_Debugger+0x5
comintr() at netbsd:comintr+0x6b5
Xintr_ioapic_edge4() at netbsd:Xintr_ioapic_edge4+0xd4
--- interrupt ---
AcpiOsReadPort() at netbsd:AcpiOsReadPort+0x33
acpitimer_read_fast() at netbsd:acpitimer_read_fast+0x11
binuptime() at netbsd:binuptime+0x47
bintime() at netbsd:bintime+0x18
microtime() at netbsd:microtime+0x1c
mi_switch() at netbsd:mi_switch+0x34
ltsleep() at netbsd:ltsleep+0x2ea
uvm_pageout() at netbsd:uvm_pageout+0x63
Here is the output of dmesg:
NetBSD 4.0.0_PATCH (****) #0: Wed Jun 4 11:32:37 PDT 2008
hhartman@:/amd/netapp/vol/vol1/home/hhartman/jupiter/netbsd-local/src/sys/arch/amd64/compile/*****
total memory = 2045 MB
avail memory = 1959 MB
timecounter: Timecounters tick every 10.000 msec
RTC BIOS diagnostic error 8<fixed_disk>
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
mainbus0 (root)
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Xeon(R) CPU E3110 @ 3.00GHz, 2992.62 MHz
cpu0: features: bffbfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features: bffbfbff<PGE,MCA,CMOV,PAT,PSE36,CFLUSH,B20,DS,ACPI,MMX>
cpu0: features: bffbfbff<FXSR,SSE,SSE2,SS,HTT,TM,SBF>
cpu0: features2: 8e3fd<SSE3,MONITOR,DS-CPL,VMX,EST,TM2,xTPR>
cpu0: features3: bffbfbff<SYSCALL/SYSRET,XD,EM64T>
cpu0: L2 cache 6 MB 64B/line 16-way
cpu0: calibrating local timer
cpu0: apic clock running at 332 MHz
cpu0: 96 page colors
cpu1 at mainbus0: apid 1 (application processor)
cpu1: not started
ioapic0 at mainbus0 apid 5 (I/O APIC)
ioapic0: pa 0xfec00000, version 20, 24 pins
ioapic0: misconfigured as apic 0
ioapic0: remapped to apic 5
acpi0 at mainbus0: Advanced Configuration and Power Interface
acpi0: using Intel ACPI CA subsystem version 20060217
acpi0: X/RSDT: OemId <INTEL ,S3200SHC,00000000>, AslId <INTL,01000013>
acpi0: SCI interrupting at int 9
acpi0: fixed-feature power button present
timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
ACPI-Fast 24-bit timer
mpacpi: could not get bus number, assuming bus 0
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
acpibut0 at acpi0 (PNP0C0E): ACPI Sleep Button
acpibut1 at acpi0 (PNP0C0C-170): ACPI Power Button
PNP0A03 at acpi0 not configured
PNP0C02 at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0200 at acpi0 not configured
PNP0B00 at acpi0 not configured
PNP0000 at acpi0 not configured
PNP0C04 at acpi0 not configured
PNP0100 at acpi0 not configured
PNP0800 at acpi0 not configured
PNP0C02 at acpi0 not configured
PNP0501 at acpi0 not configured
PNP0501 at acpi0 not configured
PNP0F03 at acpi0 not configured
PNP0303 at acpi0 not configured
PNP0700 at acpi0 not configured
PNP0003 at acpi0 not configured
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: vendor 0x8086 product 0x29f0 (rev. 0x00)
ppb0 at pci0 dev 1 function 0: vendor 0x8086 product 0x29f1 (rev. 0x00)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled, rd/line, wr/inv ok
wm0 at pci1 dev 0 function 0: Intel i82572EI 1000baseT Ethernet, rev. 6
wm0: interrupting at ioapic0 pin 16 (irq 11)
wm0: PCI-Express bus
wm0: 65536 word (16 address bits) SPI EEPROM
wm0: Ethernet address 00:15:17:37:f2:6d
OUI 0x005500 model 0x0038 rev 0 at wm0 phy 1 not configured
wm1 at pci0 dev 25 function 0: 82801I (AMT) LAN Controller, rev. 2
wm1: interrupting at ioapic0 pin 20 (irq 11)
wm1: PCI-Express bus
wm1: FLASH
wm1: Ethernet address 00:15:17:26:b1:5d
OUI 0x005500 model 0x0039 rev 0 at wm1 phy 1 not configured
uhci0 at pci0 dev 26 function 0: vendor 0x8086 product 0x2937 (rev. 0x02)
uhci0: interrupting at ioapic0 pin 18 (irq 9)
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 26 function 1: vendor 0x8086 product 0x2938 (rev. 0x02)
uhci1: interrupting at ioapic0 pin 21 (irq 10)
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 26 function 2: vendor 0x8086 product 0x2939 (rev. 0x02)
uhci2: interrupting at ioapic0 pin 17 (irq 10)
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ppb1 at pci0 dev 28 function 0: vendor 0x8086 product 0x2940 (rev. 0x02)
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled, rd/line, wr/inv ok
ppb2 at pci0 dev 28 function 4: vendor 0x8086 product 0x2948 (rev. 0x02)
pci3 at ppb2 bus 3
pci3: i/o space, memory space enabled, rd/line, wr/inv ok
vendor 0x102b product 0x0522 (VGA display, revision 0x02) at pci3 dev 0 function
0 not configured
uhci3 at pci0 dev 29 function 0: vendor 0x8086 product 0x2934 (rev. 0x02)
uhci3: interrupting at ioapic0 pin 23 (irq 11)
usb3 at uhci3: USB revision 1.0
uhub3 at usb3
uhub3: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
uhci4 at pci0 dev 29 function 1: vendor 0x8086 product 0x2935 (rev. 0x02)
uhci4: interrupting at ioapic0 pin 19 (irq 11)
usb4 at uhci4: USB revision 1.0
uhub4 at usb4
uhub4: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub4: 2 ports with 2 removable, self powered
uhci5 at pci0 dev 29 function 2: vendor 0x8086 product 0x2936 (rev. 0x02)
uhci5: interrupting at ioapic0 pin 18 (irq 9)
usb5 at uhci5: USB revision 1.0
uhub5 at usb5
uhub5: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub5: 2 ports with 2 removable, self powered
ppb3 at pci0 dev 30 function 0: vendor 0x8086 product 0x244e (rev. 0x92)
pci4 at ppb3 bus 4
pci4: i/o space, memory space enabled
wm2 at pci4 dev 2 function 0: Intel i82541GI 1000BASE-T Ethernet, rev. 5
wm2: interrupting at ioapic0 pin 18 (irq 9)
wm2: 32-bit 33MHz PCI bus
wm2: 65536 word (16 address bits) SPI EEPROM
wm2: Ethernet address 00:15:17:26:b1:5b
OUI 0x005500 model 0x0038 rev 0 at wm2 phy 1 not configured
pcib0 at pci0 dev 31 function 0
pcib0: vendor 0x8086 product 0x2916 (rev. 0x02)
piixide0 at pci0 dev 31 function 2
piixide0: Intel 82801I Serial ATA Controller (ICH9) (rev. 0x02)
piixide0: bus-master DMA support present
piixide0: primary channel configured to compatibility mode
piixide0: primary channel interrupting at ioapic0 pin 14 (irq 14)
atabus0 at piixide0 channel 0
piixide0: secondary channel configured to compatibility mode
piixide0: secondary channel interrupting at ioapic0 pin 15 (irq 15)
atabus1 at piixide0 channel 1
vendor 0x8086 product 0x2930 (SMBus serial bus, revision 0x02) at pci0 dev 31 fu
nction 3 not configured
piixide1 at pci0 dev 31 function 5
piixide1: Intel 82801I Serial ATA Controller (ICH9) (rev. 0x02)
piixide1: bus-master DMA support present
piixide1: primary channel wired to native-PCI mode
piixide1: using ioapic0 pin 21 (irq 10) for native-PCI interrupt
atabus2 at piixide1 channel 0
piixide1: secondary channel wired to native-PCI mode
atabus3 at piixide1 channel 1
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com0: console
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
ioapic0: enabling
timecounter: Timecounter "TSC" frequency 2992639320 Hz quality 800
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
md0: internal 8192 KB image area
uftdi0 at uhub5 port 1
uftdi0: Crystalfontz Crystalfontz CFA-635 USB LCD, rev 2.00/2.00, addr 2
ucom0 at uftdi0 portno 1
wd0 at atabus0 drive 0: <ST3250410AS>
wd0: quirks 2<FORCE_LBA48>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 232 GB, 484521 cyl, 16 head, 63 sec, 512 bytes/sect x 488397168 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)
boot device: wd0
root on md0a
thanks in advance for your help
HH
--
Hanns Hartman
Home |
Main Index |
Thread Index |
Old Index