Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Oct 2001 23:28:45 -0700
From:      Marcel Moolenaar <marcel@xcllnt.net>
To:        Peter Wemm <peter@wemm.org>
Cc:        ia64@FreeBSD.ORG
Subject:   Re: OK.. what's the secret for ski now?
Message-ID:  <20011014232845.C543@dhcp01.pn.xcllnt.net>
In-Reply-To: <20011015053423.3D861380F@overcee.netplex.com.au>
References:  <20011015053423.3D861380F@overcee.netplex.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Oct 14, 2001 at 10:34:23PM -0700, Peter Wemm wrote:
> 
> Stopped at      0xe0000000007d72e1:     ld4 r15=[r14]
> db> 60000e
> ?
> db> c
> 
> This happened with both the GENERIC and SKI kernels.  I'm guessing that
> some dependency on EFI/SAL/whatever has crept in and is not conditional.

It looks like the descriptor count is 0 (in machdep.c). I guess
md != NULL while dcount == 0. The following should help:

Index: machdep.c
===================================================================
RCS file: /home/ncvs/src/sys/ia64/ia64/machdep.c,v
retrieving revision 1.55
diff -u -r1.55 machdep.c
--- machdep.c   11 Oct 2001 12:31:50 -0000      1.55
+++ machdep.c   15 Oct 2001 06:28:05 -0000
@@ -528,7 +528,7 @@
         */
        mdcount = bootinfo.bi_memmap_size / bootinfo.bi_memdesc_size;
        md = (EFI_MEMORY_DESCRIPTOR *) IA64_PHYS_TO_RR7(bootinfo.bi_memmap);
-       if (!md) {
+       if (md == NULL || mdcount == 0) {
 #ifdef SKI
                static EFI_MEMORY_DESCRIPTOR ski_md[2];
                /*

-- 
 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?20011014232845.C543>