Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Feb 2003 20:56:39 -0800
From:      Marcel Moolenaar <marcel@xcllnt.net>
To:        ia64@FreeBSD.org
Subject:   EFI Trap on HP rx2600 tracked down
Message-ID:  <20030301045639.GA2227@athlon.pn.xcllnt.net>

next in thread | raw e-mail | index | archive | help
Gang,

A couple of weeks ago I delayed the creation of an install image from
our development branch because the EFI loader was causing a general
exception. I tracked it down to a bogus call to netif_put(). This is
what I see with some debug information:

\begin{verbatim}
Console: EFI console
Image base: 0x00000040fef82000

FreeBSD/ia64 EFI boot, Revision 1.1
(marcel@itanium.pn.xcllnt.net, Fri Feb 28 20:25:35 PST 2003)
netif_put: desc=0x40d69de0d8, pkt=0x3fffdf10, len=60
netif_put: nif=0
netif_put: drv=0xf0000000f0000000
7 0 0x00006B 0x0000000000000018 unexpected trap
7 0 0x000066 0x0000000000000018 trap taken, number in ext PE
7 0 0x00003C 0x0000000000005400 trap taken, offset in ext PE
 
Unexpected TRAP...no handler installed...!
 
Platform Event = 0x00000000000000cd
Vector Number  = 0x0000000000000018
IVT offset     = 0x0000000000005400
State Save Address =  0x80000000ff44a068
iip  = 0x00000040fefc6e30
ipsr = 0x0000120000006018
isr  = 0x0000020400000030
ifa  = 0x0000000000000003
itir = 0x0000000000100030
iipa = 0x00000040fefc6e30
ifs  = 0x800000000000048e
iim  = 0x000000000009402a
iha  = 0x0000000000000000
\end{verbatim}

We seem to call netif_put in this particular case even though we're
booting from fs0. The desc argument appears valid, but the structure
is probably not initialized. This is likely the result of booting
from fs0, because on this machine we can perform a netboot without
problems (that's how I ended up installing FreeBSD on it anyway).

On my BigSur I don't see any calls to netif_put() when booting from
fs0, so the bug is likely in calling netif_put().

Knowing this, I should have a fix soon...

FYI,

-- 
 Marcel Moolenaar	  USPA: A-39004		 marcel@xcllnt.net

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ia64" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030301045639.GA2227>