Subject: Re: kern/26007: i386 bootstrap fails on via epia 5000 in 2.0/-current
To: None <rumble@ephemeral.org, netbsd-bugs@netbsd.org,>
From: Steve Rumble <rumble@ephemeral.org>
List: netbsd-bugs
Date: 06/23/2004 22:30:16
--3V7upXqbjpZ4EhLz
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Jun 23, 2004 at 09:08:21PM +0100, David Laight wrote:
> If you are getting out of boot1 (make it return an error if it actually
> finds /boot) then a lot of things aren't wrong!

I've been doing some painfully slow debugging, mainly putting for
(;;); loops in various parts to see if it hard hangs or goes
nuts. So far it looks like it enters boot2(). initio(), which
appears functionally unchanged from 1.6, clears the screen.
That's odd, but it doesn't appear to be what sends the code over
the edge. As far as I can tell it goes berserk on the first printf
statement (print_banner()).

I've tried commenting bits out and sticking in loops to see where
things go awry and I can't make sense of the results. printf's,
bios2dev(), awaitkey() all cause resets. I've gotten all the way
down to loadfile() in exec.c from boot2() to bootit() with enough
commenting, and that produces the same wild monitor sync hang as
the printfs. It seems to me that it may not be a problem within
boot2, but rather a manifestation of some previous error.=20

Cheers,
Steve

--3V7upXqbjpZ4EhLz
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)

iQEVAwUBQNo8uMuCaQyb9VOkAQJ30gf6Ah0Sz/6epyJMx/rSmYNpIOvakWZ+vAy1
+PGufyzSoEmTwzZMyuKbJFUJ5HFAgQzOYJqt/5umzh5Te69I1DBQ8X7YRyZ+4fkb
/zo+s8VgZ9LpoxdPAf6QdBBy8KFcrUEew3bTtL3rN7TwnxTBvsuf7Qh1cPPKGBHr
m+/stjfrzsVNqcpJDDCobda7zcPPXHy84pJmiRJp+vm1Jt1ahslmd6VZRyt/mnz7
RSYCYVZOxyG39EcH1HS4c+KxC/kBH1zjkL6PUDu5K9w3R5jasn9gDbwfLFR2hI2J
KhWVCaf3tsHUFv0ewirOMKViUd+TcK7hvmzX/JWnQgYNrmM6ffPxTw==
=4Xi9
-----END PGP SIGNATURE-----

--3V7upXqbjpZ4EhLz--