Subject: Re: Serial console vs. grf devices
To: Paul Goyette <paul@pgoyette.bdt.com>
From: Bill Studenmund <wrstuden@loki.stanford.edu>
List: port-mac68k
Date: 02/25/1997 18:56:56
> 
> OK, here's a good question for all of you who have tried (probably out of
> absolute necessity) using the serial console feature of NetBSD/Mac:
> 
> If I boot up with serial console on a system that has supported video,
> will my grf0 device get properly configured?
> 
> Why would I want to use serial console if normal video (and, by
> implication, the ite internal console)?  Well, I'm struggling with Taras's
> video_lkm code, trying to get it to work on my accellerated E-Machines
> Futura-SX graphics card.  Somewhere during the OpenDriver code, the card
> takes over the display, blanks it out, and I can't see any more debug
> printf() output from the lkm code!  Makes it pretty hard to debug...
> 
> So, I'm planning on booting up (single-user) with the serial console so I
> can still see my debug messages when the screen goes south.

Paul,

I looked at doing the same thing while I was debugging a nasty bug
in the current serial driver (serial console would hang).

I _THINK_ all that really needs to be done is to find the hooks which
look at the serial console setting, and don't set up the internal video
if so.

I know there's one in pmap_something or in machdep... in mac68k/. Also,
you might need to look at the attach code for the ite to make it attach
even if serial console's on.

Take care,

Bill