From owner-freebsd-questions@freebsd.org Wed Dec 21 17:50:12 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DFEB2C8ABE1 for ; Wed, 21 Dec 2016 17:50:12 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.117.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 861C41BA3 for ; Wed, 21 Dec 2016 17:50:11 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from liminal.local (unknown [IPv6:2001:8b0:151:1:1c1d:86a1:a200:b700]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id 4D7E9AE53 for ; Wed, 21 Dec 2016 17:50:01 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org Authentication-Results: smtp.infracaninophile.co.uk/4D7E9AE53; dkim=none; dkim-atps=neutral Subject: Re: Where can I get help for debugging system crash ? To: freebsd-questions@freebsd.org References: From: Matthew Seaman Message-ID: <141a0360-2da5-4769-cadd-48c504edc996@FreeBSD.org> Date: Wed, 21 Dec 2016 17:49:54 +0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="r3c0XEArsV6rfcJbPvPxWskE8cQ5G1EwH" X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00,RDNS_NONE, SPF_SOFTFAIL autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on smtp.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Dec 2016 17:50:13 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --r3c0XEArsV6rfcJbPvPxWskE8cQ5G1EwH Content-Type: multipart/mixed; boundary="XADQ01T3AEio9ioHNPk6asdSgwJhqSe5O"; protected-headers="v1" From: Matthew Seaman To: freebsd-questions@freebsd.org Message-ID: <141a0360-2da5-4769-cadd-48c504edc996@FreeBSD.org> Subject: Re: Where can I get help for debugging system crash ? References: In-Reply-To: --XADQ01T3AEio9ioHNPk6asdSgwJhqSe5O Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 21/12/2016 14:00, Manish Jain wrote: > I am running a FreeBSD 11 amd64 box. The box generally works well, but = > once every while (about once a month), the system produces a crash, wit= h=20 > a large core file at /var/crash. I had a crash yesterday. The info.0 fo= r=20 > the the last core reads as : >=20 > Dump header from device: /dev/ada0p3 > Architecture: amd64 > Architecture Version: 2 > Dump Length: 1012834304 > Blocksize: 512 > Dumptime: Tue Dec 20 19:05:28 2016 > Hostname: bourne.1dent1ty > Magic: FreeBSD Kernel Dump > Version String: FreeBSD 11.0-RELEASE-p1 #0 r306420: Thu Sep 29=20 > 01:43:23 UTC 2016 > root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC > Panic String: page fault > Dump Parity: 4025560426 > Bounds: 0 > Dump Status: good >=20 > /dev/ada0p3 corresponds to my swap partition. My box has 2 solid state = > disks, which provide ada0p1 (efi), ada0p2 (ufs), ada0p3 (swap), ada0p4 = > (ufs) and ada1s1 (ufs). >=20 > I need help to determine exactly what is producing the crash - Is it=20 > some hardware problem or some issue with the FreeBSD code ? If anyone=20 > can help me get through to the right channel, I will be grateful indeed= =2E Hi, Manish, The best thing to do here is to open a PR with what details of the crash you can extract from the core dump. You have a full system core, so you should be able to follow the instructions here, and extract a backtrace from the kernel: https://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/ker= neldebug-gdb.html Or generating a textdump will automatically process your saved core and produce a textual report with lots of debugging information. This does require a modified kernel configuration though. See textdump(4) and http://www.etinc.com/122/Using-FreeBSD-Text-Dumps for details. If you can pin the problem down to a particular subsystem or device, then that should indicate which mailing list would be a good choice to discuss the problem. If it doesn't appear to be in any device or sub-system specific part of the kernel, then try asking on freebsd-stable@... Cheers, Matthew --XADQ01T3AEio9ioHNPk6asdSgwJhqSe5O-- --r3c0XEArsV6rfcJbPvPxWskE8cQ5G1EwH Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQJ8BAEBCgBmBQJYWsDJXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATUDAP/1NxuWEfrsEPE5vpYuwLe5+W v+TnlbqTbEecBSNKBGpzyne+sRg7XFAVacg9pp76/s1vxg47uuJimRY6KfWgZRkm pOuWRI8m/PdgA0xkj2m3Jz+FjR2ypjyHK+RhC2HcyoNGwPn1kdDEDx6k0umEH4S9 2T/AmgxGO43IxT5fZWopwxeojC/Z48VM/rsYKAcaxzszHdCeZWEOGnIKmUOhnDvk ysFRSsG2ueHwF7pfQIrqCSOC7nIbthR11cNzE8YODX8mOa9cnAKekRvNgWjuZyNV 1xZA3OK6lITbTjBpPMlrZ2kHLDto5gBvgmnrt4mgVzQ9HFfsjlb5QP/e+fgiEWLt +QyKRivFwwqGOQcl0rChsrznD7w4FWGRPHXFuhRQlyE3HGV0V/lK3zTssiJOsFGH FEHDxy75dxttqEmgWmWHtWqEiqM+ef9YzUPCJ86Sz5S3ILutHt6JuqzzM7nRkPc/ WQZ3yK/j8EvHVr8k4PeqIiBNYwmDo4g7nTemBVBCdxggSPdlLnc5J8eV+1/xXWxK FBfY9gKOxVVMCxO+I3r1H5ZLRT0578fsCGNSTkNlNUusQiEHNDfxPuVp5hHMN8Kg NVnHtHsQFJFLVazSAmrjQUomRgAjgs4Jk5qneX/tn/g/qQTctOEEnVV4JpkmZVZw wmdWaGbZMx0K8EpB8GE6 =NGiL -----END PGP SIGNATURE----- --r3c0XEArsV6rfcJbPvPxWskE8cQ5G1EwH--