Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Feb 2011 00:36:52 +0600
From:      Eugene Grosbein <egrosbein@rdtc.ru>
To:        Julian Elischer <julian@freebsd.org>
Cc:        freebsd-net@freebsd.org, John Baldwin <jhb@freebsd.org>
Subject:   Re: panic: bufwrite: buffer is not busy???
Message-ID:  <4D4852C4.8040109@rdtc.ru>
In-Reply-To: <4D48513C.40503@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>

next in thread | previous in thread | raw e-mail | index | archive | help
On 02.02.2011 00:30, Eugene Grosbein wrote:

> Fatal trap 12: page fault while in kernel mode
> cpuid = 3; apic id = 06
> fault virtual address   = 0x63
> fault code              = supervisor read data, page not present
> instruction pointer     = 0x20:0xffffffff803d4ccd
> stack pointer           = 0x28:0xffffff80ebffc600
> frame pointer           = 0x28:0xffffff80ebffc680
> 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         = 2390 (mpd5)
> trap number             = 12
> panic: page fault
> cpuid = 3
> Uptime: 8h3m51s
> Dumping 4087 MB (3 chunks)
>   chunk 0: 1MB (150 pages) ... ok
>   chunk 1: 3575MB (915088 pages) 3559 3543panic: bufwrite: buffer is not busy???
> cpuid = 3
> Uptime: 8h3m52s
> Automatic reboot in 15 seconds - press a key on the console to abort
> 
> # gdb kernel
> GNU gdb 6.1.1 [FreeBSD]
> Copyright 2004 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details.
> This GDB was configured as "amd64-marcel-freebsd"...
> (gdb) l *0xffffffff803d4ccd
> 0xffffffff803d4ccd is in ng_pppoe_disconnect (netgraph.h:191).
> 186                                     int line);
> 187
> 188     static __inline void
> 189     _chkhook(hook_p hook, char *file, int line)
> 190     {
> 191             if (hook->hk_magic != HK_MAGIC) {
> 192                     printf("Accessing freed hook ");
> 193                     dumphook(hook, file, line);
> 194             }
> 195             hook->lastline = line;
> (gdb) x/i 0xffffffff803d4ccd
> 0xffffffff803d4ccd <ng_pppoe_disconnect+301>:   cmpl   $0x78573011,0x64(%rbx)

Forgot to mention, this time kernel has options NETGRAPH_DEBUG.

Eugene Grosbein



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