Subject: Re: Booting, Debugging
To: Matt Thomas <matt@3am-software.com>
From: Charles M. Hannum <root@ihack.net>
List: port-macppc
Date: 02/22/2001 17:58:07
On Thu, Feb 22, 2001 at 04:53:13PM -0800, Matt Thomas wrote:
>
> At 12:50 AM 2/23/2001 +0000, Martin J. Laubach wrote:
> >   Two more questions...
> >
> >   How do I get the G4 to automatically boot NetBSD? I tried
> >setting the appropriate OF variables, and indeed it loads
> >NetBSD when I then type "boot", however, on next boot the
> >variable has reverted to its previous value.
> 
> Yep.  sucks, doesn't it?

After you set the variables, type `reset-all' and it will store them.

> >   How do I get into DDB? The "programmer's button" doesn't
> >seem to have any effect. (I have here a hard hang after accessing
> >a USB-scanner so I wanted DDB to find out where it hangs)
> 
> bad news, running DDB on mac with a USB keyboard doesn't seem
> to work.

It mostly works in that sense.  That is, if it panics or otherwise
crashes in most locations, it will successfully go into DDB and you
can poke around.  The problem is when you enter DDB via the keyboard;
it toasts the USB stack.