[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbsd-ppc
Subject:    Re: macppc: iMac G5 w/ iSight boot problem
From:       "Mark Kettenis" <openbsd () xs4all ! nl>
Date:       2006-03-20 12:45:30
Message-ID: 10109.192.87.1.22.1142858730.squirrel () webmail ! xs4all ! nl
[Download RAW message or body]

>> 	i tried to boot cd39.iso from today's snapshot on ftp.openbsd.org on
>> 	my brand-new iMac G5 w/ iSight ("powermac12,1").  unfortunately
>> 	bsd.rd on the image does not boot correctly.
> (snip)
>> 	is there anything i can do to help fix it?  or is it my configuration
>> 	which is blocking kernel?  my iMac has second VGA screen attached to
>> it.
>> 	does it relate?
>
> 	i've tried again with PRAM cleared.  it did not help.
> 	dying message is exactly the same (dies on same insn)
> 	what other thing could affect boot sequence?
>
> itojun

Can you try the attached patch?

You'll probably still get the

WARNING: unable to get date/timepanic

In that case, you might want to increase the second argument to
smu_do_cmd() a bit.

Mark


Index: smu.c
===================================================================
RCS file: /cvs/src/sys/arch/macppc/dev/smu.c,v
retrieving revision 1.11
diff -u -p -r1.11 smu.c
--- smu.c       19 Jan 2006 17:08:39 -0000      1.11
+++ smu.c       20 Mar 2006 12:32:51 -0000
@@ -411,6 +411,8 @@ smu_time_read(time_t *secs)
        cmd->data[0] = SMU_RTC_GET_DATETIME;
        error = smu_do_cmd(sc, 800);
        if (error) {
+               lockmgr(&sc->sc_lock, LK_RELEASE, NULL);
+
                *secs = 0;
                return (error);
        }

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic