Port-atari archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Current kernel with http://gnats.netbsd.org/39965 and pmap patches



With the ATARITT kernel below I'm getting a freeze immediately on boot. No text, just an immediate freeze. I tried twice and it happened the same both times.

I went to try the latest HEAD kernel (200812270002Z) and I was able to successfully boot it up to the root device prompt. I'm not sure the changes have been checked in to HEAD and I'm out of time for tonight so I didn't go any further yet.

David Ross
dross%pobox.com@localhost

----- Original Message ----- From: "T. Makinen" <tjamaloo%gmail.com@localhost>
To: "Izumi Tsutsui" <tsutsui%ceres.dti.ne.jp@localhost>
Cc: <port-atari%netbsd.org@localhost>; <abs%netbsd.org@localhost>; <dross%pobox.com@localhost>; <jdc%coris.org.uk@localhost>; <f.g.lukas%web.de@localhost>; <mhitch%montana.edu@localhost>
Sent: Friday, December 19, 2008 6:46 PM
Subject: Re: Current kernel with http://gnats.netbsd.org/39965 and pmap patches


On Fri, Dec 19, 2008 at 2:47 PM, Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost> wrote:
tjamaloo%gmail.com@localhost wrote:

I tried kernel with m68k/m68k/pmap_motorola.c and it failed with 030 as well.
Kernel prints following error:
panic: pool_put: buf8k: page header missing.

Such pool panic generally happens on memory corruptions.
Could you see any more info with options DIAGNOSTIC?

I fixed atari/dev/md_root.c which had problem with DIAGNOSTIC kernel (stopped
at assertion: bp->b_refcnt > 0). Funny thing is that problem seems to be
root cause for 68030 cpu installation panics and it no longer exist with fixed /atari/dev/md_root.c. I'm no longer wondering why kernel panicked only with
installation :)

Here's links to patched ATARITT and FALCON kernels:
http://koti.welho.com/tmakinen/atari/netbsd-current-ATARITT-20081220.gz
http://koti.welho.com/tmakinen/atari/netbsd-current-FALCON-20081220.gz

BTW, is the LOCK errors described in PR 39965 gone with
accounting idepth patch? If so we should apply the changes first.

I never experienced LOCK errors. Maybe David R. can verify if that problem
still exist ?

Index: ../dev/md_root.c
===================================================================
RCS file: /cvsroot/src/sys/arch/atari/dev/md_root.c,v
retrieving revision 1.26
diff -u -r1.26 md_root.c
--- ../dev/md_root.c 4 Nov 2008 17:08:45 -0000 1.26
+++ ../dev/md_root.c 20 Dec 2008 00:47:23 -0000
@@ -233,6 +233,7 @@
 bp->b_bcount = rsp->chunk;
 bp->b_data   = rsp->bufp;
 bp->b_error  = 0;
+ bp->b_refcnt++;

 /* Initiate read */
 (*rsp->strat)(bp);
@@ -313,6 +314,7 @@
 bp->b_bcount = min(rsp->chunk, nbyte);
 bp->b_data   = buf;
 bp->b_error  = 0;
+ bp->b_refcnt++;

 /* Initiate read */
 (*rsp->strat)(bp);

-Tuomo




Home | Main Index | Thread Index | Old Index