Date: Fri, 30 Nov 2012 18:47:15 +0200 From: Konstantin Belousov <kostikbel@gmail.com> To: sig6247 <sig6247@gmail.com> Cc: freebsd-current@freebsd.org, fs@freebsd.org Subject: Re: clang compiled kernel panic when mounting zfs root on i386 Message-ID: <20121130164715.GW3013@kib.kiev.ua> In-Reply-To: <50b8a9c5.e64dec0a.1d88.133a@mx.google.com> References: <50b37d46.8584440a.735c.ffffb4e6@mx.google.com> <20121126171658.GD3013@kib.kiev.ua> <20121127071243.D1255@besplex.bde.org> <20121129232944.GQ3013@kib.kiev.ua> <50b8a9c5.e64dec0a.1d88.133a@mx.google.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--iwX7oKFvAj2SwWc7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Nov 30, 2012 at 04:42:45AM -0800, sig6247 wrote: > On Fri, 30 Nov 2012 01:29:44 +0200, Konstantin Belousov <kostikbel@gmail.= com> wrote: >=20 > > Please apply the patch below and obtain the backtrace of the double fau= lt > > panic again. I will commit the patch later. >=20 > Thanks for the patch.=20 >=20 > WARNING: WITNESS option enabled, expect reduced performance. > Trying to mount root from zfs:zroot []... >=20 > Fatal double fault: > eip =3D 0xc0e93e07 > esp =3D 0xc86bffbc > ebp =3D 0xc86c0032 > cpuid =3D 1; apic id =3D 01 > panic: double fault > cpuid =3D 1 > KDB: enter: panic > [ thread pid 1 tid 100002 ] > Stopped at kdb_enter+0x3d: movl $0,kdb_why > db> bt > Tracing pid 1 tid 100002 td 0xc89efbc0 > kdb_enter(c1065960,c1065960,c10b903b,c139f438,aef01785,...) at kdb_enter+= 0x3d/frame 0xc139f3f0 > panic(c10b903b,1,1,1,c86c0032,...) at panic+0x14b/frame 0xc139f42c > dblfault_handler() at dblfault_handler+0xab/frame 0xc139f42c > --- trap 0x17, eip =3D 0xc0e93e07, esp =3D 0xc86bffbc, ebp =3D 0xc86c0032= --- > __qdivrem(0,aba80000,c10d,98600000,68c119,...) at __qdivrem+0x197/frame 0= xc86c0032 > db>=20 Hm, this is not very useful. Although the panic is again caused by the stack overflow, most likely (please also include the output of the "show thread" =66rom ddb), it is at different place, and probably at the leaf function. Can you try some more times, so that we could see 'big' backtrace ? --iwX7oKFvAj2SwWc7 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQIcBAEBAgAGBQJQuOMTAAoJEJDCuSvBvK1Bfb4QAKfQlzWqbvLNxc0iMg7NQlJ8 ZlJanY91GWIuZbgtSYSwkLZ0mJ0xhHgCRGJLFnVncZGY56bPmIDnkV0h776RY7RU 2fH1BI2QLCEVqRH/y4n3uoJZRfdZ2xrqRuvw3qkWQ5xUbMgTFZamckv1Z0rTsp9w NKwzFcWBGvZeioJJALMDbKr4FtmPeFK1K61aQlAL2WzwbTn7xd3Iqs9CrMm8oUEi FMl3mHajW61g2dYY1LwxEpR4/GnMmJARFqMRugN68W0PyfXvYfX7QFJcL/TuZZHS 3pl3fvVIR00sCmEwT1xYyI4Q9oF/5Hs5ybFFFBkLX0CABXyVoAZbUo/Z+JldM6SQ VgjMF+qucbcacBCYerSXjTQv0Hv+3P4ALMepJBuwiE/DCwnWe4UO3LhpUx1rVR5X 8siL9sE4u0qkyxirti7TTlOQS30MEneyYtybNQaiY3cn5YCrCy5otovc047hd65w JIX6I5R0ZS84KoXQe/gfyOcWz87zfFInVfRWevz62x7rfQqF3srlIenpfE1d0ZP1 qRYKGZcRiR02RACoLerlTKukj6ZzXK0XXTt84GZaqzUZvb3tzYS6e22gAEKRd7T6 xcvNILDcPaUHRRLr8+OPGPJNj0ZpKkeGT9EtVWSXBz+Sy+v7jB+nF8Yw4Y85DvnO 4UPihvsOQq9VptkFTkn0 =rLF0 -----END PGP SIGNATURE----- --iwX7oKFvAj2SwWc7--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121130164715.GW3013>