Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Feb 2011 16:26:57 +0600
From:      Eugene Grosbein <egrosbein@rdtc.ru>
To:        Gleb Smirnoff <glebius@freebsd.org>
Cc:        freebsd-net@freebsd.org, Alexander Motin <mav@freebsd.org>, John Baldwin <jhb@freebsd.org>
Subject:   Re: panic: bufwrite: buffer is not busy???
Message-ID:  <4D4FC8F1.7060609@rdtc.ru>
In-Reply-To: <4D4D554B.4050407@rdtc.ru>
References:  <4D3011DB.9050900@frasunek.com>	<4D30458D.30007@sentex.net>	<4D309983.70709@rdtc.ru>	<201101141437.55421.jhb@freebsd.org>	<4D46575A.802@rdtc.ru>	<4D4670C2.4050500@freebsd.org>	<4D48513C.40503@rdtc.ru>	<20110201185026.GB62007@glebius.int.ru> <4D4D554B.4050407@rdtc.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On 05.02.2011 19:48, Eugene Grosbein wrote:

> Same box, more panics with KDB_TRACE, NETGRAPGH_DEBUG and your patch and Julian's.

I've built new SuperMicro server (same hardware platform with ECC memory, same NanoBSD image
and configuration but no lagg interfaces and only one uplink em0 and another downlink em1).
After 3 days 20 hours it paniced with new kind of panic.

Sadly, I forgot to enable crashdumps this time. Still, it had second panic
(Sleeping thread owns a non-sleepable lock) before reboot.
And it did not reboot itself, IPMI watchdog rebooted the box after 5 minutes.

My servers run quagga/ospfd too, hence igmp in stack trace:

Fatal trap 12: page fault while in kernel mode
cpuid = 2; apic id = 02
fault virtual address   = 0x2a0
fault code              = supervisor read data, page not present
instruction pointer     = 0x20:0xffffffff803f0888
stack pointer           = 0x28:0xffffff80ec0057c0
frame pointer           = 0x28:0xffffff80ec0057f0
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 23426 (mpd5)
trap number             = 12
panic: page fault
cpuid = 0
KDB: stack backtrace:
X_db_sym_numargs() at 0xffffffff801a227a = X_db_sym_numargs+0x15a
kdb_backtrace() at 0xffffffff8033d547 = kdb_backtrace+0x37
panic() at 0xffffffff8030b567 = panic+0x187
dblfault_handler() at 0xffffffff804c0ca0 = dblfault_handler+0x330
dblfault_handler() at 0xffffffff804c107f = dblfault_handler+0x70f
trap() at 0xffffffff804c155f = trap+0x3df
calltrap() at 0xffffffff804a8de4 = calltrap+0x8
--- trap 0xc, rip = 0xffffffff803f0888, rsp = 0xffffff80ec0057c0, rbp = 0xffffff80ec0057f0 ---
igmp_change_state() at 0xffffffff803f0888 = igmp_change_state+0x48
in_leavegroup_locked() at 0xffffffff803f8128 = in_leavegroup_locked+0x28
in_control() at 0xffffffff803f48c9 = in_control+0x13e9
ifioctl() at 0xffffffff803bee05 = ifioctl+0xca5
kern_ioctl() at 0xffffffff8034dea2 = kern_ioctl+0x102
ioctl() at 0xffffffff8034e0d0 = ioctl+0xf0
syscallenter() at 0xffffffff8034a015 = syscallenter+0x1e5
syscall() at 0xffffffff804c10fb = syscall+0x4b
Xfast_syscall() at 0xffffffff804a90c2 = Xfast_syscall+0xe2
--- syscall (54, FreeBSD ELF64, ioctl), rip = 0x8018e36ec, rsp = 0x7fffffbfe058, rbp = 0x8033ad518 ---
Uptime: 3d20h15m12s
Cannot dump. Device not defined or unavailable.
Automatic reboot in 15 seconds - press a key on the console to abort
Sleeping thread (tid 100234, pid 23426) owns a non-sleepable lock
sched_switch() at 0xffffffff80330819 = sched_switch+0xf9
mi_switch() at 0xffffffff80313ac6 = mi_switch+0x176
sleepq_timedwait() at 0xffffffff803478a2 = sleepq_timedwait+0x42
_sleep() at 0xffffffff80314041 = _sleep+0x301
ucom_attach() at 0xffffffff8029756b = ucom_attach+0x129b
ucom_attach() at 0xffffffff802976a4 = ucom_attach+0x13d4
ucom_attach() at 0xffffffff8029772b = ucom_attach+0x145b
iicbus_release_bus() at 0xffffffff80230b88 = iicbus_release_bus+0x16f8
sc_puts() at 0xffffffff80263bec = sc_puts+0x24c
sc_attach_unit() at 0xffffffff8026698c = sc_attach_unit+0x56c
cncheckc() at 0xffffffff802cbd55 = cncheckc+0x65
dump_write() at 0xffffffff8030a8ba = dump_write+0xda
kproc_shutdown() at 0xffffffff8030afc7 = kproc_shutdown+0x567
panic() at 0xffffffff8030b551 = panic+0x171
dblfault_handler() at 0xffffffff804c0ca0 = dblfault_handler+0x330
dblfault_handler() at 0xffffffff804c107f = dblfault_handler+0x70f
trap() at 0xffffffff804c155f = trap+0x3df
calltrap() at 0xffffffff804a8de4 = calltrap+0x8
--- trap 0xc, rip = 0xffffffff803f0888, rsp = 0xffffff80ec0057c0, rbp = 0xffffff80ec0057f0 ---
igmp_change_state() at 0xffffffff803f0888 = igmp_change_state+0x48
in_leavegroup_locked() at 0xffffffff803f8128 = in_leavegroup_locked+0x28
in_control() at 0xffffffff803f48c9 = in_control+0x13e9
ifioctl() at 0xffffffff803bee05 = ifioctl+0xca5
kern_ioctl() at 0xffffffff8034dea2 = kern_ioctl+0x102
ioctl() at 0xffffffff8034e0d0 = ioctl+0xf0
syscallenter() at 0xffffffff8034a015 = syscallenter+0x1e5
syscall() at 0xffffffff804c10fb = syscall+0x4b
Xfast_syscall() at 0xffffffff804a90c2 = Xfast_syscall+0xe2
--- syscall (54, FreeBSD ELF64, ioctl), rip = 0x8018e36ec, rsp = 0x7fffffbfe058, rbp = 0x8033ad518 ---
panic: sleeping thread
cpuid = 0
Uptime: 3d20h16m10s
Cannot dump. Device not defined or unavailable.
Automatic reboot in 15 seconds - press a key on the console to abort




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D4FC8F1.7060609>