kern/110110: sysctl causing a lockup

Eric Kjeldergaard kjelderg at
Fri Mar 9 00:10:06 UTC 2007

>Number:         110110
>Category:       kern
>Synopsis:       sysctl causing a lockup
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 09 00:10:05 GMT 2007
>Originator:     Eric Kjeldergaard
>Release:        6.2
FreeBSD 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Tue Mar  6 09:45:17 CST 2007     root at  i386
sysctl -a as a regular user, the following happens:

dev.ugen.0.%desc: APC Back-UPS NS 600 FW:818.w1 .D USB FW:w1, rev 1.10/1.06, addr 2
dev.ugen.0.%driver: ugen
dev.ugen.0.%location: port=1

And this is where it hangs.

[halt sent]
KDB: enter: Line break on console
[thread pid 11 tid 100005 ]
Stopped at      kdb_enter+0x30: leave
db> bt
Tracing pid 11 tid 100005 td 0xc63f3780
kdb_enter(c0861819,c65960f8,6143c4,e4f67cf9,c63f2a78,...) at kdb_enter+0x30
siointr1(c6596000,0,c0861605,56e,e4f67c48,...) at siointr1+0x127
siointr(c6596000,c06343a1,c08c7d00,0,c63f3780,...) at siointr+0x35
intr_execute_handlers(c63e84c8,e4f67c60,e4f67ca4,c07e0db3,3a,...) at intr_execute_handlers+0x108
lapic_handle_intr(3a) at lapic_handle_intr+0x3a
Xapic_isr1() at Xapic_isr1+0x33
--- interrupt, eip = 0xc0a13465, esp = 0xe4f67ca4, ebp = 0xe4f67ca4 ---
acpi_cpu_c1(27d,c63f3780,e4f67cc0,246,c08c7d00,...) at acpi_cpu_c1+0x5
acpi_cpu_idle(e4f67d00,c0604a75,c08c7d40,2,c0845fee,...) at acpi_cpu_idle+0x18e
cpu_idle(c08c7d40,2,c0845fee,70,c0847ea1,...) at cpu_idle+0x28
idle_proc(0,e4f67d38,c0845e80,32d,0,...) at idle_proc+0x95
fork_exit(c06049e0,0,e4f67d38) at fork_exit+0xc1
fork_trampoline() at fork_trampoline+0x8
--- trap 0x1, eip = 0, esp = 0xe4f67d6c, ebp = 0 ---

So that seems bad.  If there is any further information I could furnish you with, please give a holler.  I don't think there is anything relevant in my kernel config (it's based on SMP with a LOT of nodevices and the pf and altq and debugging added in).
I get here by executing sysctl -a as a regular user.  It seems not to happen immediately upon boot, but after a while (hours?  days?  haven't zeroed in on it) 


More information about the freebsd-bugs mailing list