Date: Sun, 6 Sep 2009 14:02:38 +0300 From: Kostik Belousov <kostikbel@gmail.com> To: Thierry Herbelot <thierry.herbelot@free.fr> Cc: stable@freebsd.org, jhb@freebsd.org Subject: Re: Panic in recent 7.2-Stable Message-ID: <20090906110238.GH47688@deviant.kiev.zoral.com.ua> In-Reply-To: <200909061102.40450.thierry.herbelot@free.fr> References: <200909061102.40450.thierry.herbelot@free.fr>
next in thread | previous in thread | raw e-mail | index | archive | help
--ewQ5hdP4CtoTt3oD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Sep 06, 2009 at 11:02:39AM +0200, Thierry Herbelot wrote: > Hello, >=20 > I'm having a panic with the latest kernel build of my -Stable file server= =20 > (sources cvsupped around yesterday evening, CEST). The panic happens soon= =20 > after entering multi-user : >=20 > panic: vm_phys_paddr_to_vm_page: paddr 0xf0000 is not in any segment > KDB: enter: panic > [thread pid 1005 tid 100154 ] > Stopped at kdb_enter_why+0x3a: movl $0,kdb_why > db> where > Tracing pid 1005 tid 100154 td 0x8ecad480 > kdb_enter_why(80ba731f,80ba731f,80bc1ad6,fb301a94,fb301a94,...) at=20 > kdb_enter_why+0x3a > panic(80bc1ad6,f0000,0,8ecad480,0,...) at panic+0xd1 > vm_phys_paddr_to_vm_page(f0000,f0000,fb301ad8,1,80a36a78,...) at=20 > vm_phys_paddr_to_vm_page+0x4d > dev_pager_getpages(92b8d980,fb301c04,1,0,fb301bcc,...) at=20 > dev_pager_getpages+0xe1 > vm_fault(89267bfc,33d90000,1,0,89b0b50c,...) at vm_fault+0x1020 > trap_pfault(202,7,8583b900,80cd9800,89b0eb00,...) at trap_pfault+0x15b > trap(fb301d38) at trap+0x247 >=20 > An excerpt of the dmesg is : >=20 > Copyright (c) 1992-2009 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 7.2-STABLE #35: Sun Sep 6 10:04:40 CEST 2009 > XXX@YYY:/usr/obj/usr/src/sys/GENERIC > Preloaded elf kernel "/boot/kernel/kernel" at 0x8101a000. > Preloaded elf module "/boot/kernel/zfs.ko" at 0x8101a188. > Preloaded elf module "/boot/kernel/opensolaris.ko" at 0x8101a230. > Preloaded elf module "/boot/kernel/snd_cmi.ko" at 0x8101a2e0. > Preloaded elf module "/boot/kernel/sound.ko" at 0x8101a38c. > Preloaded /boot/zfs/zpool.cache "/boot/zfs/zpool.cache" at 0x8101a438. > Preloaded elf module "/boot/kernel/acpi.ko" at 0x8101a490. >=20 > The previous kernel is older (around 22 august) and works as expected. >=20 > Some idents for the panic kernel are : (ie after SVN rev 196838) > $FreeBSD: src/sys/i386/i386/pmap.c,v 1.594.2.20 2009/09/04 19:59:32 jhb E= xp $ > $FreeBSD: src/sys/kern/kern_mbuf.c,v 1.32.2.6 2009/09/04 19:59:32 jhb Exp= $ > $FreeBSD: src/sys/vm/device_pager.c,v 1.84.2.3 2009/09/04 19:59:32 jhb Ex= p $ > $FreeBSD: src/sys/vm/vm_object.c,v 1.385.2.7 2009/09/04 19:59:32 jhb Exp $ > $FreeBSD: src/sys/vm/vm_page.c,v 1.357.2.10 2009/09/04 19:59:32 jhb Exp $ > $FreeBSD: src/sys/vm/vm_phys.c,v 1.4.2.2 2009/09/04 19:59:32 jhb Exp $ I expect that the following patch, that is the partial merge of r194459, would fix it. It patches sys/vm/vm_phys.c. Index: vm_phys.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- vm_phys.c (revision 194458) +++ vm_phys.c (revision 194459) @@ -382,8 +382,7 @@ if (pa >=3D seg->start && pa < seg->end) return (&seg->first_page[atop(pa - seg->start)]); } - panic("vm_phys_paddr_to_vm_page: paddr %#jx is not in any segment", - (uintmax_t)pa); + return (NULL); } =20 /* --ewQ5hdP4CtoTt3oD Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAkqjlssACgkQC3+MBN1Mb4hczACg09EEqUwHW42cTveQh1y+RxFH +egAn0UvVDUL5aD0pjooYN1JKPMwG0G/ =hcK2 -----END PGP SIGNATURE----- --ewQ5hdP4CtoTt3oD--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090906110238.GH47688>