7.0 broken on e4500

Hiroki Sato hrs at FreeBSD.org
Sat Oct 6 00:00:57 PDT 2007


John Baldwin <jhb at freebsd.org> wrote
  in <200710060222.31023.jhb at 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 at e4500-3 % ll -h /boot/kernel/kernel
 -r-xr-xr-x  1 root  wheel   8.2M Oct  6 09:59 /boot/kernel/kernel*
 hrs at 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-sparc64/attachments/20071006/a5d023b8/attachment.pgp


More information about the freebsd-sparc64 mailing list