linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* SMU-base PowerMac and server_mode
@ 2009-10-06  9:16 Romain Goyet
  2009-10-06 10:11 ` Benjamin Herrenschmidt
  2009-10-06 10:50 ` Michel Dänzer
  0 siblings, 2 replies; 13+ messages in thread
From: Romain Goyet @ 2009-10-06  9:16 UTC (permalink / raw)
  To: linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 413 bytes --]

Hi there,
  I have this Quad G5 here, running GentooPPC64. Runs fine. Had a hard time
getting it to boot without a screen attached, but I eventually managed to
(yaboot was the culprit). However, this machine is SMU-based, and I couldn't
find a way to enable the equivalent of the PMU's "server_mode" (i.e.
automatically reboot after a power failure). Is there any known way to do
that ?

Kind regards,

 - Romain

[-- Attachment #2: Type: text/html, Size: 525 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: SMU-base PowerMac and server_mode
  2009-10-06  9:16 SMU-base PowerMac and server_mode Romain Goyet
@ 2009-10-06 10:11 ` Benjamin Herrenschmidt
  2009-10-06 10:31   ` Romain Goyet
  2009-10-06 16:07   ` Olof Johansson
  2009-10-06 10:50 ` Michel Dänzer
  1 sibling, 2 replies; 13+ messages in thread
From: Benjamin Herrenschmidt @ 2009-10-06 10:11 UTC (permalink / raw)
  To: Romain Goyet; +Cc: linuxppc-dev

On Tue, 2009-10-06 at 11:16 +0200, Romain Goyet wrote:
> Hi there,
> 
> 
>   I have this Quad G5 here, running GentooPPC64. Runs fine. Had a hard
> time getting it to boot without a screen attached, but I eventually
> managed to (yaboot was the culprit). However, this machine is
> SMU-based, and I couldn't find a way to enable the equivalent of the
> PMU's "server_mode" (i.e. automatically reboot after a power failure).
> Is there any known way to do that ?

I'm pretty sure I reverse engineered the necessary command a while back
and somebody wrote a userland tool to set it, but I can't find it
anymore :-)

Google may help. Let me know if you can't find it.

Cheers,
Ben.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: SMU-base PowerMac and server_mode
  2009-10-06 10:11 ` Benjamin Herrenschmidt
@ 2009-10-06 10:31   ` Romain Goyet
  2009-10-06 10:51     ` Benjamin Herrenschmidt
  2009-10-06 16:07   ` Olof Johansson
  1 sibling, 1 reply; 13+ messages in thread
From: Romain Goyet @ 2009-10-06 10:31 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 1198 bytes --]

Hi Benjamin !
  Actually I saw a post where you mentioned this tool on Google. I then
searched it for like an hour or so, but really couldn't find it. That's why
I ended up posting on this mailing list. I'm really glad you're on it by the
way ! Anyway, like I said : I really looked for this tool, but couldn't find
it…

Thanks a lot !

 - Romain


On Tue, Oct 6, 2009 at 12:11 PM, Benjamin Herrenschmidt <
benh@kernel.crashing.org> wrote:

> On Tue, 2009-10-06 at 11:16 +0200, Romain Goyet wrote:
> > Hi there,
> >
> >
> >   I have this Quad G5 here, running GentooPPC64. Runs fine. Had a hard
> > time getting it to boot without a screen attached, but I eventually
> > managed to (yaboot was the culprit). However, this machine is
> > SMU-based, and I couldn't find a way to enable the equivalent of the
> > PMU's "server_mode" (i.e. automatically reboot after a power failure).
> > Is there any known way to do that ?
>
> I'm pretty sure I reverse engineered the necessary command a while back
> and somebody wrote a userland tool to set it, but I can't find it
> anymore :-)
>
> Google may help. Let me know if you can't find it.
>
> Cheers,
> Ben.
>
>
>

[-- Attachment #2: Type: text/html, Size: 1674 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: SMU-base PowerMac and server_mode
  2009-10-06  9:16 SMU-base PowerMac and server_mode Romain Goyet
  2009-10-06 10:11 ` Benjamin Herrenschmidt
@ 2009-10-06 10:50 ` Michel Dänzer
  2009-10-06 11:44   ` Romain Goyet
  1 sibling, 1 reply; 13+ messages in thread
From: Michel Dänzer @ 2009-10-06 10:50 UTC (permalink / raw)
  To: Romain Goyet; +Cc: linuxppc-dev

On Tue, 2009-10-06 at 11:16 +0200, Romain Goyet wrote:=20
>=20
>   I have this Quad G5 here, running GentooPPC64. Runs fine. Had a hard
> time getting it to boot without a screen attached, but I eventually
> managed to (yaboot was the culprit).

Out of curiosity, how did you solve this? I still have an unused monitor
connected to mine...=20

--=20
Earthling Michel D=C3=A4nzer           |                http://www.vmware.c=
om
Libre software enthusiast         |          Debian, X and DRI developer

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: SMU-base PowerMac and server_mode
  2009-10-06 10:31   ` Romain Goyet
@ 2009-10-06 10:51     ` Benjamin Herrenschmidt
  2009-10-06 11:45       ` Romain Goyet
  2010-03-22 12:21       ` Romain Goyet
  0 siblings, 2 replies; 13+ messages in thread
From: Benjamin Herrenschmidt @ 2009-10-06 10:51 UTC (permalink / raw)
  To: Romain Goyet; +Cc: linuxppc-dev

On Tue, 2009-10-06 at 12:31 +0200, Romain Goyet wrote:
> Hi Benjamin !
> 
> 
>   Actually I saw a post where you mentioned this tool on Google. I
> then searched it for like an hour or so, but really couldn't find it.
> That's why I ended up posting on this mailing list. I'm really glad
> you're on it by the way ! Anyway, like I said : I really looked for
> this tool, but couldn't find it…

Hrm... ok. I'll have to figure it out again. No time right now, but
get back to me next month after Kernel Summit and I'll see what i can
do.

Cheers,
Ben.

> 
> Thanks a lot !
> 
> 
>  - Romain
> 
> 
> On Tue, Oct 6, 2009 at 12:11 PM, Benjamin Herrenschmidt
> <benh@kernel.crashing.org> wrote:
>         
>         On Tue, 2009-10-06 at 11:16 +0200, Romain Goyet wrote:
>         > Hi there,
>         >
>         >
>         >   I have this Quad G5 here, running GentooPPC64. Runs fine.
>         Had a hard
>         > time getting it to boot without a screen attached, but I
>         eventually
>         > managed to (yaboot was the culprit). However, this machine
>         is
>         > SMU-based, and I couldn't find a way to enable the
>         equivalent of the
>         > PMU's "server_mode" (i.e. automatically reboot after a power
>         failure).
>         > Is there any known way to do that ?
>         
>         
>         I'm pretty sure I reverse engineered the necessary command a
>         while back
>         and somebody wrote a userland tool to set it, but I can't find
>         it
>         anymore :-)
>         
>         Google may help. Let me know if you can't find it.
>         
>         Cheers,
>         Ben.
>         
>         
> 
> 

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: SMU-base PowerMac and server_mode
  2009-10-06 10:50 ` Michel Dänzer
@ 2009-10-06 11:44   ` Romain Goyet
  2009-10-06 12:53     ` Michel Dänzer
  0 siblings, 1 reply; 13+ messages in thread
From: Romain Goyet @ 2009-10-06 11:44 UTC (permalink / raw)
  To: Michel Dänzer; +Cc: linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 1238 bytes --]

Hi Michel :-)
Acutally I didn't figure it out by myself :
http://saintaardvarkthecarpeted.com/blog/archive/2005/02/THE_WINE_OF_BOOT.html

However, here's my 2 cents about it :
1/ The fix (removing "screen" line in ofboot.b on yaboot partition) doesn't
work with all versions of the yaboot binary. Works with the one from Debian.
Doesn't with yaboot-static on GentooPPC64. But you still can fetch the right
binary from the .deb archive
2/ Another possible solution can be to hook up a DVI-> VGA adapter, and plug
in a resistor between the right pins (don't remember which) so that yaboot
thinks a display is plugged in

Hope that helps !!

 - Romain

2009/10/6 Michel Dänzer <michel@daenzer.net>

> On Tue, 2009-10-06 at 11:16 +0200, Romain Goyet wrote:
> >
> >   I have this Quad G5 here, running GentooPPC64. Runs fine. Had a hard
> > time getting it to boot without a screen attached, but I eventually
> > managed to (yaboot was the culprit).
>
> Out of curiosity, how did you solve this? I still have an unused monitor
> connected to mine...
>
> --
> Earthling Michel Dänzer           |                http://www.vmware.com
> Libre software enthusiast         |          Debian, X and DRI developer
>

[-- Attachment #2: Type: text/html, Size: 1894 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: SMU-base PowerMac and server_mode
  2009-10-06 10:51     ` Benjamin Herrenschmidt
@ 2009-10-06 11:45       ` Romain Goyet
  2010-03-22 12:21       ` Romain Goyet
  1 sibling, 0 replies; 13+ messages in thread
From: Romain Goyet @ 2009-10-06 11:45 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 1986 bytes --]

Hi again Benjamin !
  That's allright, I'll ping you next month ! Thanks for the help !

 - Romain

On Tue, Oct 6, 2009 at 12:51 PM, Benjamin Herrenschmidt <
benh@kernel.crashing.org> wrote:

> On Tue, 2009-10-06 at 12:31 +0200, Romain Goyet wrote:
> > Hi Benjamin !
> >
> >
> >   Actually I saw a post where you mentioned this tool on Google. I
> > then searched it for like an hour or so, but really couldn't find it.
> > That's why I ended up posting on this mailing list. I'm really glad
> > you're on it by the way ! Anyway, like I said : I really looked for
> > this tool, but couldn't find it…
>
> Hrm... ok. I'll have to figure it out again. No time right now, but
> get back to me next month after Kernel Summit and I'll see what i can
> do.
>
> Cheers,
> Ben.
>
> >
> > Thanks a lot !
> >
> >
> >  - Romain
> >
> >
> > On Tue, Oct 6, 2009 at 12:11 PM, Benjamin Herrenschmidt
> > <benh@kernel.crashing.org> wrote:
> >
> >         On Tue, 2009-10-06 at 11:16 +0200, Romain Goyet wrote:
> >         > Hi there,
> >         >
> >         >
> >         >   I have this Quad G5 here, running GentooPPC64. Runs fine.
> >         Had a hard
> >         > time getting it to boot without a screen attached, but I
> >         eventually
> >         > managed to (yaboot was the culprit). However, this machine
> >         is
> >         > SMU-based, and I couldn't find a way to enable the
> >         equivalent of the
> >         > PMU's "server_mode" (i.e. automatically reboot after a power
> >         failure).
> >         > Is there any known way to do that ?
> >
> >
> >         I'm pretty sure I reverse engineered the necessary command a
> >         while back
> >         and somebody wrote a userland tool to set it, but I can't find
> >         it
> >         anymore :-)
> >
> >         Google may help. Let me know if you can't find it.
> >
> >         Cheers,
> >         Ben.
> >
> >
> >
> >
>
>
>

[-- Attachment #2: Type: text/html, Size: 2849 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: SMU-base PowerMac and server_mode
  2009-10-06 11:44   ` Romain Goyet
@ 2009-10-06 12:53     ` Michel Dänzer
  0 siblings, 0 replies; 13+ messages in thread
From: Michel Dänzer @ 2009-10-06 12:53 UTC (permalink / raw)
  To: Romain Goyet; +Cc: linuxppc-dev

On Tue, 2009-10-06 at 13:44 +0200, Romain Goyet wrote:=20
>=20
> Acutally I didn't figure it out by myself :
> http://saintaardvarkthecarpeted.com/blog/archive/2005/02/THE_WINE_OF_BOOT=
.html
>=20
>=20
> However, here's my 2 cents about it :
> 1/ The fix (removing "screen" line in ofboot.b on yaboot partition)
> doesn't work with all versions of the yaboot binary. Works with the
> one from Debian. Doesn't with yaboot-static on GentooPPC64. But you
> still can fetch the right binary from the .deb archive

No need, see my .sig. :) Thanks for the pointer, I failed to find the
above when I googled about this a while ago.=20

--=20
Earthling Michel D=C3=A4nzer           |                http://www.vmware.c=
om
Libre software enthusiast         |          Debian, X and DRI developer

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: SMU-base PowerMac and server_mode
  2009-10-06 10:11 ` Benjamin Herrenschmidt
  2009-10-06 10:31   ` Romain Goyet
@ 2009-10-06 16:07   ` Olof Johansson
  2009-10-07 11:25     ` Romain Goyet
  1 sibling, 1 reply; 13+ messages in thread
From: Olof Johansson @ 2009-10-06 16:07 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: Romain Goyet, linuxppc-dev

On Tue, Oct 06, 2009 at 09:11:22PM +1100, Benjamin Herrenschmidt wrote:
> On Tue, 2009-10-06 at 11:16 +0200, Romain Goyet wrote:
> > Hi there,
> > 
> > 
> >   I have this Quad G5 here, running GentooPPC64. Runs fine. Had a hard
> > time getting it to boot without a screen attached, but I eventually
> > managed to (yaboot was the culprit). However, this machine is
> > SMU-based, and I couldn't find a way to enable the equivalent of the
> > PMU's "server_mode" (i.e. automatically reboot after a power failure).
> > Is there any known way to do that ?
> 
> I'm pretty sure I reverse engineered the necessary command a while back
> and somebody wrote a userland tool to set it, but I can't find it
> anymore :-)

Yeah, I had one but I have since lost it.  I suspect it was on the
drive of my second quad that I wiped before I sold it, thinking there
was nothing of value on it. :(


-Olof

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: SMU-base PowerMac and server_mode
  2009-10-06 16:07   ` Olof Johansson
@ 2009-10-07 11:25     ` Romain Goyet
  2009-10-07 16:33       ` Olof Johansson
  0 siblings, 1 reply; 13+ messages in thread
From: Romain Goyet @ 2009-10-07 11:25 UTC (permalink / raw)
  To: linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 1138 bytes --]

On Tue, Oct 6, 2009 at 6:07 PM, Olof Johansson <olof@lixom.net> wrote:

> On Tue, Oct 06, 2009 at 09:11:22PM +1100, Benjamin Herrenschmidt wrote:
> > On Tue, 2009-10-06 at 11:16 +0200, Romain Goyet wrote:
> > > Hi there,
> > >
> > >
> > >   I have this Quad G5 here, running GentooPPC64. Runs fine. Had a hard
> > > time getting it to boot without a screen attached, but I eventually
> > > managed to (yaboot was the culprit). However, this machine is
> > > SMU-based, and I couldn't find a way to enable the equivalent of the
> > > PMU's "server_mode" (i.e. automatically reboot after a power failure).
> > > Is there any known way to do that ?
> >
> > I'm pretty sure I reverse engineered the necessary command a while back
> > and somebody wrote a userland tool to set it, but I can't find it
> > anymore :-)
>
> Yeah, I had one but I have since lost it.  I suspect it was on the
> drive of my second quad that I wiped before I sold it, thinking there
> was nothing of value on it. :(
>
>
> -Olof
>

Ha, that's too bad. Do you know if it might be online somewhere ? Maybe an
idea of the right keywords to google ?

Thanks !

 - Romain

[-- Attachment #2: Type: text/html, Size: 1684 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: SMU-base PowerMac and server_mode
  2009-10-07 11:25     ` Romain Goyet
@ 2009-10-07 16:33       ` Olof Johansson
  2009-10-08 14:43         ` Romain Goyet
  0 siblings, 1 reply; 13+ messages in thread
From: Olof Johansson @ 2009-10-07 16:33 UTC (permalink / raw)
  To: Romain Goyet; +Cc: linuxppc-dev

On Wed, Oct 07, 2009 at 01:25:13PM +0200, Romain Goyet wrote:
> On Tue, Oct 6, 2009 at 6:07 PM, Olof Johansson <olof@lixom.net> wrote:

> > Yeah, I had one but I have since lost it.  I suspect it was on the
> > drive of my second quad that I wiped before I sold it, thinking there
> > was nothing of value on it. :(
> 
> Ha, that's too bad. Do you know if it might be online somewhere ? Maybe an
> idea of the right keywords to google ?

I searched for it, couldn't find any trace of it anywhere. I know I
based my little tool on some small smu example that came from Ben or
possibly Segher. I can't even find that any more. It's been a couple of
years since I last touched it. :(


-Olof

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: SMU-base PowerMac and server_mode
  2009-10-07 16:33       ` Olof Johansson
@ 2009-10-08 14:43         ` Romain Goyet
  0 siblings, 0 replies; 13+ messages in thread
From: Romain Goyet @ 2009-10-08 14:43 UTC (permalink / raw)
  To: linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 861 bytes --]

Ahem, that's pretty bad :'( How comes noone uses that ?
 - Romain

On Wed, Oct 7, 2009 at 6:33 PM, Olof Johansson <olof@lixom.net> wrote:

> On Wed, Oct 07, 2009 at 01:25:13PM +0200, Romain Goyet wrote:
> > On Tue, Oct 6, 2009 at 6:07 PM, Olof Johansson <olof@lixom.net> wrote:
>
> > > Yeah, I had one but I have since lost it.  I suspect it was on the
> > > drive of my second quad that I wiped before I sold it, thinking there
> > > was nothing of value on it. :(
> >
> > Ha, that's too bad. Do you know if it might be online somewhere ? Maybe
> an
> > idea of the right keywords to google ?
>
> I searched for it, couldn't find any trace of it anywhere. I know I
> based my little tool on some small smu example that came from Ben or
> possibly Segher. I can't even find that any more. It's been a couple of
> years since I last touched it. :(
>
>
> -Olof
>

[-- Attachment #2: Type: text/html, Size: 1821 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: SMU-base PowerMac and server_mode
  2009-10-06 10:51     ` Benjamin Herrenschmidt
  2009-10-06 11:45       ` Romain Goyet
@ 2010-03-22 12:21       ` Romain Goyet
  1 sibling, 0 replies; 13+ messages in thread
From: Romain Goyet @ 2010-03-22 12:21 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: linuxppc-dev

Hi Ben,

So, I'm coming back to you about setting "server_mode" on SMU-based
PPC machines. You know, so that the machine reboots after a power
failure. Would you have a little time now ? Thanks a lot !

 - Romain


On Tue, Oct 6, 2009 at 11:51 AM, Benjamin Herrenschmidt
<benh@kernel.crashing.org> wrote:
> On Tue, 2009-10-06 at 12:31 +0200, Romain Goyet wrote:
>> Hi Benjamin !
>>
>>
>> =C2=A0 Actually I saw a post where you mentioned this tool on Google. I
>> then searched it for like an hour or so, but really couldn't find it.
>> That's why I ended up posting on this mailing list. I'm really glad
>> you're on it by the way ! Anyway, like I said : I really looked for
>> this tool, but couldn't find it=E2=80=A6
>
> Hrm... ok. I'll have to figure it out again. No time right now, but
> get back to me next month after Kernel Summit and I'll see what i can
> do.
>
> Cheers,
> Ben.
>
>>
>> Thanks a lot !
>>
>>
>> =C2=A0- Romain
>>
>>
>> On Tue, Oct 6, 2009 at 12:11 PM, Benjamin Herrenschmidt
>> <benh@kernel.crashing.org> wrote:
>>
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 On Tue, 2009-10-06 at 11:16 +0200, Romain Go=
yet wrote:
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 > Hi there,
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 >
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 >
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 > =C2=A0 I have this Quad G5 here, running G=
entooPPC64. Runs fine.
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 Had a hard
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 > time getting it to boot without a screen a=
ttached, but I
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 eventually
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 > managed to (yaboot was the culprit). Howev=
er, this machine
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 is
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 > SMU-based, and I couldn't find a way to en=
able the
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 equivalent of the
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 > PMU's "server_mode" (i.e. automatically re=
boot after a power
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 failure).
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 > Is there any known way to do that ?
>>
>>
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 I'm pretty sure I reverse engineered the nec=
essary command a
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 while back
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 and somebody wrote a userland tool to set it=
, but I can't find
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 it
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 anymore :-)
>>
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 Google may help. Let me know if you can't fi=
nd it.
>>
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 Cheers,
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 Ben.
>>
>>
>>
>>
>
>
>

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2010-03-22 12:21 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-06  9:16 SMU-base PowerMac and server_mode Romain Goyet
2009-10-06 10:11 ` Benjamin Herrenschmidt
2009-10-06 10:31   ` Romain Goyet
2009-10-06 10:51     ` Benjamin Herrenschmidt
2009-10-06 11:45       ` Romain Goyet
2010-03-22 12:21       ` Romain Goyet
2009-10-06 16:07   ` Olof Johansson
2009-10-07 11:25     ` Romain Goyet
2009-10-07 16:33       ` Olof Johansson
2009-10-08 14:43         ` Romain Goyet
2009-10-06 10:50 ` Michel Dänzer
2009-10-06 11:44   ` Romain Goyet
2009-10-06 12:53     ` Michel Dänzer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).