Subject: Re: Something's broken in 4
To: John Klos <john@ziaspace.com>
From: Michael Lorenz <macallan@netbsd.org>
List: port-macppc
Date: 12/15/2006 23:03:31
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On Dec 15, 2006, at 21:45, John Klos wrote:

>>> NetBSD 4 kernel from today's sources on a Motorola Starmax:
>>> ofb0 at pci0 dev 17 function 0: ATI Technologies Mach64 VT
>>> trap: pid 0.1 (swapper): kernel PGM trap @ 0 (SRR1=0x81032)
>>> panic: trap
>>> Begin traceback...
>>> 0x005977d0: at trap+0x124
>>> 0x00597850: kernel PGM trap by 0x0: srr1=0x81032
>>>             r1=0x597910 cr=0x39a33e59 xer=0xe000be6f ctr=0
>>> 0x00597910: at vcons_init_screen+0xf0
>>> 0x00597940: at ofbattach+0x160
>>
>> Serial console?
>
> Yes. I tried commenting out all framebuffer and ws entries, and the 
> kernel wouldn't compile. I tried using the older "wsdisplay0 at ofb? 
> console ?" with machfb* and got the same panic.
>
> On this machine I don't even have the option of setting up or using a 
> display - I found the machine in the trash in NYC many years ago, and 
> the VRAM DIMM was missing. A regression which would prevent headless 
> Macs from running BSD would affect a number of other machines I run, 
> too.

I just committed something that hopefully fixes this - please grab 
src/sys/arch/macppc/dev/ofb.c and src/sys/arch/macppc/dev/ofb_cons.c 
from -current ( 4.0 is still close enough that there shouldn't be any 
problems with this )
At least the ofb at pci case should be fixed with this, if machfb has 
trouble as well I'll have another look. On the other hand - this 
particular graphics controller you have there, is it onboard or on a 
card? There are numerous problems with pre-Rage mach64 chips that I 
can't investigate for lack of hardware so I'd recommend to stick with 
ofb for those.

have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iQEVAwUBRYNwEspnzkX8Yg2nAQJnnwgAipPShq4FOdlYOqQCebGnnRIpz/nqw3uz
e2Jq9MbRRIHZfS6YUG8rx0iDlaNAIgVQucWcqGDrqsiKaXsnN+n/FzCb/QFG1VsB
1mRva3D4am+KiPkvl/o42LqXSLcQABBcvjpDxtIvnKI4uTSbs5VUPVJ98SLG9IE3
Tvoz3qzA1bd8rc8KNPnTDzMdrzZuGMIAM5sg6ZYvoZhk8biVNb3FrRKbPr6dzYDD
NtOUPPOgTIYbsjXtANIU8ugAhdFMbwqoWWTCdWF6IjpkpMZx/FYFEuocyrjENi+1
iuuUn5uHxxUWt18D0q5XQ7x+jxxtKmdBiJ5mo/biUOWve4GzNia8rw==
=EZOW
-----END PGP SIGNATURE-----