Dead lock

Roger Miranda rmiranda at digitalrelay.ca
Wed May 30 14:31:53 UTC 2007


Good Day,

I've brought up this issue in the past.  I've now got a bit more information 
but still no solution.  I am looking for a way to debug this anyway I can.

We got a freebsd 6.2 (FreeBSD  6.2-RELEASE FreeBSD 6.2-RELEASE #0) machine 
running if_bridge as a intercept proxy.

We have added the following kernel options:
options DDB
options KDB
options BREAK_TO_DEBUGGER
options INVARIANTS
options INVARIANTS_SUPPORT
options WITNESS
options DEBUG_VFS_LOCKS
options DEBUG_MEMGUARD

We were getting an LOR but fixed it but removing "kern.polling.enable" 
in /etc/sysctl.conf

As of right now the machine goes into dead lock within a few hours (only when 
on the network).  I get no WITNESS errors (LORs), or kernel dumps, or 
anything in the logs that look like an error or out of the ordinary.

Is there anything else I could try? or am I looking at a hardware failure?

see demsg below.

Roger

---DMESG output----
Copyright (c) 1992-2007 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 is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-RELEASE #0: Wed May 23 10:21:44 UTC 2007
    root@:/usr/obj/usr/src/sys/TINYBSD
WARNING: WITNESS option enabled, expect reduced performance.
MEMGUARD DEBUGGING ALLOCATOR INITIALIZED:
	MEMGUARD map base: 0xc327d000
	MEMGUARD map limit: 0xc42ed000
	MEMGUARD map size: 17235968 (Bytes)
ACPI APIC Table: <IntelR AWRDACPI>
Timecounter "i8254" frequency 1193510 Hz quality 0
CPU: Intel(R) Celeron(R) CPU 2.80GHz (2792.83-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf34  Stepping = 4
  
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0x441d<SSE3,RSVD2,MON,DS_CPL,CNTX-ID,<b14>>
real memory  = 535691264 (510 MB)
avail memory = 514809856 (490 MB)
ioapic0 <Version 2.0> irqs 0-23 on motherboard
ioapic1 <Version 2.0> irqs 24-47 on motherboard
acpi0: <IntelR AWRDACPI> on motherboard
acpi0: Power Button (fixed)
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
pcib1: <ACPI PCI-PCI bridge> at device 3.0 on pci0
pci1: <ACPI PCI bus> on pcib1
em0: <Intel(R) PRO/1000 Network Connection Version - 6.3.9> port 0xc000-0xc01f 
mem 0xf2000000-0xf201ffff irq 18 at device 1.0 on pci1
em0: Ethernet address: 00:30:48:86:97:62
pcib2: <ACPI PCI-PCI bridge> at device 28.0 on pci0
pci2: <ACPI PCI bus> on pcib2
pci0: <serial bus, USB> at device 29.0 (no driver attached)
pci0: <serial bus, USB> at device 29.1 (no driver attached)
pci0: <base peripheral> at device 29.4 (no driver attached)
pci0: <base peripheral, interrupt controller> at device 29.5 (no driver 
attached)
pci0: <serial bus, USB> at device 29.7 (no driver attached)
pcib3: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci3: <ACPI PCI bus> on pcib3
pci3: <display, VGA> at device 9.0 (no driver attached)
em1: <Intel(R) PRO/1000 Network Connection Version - 6.3.9> port 0xd100-0xd13f 
mem 0xf1000000-0xf101ffff irq 19 at device 10.0 on pci3
em1: Ethernet address: 00:30:48:86:97:63
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel 6300ESB SATA150 controller> port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f irq 18 at device 31.2 on 
pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
acpi_tz0: <Thermal Zone> on acpi0
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
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
pmtimer0 on isa0
orm0: <ISA Option ROM> at iomem 0xc0000-0xc7fff 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
Timecounter "TSC" frequency 2792827369 Hz quality 800
Timecounters tick every 1.000 msec
IP Filter: v4.1.13 initialized.  Default = pass all, Logging = enabled
ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding disabled, 
default to accept, logging limited to 100 packets/entry by default
ad0: 977MB <SanDisk SDCFH-1024 HDX 3.19> at ata0-master PIO4
ad2: 76319MB <Seagate ST380811AS 3.AAB> at ata1-master SATA150
Trying to mount root from ufs:/dev/ad0s1a
em0: link state changed to DOWN
bridge0: Ethernet address: 72:59:fa:79:40:73
em0: promiscuous mode enabled
em1: promiscuous mode enabled
em0: link state changed to UP
em1: link state changed to UP


More information about the freebsd-stable mailing list