Hubert Feyrer | 2 Jan 2003 10:45
Picon

1.6 & -current miniroot: grey screen after loading kernel


I'm trying to update my Amiga 2000 from 1.1(!) to 1.6. Trying to boot the
miniroot loads the kernel, then prints:

	Loading netbsd: 18.... [....] <spinning wheel here>

	*** Loading from 0x...... to Fastram 0x200000 ***

then the screen goes grey and that's it.

I've tried 1.6 and -current miniroots, but they do the same both.

Hardware is an Amiga 2000 with A2630 (030 <at> 25MHz, 4MB RAM), a 4MB RAM board
(16 bit), A2065 and A2091. The 8MB of memory are mapped as one block from
0x200000 (and 1MB chip RAM goes from 0x0).

Any clues?

 - Hubert

P.S.: I'm not subscribed to this list, please keep me on CC:.
P.P.S.: "NetBSD/Amiga 1.6K Bootstrap, Revision 3.0" <- i guess that
        this is actually the second stage bootstrap - maybe it should
        say so? and while there make the port name lowercase, like
        all our portnames are:

        NetBSD/amiga 1.6K secondary bootstrap, rev 3.0

--

-- 
Want to get a clue on IPv6 but don't know where to start? Try this:
(Continue reading)

Ilpo Ruotsalainen | 2 Jan 2003 10:50
Picon
Picon
Favicon

Re: 1.6 & -current miniroot: grey screen after loading kernel

On Thu Jan 02 2003 at 10:45:55 +0100, Hubert Feyrer wrote:
> I'm trying to update my Amiga 2000 from 1.1(!) to 1.6. Trying to boot the
> miniroot loads the kernel, then prints:
> 
> 	Loading netbsd: 18.... [....] <spinning wheel here>
> 
> 	*** Loading from 0x...... to Fastram 0x200000 ***
> 
> then the screen goes grey and that's it.
> 
> I've tried 1.6 and -current miniroots, but they do the same both.
> 
> Hardware is an Amiga 2000 with A2630 (030 <at> 25MHz, 4MB RAM), a 4MB RAM board
> (16 bit), A2065 and A2091. The 8MB of memory are mapped as one block from
> 0x200000 (and 1MB chip RAM goes from 0x0).
> 
> Any clues?

Try booting without -A switch to enable AGA modes, that makes me end up
with pure gray screen on my A1200. That is, when the bootloader asks for
kernel to boot and says default is [netbsd -ASn2] just enter netbsd -Sn2
instead and hopefully it works better. (Didn't have time to figure out
why the AGA stuff fails for me - might be bug in code or just that my
scandoubler doesn't like the mode it tries to use.)

--

-- 
Ilpo Ruotsalainen - <lonewolf <at> iki.fi> - http://www.iki.fi/lonewolf/

Hubert Feyrer | 2 Jan 2003 10:54
Picon

Re: 1.6 & -current miniroot: grey screen after loading kernel

On Thu, 2 Jan 2003, Ilpo Ruotsalainen wrote:
> kernel to boot and says default is [netbsd -ASn2] just enter netbsd -Sn2

I tried that (leaving out -A), same result. :(

> instead and hopefully it works better. (Didn't have time to figure out
> why the AGA stuff fails for me - might be bug in code or just that my
> scandoubler doesn't like the mode it tries to use.)

I'm using a scandoubler too, but I'd expect it at least do display garbage
in that case. Monitor says it's running at 31kHz / 50Hz at the grey
screen. Blindly typing things doesn't get a reaction (like blinking
harddisk LED).

 - Hubert

--

-- 
Want to get a clue on IPv6 but don't know where to start? Try this:
* Basics -> http://www.onlamp.com/pub/a/onlamp/2001/05/24/ipv6_tutorial.html
* Setup  -> http://www.onlamp.com/pub/a/onlamp/2001/06/01/ipv6_tutorial.html
Of course with your #1 IPv6 ready operating system -> http://www.NetBSD.org/

Ilpo Ruotsalainen | 2 Jan 2003 11:03
Picon
Picon
Favicon

Re: 1.6 & -current miniroot: grey screen after loading kernel

On Thu Jan 02 2003 at 10:54:54 +0100, Hubert Feyrer wrote:
> > instead and hopefully it works better. (Didn't have time to figure out
> > why the AGA stuff fails for me - might be bug in code or just that my
> > scandoubler doesn't like the mode it tries to use.)
> 
> I'm using a scandoubler too, but I'd expect it at least do display garbage
> in that case. Monitor says it's running at 31kHz / 50Hz at the grey
> screen. Blindly typing things doesn't get a reaction (like blinking
> harddisk LED).

I've witnessed my system actually booting all the way up (I could even
blind reboot it) when it's in the 'gray screen, nothing else' state.

Perhaps you're hitting another problem.

--

-- 
Ilpo Ruotsalainen - <lonewolf <at> iki.fi> - http://www.iki.fi/lonewolf/

Hubert Feyrer | 2 Jan 2003 11:49
Picon

Re: 1.6 & -current miniroot: grey screen after loading kernel

On Thu, 2 Jan 2003, Ilpo Ruotsalainen wrote:
> I've witnessed my system actually booting all the way up (I could even
> blind reboot it) when it's in the 'gray screen, nothing else' state.
>
> Perhaps you're hitting another problem.

That's probably the case - i've pressed a few keys, and waited for some
time, and there's no disk activity or anything, so... what's next? :/

Going back to 1.5, 1.4, 1.3, 1.2 to find out when things stopped working?
:/

Anyone else here using ECS console (successfully)?

 - Hubert

--

-- 
Want to get a clue on IPv6 but don't know where to start? Try this:
* Basics -> http://www.onlamp.com/pub/a/onlamp/2001/05/24/ipv6_tutorial.html
* Setup  -> http://www.onlamp.com/pub/a/onlamp/2001/06/01/ipv6_tutorial.html
Of course with your #1 IPv6 ready operating system -> http://www.NetBSD.org/

Aymeric Vincent | 2 Jan 2003 13:28
Picon

Re: 1.6 & -current miniroot: grey screen after loading kernel


        Hi,

I have the same problem here (a1200, 8M at 0x200000).

It is actually a bug in the way we setup the MMU registers on the '030
during bootstrapping in amiga_init.c:start_c(). Some things overlap
and it makes the kernel fail right away.

We looked a little bit at the problem with Ignatios (eh, like, one year
ago?) but we both don't have much time and Ignatios is not bitten by
the problem on his machines so it's hard for him to debug it anyway.

Two short-term solutions:
 You can use the -k option to boot with only 4M of RAM, but I suspect
 the miniroot won't boot with only 4M.

 You can build a smaller kernel tailored to your machine. ISTR that
 the limit where bad things happen is 2M for the kernel size.

Ignatios had a patch for loadbsd to fake two segments of 7M/1M. I
can't find it anymore, but maybe he has it somewhere?

I'll try to undust my Amiga and/or read the awful start_c() thoroughly
in a couple of weeks, but my PhD is draining a lot of time and energy
this year...

Kind regards,
 Aymeric

(Continue reading)

Aymeric Vincent | 2 Jan 2003 13:31
Picon

Re: 1.6 & -current miniroot: grey screen after loading kernel


Ilpo Ruotsalainen <lonewolf <at> iki.fi> writes:

> Try booting without -A switch to enable AGA modes, that makes me end up
> with pure gray screen on my A1200. That is, when the bootloader asks for
> kernel to boot and says default is [netbsd -ASn2] just enter netbsd -Sn2
> instead and hopefully it works better. (Didn't have time to figure out
> why the AGA stuff fails for me - might be bug in code or just that my
> scandoubler doesn't like the mode it tries to use.)

The -A flag enables the AGA chipset and has the "side effect" of
putting the screen in a VGA-like mode. Did you try to remove the
scan-doubler and plug a VGA screen directly to your Amiga?
I don't know scan-doublers. Maybe it doesn't let the VGA signal pass
correctly?

 Aymeric

Ilpo Ruotsalainen | 2 Jan 2003 13:54
Picon
Picon
Favicon

Re: 1.6 & -current miniroot: grey screen after loading kernel

On Thu Jan 02 2003 at 13:31:52 +0100, Aymeric Vincent wrote:
> > Try booting without -A switch to enable AGA modes, that makes me end up
> > with pure gray screen on my A1200. That is, when the bootloader asks for
> > kernel to boot and says default is [netbsd -ASn2] just enter netbsd -Sn2
> > instead and hopefully it works better. (Didn't have time to figure out
> > why the AGA stuff fails for me - might be bug in code or just that my
> > scandoubler doesn't like the mode it tries to use.)
> 
> The -A flag enables the AGA chipset and has the "side effect" of
> putting the screen in a VGA-like mode. Did you try to remove the
> scan-doubler and plug a VGA screen directly to your Amiga?
> I don't know scan-doublers. Maybe it doesn't let the VGA signal pass
> correctly?

That is, unfortunately, physically impossible for me to do without some
major hacking and I rather hack on SW than HW so I just boot without the
-A flag which 'just works' for me.

(And yes, I think the scandoubler doesn't properly switch to passthru
mode for VGA rates, at least I think VGA rates didn't really work in
AmigaDOS either... Strange though that I get a valid sync signal and
gray image instead of sync out of range, but OTOH I dunno what the
scandoubler is doing when AGA is using VGA rates so...)

--

-- 
Ilpo Ruotsalainen - <lonewolf <at> iki.fi> - http://www.iki.fi/lonewolf/

Hubert Feyrer | 2 Jan 2003 14:22
Picon

Re: 1.6 & -current miniroot: grey screen after loading kernel

On Thu, 2 Jan 2003, Aymeric Vincent wrote:
> Two short-term solutions:
>  You can use the -k option to boot with only 4M of RAM, but I suspect
>  the miniroot won't boot with only 4M.

I'll try thar later.

>  You can build a smaller kernel tailored to your machine. ISTR that
>  the limit where bad things happen is 2M for the kernel size.

OK, but how would I boot that kernel?

 - Hubert

--

-- 
Want to get a clue on IPv6 but don't know where to start? Try this:
* Basics -> http://www.onlamp.com/pub/a/onlamp/2001/05/24/ipv6_tutorial.html
* Setup  -> http://www.onlamp.com/pub/a/onlamp/2001/06/01/ipv6_tutorial.html
Of course with your #1 IPv6 ready operating system -> http://www.NetBSD.org/

Aymeric Vincent | 2 Jan 2003 14:41
Picon

Re: 1.6 & -current miniroot: grey screen after loading kernel


Hubert Feyrer <hubert.feyrer <at> informatik.fh-regensburg.de> writes:

> >  You can build a smaller kernel tailored to your machine. ISTR that
> >  the limit where bad things happen is 2M for the kernel size.
> 
> OK, but how would I boot that kernel?

Ah, you're right. If you don't have a NetBSD FFS partition already,
you'll have to (cross-)build a new miniroot.

 Aymeric


Gmane