Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Sep 2009 10:58:53 +0300
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Aristedes Maniatis <ari@ish.com.au>
Cc:        freebsd-stable <freebsd-stable@freebsd.org>
Subject:   lf_advlockasync panic [Was: pcpu.h kernel crash with 7.2]
Message-ID:  <20090918075853.GL47688@deviant.kiev.zoral.com.ua>
In-Reply-To: <4AB2D797.9090603@ish.com.au>
References:  <4AB2D797.9090603@ish.com.au>

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

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

On Fri, Sep 18, 2009 at 10:43:03AM +1000, Aristedes Maniatis wrote:
> This is a FreeBSD 7.2 machine in production. I'm not an expert at debuggi=
ng=20
> kernel problems, but I've still got the vmcore if there is anything else =
I=20
> should run on it to extract more information.
It is believed that the problem is fixed in RELENG_7 branch.
If the issue is reproducable, it would worth the efforts to upgrade
at least the kernel to latest RELENG_7 and retest.

>=20
> Thanks
>=20
> Ari Maniatis
>=20
>=20
> # uname -a
> FreeBSD dash.internal 7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #0: Wed Jun 2=
4=20
> 00:14:35 UTC 2009    =20
> root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
>=20
>=20
> #kgdb /boot/kernel/kernel /var/crash/vmcore.3
> 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=20
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for detail=
s.
> 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 0x11
> fault code		=3D supervisor read data, page not present
> instruction pointer	=3D 0x8:0xffffffff804fbec9
> stack pointer	        =3D 0x10:0xffffffff7b6a2830
> frame pointer	        =3D 0x10:0x1
> 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 69329 (httpd)
> trap number		=3D 12
> panic: page fault
> cpuid =3D 4
> Uptime: 34d3h21m46s
> Physical memory: 24561 MB
> Dumping 5146 MB: 5131 5115 5099 5083 5067 5051 5035 5019 5003 4987 4971=
=20
> 4955 4939 4923 4907 4891 4875 4859 4843 4827 4811 4795 4779 4763 4747 473=
1=20
> 4715 4699 4683 4667 4651 4635 4619 4603 4587 4571 4555 4539 4523 4507 449=
1=20
> 4475 4459 4443 4427 4411 4395 4379 4363 4347 4331 4315 4299 4283 4267 425=
1=20
> 4235 4219 4203 4187 4171 4155 4139 4123 4107 4091 4075 4059 4043 4027 401=
1=20
> 3995 3979 3963 3947 3931 3915 3899 3883 3867 3851 3835 3819 3803 3787 377=
1=20
> 3755 3739 3723 3707 3691 3675 3659 3643 3627 3611 3595 3579 3563 3547 353=
1=20
> 3515 3499 3483 3467 3451 3435 3419 3403 3387 3371 3355 3339 3323 3307 329=
1=20
> 3275 3259 3243 3227 3211 3195 3179 3163 3147 3131 3115 3099 3083 3067 305=
1=20
> 3035 3019 3003 2987 2971 2955 2939 2923 2907 2891 2875 2859 2843 2827 281=
1=20
> 2795 2779 2763 2747 2731 2715 2699 2683 2667 2651 2635 2619 2603 2587 257=
1=20
> 2555 2539 2523 2507 2491 2475 2459 2443 2427 2411 2395 2379 2363 2347 233=
1=20
> 2315 2299 2283 2267 2251 2235 2219 2203 2187 2171 2155 2139 2123 2107 209=
1=20
> 2075 2059 2043 202
> 7 2011 1995 1979 1963 1947 1931 1915 1899 1883 1867 1851 1835 1819 1803=
=20
> 1787 1771 1755 1739 1723 1707 1691 1675 1659 1643 1627 1611 1595 1579 156=
3=20
> 1547 1531 1515 1499 1483 1467 1451 1435 1419 1403 1387 1371 1355 1339 132=
3=20
> 1307 1291 1275 1259 1243 1227 1211 1195 1179 1163 1147 1131 1115 1099 108=
3=20
> 1067 1051 1035 1019 1003 987 971 955 939 923 907 891 875 859 843 827 811=
=20
> 795 779 763 747 731 715 699 683 667 651 635 619 603 587 571 555 539 523 5=
07=20
> 491 475 459 443 427 411 395 379 363 347 331 315 299 283 267 251 235 219 2=
03=20
> 187 171 155 139 123 107 91 75 59 43 27 11
>=20
> Reading symbols from /boot/kernel/zfs.ko...Reading symbols from=20
> /bootdir/boot/kernel/zfs.ko.symbols...done.
> done.
> Loaded symbols for /boot/kernel/zfs.ko
> Reading symbols from /boot/kernel/opensolaris.ko...Reading symbols from=
=20
> /bootdir/boot/kernel/opensolaris.ko.symbols...done.
> done.
> Loaded symbols for /boot/kernel/opensolaris.ko
> Reading symbols from /boot/kernel/accf_http.ko...Reading symbols from=20
> /bootdir/boot/kernel/accf_http.ko.symbols...done.
> done.
> Loaded symbols for /boot/kernel/accf_http.ko
> Reading symbols from /boot/kernel/ipmi.ko...Reading symbols from=20
> /bootdir/boot/kernel/ipmi.ko.symbols...done.
> done.
> Loaded symbols for /boot/kernel/ipmi.ko
> Reading symbols from /boot/kernel/smbus.ko...Reading symbols from=20
> /bootdir/boot/kernel/smbus.ko.symbols...done.
> done.
> Loaded symbols for /boot/kernel/smbus.ko
> Reading symbols from /boot/kernel/pflog.ko...Reading symbols from=20
> /bootdir/boot/kernel/pflog.ko.symbols...done.
> done.
> Loaded symbols for /boot/kernel/pflog.ko
> Reading symbols from /boot/kernel/pf.ko...Reading symbols from=20
> /bootdir/boot/kernel/pf.ko.symbols...done.
> done.
> Loaded symbols for /boot/kernel/pf.ko
> #0  doadump () at pcpu.h:195
> 195	pcpu.h: No such file or directory.
> 	in pcpu.h
>=20
>=20
>=20
>=20
> (kgdb) bt
> #0  doadump () at pcpu.h:195
> #1  0x0000000000000004 in ?? ()
> #2  0xffffffff8050df79 in boot (howto=3D260) at=20
> /usr/src/sys/kern/kern_shutdown.c:418
> #3  0xffffffff8050e382 in panic (fmt=3D0x104 <Address 0x104 out of bounds=
>)=20
> at /usr/src/sys/kern/kern_shutdown.c:574
> #4  0xffffffff807d2253 in trap_fatal (frame=3D0xffffff0315455370,=20
> eva=3DVariable "eva" is not available.
> ) at /usr/src/sys/amd64/amd64/trap.c:757
> #5  0xffffffff807d2625 in trap_pfault (frame=3D0xffffffff7b6a2780,=20
> usermode=3D0) at /usr/src/sys/amd64/amd64/trap.c:673
> #6  0xffffffff807d2f64 in trap (frame=3D0xffffffff7b6a2780) at=20
> /usr/src/sys/amd64/amd64/trap.c:444
> #7  0xffffffff807b70ce in calltrap () at=20
> /usr/src/sys/amd64/amd64/exception.S:209
> #8  0xffffffff804fbec9 in lf_free_lock (lock=3D0xffffff03d0518580) at sx.=
h:153
> #9  0xffffffff804fda14 in lf_advlockasync (ap=3DVariable "ap" is not=20
> available.
> ) at /usr/src/sys/kern/kern_lockf.c:1458
> #10 0xffffffff804fda69 in lf_advlock (ap=3DVariable "ap" is not available.
> ) at /usr/src/sys/kern/kern_lockf.c:741
> #11 0xffffffff80582270 in vop_stdadvlock (ap=3D0xffffffff7b6a2a70) at=20
> /usr/src/sys/kern/vfs_default.c:222
> #12 0xffffffff804e02a6 in kern_fcntl (td=3D0xffffff0315455370, fd=3DVaria=
ble=20
> "fd" is not available.
> ) at vnode_if.h:1036
> #13 0xffffffff804e0539 in fcntl (td=3D0xffffff0315455370,=20
> uap=3D0xffffffff7b6a2bf0) at /usr/src/sys/kern/kern_descrip.c:374
> #14 0xffffffff807d28a7 in syscall (frame=3D0xffffffff7b6a2c80) at=20
> /usr/src/sys/amd64/amd64/trap.c:900
> #15 0xffffffff807b72db in Xfast_syscall () at=20
> /usr/src/sys/amd64/amd64/exception.S:330
> #16 0x000000080113528c in ?? ()
> Previous frame inner to this frame (corrupt stack?)
>=20
>=20
> --=20
>=20
> -------------------------->
> ish
> http://www.ish.com.au
> Level 1, 30 Wilson Street Newtown 2042 Australia
> phone +61 2 9550 5001   fax +61 2 9550 4001
> GPG fingerprint CBFB 84B4 738D 4E87 5E5C  5EFA EF6A 7D2E 3E49 102A
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"

--IrYWVTOpV5r4MFme
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iEYEARECAAYFAkqzPb0ACgkQC3+MBN1Mb4hP9wCgg3EiYIgruyyHZ/IKV2hBFSPi
YD4AoMqp4nGjd/GiLd1aVZnaxaD40AlT
=s0mv
-----END PGP SIGNATURE-----

--IrYWVTOpV5r4MFme--



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