Re: grub2 on powerpc

2006-11-19 Thread Sven Luther
On Thu, Sep 07, 2006 at 06:35:24PM +0200, Robert Millan wrote:
 
 Hi,
 
 As you might know, experimental grub2 support has been added to d-i when using
 the expert mode, but it is only yet available on i386/amd64.
 
 I made this patch to enable grub2 for powerpc as well, but unfortunately I 
 can't
 test it (no ppc hardware here).  Would anyone like to try it?

Hi Robert.

Today i did a daily-build install on an apple XServe, and i wanted to give
grub2 a try, but i was not able to find any grub-installer package for
powerpc. I looked at the BTS, and grub-installer is only built for x86-ish
arches, and there is no grub2-installer.

What am i missing here ? I thought you enabled powerpc support, and wanted
testing ? 

Friendly,

Sven Luther


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: grub2 on powerpc

2006-11-19 Thread Otavio Salvador
Sven Luther [EMAIL PROTECTED] writes:

 On Thu, Sep 07, 2006 at 06:35:24PM +0200, Robert Millan wrote:
 
 Hi,
 
 As you might know, experimental grub2 support has been added to d-i when 
 using
 the expert mode, but it is only yet available on i386/amd64.
 
 I made this patch to enable grub2 for powerpc as well, but unfortunately I 
 can't
 test it (no ppc hardware here).  Would anyone like to try it?

 Hi Robert.

 Today i did a daily-build install on an apple XServe, and i wanted to give
 grub2 a try, but i was not able to find any grub-installer package for
 powerpc. I looked at the BTS, and grub-installer is only built for x86-ish
 arches, and there is no grub2-installer.

 What am i missing here ? I thought you enabled powerpc support, and wanted
 testing ? 

Hey Sven,

How are you doing?

GRUB2 support was disabled by now since we're near of Etch
release. You can reenable it and rebuild for testing.

If you want I can send you a source package ready but I think it'll be
trivial for you. Currently we have grub-installer only bult for i386
and amd64 but after etch is release I want to move to grub2 for
default installations and then change the grub-installer archs.

-- 
O T A V I OS A L V A D O R
-
 E-mail: [EMAIL PROTECTED]  UIN: 5906116
 GNU/Linux User: 239058 GPG ID: 49A5F855
 Home Page: http://otavio.ossystems.com.br
-
Microsoft gives you Windows ... Linux gives
 you the whole house.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: grub2 on powerpc

2006-09-25 Thread Sven Luther
On Mon, Sep 25, 2006 at 03:38:37PM +0200, Michael Schmitz wrote:
   Why not put it into the powerpc-utils package then? As far as I
 
  Because Michael Schmitz thinks it is a bad idea, and doesn't really believe 
  in
  group maintenance ?
 
 Sven, I've largely kept silent at your innuendo, but I think it's time to
 speak plainly again.

Oh, sorry, it was not my intention to speak badly of you, just wanted to say
that you didn't really feel like group maintaining it, and that didn't like
the proposal to add the ibm powerpc-utils into the same source package as
yours. Which is what you said, no ?

 This is nothing about me not believing in team management. You asked about
 integration of _all_ of ibm powerpc-utils into Debian's powerpc-utils. In
 my opinion, this would introduce a binary we're not sure works on oldworld
 machines (nvram) and which is meant to replace nvsetenv. I think further
 testing on oldworld is required to do this.

So, what ? we have load of binaries in there which are of no use on pegasos
for example, and apt has no sub-arch support anyway, so what do you expect.

we can just nicely keep shipping both nvram and nvsetenv,

 I had also had qualms about the license on the IBM source, but you
 succesfully convinced me that this isn't a problem. I had no objections to
 integrating ofpathname in powerpc-utils (in fact, I suggested we might do
 that).

Ok.

 Do you mean to say that the only problem here is my refusal of team
 management, so you couldn't just overrule me?

Nope, just that we discussed it, and neither you nor aurelien was keen on
having a single package, so we are not going to do it.

   understood from the discussion, ofpathname is not specific to IBM
   powerpc machines. It should work on every OpenFirmware based powerpc
   (including macs), correct?
 
  It may be a bit more buggy on powermacs than on true CHRP boxes, and there 
  are
  some issues yet, which it would be good to fix ASAP. There are three 
  packages
  indeed, the powerpc-utils, the powerpc-utils-papr (ibm 64bit specific) and 
  the
  librtas one. only the first has any chance to work on powermacs.
 
  But indeed, my original proposal was to include all those packages in the 
  same
  powerpc-utils source package, with some binary packages, but neither 
  Aurelien
  nor Michael where trilled over it.
 
 So you suggest including something that might be more buggy on powermacs,
 and needs testing and fixing? Seems to support my reservations nicely.

well, i think there is a giant misunderstanding here. I just proposed to *ADD*
the new tools to the powerpc-utils package, not to have them *REPLACE* the old
tools.

Friendly,

Sven Luther


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: grub2 on powerpc

2006-09-25 Thread Michael Schmitz
  Why not put it into the powerpc-utils package then? As far as I

 Because Michael Schmitz thinks it is a bad idea, and doesn't really believe in
 group maintenance ?

Sven, I've largely kept silent at your innuendo, but I think it's time to
speak plainly again.

This is nothing about me not believing in team management. You asked about
integration of _all_ of ibm powerpc-utils into Debian's powerpc-utils. In
my opinion, this would introduce a binary we're not sure works on oldworld
machines (nvram) and which is meant to replace nvsetenv. I think further
testing on oldworld is required to do this.

I had also had qualms about the license on the IBM source, but you
succesfully convinced me that this isn't a problem. I had no objections to
integrating ofpathname in powerpc-utils (in fact, I suggested we might do
that).

Do you mean to say that the only problem here is my refusal of team
management, so you couldn't just overrule me?

  understood from the discussion, ofpathname is not specific to IBM
  powerpc machines. It should work on every OpenFirmware based powerpc
  (including macs), correct?

 It may be a bit more buggy on powermacs than on true CHRP boxes, and there are
 some issues yet, which it would be good to fix ASAP. There are three packages
 indeed, the powerpc-utils, the powerpc-utils-papr (ibm 64bit specific) and the
 librtas one. only the first has any chance to work on powermacs.

 But indeed, my original proposal was to include all those packages in the same
 powerpc-utils source package, with some binary packages, but neither Aurelien
 nor Michael where trilled over it.

So you suggest including something that might be more buggy on powermacs,
and needs testing and fixing? Seems to support my reservations nicely.

Michael


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: grub2 on powerpc

2006-09-22 Thread Gaudenz Steinlin
On Sun, Sep 17, 2006 at 12:20:43PM +0200, Aurélien GÉRÔME wrote:
 On Sun, Sep 17, 2006 at 11:24:41AM +0200, Sven Luther wrote:
  ofpathname is part of the ibm-powerpc-utils package (not the same as the
  package currently in debian), and Aurelien Gerome is packaging it, since
  yaboot also needs it over the kind-of-broken ofpath found in the yaboot 
  code,
  so this should be less an issue than you think.
 
 This is Bug#386675 (ITP: powerpc-ibm-utils -- Utilities for maintenance
 of IBM PowerPC platforms) which blocks Bug#377097 (yaboot: ofpath
 fails on IBM JS21 blades).
 
 The powerpc-ibm-utils package will have the same Priority  Section
 the legacy powerpc-utils package have, i.e. important  utils, and
 Yaboot will depend on it to use ofpathname.

Why not put it into the powerpc-utils package then? As far as I
understood from the discussion, ofpathname is not specific to IBM
powerpc machines. It should work on every OpenFirmware based powerpc
(including macs), correct? 

gaudenz

-- 
Ever tried. Ever failed. No matter.
Try again. Fail again. Fail better.
~ Samuel Beckett ~


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: grub2 on powerpc

2006-09-22 Thread Sven Luther
On Tue, Sep 19, 2006 at 10:19:28AM +0200, Gaudenz Steinlin wrote:
 On Sun, Sep 17, 2006 at 12:20:43PM +0200, Aurélien GÉRÔME wrote:
  On Sun, Sep 17, 2006 at 11:24:41AM +0200, Sven Luther wrote:
   ofpathname is part of the ibm-powerpc-utils package (not the same as the
   package currently in debian), and Aurelien Gerome is packaging it, since
   yaboot also needs it over the kind-of-broken ofpath found in the yaboot 
   code,
   so this should be less an issue than you think.
  
  This is Bug#386675 (ITP: powerpc-ibm-utils -- Utilities for maintenance
  of IBM PowerPC platforms) which blocks Bug#377097 (yaboot: ofpath
  fails on IBM JS21 blades).
  
  The powerpc-ibm-utils package will have the same Priority  Section
  the legacy powerpc-utils package have, i.e. important  utils, and
  Yaboot will depend on it to use ofpathname.
 
 Why not put it into the powerpc-utils package then? As far as I

Because Michael Schmitz thinks it is a bad idea, and doesn't really believe in
group maintenance ? 

 understood from the discussion, ofpathname is not specific to IBM
 powerpc machines. It should work on every OpenFirmware based powerpc
 (including macs), correct? 

It may be a bit more buggy on powermacs than on true CHRP boxes, and there are
some issues yet, which it would be good to fix ASAP. There are three packages
indeed, the powerpc-utils, the powerpc-utils-papr (ibm 64bit specific) and the
librtas one. only the first has any chance to work on powermacs.

But indeed, my original proposal was to include all those packages in the same
powerpc-utils source package, with some binary packages, but neither Aurelien
nor Michael where trilled over it.

Friendly,

Sven Luther


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: grub2 on powerpc

2006-09-19 Thread Robert Millan
On Tue, Sep 19, 2006 at 07:47:27AM +0200, Sven Luther wrote:
  
  Ah, good.  Btw, anyone tried loading a 64bit kernel from 32bit grub2?  If it
  works, we could add ppc64 to the list (using biarch).
 
 As said, a year or two ago, i used grub2 to boot a dual power3 box, which is a
 powerpc 64bit machine. It worked just fine, especially since the default
 method for openfirmware bootloaders is to run as 32bit. I am not sure it makes
 sense to run them in 64bit mode, or even if it is supposed to work. All the
 documentation i have seen on this topic, even from IBM and others, show that
 the bootloader should be run in 32bit mode, and the kernel is launched from
 32bit, and then sets up the 64bit stuff, so there should be no major
 difference with regard to grub2.
 
 Notice that here ppc64 is confusing, you probably speak about the one-man-show
 pure-64 thingy from Andreas Jochens, and not from the kernel arch ppc64.
 Notice that this is not and will never be an officially supported arch by
 debian, and despite me asking, Andreas Jochens has shown absolutely no
 interest to cooperate with the biarch or multi-arch effort, even though this
 won't happen anymore for etch anyway.

Ah I see.  Well, whatever it turns out, adding any-ppc64 doesn't harm (added).

-- 
Robert Millan

My spam trap is [EMAIL PROTECTED]  Note: this address is only intended for
spam harvesters.  Writing to it will get you added to my black list.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: grub2 on powerpc

2006-09-18 Thread Sven Luther
On Sun, Sep 17, 2006 at 12:33:35PM +0200, Robert Millan wrote:
 On Sun, Sep 17, 2006 at 11:16:02AM +0100, Roger Leigh wrote:
  Robert Millan [EMAIL PROTECTED] writes:
  
   This is strange.  I know one of the core grub2 maintainers is using 
   powerpc
   regularly (with code from CVS).
  
  It certainly works--I've used it myself.  But there is so much
  duplicated, common, code between the ports, it really is asking for
  splitting into separate arch-specific and generic parts, rather than
  duplicating the entirety for each port.
  
   As for tools not in Debian, you mean ofpathname?
  
  Yes.
  
   Is the grub2 debian package usable at all without ofpathname? (I
   understand that at least grub-install won't work, making d-i support
   impossible).
  
  It's just grub-install that breaks.  Installing by hand works.
 
 Ah, good.  Btw, anyone tried loading a 64bit kernel from 32bit grub2?  If it
 works, we could add ppc64 to the list (using biarch).

As said, a year or two ago, i used grub2 to boot a dual power3 box, which is a
powerpc 64bit machine. It worked just fine, especially since the default
method for openfirmware bootloaders is to run as 32bit. I am not sure it makes
sense to run them in 64bit mode, or even if it is supposed to work. All the
documentation i have seen on this topic, even from IBM and others, show that
the bootloader should be run in 32bit mode, and the kernel is launched from
32bit, and then sets up the 64bit stuff, so there should be no major
difference with regard to grub2.

Notice that here ppc64 is confusing, you probably speak about the one-man-show
pure-64 thingy from Andreas Jochens, and not from the kernel arch ppc64.
Notice that this is not and will never be an officially supported arch by
debian, and despite me asking, Andreas Jochens has shown absolutely no
interest to cooperate with the biarch or multi-arch effort, even though this
won't happen anymore for etch anyway.

Friendly,

Sven Luther


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: grub2 on powerpc

2006-09-17 Thread Roger Leigh
Robert Millan [EMAIL PROTECTED] writes:

 As you might know, experimental grub2 support has been added to d-i
 when using the expert mode, but it is only yet available on
 i386/amd64.

I think powerpc support might be a bit premature.  The powerpc code
upstream is a bit lagging compared with i386/amd64, and depends on
tools not in Debian.  For example, changed to the i386 shell scripts
have not been made to the corresponding powerpc scripts; this really
needs to be made into common code, to avoid this needless effort.  The
same also applies to some of the C source.  It's not a great deal of
work to fix these issues, but I am currently lacking sufficient time
to do it myself.

This may be outdated though--I haven't checked out grub2 for a couple
of months, so it may have already been rectified.


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?   http://gutenprint.sourceforge.net/
   `-GPG Public Key: 0x25BFB848   Please GPG sign your mail.


pgpJTz6CpulaA.pgp
Description: PGP signature


Re: grub2 on powerpc

2006-09-17 Thread Robert Millan
On Sun, Sep 17, 2006 at 09:34:50AM +0100, Roger Leigh wrote:
 Robert Millan [EMAIL PROTECTED] writes:
 
  As you might know, experimental grub2 support has been added to d-i
  when using the expert mode, but it is only yet available on
  i386/amd64.
 
 I think powerpc support might be a bit premature.  The powerpc code
 upstream is a bit lagging compared with i386/amd64, and depends on
 tools not in Debian.  For example, changed to the i386 shell scripts
 have not been made to the corresponding powerpc scripts; this really
 needs to be made into common code, to avoid this needless effort.  The
 same also applies to some of the C source.  It's not a great deal of
 work to fix these issues, but I am currently lacking sufficient time
 to do it myself.
 
 This may be outdated though--I haven't checked out grub2 for a couple
 of months, so it may have already been rectified.

This is strange.  I know one of the core grub2 maintainers is using powerpc
regularly (with code from CVS).

As for tools not in Debian, you mean ofpathname?  Is the grub2 debian package
usable at all without ofpathname? (I understand that at least grub-install
won't work, making d-i support impossible).

-- 
Robert Millan

My spam trap is [EMAIL PROTECTED]  Note: this address is only intended for
spam harvesters.  Writing to it will get you added to my black list.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: grub2 on powerpc

2006-09-17 Thread Sven Luther
On Sun, Sep 17, 2006 at 11:16:46AM +0200, Robert Millan wrote:
 On Sun, Sep 17, 2006 at 09:34:50AM +0100, Roger Leigh wrote:
  Robert Millan [EMAIL PROTECTED] writes:
  
   As you might know, experimental grub2 support has been added to d-i
   when using the expert mode, but it is only yet available on
   i386/amd64.
  
  I think powerpc support might be a bit premature.  The powerpc code
  upstream is a bit lagging compared with i386/amd64, and depends on
  tools not in Debian.  For example, changed to the i386 shell scripts
  have not been made to the corresponding powerpc scripts; this really
  needs to be made into common code, to avoid this needless effort.  The
  same also applies to some of the C source.  It's not a great deal of
  work to fix these issues, but I am currently lacking sufficient time
  to do it myself.
  
  This may be outdated though--I haven't checked out grub2 for a couple
  of months, so it may have already been rectified.
 
 This is strange.  I know one of the core grub2 maintainers is using powerpc
 regularly (with code from CVS).
 
 As for tools not in Debian, you mean ofpathname?  Is the grub2 debian package
 usable at all without ofpathname? (I understand that at least grub-install
 won't work, making d-i support impossible).

ofpathname is part of the ibm-powerpc-utils package (not the same as the
package currently in debian), and Aurelien Gerome is packaging it, since
yaboot also needs it over the kind-of-broken ofpath found in the yaboot code,
so this should be less an issue than you think.

Friendly,

Sven Luther


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: grub2 on powerpc

2006-09-17 Thread Robert Millan
On Sun, Sep 17, 2006 at 11:24:41AM +0200, Sven Luther wrote:
 On Sun, Sep 17, 2006 at 11:16:46AM +0200, Robert Millan wrote:
  On Sun, Sep 17, 2006 at 09:34:50AM +0100, Roger Leigh wrote:
   Robert Millan [EMAIL PROTECTED] writes:
   
As you might know, experimental grub2 support has been added to d-i
when using the expert mode, but it is only yet available on
i386/amd64.
   
   I think powerpc support might be a bit premature.  The powerpc code
   upstream is a bit lagging compared with i386/amd64, and depends on
   tools not in Debian.  For example, changed to the i386 shell scripts
   have not been made to the corresponding powerpc scripts; this really
   needs to be made into common code, to avoid this needless effort.  The
   same also applies to some of the C source.  It's not a great deal of
   work to fix these issues, but I am currently lacking sufficient time
   to do it myself.
   
   This may be outdated though--I haven't checked out grub2 for a couple
   of months, so it may have already been rectified.
  
  This is strange.  I know one of the core grub2 maintainers is using powerpc
  regularly (with code from CVS).
  
  As for tools not in Debian, you mean ofpathname?  Is the grub2 debian 
  package
  usable at all without ofpathname? (I understand that at least grub-install
  won't work, making d-i support impossible).
 
 ofpathname is part of the ibm-powerpc-utils package (not the same as the
 package currently in debian), and Aurelien Gerome is packaging it, since
 yaboot also needs it over the kind-of-broken ofpath found in the yaboot code,
 so this should be less an issue than you think.

Is grub2 usable without it?  If it's not, we'd rather remove powerpc from the
arch list for now.  We don't want to provide a broken build do we? :)

-- 
Robert Millan

My spam trap is [EMAIL PROTECTED]  Note: this address is only intended for
spam harvesters.  Writing to it will get you added to my black list.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: grub2 on powerpc

2006-09-17 Thread Roger Leigh
Robert Millan [EMAIL PROTECTED] writes:

 This is strange.  I know one of the core grub2 maintainers is using powerpc
 regularly (with code from CVS).

It certainly works--I've used it myself.  But there is so much
duplicated, common, code between the ports, it really is asking for
splitting into separate arch-specific and generic parts, rather than
duplicating the entirety for each port.

 As for tools not in Debian, you mean ofpathname?

Yes.

 Is the grub2 debian package usable at all without ofpathname? (I
 understand that at least grub-install won't work, making d-i support
 impossible).

It's just grub-install that breaks.  Installing by hand works.


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?   http://gutenprint.sourceforge.net/
   `-GPG Public Key: 0x25BFB848   Please GPG sign your mail.


pgplQZqfgZibR.pgp
Description: PGP signature


Re: grub2 on powerpc

2006-09-17 Thread Roger Leigh
Sven Luther [EMAIL PROTECTED] writes:

 As for tools not in Debian, you mean ofpathname?  Is the grub2
 debian package usable at all without ofpathname? (I understand that
 at least grub-install won't work, making d-i support impossible).

 ofpathname is part of the ibm-powerpc-utils package (not the same as the
 package currently in debian), and Aurelien Gerome is packaging it, since
 yaboot also needs it over the kind-of-broken ofpath found in the yaboot code,
 so this should be less an issue than you think.

While ofpathname uses sysfs, and supports a wider range of devices, it
doesn't support partitions on devices (needed by yaboot), and also has
a different output format than yaboot.  yaboot would need updating to
support it.  IMO ofpathname really does need fixing to support
partitions of devices.

$ /usr/sbin/ofpath /dev/hda
/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED]:

$ /home/rleigh/powerpc-utils-1.0.2/scripts/ofpathname /dev/hda
/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED]

$ /usr/sbin/ofpath /dev/hda4
/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED]:4

$ /home/rleigh/powerpc-utils-1.0.2/scripts/ofpathname /dev/hda4
/home/rleigh/powerpc-utils-1.0.2/scripts/ofpathname: line 237: cd: 
/sys/block/hda4: No such file or directory
ofpathname: Could not find sysfs information for logical
device /dev/hda4.


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?   http://gutenprint.sourceforge.net/
   `-GPG Public Key: 0x25BFB848   Please GPG sign your mail.


pgpByp7oLcAMN.pgp
Description: PGP signature


Re: grub2 on powerpc

2006-09-17 Thread Aurélien GÉRÔME
On Sun, Sep 17, 2006 at 11:24:41AM +0200, Sven Luther wrote:
 ofpathname is part of the ibm-powerpc-utils package (not the same as the
 package currently in debian), and Aurelien Gerome is packaging it, since
 yaboot also needs it over the kind-of-broken ofpath found in the yaboot code,
 so this should be less an issue than you think.

This is Bug#386675 (ITP: powerpc-ibm-utils -- Utilities for maintenance
of IBM PowerPC platforms) which blocks Bug#377097 (yaboot: ofpath
fails on IBM JS21 blades).

The powerpc-ibm-utils package will have the same Priority  Section
the legacy powerpc-utils package have, i.e. important  utils, and
Yaboot will depend on it to use ofpathname.

As I understand the importance of it, I will finish it this afternoon.
The sooner it enters NEW, the sooner we will benefit of it. ;)

Cheers,
-- 
 .''`.   Aurélien GÉRÔME
: :'  :
`. `'`   Free Software Developer
  `- Unix Sys  Net Admin


signature.asc
Description: Digital signature


Re: grub2 on powerpc

2006-09-17 Thread Robert Millan
On Sun, Sep 17, 2006 at 11:16:02AM +0100, Roger Leigh wrote:
 Robert Millan [EMAIL PROTECTED] writes:
 
  This is strange.  I know one of the core grub2 maintainers is using powerpc
  regularly (with code from CVS).
 
 It certainly works--I've used it myself.  But there is so much
 duplicated, common, code between the ports, it really is asking for
 splitting into separate arch-specific and generic parts, rather than
 duplicating the entirety for each port.
 
  As for tools not in Debian, you mean ofpathname?
 
 Yes.
 
  Is the grub2 debian package usable at all without ofpathname? (I
  understand that at least grub-install won't work, making d-i support
  impossible).
 
 It's just grub-install that breaks.  Installing by hand works.

Ah, good.  Btw, anyone tried loading a 64bit kernel from 32bit grub2?  If it
works, we could add ppc64 to the list (using biarch).

-- 
Robert Millan

My spam trap is [EMAIL PROTECTED]  Note: this address is only intended for
spam harvesters.  Writing to it will get you added to my black list.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: grub2 on powerpc

2006-09-17 Thread Sven Luther
On Sun, Sep 17, 2006 at 12:10:53PM +0200, Robert Millan wrote:
  ofpathname is part of the ibm-powerpc-utils package (not the same as the
  package currently in debian), and Aurelien Gerome is packaging it, since
  yaboot also needs it over the kind-of-broken ofpath found in the yaboot 
  code,
  so this should be less an issue than you think.
 
 Is grub2 usable without it?  If it's not, we'd rather remove powerpc from the
 arch list for now.  We don't want to provide a broken build do we? :)

Well, as it will be uploaded ASAP, and the only problem will be NEW, it should
be no major problem, please don't remove it just now yet. It is not the
default, so breakage will only come to those who know what they do.

Also, it will be an error at grub2 install time, not run time, and you should
maybe do like yaboot-installer, check an absence of ofpathname, and then
either try to use yaboot's ofpath, and if this one returns empty, abort and
inform the user.

Notice that the grub2/powerpc port was done over a year ago on a pegasos
machine donated for that purpose, and that the guys porting opensolaris on
powerpc use it as their main bootloader, and i have seen it turn a year or so
back on both a dual power3 IBM pseries/rs6k, as well as on a powermac, and on
a pegasos.

Friendly,

Sven Luther


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: grub2 on powerpc

2006-09-17 Thread Geert Stappers
On Fri, Sep 08, 2006 at 08:10:35AM +0200, Sven Luther wrote:
 On Fri, Sep 08, 2006 at 12:15:12AM -0400, Rick Thomas wrote:
  
  Thanks.  But as I said, I'm not a developer (for lack of time -- I  
  have a day job, and I'd like to keep it!)  What I can do is test things.
  
  If someone who understands Otavio's description of the task is  
  willing to make an .iso that I can burn to a CD, I'll be happy to  
  test it and provide detailed reports on my success or failures.
 
 I will build you a netboot image, which include this patched version, this way
 you can test it.

Is it available for public download? If yes, which URL?

 I do believe this will include a mini-iso kind of thing.

I don't understand that.


Cheers
Geert Stappers


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: grub2 on powerpc

2006-09-17 Thread Sven Luther
On Sun, Sep 17, 2006 at 12:48:32PM +0200, Geert Stappers wrote:
 On Fri, Sep 08, 2006 at 08:10:35AM +0200, Sven Luther wrote:
  On Fri, Sep 08, 2006 at 12:15:12AM -0400, Rick Thomas wrote:
   
   Thanks.  But as I said, I'm not a developer (for lack of time -- I  
   have a day job, and I'd like to keep it!)  What I can do is test things.
   
   If someone who understands Otavio's description of the task is  
   willing to make an .iso that I can burn to a CD, I'll be happy to  
   test it and provide detailed reports on my success or failures.
  
  I will build you a netboot image, which include this patched version, this 
  way
  you can test it.
 
 Is it available for public download? If yes, which URL?

Michel Daenzer was faster than i, see his other post.

  I do believe this will include a mini-iso kind of thing.
 
 I don't understand that.

  
http://ftp.nl.debian.org/debian/dists/testing/main/installer-powerpc/beta3/images/powerpc/netboot/

  Includes :

  
http://ftp.nl.debian.org/debian/dists/testing/main/installer-powerpc/beta3/images/powerpc/netboot/mini.iso

Which you can simply burn on a CD and boot. Well, the netboot and the cdrom
targets both have these, but the netboot is the easiest, since it will include
the builtin changed files.

I am not sure how Michel Daenzer did it exactly though.

Friendly,

Sven Luther


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: grub2 on powerpc

2006-09-17 Thread Robert Millan
On Sun, Sep 17, 2006 at 12:31:59PM +0200, Sven Luther wrote:
 On Sun, Sep 17, 2006 at 12:10:53PM +0200, Robert Millan wrote:
   ofpathname is part of the ibm-powerpc-utils package (not the same as the
   package currently in debian), and Aurelien Gerome is packaging it, since
   yaboot also needs it over the kind-of-broken ofpath found in the yaboot 
   code,
   so this should be less an issue than you think.
  
  Is grub2 usable without it?  If it's not, we'd rather remove powerpc from 
  the
  arch list for now.  We don't want to provide a broken build do we? :)
 
 Well, as it will be uploaded ASAP, and the only problem will be NEW, it should
 be no major problem, please don't remove it just now yet. It is not the
 default, so breakage will only come to those who know what they do.

Ah, good.

 Also, it will be an error at grub2 install time, not run time, and you should
 maybe do like yaboot-installer, check an absence of ofpathname, and then
 either try to use yaboot's ofpath, and if this one returns empty, abort and
 inform the user.

Can't we just depend on the package that provides ofpathname?

-- 
Robert Millan

My spam trap is [EMAIL PROTECTED]  Note: this address is only intended for
spam harvesters.  Writing to it will get you added to my black list.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: grub2 on powerpc

2006-09-17 Thread Sven Luther
On Sun, Sep 17, 2006 at 06:23:47PM +0200, Robert Millan wrote:
 On Sun, Sep 17, 2006 at 12:31:59PM +0200, Sven Luther wrote:
  On Sun, Sep 17, 2006 at 12:10:53PM +0200, Robert Millan wrote:
ofpathname is part of the ibm-powerpc-utils package (not the same as the
package currently in debian), and Aurelien Gerome is packaging it, since
yaboot also needs it over the kind-of-broken ofpath found in the yaboot 
code,
so this should be less an issue than you think.
   
   Is grub2 usable without it?  If it's not, we'd rather remove powerpc from 
   the
   arch list for now.  We don't want to provide a broken build do we? :)
  
  Well, as it will be uploaded ASAP, and the only problem will be NEW, it 
  should
  be no major problem, please don't remove it just now yet. It is not the
  default, so breakage will only come to those who know what they do.
 
 Ah, good.
 
  Also, it will be an error at grub2 install time, not run time, and you 
  should
  maybe do like yaboot-installer, check an absence of ofpathname, and then
  either try to use yaboot's ofpath, and if this one returns empty, abort and
  inform the user.
 
 Can't we just depend on the package that provides ofpathname?

Once it is in the archive, yes.

Friendly,

Sven Luther


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: grub2 on powerpc

2006-09-13 Thread Michel Dänzer
On Fri, 2006-09-08 at 08:17 +0200, Robert Millan wrote: 
 
  - Checkout d-i source.
 
  - Apply my patch and build grub-installer udeb.
 
  - Put the udeb in installer/build/localudebs, and add it to the cd with:
  echo grub-installer  installer/build/pkg-lists/local
 
  - Build a netboot image as normal.

Did that, but I also had to build dmidecode-udeb with powerpc added to
its debian/control arch list. It might make more sense to drop the
grub-installer dependency on dmidecode-udeb on powerpc instead.

  - Boot the resulting image in expert mode, and when queried about using grub2
answer Yes.
 
  - Check wether it boots (and have a rescue disk at hand!)

I couldn't get past the prompt for where to install grub2. I tried (hd0)
as well as (hd0,1) ('NewWorld bootblock' on hda2) but got an error for
both. Then I found http://grub.enbug.org/TestingOnPowerPC and decided
it's too much hassle for me right now. In case someone else wants to
give it a spin though:

http://people.debian.org/~daenzer/debian-installer-netboot-powerpc-grub2.iso


-- 
Earthling Michel Dänzer   |  http://tungstengraphics.com
Libre software enthusiast |  Debian, X and DRI developer



Re: grub2 on powerpc

2006-09-08 Thread Sven Luther
On Fri, Sep 08, 2006 at 12:15:12AM -0400, Rick Thomas wrote:
 
 On Sep 7, 2006, at 7:00 PM, Otavio Salvador wrote:
 
 Rick Thomas [EMAIL PROTECTED] writes:
 
 I made this patch to enable grub2 for powerpc as well, but
 unfortunately I can't
 test it (no ppc hardware here).  Would anyone like to try it?
 
 --
 Robert Millan
 
 Hi Robert,
 
 I'd love to test it.  And I have PPC hardware (PowerPC Macs) to test
 it on.  But I'm not a developer.  What can I do to help?
 
 Basically, you'll need to get d-i source code and grub-installer
 source code. Build both (the last with the applied patch provided by
 Robert) and add it in localudebs before build the mini.iso. Burn it on
 a CD and test.
 
 Thanks.  But as I said, I'm not a developer (for lack of time -- I  
 have a day job, and I'd like to keep it!)  What I can do is test things.
 
 If someone who understands Otavio's description of the task is  
 willing to make an .iso that I can burn to a CD, I'll be happy to  
 test it and provide detailed reports on my success or failures.

I will build you a netboot image, which include this patched version, this way
you can test it. I do believe this will include a mini-iso kind of thing.


Friendly,

Sven Luther


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: grub2 on powerpc

2006-09-08 Thread Robert Millan
On Thu, Sep 07, 2006 at 06:40:26PM -0400, Rick Thomas wrote:
 
 Hi Robert,
 
 I'd love to test it.  And I have PPC hardware (PowerPC Macs) to test  
 it on.  But I'm not a developer.  What can I do to help?

Here's a short explanation:

 - Checkout d-i source.

 - Apply my patch and build grub-installer udeb.

 - Put the udeb in installer/build/localudebs, and add it to the cd with:
 echo grub-installer  installer/build/pkg-lists/local

 - Build a netboot image as normal.

 - Boot the resulting image in expert mode, and when queried about using grub2
   answer Yes.

 - Check wether it boots (and have a rescue disk at hand!)

-- 
Robert Millan

My spam trap is [EMAIL PROTECTED]  Note: this address is only intended for
spam harvesters.  Writing to it will get you added to my black list.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: grub2 on powerpc

2006-09-07 Thread Rick Thomas


On Sep 7, 2006, at 12:35 PM, Robert Millan wrote:



Hi,

As you might know, experimental grub2 support has been added to d-i  
when using

the expert mode, but it is only yet available on i386/amd64.

I made this patch to enable grub2 for powerpc as well, but  
unfortunately I can't

test it (no ppc hardware here).  Would anyone like to try it?

--
Robert Millan


Hi Robert,

I'd love to test it.  And I have PPC hardware (PowerPC Macs) to test  
it on.  But I'm not a developer.  What can I do to help?


Rick


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: grub2 on powerpc

2006-09-07 Thread Otavio Salvador
Rick Thomas [EMAIL PROTECTED] writes:

 I made this patch to enable grub2 for powerpc as well, but
 unfortunately I can't
 test it (no ppc hardware here).  Would anyone like to try it?

 --
 Robert Millan

 Hi Robert,

 I'd love to test it.  And I have PPC hardware (PowerPC Macs) to test
 it on.  But I'm not a developer.  What can I do to help?

Basically, you'll need to get d-i source code and grub-installer
source code. Build both (the last with the applied patch provided by
Robert) and add it in localudebs before build the mini.iso. Burn it on
a CD and test.

-- 
O T A V I OS A L V A D O R
-
 E-mail: [EMAIL PROTECTED]  UIN: 5906116
 GNU/Linux User: 239058 GPG ID: 49A5F855
 Home Page: http://www.freedom.ind.br/otavio
-
Microsoft gives you Windows ... Linux gives
 you the whole house.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: grub2 on powerpc

2006-09-07 Thread Sven Luther
On Thu, Sep 07, 2006 at 08:00:42PM -0300, Otavio Salvador wrote:
 Rick Thomas [EMAIL PROTECTED] writes:
 
  I made this patch to enable grub2 for powerpc as well, but
  unfortunately I can't
  test it (no ppc hardware here).  Would anyone like to try it?
 
  --
  Robert Millan
 
  Hi Robert,
 
  I'd love to test it.  And I have PPC hardware (PowerPC Macs) to test
  it on.  But I'm not a developer.  What can I do to help?
 
 Basically, you'll need to get d-i source code and grub-installer
 source code. Build both (the last with the applied patch provided by
 Robert) and add it in localudebs before build the mini.iso. Burn it on
 a CD and test.

Or netboot it. Maybe grub2 replacing yaboot will cause a stop to the trouble
involved in using yaboot on IBM power hardware even.

Friendly,

Sven Luther


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: grub2 on powerpc

2006-09-07 Thread Rick Thomas


On Sep 7, 2006, at 7:00 PM, Otavio Salvador wrote:


Rick Thomas [EMAIL PROTECTED] writes:


I made this patch to enable grub2 for powerpc as well, but
unfortunately I can't
test it (no ppc hardware here).  Would anyone like to try it?

--
Robert Millan


Hi Robert,

I'd love to test it.  And I have PPC hardware (PowerPC Macs) to test
it on.  But I'm not a developer.  What can I do to help?


Basically, you'll need to get d-i source code and grub-installer
source code. Build both (the last with the applied patch provided by
Robert) and add it in localudebs before build the mini.iso. Burn it on
a CD and test.


Thanks.  But as I said, I'm not a developer (for lack of time -- I  
have a day job, and I'd like to keep it!)  What I can do is test things.


If someone who understands Otavio's description of the task is  
willing to make an .iso that I can burn to a CD, I'll be happy to  
test it and provide detailed reports on my success or failures.


Hoping I can be of help!

Rick


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]