Subject: RE: ofb console problem and some questions
To: None <port-macppc@netbsd.org>
From: Christian Groessler <cpg@aladdin.de>
List: port-macppc
Date: 12/05/2006 22:54:55
Hi,

> Much of the code is cargo cult anyway, I just didn't get 
> around to do a real cleanup yet.
> When running in less than 1024x768 ofb will steal the font 
> from OF, in an attempt to somehow emulate its look. Maybe 
> that should be made the default and - maybe - overridden when 
> a driver attaches later on.

The problem happened also with ofb.c rev. 1.51, before your
change. When I updated the machine to -current one or two months ago,
I had the same problem. I made this change and forgot about it....
The machine had -current from summer/fall 2005 before, and there the
patch wasn't needed.


> Just type it in on the OF prompt, then '.' will show what it 
> left on the stack.

It prints the value -7ed3e8. Doesn't look very sensible...


> just add printf()s, they'll end up as kernel output.

Well, the code runs before the console is initialized. I tried it and
it doesn't show anything. It doesn't appear in dmesg either.

regards,
chris