Subject: Re: -current kernel panics on init?
To: None <port-macppc@netbsd.org>
From: Martin J. Laubach <mjl@netbsd.org>
List: port-macppc
Date: 07/11/2003 06:26:30
| >> 0xd5574dc0: at panic+18c
| >> 0xd5574e80: at exit1+58
| >> 0xd5574ec0: at sys_exit+3c
| >> 0xd5574ed0: at syscall_plain+120
| >> 0xd5574f40: at cpu_switchto+91c
|  
|  Thanks, my kernel boots now just fine.

  Yes, mine too, thanks a lot for fixing this.

  However, there are some additional snags in -current macppc

  (1) I have to manually remove libkern/arch/powerpc/bzero.S or else
it is picked up by the makefile magic and I get a link error (duplicate
symbol, bzero.o conflicts with memset.o) at kernel link time. Since this
is in the generic powerpc directory, I'm unsure as how to fix it, just
"cvs remove" bzero.S? 

  (2) A -current ofwboot.xcf cannot boot my G4 any more. After typing
the "boot hd:,ofwboot.xcf hd:11,/netbsd" line, I see the copyright
message, then it thinks for a second or two and then I get a "DEFAULT
CATCH". The old ofwboot works fine.

  (3) About every other boot now hangs at the
"uhidev2 at uhub2 port 2 configuration 1 interface 0" line. It just
sits there and doesn't progress. A reboot usually fixes that problem.

  (4) I remember shutdown -p working on macppc. Now it doesn't, but that
has been broken for a long time. Also, the power button on the machine
front does not work -- it used to power down when pressed longer, now
it does nothing at all.

  (5) Also, some time ago halt or shutdown worked and dropped you back
into OFW, even from X11. Now the best I can get is a black screen with
some white lines across which change when typing something, indicating
that it may be just a badly initialized graphics chip. However, pressing
the reset button here results in a fsck, so I guess what I'm seeing is
not yet OFW or the disks should have been unmounted.

  Anything I can do to trace those down? Am I alone seeing that (and
should get a different machine :) ?

	mjl