Subject: how to properly shutdown iBook
To: None <port-macppc@netbsd.org>
From: leon zadorin <leonleon77@gmail.com>
List: port-macppc
Date: 05/29/2007 10:02:05
Hi all,

just a quick question in case I am missing some step and doing
something wrong...

My iBook G4 is booting and running NetBSD-current just fine... but
whet it comes to shutting it down, I do:

shutdown -h now

which goes through its processes ok:

"System shutdown time has arrived
About to run shutdown hooks...
Stopping cron.
Stopping inetd.
Waiting for PIDS: 603.
Removing block-type swap devices"
Then it prints some date...
then
"Done running shutdown hooks.
syncing disks... done
unmounting file systems... done
halted"

... then:

"
trap: pid 0.-4443349 (): kernel MCHK trap @ 0x37cb8c (SRR1=0x149030)
panic: trap
Stopped at netbsd:cpu_Debugger+0x10: lwz r0, r1, 0x14
db>
"

It is not 100% reproducable as sometimes the system halts just fine...
another times the system would print tho whole "never-ending" sequence
of same messages (don't have the exact contents right now - I can't
reproduce this case at the moment) - like it was is in an endless
loop...

And sometimes the error is different to the aformentioned "trap" thingy:

"
halted

Stopped at 0x9449084: lfd r13, r0, 0x49a8
db>
"

It really was not a high priority for me - as I can always just hold
the power button until the whole thing is off (all of the above issues
happen after the filesystem is unmounted so there is no "checking
system" during the next boot)... but it would be nice to see if this
is caused by me doing something wrong...