Date: Sat, 06 Oct 2007 15:59:53 +0900 (JST) From: Hiroki Sato <hrs@FreeBSD.org> To: jhb@FreeBSD.org Cc: freebsd-sparc64@FreeBSD.org, marius@alchemy.franken.de Subject: Re: 7.0 broken on e4500 Message-ID: <20071006.155953.35052779.hrs@allbsd.org> In-Reply-To: <200710060222.31023.jhb@freebsd.org> References: <46FEADFD.8020105@FreeBSD.org> <20071003132944.GA17342@alchemy.franken.de> <200710060222.31023.jhb@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
----Security_Multipart(Sat_Oct__6_15_59_53_2007_671)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit John Baldwin <jhb@freebsd.org> wrote in <200710060222.31023.jhb@freebsd.org>: jh> On Wednesday 03 October 2007 09:29:44 am Marius Strobl wrote: jh> > On Sat, Sep 29, 2007 at 09:56:45PM +0200, Kris Kennaway wrote: jh> > > I get this early during boot with a CVS kernel (updated from last jh> December): jh> > > jh> > > > FreeBSD/SMP: Multiprocessor System Detected: 10 CPUs jh> > > > panic: tsb_tte_enter: replacing valid kernel mapping jh> > > > cpuid = 0 jh> > > > KDB: enter: panic jh> > > > [thread pid 0 tid 0 ] jh> > > > Stopped at kdb_enter+0x68: ta %xcc, 1 jh> > > > db> wh jh> > > > Tracing pid 0 tid 0 td 0xc0744f80 jh> > > > panic() at panic+0x204 jh> > > > tsb_tte_enter() at tsb_tte_enter+0xdc jh> > > > pmap_enter_locked() at pmap_enter_locked+0x2d0 jh> > > > pmap_enter() at pmap_enter+0x64 jh> > > > kmem_malloc() at kmem_malloc+0x6e0 jh> > > > page_alloc() at page_alloc+0x28 jh> > > > uma_large_malloc() at uma_large_malloc+0x44 jh> > > > malloc() at malloc+0x1b0 jh> > > > sf_buf_init() at sf_buf_init+0xf8 jh> > > > mi_startup() at mi_startup+0x18c jh> > > > btext() at btext+0x34 jh> > > jh> > jh> > Do you by chance load the new kernel manually via the loader jh> > prompt, with the old kernel being <= 8MB in size and the new jh> > one > 8MB? jh> jh> I get this panic on an E220R at work, but my "new" kernel is smaller. jh> jh> > ll /boot/kernel/kernel* /boot/test/kernel* jh> -r-xr-xr-x 1 root wheel 7821094 Feb 6 2007 /boot/kernel/kernel jh> -r-xr-xr-x 1 root wheel 13902501 Feb 6 2007 /boot/kernel/kernel.symbols jh> -r-xr-xr-x 1 root wheel 4534968 Oct 6 00:20 /boot/test/kernel jh> -r-xr-xr-x 1 root wheel 10101980 Oct 6 00:20 /boot/test/kernel.symbols jh> jh> The working kernel (~7MB) is the GENERIC kernel, and the "test" kernel jh> is the stripped down kernel for this machine. In my case I'm panicing in jh> pmap_remove_tte() called from pmap_enter_locked(). I added some KTR traces In the E4500 case, the old kernel was small and the new one was >8MB: hrs@e4500-3 % ll -h /boot/kernel/kernel -r-xr-xr-x 1 root wheel 8.2M Oct 6 09:59 /boot/kernel/kernel* hrs@e4500-3 % ll -h /boot/kernel.old/kernel -r-xr-xr-x 1 root wheel 5.9M Oct 6 15:35 /boot/kernel.old/kernel* and no different output with WITNESS. -- | Hiroki SATO ----Security_Multipart(Sat_Oct__6_15_59_53_2007_671)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQBHBzJpTyzT2CeTzy0RArGBAKDDUQ4bui0QR2LC5TaTH21SI2OPZACePTu9 iivwQIu+Tb5rsdHJtMBfFmM= =TcH0 -----END PGP SIGNATURE----- ----Security_Multipart(Sat_Oct__6_15_59_53_2007_671)----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071006.155953.35052779.hrs>