Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Feb 2012 17:02:59 +0200
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        Hiroki Sato <hrs@freebsd.org>
Cc:        stable@freebsd.org
Subject:   Re: another panic in 8.3-PRERELEASE
Message-ID:  <20120224150259.GV55074@deviant.kiev.zoral.com.ua>
In-Reply-To: <20120224143336.GS55074@deviant.kiev.zoral.com.ua>
References:  <20120223.234558.1101656075598772176.hrs@allbsd.org> <20120224143336.GS55074@deviant.kiev.zoral.com.ua>

next in thread | previous in thread | raw e-mail | index | archive | help

--7aLy7NWYeEog7w9O
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Feb 24, 2012 at 04:33:36PM +0200, Konstantin Belousov wrote:
> On Thu, Feb 23, 2012 at 11:45:58PM +0900, Hiroki Sato wrote:
> > Hi,
> >=20
> >  This is another reproducible panic.  This seems to happen only when
> >  top(1) is running for a long time (a sysctl() call for
> >  CTL_KERN.KERN_PROC.KERN_PROC_PROC MIB triggered it).
> >=20
> > ----
> > pool.allbsd.org dumped core - see /var/crash/vmcore.0
> >=20
> > Thu Feb 23 23:21:52 JST 2012
> >=20
> > FreeBSD pool.allbsd.org 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #8: Thu F=
eb 23 04:40:54 JST 2012     hrs@pool.allbsd.org:/usr/obj/usr/src/sys/POOL  =
amd64
> >=20
> > panic:
> >=20
> > GNU gdb 6.1.1 [FreeBSD]
> > Copyright 2004 Free Software Foundation, Inc.
> > GDB is free software, covered by the GNU General Public License, and yo=
u are
> > welcome to change it and/or distribute copies of it under certain condi=
tions.
> > Type "show copying" to see the conditions.
> > There is absolutely no warranty for GDB.  Type "show warranty" for deta=
ils.
> > This GDB was configured as "amd64-marcel-freebsd"...
> >=20
> > Unread portion of the kernel message buffer:
> >=20
> >=20
> > Fatal trap 12: page fault while in kernel mode
> > cpuid =3D 4; apic id =3D 04
> > fault virtual address	=3D 0x800e96000
> > fault code		=3D supervisor write data, protection violation
> > instruction pointer	=3D 0x20:0xffffffff809440cb
> > stack pointer	        =3D 0x28:0xffffff86c63890b0
> > frame pointer	        =3D 0x28:0xffffff86c6389100
> > code segment		=3D base 0x0, limit 0xfffff, type 0x1b
> > 			=3D DPL 0, pres 1, long 1, def32 0, gran 1
> > processor eflags	=3D interrupt enabled, resume, IOPL =3D 0
> > current process		=3D 47211 (top)
> > lock order reversal: (Giant after non-sleepable)
> >  1st 0xffffff0244b85568 process lock (process lock) @ /usr/src/sys/kern=
/kern_proc.c:1211
> >  2nd 0xffffffff80d74c80 Giant (Giant) @ /usr/src/sys/dev/usb/input/ukbd=
.c:2018
> > KDB: stack backtrace:
> > Dumping 23903 out of 24550 MB:..1%..11%..21%..31% (CTRL-C to abort)  (C=
TRL-C to abort) ..41%..51%..61%..71%..81%..91%
> >=20
> > Reading symbols from /boot/kernel/geom_mirror.ko...Reading symbols from=
 /boot/kernel/geom_mirror.ko.symbols...done.
> > done.
> > Loaded symbols for /boot/kernel/geom_mirror.ko
> > Reading symbols from /boot/kernel/zfs.ko...Reading symbols from /boot/k=
ernel/zfs.ko.symbols...done.
> > done.
> > Loaded symbols for /boot/kernel/zfs.ko
> > Reading symbols from /boot/kernel/opensolaris.ko...Reading symbols from=
 /boot/kernel/opensolaris.ko.symbols...done.
> > done.
> > Loaded symbols for /boot/kernel/opensolaris.ko
> > Reading symbols from /boot/kernel/ipfw.ko...Reading symbols from /boot/=
kernel/ipfw.ko.symbols...done.
> > done.
> > Loaded symbols for /boot/kernel/ipfw.ko
> > #0  doadump () at /usr/src/sys/kern/kern_shutdown.c:263
> > 263		if (textdump_pending)
> > (kgdb) #0  doadump () at /usr/src/sys/kern/kern_shutdown.c:263
> > #1  0xffffffff801f8cfc in db_fncall (dummy1=3DVariable "dummy1" is not =
available.
> > )
> >     at /usr/src/sys/ddb/db_command.c:548
> > #2  0xffffffff801f9031 in db_command (last_cmdp=3D0xffffffff80d37f40, c=
md_table=3DVariable "cmd_table" is not available.
> >=20
> > ) at /usr/src/sys/ddb/db_command.c:445
> > #3  0xffffffff801f9280 in db_command_loop ()
> >     at /usr/src/sys/ddb/db_command.c:498
> > #4  0xffffffff801fb369 in db_trap (type=3DVariable "type" is not availa=
ble.
> > ) at /usr/src/sys/ddb/db_main.c:229
> > #5  0xffffffff8069dff1 in kdb_trap (type=3D12, code=3D0, tf=3D0xffffff8=
6c6389000)
> >     at /usr/src/sys/kern/subr_kdb.c:548
> > #6  0xffffffff809461ed in trap_fatal (frame=3D0xffffff86c6389000, eva=
=3DVariable "eva" is not available.
> > )
> >     at /usr/src/sys/amd64/amd64/trap.c:820
> > #7  0xffffffff809468b5 in trap (frame=3D0xffffff86c6389000)
> >     at /usr/src/sys/amd64/amd64/trap.c:326
> > #8  0xffffffff8092d2f4 in calltrap ()
> >     at /usr/src/sys/amd64/amd64/exception.S:228
> > #9  0xffffffff809440cb in copyout () at /usr/src/sys/amd64/amd64/suppor=
t.S:258
> > #10 0xffffffff80675f1f in sysctl_old_user (req=3D0xffffff86c63899c0,
> >     p=3D0xffffff86c6389470, l=3D1088) at /usr/src/sys/kern/kern_sysctl.=
c:1276
> > #11 0xffffffff8065f6a6 in sysctl_out_proc_copyout (ki=3D0xffffff86c6389=
470,
> >     req=3D0xffffff86c63899c0) at /usr/src/sys/kern/kern_proc.c:1085
> > #12 0xffffffff8065ff6c in sysctl_out_proc (p=3D0xffffff0244b85470,
> >     req=3D0xffffff86c63899c0, flags=3DVariable "flags" is not available.
> > ) at /usr/src/sys/kern/kern_proc.c:1114
> > #13 0xffffffff8066245e in sysctl_kern_proc (oidp=3DVariable "oidp" is n=
ot available.
> > )
> >     at /usr/src/sys/kern/kern_proc.c:1302
> > #14 0xffffffff806756e8 in sysctl_root (oidp=3DVariable "oidp" is not av=
ailable.
> > )
> >     at /usr/src/sys/kern/kern_sysctl.c:1455
> > #15 0xffffffff8067598e in userland_sysctl (td=3D0x0, name=3D0xffffff86c=
6389a80,
> >     namelen=3D3, old=3D0x800e96000, oldlenp=3DVariable "oldlenp" is not=
 available.
> > )
> >     at /usr/src/sys/kern/kern_sysctl.c:1565
> > #16 0xffffffff80675e3a in __sysctl (td=3D0xffffff0396ec5460,
> >     uap=3D0xffffff86c6389bc0) at /usr/src/sys/kern/kern_sysctl.c:1491
> > #17 0xffffffff80945809 in amd64_syscall (td=3D0xffffff0396ec5460, trace=
d=3D0)
> >     at subr_syscall.c:114
> > #18 0xffffffff8092d5ec in Xfast_syscall ()
> >     at /usr/src/sys/amd64/amd64/exception.S:387
> > #19 0x0000000800abecfc in ?? ()
> > Previous frame inner to this frame (corrupt stack?)
> > (kgdb)
> Can you, please, print out the content of *td, e.g. from the frame 16 ?

And *req from the frame 11, please.

--7aLy7NWYeEog7w9O
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (FreeBSD)

iEYEARECAAYFAk9HpqMACgkQC3+MBN1Mb4haPACg1OMlMG3fL2nMLI1hPRaXK+GG
ai8An0yAPnel+UGbTTltcYmCUdDQaGZZ
=6UyI
-----END PGP SIGNATURE-----

--7aLy7NWYeEog7w9O--



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