Migrate from yaboot to grub2

2020-05-11 Thread Elimar Riesebieter
Hi all,

what ist the best practice to switch a G4 Powerbook running latest
sid from yaboot to grub2?

Thanks in advance
Elimar
-- 
  Numeric stability is probably not all that
  important when you're guessing;-)



Re: Fwd: grub2: FTBFS on powerpc (__floatundisf in ls is not defined)

2020-04-24 Thread John Paul Adrian Glaubitz
User: debian-powerpc@lists.debian.org
Usertags: powerpc ppc64

Hello!

src:grub2 has been building fine for a while now on all PowerPC targets
in Debian (powerpc [1], ppc64 [2] and ppc64el [3]) and we have many
reports of successful installations on Apple PowerMac and IBM machines.

I am therefore closing this bug report.

Adrian

> [1] https://buildd.debian.org/status/logs.php?pkg=grub2&arch=powerpc
> [2] https://buildd.debian.org/status/logs.php?pkg=grub2&arch=ppc64
> [3] https://buildd.debian.org/status/logs.php?pkg=grub2&arch=ppc64el

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Bug#891070: grub2: Please add missing build dependency on libparted-dev for powerpc and ppc64

2018-02-21 Thread John Paul Adrian Glaubitz
Source: grub2
Version: 2.02+dfsg1-1
Severity: normal
User: debian-powerpc@lists.debian.org
Usertags: powerpc ppc64

Hi!

src:grub2 fails to build on powerpc/ppc64 due to a missing build
dependency on libparted-dev [1]:

gcc-6 -Wall -Wno-error=unused-result -g -O2 
-fdebug-prefix-map=/<>/grub2-2.02+dfsg1=. -fstack-protector-strong 
-Wformat -Werror=format-security debian/prep-bootdev.c -o debian/prep-bootdev 
-lparted
debian/prep-bootdev.c:3:27: fatal error: parted/parted.h: No such file or 
directory
 #include 
   ^
compilation terminated.
make[1]: *** [debian/rules:228: debian/stamps/build-grub-ieee1275] Error 1
make[1]: Leaving directory '/<>/grub2-2.02+dfsg1'
make: *** [debian/rules:117: build-arch] Error 2

Thus, could you add "any-powerpc" and "any-ppc64" for the libparted-dev
build dependency in debian/control [2].

Thanks,
Adrian

> [1] 
> https://buildd.debian.org/status/fetch.php?pkg=grub2&arch=ppc64&ver=2.02%2Bdfsg1-1&stamp=1519058864&raw=0
> [2] https://salsa.debian.org/grub-team/grub/blob/master/debian/control#L34

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Re: Bug#881730: grub2: Please clone debian/grub-ieee1275-bin.install.powerpc.in for ppc64

2017-12-06 Thread Colin Watson
On Thu, Dec 07, 2017 at 01:05:09AM +0100, John Paul Adrian Glaubitz wrote:
> I just noticed we might need to add powerpc and ppc64 in line 228 in
> debian/rules [1]:

Good point.  Committed, thanks.

-- 
Colin Watson   [cjwat...@debian.org]



Re: Bug#881730: grub2: Please clone debian/grub-ieee1275-bin.install.powerpc.in for ppc64

2017-12-06 Thread John Paul Adrian Glaubitz
Hi Colin!

On 11/16/2017 10:12 AM, Colin Watson wrote:
>> But you're right, prep-bootdev should be present as well, also
>> on powerpc where we're also switching from Yaboot to GRUB. So,
>> please add it for both powerpc and ppc64.
> 
> OK, all done for my next upload.  Thanks.

I just noticed we might need to add powerpc and ppc64 in line 228 in
debian/rules [1]:

--- debian/rules.orig   2017-07-06 18:59:39.0 +0200
+++ debian/rules2017-12-07 01:03:49.931861163 +0100
@@ -225,7 +225,7 @@

 debian/stamps/build-grub-ieee1275: debian/stamps/configure-grub-ieee1275
dh_auto_build
-ifeq ($(DEB_HOST_ARCH_CPU),ppc64el)
+ifneq (,$(filter powerpc ppc64 ppc64el,$(DEB_HOST_ARCH_CPU)))
$(CC) $(HOST_CFLAGS) debian/prep-bootdev.c -o debian/prep-bootdev 
-lparted
 endif
touch $@

Otherwise prep-bootdev won't get build and the build might fail
if dh_install is configured to bail out for missing files.

Adrian

> [1] https://anonscm.debian.org/cgit/pkg-grub/grub.git/tree/debian/rules#n228

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Re: Bug#881730: grub2: Please clone debian/grub-ieee1275-bin.install.powerpc.in for ppc64

2017-11-16 Thread Colin Watson
Control: tag -1 pending

On Tue, Nov 14, 2017 at 05:20:57PM +0100, John Paul Adrian Glaubitz wrote:
> On 11/14/2017 05:05 PM, Colin Watson wrote:
> >> diff -Nru old/grub2-2.02/debian/grub-ieee1275-bin.install.ppc64.in 
> >> new/grub2-2.02/debian/grub-ieee1275-bin.install.ppc64.in
> >> --- old/grub2-2.02/debian/grub-ieee1275-bin.install.ppc64.in   
> >> 1970-01-01 01:00:00.0 +0100
> >> +++ new/grub2-2.02/debian/grub-ieee1275-bin.install.ppc64.in   
> >> 2017-07-06 18:59:38.0 +0200
> >> @@ -0,0 +1,2 @@
> >> +usr/lib/grub/@CPU_PLATFORM@/bootinfo.txt
> >> +usr/lib/grub/@CPU_PLATFORM@/grub.chrp
> > 
> > This isn't quite an exact copy.  Do you not need debian/prep-bootdev as
> > well?  (See the changelog for 2.02~beta2-14.)
> 
> Well, it's a clone of the powerpc version, not the ppc64el version.

Oh, quite so, apparently I can't read properly.

> But you're right, prep-bootdev should be present as well, also
> on powerpc where we're also switching from Yaboot to GRUB. So,
> please add it for both powerpc and ppc64.

OK, all done for my next upload.  Thanks.

-- 
Colin Watson   [cjwat...@debian.org]



Re: Bug#881730: grub2: Please clone debian/grub-ieee1275-bin.install.powerpc.in for ppc64

2017-11-14 Thread John Paul Adrian Glaubitz
On 11/14/2017 05:05 PM, Colin Watson wrote:
>> diff -Nru old/grub2-2.02/debian/grub-ieee1275-bin.install.ppc64.in 
>> new/grub2-2.02/debian/grub-ieee1275-bin.install.ppc64.in
>> --- old/grub2-2.02/debian/grub-ieee1275-bin.install.ppc64.in 1970-01-01 
>> 01:00:00.00000 +0100
>> +++ new/grub2-2.02/debian/grub-ieee1275-bin.install.ppc64.in 2017-07-06 
>> 18:59:38.0 +0200
>> @@ -0,0 +1,2 @@
>> +usr/lib/grub/@CPU_PLATFORM@/bootinfo.txt
>> +usr/lib/grub/@CPU_PLATFORM@/grub.chrp
> 
> This isn't quite an exact copy.  Do you not need debian/prep-bootdev as
> well?  (See the changelog for 2.02~beta2-14.)

Well, it's a clone of the powerpc version, not the ppc64el version.

But you're right, prep-bootdev should be present as well, also
on powerpc where we're also switching from Yaboot to GRUB. So,
please add it for both powerpc and ppc64.

Thanks,
Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Bug#881730: grub2: Please clone debian/grub-ieee1275-bin.install.powerpc.in for ppc64

2017-11-14 Thread John Paul Adrian Glaubitz
Source: grub2
Version: 2.02-2
Severity: normal
Tags: patch
User: debian-powerpc@lists.debian.org
Usertags: ppc64

Hi!

The files listed in debian/grub-ieee1275-bin.install.powerpc.in are
also needed for grub2 on ppc64. Otherwise, we won't be able to use
grub2 on ppc64 inside debian-installer.

Please apply the attached patch to clone the file for ppc64.

Thanks,
Adrian

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
diff -Nru old/grub2-2.02/debian/grub-ieee1275-bin.install.ppc64.in 
new/grub2-2.02/debian/grub-ieee1275-bin.install.ppc64.in
--- old/grub2-2.02/debian/grub-ieee1275-bin.install.ppc64.in1970-01-01 
01:00:00.0 +0100
+++ new/grub2-2.02/debian/grub-ieee1275-bin.install.ppc64.in2017-07-06 
18:59:38.0 +0200
@@ -0,0 +1,2 @@
+usr/lib/grub/@CPU_PLATFORM@/bootinfo.txt
+usr/lib/grub/@CPU_PLATFORM@/grub.chrp


Re: A short tutorial on running GRUB2 on a PPC

2011-04-24 Thread Rogério Brito
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA384

Dear Risto and other people,

On 04/04/11 05:30, Risto Suominen wrote:
> 2011/4/3, Rogério Brito :
>> http://rb.doesntexist.org/blog/posts/running_grub2_on_powerpc_macs/


Just for the record, I have converted both my iBook G3 600MHz and my iBook G4
1.3GHz to grub2 and both are working very well (well, my iBook G3 seems to be
overheating once again, but when it works it is enough to test some programs).

I would recommend it for others to try it and go back only if you have annoying
problems. You problably won't, but who knows? :-)

> My main concern with yaboot has been (until now) its inability to specify
> initrd, unless given in cfg file. Typically with external disks, when root
> device has changed, and the boot stops.
> 
> Is it possible with grub2 to specify initrd manually?

As Michel already told you, this problem doesn't occur with grub2: it detects
the kernels that you have already installed (with no need to mess with update
yaboot.conf and run ybin), you can use tab-completion (very handy when you are
in some difficult situation) and all your filesystems can be ext2/3/4, xfs,
btrfs etc.

I just converted things here (in both notebooks) to ext4, as I want to take
advantage of delayed allocation and extents, so I don't know how it would work
with something outside of the ext-family.

I highly recommend it for other people.

And, of course, once you are satisfied with it, you can simply set it as default
in the NVRAM (say, with the boot-device variable of OF).


Hope this helps, Rogério Brito.

- -- 
Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFC
http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBCQAGBQJNs8/MAAoJEAdHvTm8/KqqJ0QQAKkH+I5YCsk6/vXaUCdKe0mj
x5oIcu7RQB/pS/S5wqjGB+kC2fCH1UthIGyJxr7SmBowRkitt6bSJd7TRNH0Odac
xEK/RnoScceVH4ffbWRBObDxwPooBNTw2r+eN8Kf9KGPuaujQ7HKscQIC0SVBocs
eNTUrw0QjsjPFlO7bAjHzy3/fX0rYvhNcXmlYeBTOUXyqEp7N2ziUNy6X13DiiqB
+Ku2q9oHU4X4Fmr+IVHt+JA6F8+upmwWueBQye5ytCf7ns4Hwz+qeEr5tWNrLHPM
bWXW6rY7ZfeAVBJVftXvnik7gesuVvYuIZrreRHfalt/ezl3w1sKuvrLj1nfvzQs
pVMNN9SZcRceClrZef3ojqKmP2OsLGoeelZQ4pVMGA56vwseuZqVxV3mQgcObPlb
/e6XccqHMV0CqnzY4uSc/N4AWupdznaAP3NjXbBKF/MHHP8QcaJ1x1PdPg7bnxex
nKVFimi0iulUjPe3KPUZjNvmswjHTaSQntDsPSxRf5b4P05Tm4Yx3OsbTblUpe5i
fldJT7WI9S+HgDl1taDqxpF+SqwYlknAfDJEcw+vzS56eZ7lzTQ/XHTIL0B2GqJS
Vp8ZmoowltD7NyzX37EjxBwr+RDzKPkmKSQdj9qrZ8C5llxu/1z4s3ol1gf+ciJS
bZ80npTA3Xzqn2/2vpu4
=waPD
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4db3cfd5.4080...@ime.usp.br



Re: A short tutorial on running GRUB2 on a PPC

2011-04-04 Thread Michel Dänzer
On Sam, 2011-04-02 at 19:20 -0700, Brian Morris wrote:
> I have had libfreevec (clibrary replacement) installed on my g4
> powerbook for several years with no problems, upgrading in place from
> etch to lenny to squeeze. but I have not tried to build apps against
> it.

Can you share details about how you're doing that? When I tried it a
couple of years ago, I got crashes all over the place due to bugs (which
were known to the author, but he seemed uninterested in fixing them) in
at least strcmp. Looking at the svn log now, it looks like that should
finally be fixed, but now I'm having a hard time even getting it to
build, let alone run anything useful...


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


--
To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1301922702.24704.17.camel@thor.local



Re: A short tutorial on running GRUB2 on a PPC

2011-04-04 Thread Michel Dänzer
On Mon, 2011-04-04 at 11:30 +0300, Risto Suominen wrote: 
> 
> My main concern with yaboot has been (until now) its inability to
> specify initrd, unless given in cfg file. Typically with external
> disks, when root device has changed, and the boot stops.
> 
> Is it possible with grub2 to specify initrd manually?

Yes, even with tab completion. :)


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


--
To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1301912199.24704.9.camel@thor.local



Re: A short tutorial on running GRUB2 on a PPC

2011-04-04 Thread Risto Suominen
Hi,

2011/4/3, Rogério Brito :
> (Please, keep me CC'ed, as I am not currently subscribed to -powerpc)
>
> Hi there.
>
> As some people may not consider yaboot to be a bootloader for the long term
> (well, depending on your views, not even for the short term), I took some
> time to distill, experiment, pull my hair, become frustrated, and write a
> moderately introductory post on getting GRUB 2 on my iBook G4.
>
> The post is here:
>
> http://rb.doesntexist.org/blog/posts/running_grub2_on_powerpc_macs/
>
> Please let me know if you find this useful.
>
Very useful, indeed. Thank you.

My main concern with yaboot has been (until now) its inability to
specify initrd, unless given in cfg file. Typically with external
disks, when root device has changed, and the boot stops.

Is it possible with grub2 to specify initrd manually?

Risto


--
To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/banlktinzcq66x2lr8mg5_yvvwq8pghg...@mail.gmail.com



Re: A short tutorial on running GRUB2 on a PPC

2011-04-03 Thread Benjamin Cama
Le dimanche 03 avril 2011 à 11:52 -0400, Super Bisquit a écrit :
> You do know that his question should have been forwarded to the yaboot
> mailing list? This is a question about firmware interfaces and not
> limited to Debian.

The thing is, I don't see any bootloader-related question in his first
message.

> You do know that other operating systems exist and that these problems
> must be dealt with when using any bootloader on any architecture? This
> is presenting a problem that will be so complex and convoluted no one
> will be able to fix it.

I don't know what you're on, but I absolutely don't know what you are
talking about.

> You do think  my approach was wrong? At least I explained myself and
> let him know what would mess up.

What would mess up what? He proposed some advices to people wanting to
use grub2. That's all.

> You did not think of concentrating on helping him but on correcting me
> instead? He asked for help and feedback and you gave him none.

Please, refrain from posting here anymore: the way you spoke to me,
Rogério and Roger (publishing a private email in the latter case) show
us a total lack of any respect and understanding. I personally think you
are not welcome to debian-powerpc anymore. I will notify the listmasters
of any further attempt to disturb this mailing list.

benjamin


--
To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1301849007.1590.85.ca...@nsk.dolka.fr



Re: A short tutorial on running GRUB2 on a PPC

2011-04-03 Thread Super Bisquit
On 4/3/11, Roger Leigh  wrote:
> On Sun, Apr 03, 2011 at 11:52:58AM -0400, Super Bisquit wrote:
>
> [Please don't top post.]
>
>> I am being thoughtful.
>> You do think  my approach was wrong? At least I explained myself and
>> let him know what would mess up.
>> You did not think of concentrating on helping him but on correcting me
>> instead? He asked for help and feedback and you gave him none.
>
> Feedback is only useful when it's helpful and constructive.


>
> You are being rude, aggressive and unhelpful.
And threatening me when you should be working with with him is helpful? Right.
>
> If you wish to continue to participate on Debian lists, as I have
> already conveyed to you in private, you will kindly fix your bad
> attitude and stop abusing people's hard work and contributions, or
> I will have to ask the listmasters to ban you from posting here.
> Please bear that in mind before you repeat the mistakes you have
> already made.
>
>
> Thanks,
> 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.
>


-- 
To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/banlktikp3k6v1kz+emsdsmymrnily+r...@mail.gmail.com



Re: A short tutorial on running GRUB2 on a PPC

2011-04-03 Thread Super Bisquit
On 4/3/11, Roger Leigh  wrote:
> On Sun, Apr 03, 2011 at 11:40:14AM -0400, Super Bisquit wrote:
>> It is neither abusive nor unhelpful. His idea won't work.
>> He is wrong on many points.
>
> It does not matter that he may have been wrong.  People are wrong all
> the time.
>
> Understand this: you were both abusive and unhelpful.  And you should
> apologise for that, because it was totally unwarranted.
Unhelpful? No. I speak from experience on using other operating
systems on PowerMac equipment.
Rude? No. Crass and brash and rough? Yes.
But, since you thought such: My apologies if my delivery was too strong.
>
> Criticism is fine, so long as it is constructive.  You were not
> constructive.  Did you thank him for spending his time investigating
> GRUB2 on openfirmware and writing up his findings, and point out any
> unintentional inaccuracies or omissions?  No.  You did not.  You were
> rude and aggressive, and did not provide any helpful information to
> actually result in any technical improvements which would benefit us.
>
>> Wrong information on any mailing list is wrong information.
>> Debian and linux is not the world when it comes to alternative
>> operating systems.
>>
>> There is no simple way to give an answer unless he actually uses the
>> other operating systems.
>
> You are posting on a Debian list.  Whether GRUB2 can boot other
> systems was not part of the discussion, and is not relevant to the
> purpose of debian-powerpc which is, obviously, focussed on Debian
> on the powerpc architecture.  If GRUB2 doesn't boot on BSD systems
> on powerpc then feel free to fix that, but it's not remotely on topic.

Install any of the other operating systems to a Powermac and see if
such will work. It won't.
You are being selectively ignorant thinking that the solutions for
Linux will work for all operating systems and not doing testing
yourself.


>
> But that's not an excuse to be rude and abusive under any
> circumstances.
>

>
> 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.
>


-- 
To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/BANLkTimAFoo=YQtc5hxAssbF2d=hku2...@mail.gmail.com



Re: A short tutorial on running GRUB2 on a PPC

2011-04-03 Thread Roger Leigh
On Sun, Apr 03, 2011 at 11:52:58AM -0400, Super Bisquit wrote:

[Please don't top post.]

> I am being thoughtful.
> You do think  my approach was wrong? At least I explained myself and
> let him know what would mess up.
> You did not think of concentrating on helping him but on correcting me
> instead? He asked for help and feedback and you gave him none.

Feedback is only useful when it's helpful and constructive.

You are being rude, aggressive and unhelpful.

If you wish to continue to participate on Debian lists, as I have
already conveyed to you in private, you will kindly fix your bad
attitude and stop abusing people's hard work and contributions, or
I will have to ask the listmasters to ban you from posting here.
Please bear that in mind before you repeat the mistakes you have
already made.


Thanks,
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.


signature.asc
Description: Digital signature


Re: A short tutorial on running GRUB2 on a PPC

2011-04-03 Thread Super Bisquit
I am being thoughtful. If you would have thought it out, you would
have replied to him first. Your answers would have  clarified what I
said in your own words. Answer him, not me.
Debian and linux are not the world when it comes to alternative
operating systems.

You do know that his question should have been forwarded to the yaboot
mailing list? This is a question about firmware interfaces and not
limited to Debian.
You do know that other operating systems exist and that these problems
must be dealt with when using any bootloader on any architecture? This
is presenting a problem that will be so complex and convoluted no one
will be able to fix it.
You do think  my approach was wrong? At least I explained myself and
let him know what would mess up.
You did not think of concentrating on helping him but on correcting me
instead? He asked for help and feedback and you gave him none.

Fortunately, Rogério will not start off misinformed.


On 4/3/11, Benjamin Cama  wrote:
> Hi,
>
> Le samedi 02 avril 2011 à 22:17 -0400, Super Bisquit a écrit :
>> […] OpenBSD […] NetBSD […] FreeBSD […]
>
> Do you know we're on _debian_-powerpc ML?
>
>> You may think I'm being an asshole to you; but, I am only giving you
>> realistic arguments.
>
> What's the point of this rant?
> Please, be more kind and thoughtful next time you're writing here.
>
> Fortunately, Rogério is not subscribed…
>
> benjamin
>
>
> --
> To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
> Archive: http://lists.debian.org/1301837603.1590.67.ca...@nsk.dolka.fr
>
>


--
To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/BANLkTi=gtmjgvgpashyjk_elxphd-rz...@mail.gmail.com



Re: A short tutorial on running GRUB2 on a PPC

2011-04-03 Thread Rogério Brito
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA384

Dear anonymous,

First of all, thank you for demotivating me (a moderately long-time contributor)
from contributing to a port that lacks developers. Since you know things better,
we would surely appreciate your patches and documentation, especially when the
alternatives are incorrect.

On 2011-04-02 23:17, Super Bisquit wrote:
> it won't work for all operating systems.

Do you know of any bootloader that will load anything and everything? I'd like
to install that one on my systems. quik doesn't work for newworld macs. yaboot
doesn't work for oldworld macs. Neither of them work for my Kurobox (with a
Freescale PPC processor). But I am happy to use Debian on all of those systems.

> NetBSD must be located as the
> first booting system. OpenBSD has to be specially modified to boot and
> may require the same area as NetBSD.

I don't get your point: if you don't want to use GRUB, that's your prerogative
and I am not interferring with you. Actually, I didn't even know that you
existed up to this moment. :-)

And I don't want to start any OS war here.

> FreeBSD can have more than one installation but the root directory
> must be set from the bootloader.

Just for the record, I can have more than one Linux installation and I would be
surprised to have a modern system that can't boot so (even embedded systems 
can).

> Now, why are you having the system boot twice: one from an HFS with
> grub2 on it and a second with another bootloader on another HFS
> partition?

Some points here:

* I'm not talking about two HFS partitions.

* Most systems currently employ a 2-step boot process, with the first being
loading a bootloader and the second loading one full operating system. Some
systems even employ more steps.

I am not advocating any excessive steps: I am just giving an alternative to a
bootloader that almost caused this platform to not be released with Debian.

> Seems to be an extreme waste to have to enter that command considering
> there is the Option menu with icons for each installed system.

Can you pass paratemers to the kernel of your option when you boot with the
Option menu pressed? I guess not, but you probably know better.

> This
> would even cause trouble on a B&W G3 or a powerbook G3 because you
> would still need to load the bootloader of another system and then add
> more arguments.

What point of using the appropriate software for the appropriate purposes are
you missing?

> Grub2 is piss poor enough on Debian to boot UFS2 andFFS2 systems.

And you are free to continue using yaboot (or whatever you like). And you are
also free to come up with your contributions to GRUB2. Or to yaboot. Or to...

> Go back, install another operating system on the powerbook, and try
> booting each one with a grub2 entry.
> 
> Do you want to run single user mode to fsck a BSD install? It won't
> work with what you suggest.

I fail to see where in my blog I suggested that we should dump every other
bootloader to use grub2 (but it would be nice to have one uniform bootloader for
this painful mess).

> Are you suggesting that for entries that don't work, the user will
> need to set the exact boot argument each time from Open Firmware? I
> don't think you have completely thought out your suggestion.

Are you trying to read other people's minds? You're failing. :-)

> OpenFirmware is not a Mac program.

Please, don't put words in my mouth. I did *not* say that OF is a "mac program".
I said that it is a program that runs when your Mac boots.

> It is a forth environment based on
> OpenBoot. It is OS independent.

I know that, having already worked with sparc workstations in the days of SunOS.

> There is no size limit to the hfs boot partion, you can set that and
> label it yourself. Again, you did not research or attempt anything
> yourself, did you?

I do know that, but, as I said in my post, the partitions are usually already
there, with fixed size and with no free space left.

Also, gparted can't expand an HFS partition. In fact, if you don't even install
hfsprogs (which I maintain here alone and other distros picked up from me---but
for which I would gladly accept help from others), you wouldn't even be able to
use a Free Software tool in a Free Software operating system to use parted with
your disks.

And for he people that have not yet installed Debian, I want to fix what GRUB2
does incorrectly so that we can install it in NewWorld macs in time for wheezy.
 In the same way that I want to help with some other porter stuff (e.g., getting
libraries like Konstantinos Margaritis's freevec suitable for inclusion in
Debian, so that we can extract some extra juice from the programs that we
already use).

> The setup you suggest for booting is a waste and poorly t

Re: A short tutorial on running GRUB2 on a PPC

2011-04-03 Thread Benjamin Cama
Hi,

Le samedi 02 avril 2011 à 22:17 -0400, Super Bisquit a écrit :
> […] OpenBSD […] NetBSD […] FreeBSD […]

Do you know we're on _debian_-powerpc ML?

> You may think I'm being an asshole to you; but, I am only giving you
> realistic arguments.

What's the point of this rant?
Please, be more kind and thoughtful next time you're writing here.

Fortunately, Rogério is not subscribed…

benjamin


--
To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1301837603.1590.67.ca...@nsk.dolka.fr



Re: A short tutorial on running GRUB2 on a PPC

2011-04-02 Thread Brian Morris
I have had libfreevec (clibrary replacement) installed on my g4 powerbook
for several years with no problems, upgrading in place from etch to lenny to
squeeze. but I have not tried to build apps against it.

gcc has very good auto-vectoring since 4.3 or 4.4 so you don't need to hand
code. Some limited tests here show 2-3 times speedups.

nevertheless the rebuild process is so painful (especially by my lonesome)
for debian and so painless for netBSD that I am planning a ground up build
of the latter as soon as 6.0 comes out (they are a bit slower in the
compiler updates).




Brian


2011/4/2 Rogério Brito 

> (Please, keep me CC'ed, as I am not currently subscribed to -powerpc)
>
> Hi there.
>
> As some people may not consider yaboot to be a bootloader for the long term
> (well, depending on your views, not even for the short term), I took some
> time to distill, experiment, pull my hair, become frustrated, and write a
> moderately introductory post on getting GRUB 2 on my iBook G4.
>
> The post is here:
>
>http://rb.doesntexist.org/blog/posts/running_grub2_on_powerpc_macs/
>
> Please let me know if you find this useful.
>
> BTW, I am just playing with getting Freevec on my computer (well, it should
> be faster, since Altivec is essentially not used in current Linux
> distributions) and I will keep those that want posted (if you want) when I
> have something to show.
>
> Well, right now, I have a very crufty solution that works for me, but that
> I
> am ashamed to publish and ruin the rest of reputation that I have. :-)
>
> Finally, a stupid question: is there anybody out there that knows if the
> current Iceweasel in experimental (4.0) has any kind of JIT for PowerPC? I
> mean, like TenFourFox (http://www.floodgap.com/software/tenfourfox/)?
>
> If not, their patches are available
> (http://tenfourfox.googlecode.com/files/TenFourFox-changesets-20110323.zip
> ).
> And the developer's blog is very instructive (
> http://tenfourfox.blogspot.com/).
>
> (Yes, I know that I could just ask Mike Hommey, but let's see if anybody
> here has already tried this).
>
> Feedback is welcome.
>
>
> Regards,
>
> --
> Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFC
> http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
> DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br
>
>
> --
> To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
> Archive: http://lists.debian.org/20110403014832.ga7...@ime.usp.br
>
>


Re: A short tutorial on running GRUB2 on a PPC

2011-04-02 Thread Super Bisquit
it won't work for all operating systems. NetBSD must be located as the
first booting system. OpenBSD has to be specially modified to boot and
may require the same area as NetBSD.
FreeBSD can have more than one installation but the root directory
must be set from the bootloader.
Now, why are you having the system boot twice: one from an HFS with
grub2 on it and a second with another bootloader on another HFS
partition?

Seems to be an extreme waste to have to enter that command considering
there is the Option menu with icons for each installed system. This
would even cause trouble on a B&W G3 or a powerbook G3 because you
would still need to load the bootloader of another system and then add
more arguments.

Grub2 is piss poor enough on Debian to boot UFS2 andFFS2 systems.

Go back, install another operating system on the powerbook, and try
booting each one with a grub2 entry.

Do you want to run single user mode to fsck a BSD install? It won't
work with what you suggest.
Are you suggesting that for entries that don't work, the user will
need to set the exact boot argument each time from Open Firmware? I
don't think you have completely thought out your suggestion.

OpenFirmware is not a Mac program. It is a forth environment based on
OpenBoot. It is OS independent. An exception to hfs is that OpenBSD
can boot from a DOS partition. You didn't even research this, did you?

No, you can dd yaboot to the boot partition if you want.

There is no size limit to the hfs boot partion, you can set that and
label it yourself. Again, you did not research or attempt anything
yourself, did you?

The setup you suggest for booting is a waste and poorly thought out.
why go from hda2 to hda7? You are going to have a setup as :
APM hda1
Apple Bootstrap hda2
Ext3 hda3
Ext3 hda4
Ext3 hda5
Swap hda6
Apple Bootstrap hda7?
Not thinking this through, eh?

Acabe de pensar, homem, pensar.

You may think I'm being an asshole to you; but, I am only giving you
realistic arguments.

Even yaboot has problems booting a BSD install.



On 4/2/11, Rogério Brito  wrote:
> (Please, keep me CC'ed, as I am not currently subscribed to -powerpc)
>
> Hi there.
>
> As some people may not consider yaboot to be a bootloader for the long term
> (well, depending on your views, not even for the short term), I took some
> time to distill, experiment, pull my hair, become frustrated, and write a
> moderately introductory post on getting GRUB 2 on my iBook G4.
>
> The post is here:
>
> http://rb.doesntexist.org/blog/posts/running_grub2_on_powerpc_macs/
>
> Please let me know if you find this useful.
>
> BTW, I am just playing with getting Freevec on my computer (well, it should
> be faster, since Altivec is essentially not used in current Linux
> distributions) and I will keep those that want posted (if you want) when I
> have something to show.
>
> Well, right now, I have a very crufty solution that works for me, but that I
> am ashamed to publish and ruin the rest of reputation that I have. :-)
>
> Finally, a stupid question: is there anybody out there that knows if the
> current Iceweasel in experimental (4.0) has any kind of JIT for PowerPC? I
> mean, like TenFourFox (http://www.floodgap.com/software/tenfourfox/)?
>
> If not, their patches are available
> (http://tenfourfox.googlecode.com/files/TenFourFox-changesets-20110323.zip).
> And the developer's blog is very instructive
> (http://tenfourfox.blogspot.com/).
>
> (Yes, I know that I could just ask Mike Hommey, but let's see if anybody
> here has already tried this).
>
> Feedback is welcome.
>
>
> Regards,
>
> --
> Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFC
> http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
> DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br
>
>
> --
> To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
> Archive: http://lists.debian.org/20110403014832.ga7...@ime.usp.br
>
>


--
To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/AANLkTimp=anl_gmf6kwl6hubkymryd5axley_6sfc...@mail.gmail.com



A short tutorial on running GRUB2 on a PPC

2011-04-02 Thread Rogério Brito
(Please, keep me CC'ed, as I am not currently subscribed to -powerpc)

Hi there.

As some people may not consider yaboot to be a bootloader for the long term
(well, depending on your views, not even for the short term), I took some
time to distill, experiment, pull my hair, become frustrated, and write a
moderately introductory post on getting GRUB 2 on my iBook G4.

The post is here:

http://rb.doesntexist.org/blog/posts/running_grub2_on_powerpc_macs/

Please let me know if you find this useful.

BTW, I am just playing with getting Freevec on my computer (well, it should
be faster, since Altivec is essentially not used in current Linux
distributions) and I will keep those that want posted (if you want) when I
have something to show.

Well, right now, I have a very crufty solution that works for me, but that I
am ashamed to publish and ruin the rest of reputation that I have. :-)

Finally, a stupid question: is there anybody out there that knows if the
current Iceweasel in experimental (4.0) has any kind of JIT for PowerPC? I
mean, like TenFourFox (http://www.floodgap.com/software/tenfourfox/)?

If not, their patches are available
(http://tenfourfox.googlecode.com/files/TenFourFox-changesets-20110323.zip).
And the developer's blog is very instructive (http://tenfourfox.blogspot.com/).

(Yes, I know that I could just ask Mike Hommey, but let's see if anybody
here has already tried this).

Feedback is welcome.


Regards,

-- 
Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFC
http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br


-- 
To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110403014832.ga7...@ime.usp.br



Re: Grub2: How safe is it?

2007-05-17 Thread Robert Millan
tag 424757 pending
thanks

On Thu, May 17, 2007 at 05:36:30PM +0200, Sven Luther wrote:
> On Thu, May 17, 2007 at 09:53:06AM +, Jack Malmostoso wrote:
> > On Thu, 17 May 2007 11:00:09 +0200, Sven Luther wrote:
> > 
> > > Just make sure you have a debian-installer media ready before you do the
> > > try.
> > 
> > Downloaded, just in case.
> > 
> > Anyway the package grub-of does not install because of /usr/sbin/grub-
> > mkdevicemap missing from the package.

This is fixed in SVN.

> > Bug #424757 has already been 
> > reported, but no answers yet.
> > 
> > I'll now try to compile from source and try to fix the package. See what 
> > happens.
> 
> Rober can you have a look at this ? Jack is trying out grub2 on powerpc,
> but has found some problem. I guess you can help out on this ?

I suggest you use the latest version of the package from SVN (combined with
latest upstream CVS as indicated in debian/changelog).

If the package fails to install, generate a device.map using grub-mkdevicemap
from the build tree, and then run `grub-probe -v /' from there.

Thanks,

-- 
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: How safe is it?

2007-05-17 Thread Sven Luther
On Thu, May 17, 2007 at 09:53:06AM +, Jack Malmostoso wrote:
> On Thu, 17 May 2007 11:00:09 +0200, Sven Luther wrote:
> 
> > Just make sure you have a debian-installer media ready before you do the
> > try.
> 
> Downloaded, just in case.
> 
> Anyway the package grub-of does not install because of /usr/sbin/grub-
> mkdevicemap missing from the package. Bug #424757 has already been 
> reported, but no answers yet.
> 
> I'll now try to compile from source and try to fix the package. See what 
> happens.

Rober can you have a look at this ? Jack is trying out grub2 on powerpc,
but has found some problem. I guess you can help out on this ?

Friendly,

Sven Luther


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



Re: Grub2: How safe is it?

2007-05-17 Thread Jack Malmostoso
On Thu, 17 May 2007 11:00:09 +0200, Sven Luther wrote:

> Just make sure you have a debian-installer media ready before you do the
> try.

Downloaded, just in case.

Anyway the package grub-of does not install because of /usr/sbin/grub-
mkdevicemap missing from the package. Bug #424757 has already been 
reported, but no answers yet.

I'll now try to compile from source and try to fix the package. See what 
happens.

-- 
Best Regards, Jack
Linux User #264449
Powered by Debian GNU/Linux on AMD64


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



Re: Grub2: How safe is it?

2007-05-17 Thread Sven Luther
On Thu, May 17, 2007 at 08:18:59AM +, Jack Malmostoso wrote:
> Hi all,
> 
> I was checking out new packages in the Debian repository and I have 
> noticed that grub2 is now available on ppc.
> I'd be more than interested to try it out, but I don't really want to 
> screw up my system.

Notice that you cannot really screw up the system, since you can easily
enough fix it with a debain-installer cd in rescue mode to re-install
yaboot. Just make sure you have a debian-installer media ready before
you do the try. There is even a resintall yaboot menu option, altough i
never tried it.

> Is there anyone who tried it instead of yaboot? Is it safe to install? 
> Are there any particular precautions, other than read the docs that come 
> with the package?

It used to work two years ago when i tried it on my pegasos, not sure
how it has evolved since then.

Friendly,

Sven Luther


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



Grub2: How safe is it?

2007-05-17 Thread Jack Malmostoso
Hi all,

I was checking out new packages in the Debian repository and I have 
noticed that grub2 is now available on ppc.
I'd be more than interested to try it out, but I don't really want to 
screw up my system.

Is there anyone who tried it instead of yaboot? Is it safe to install? 
Are there any particular precautions, other than read the docs that come 
with the package?

Thanks for any info/howto/link!

-- 
Best Regards, Jack
Linux User #264449
Powered by Debian GNU/Linux on AMD64


-- 
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-11-19 Thread Robert Millan
On Sun, Nov 19, 2006 at 12:57:06PM +0100, Sven Luther wrote:
> 
> 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 ? 

Hi Sven,

powerpc support is not yet added to grub-installer, and I didn't submit the
patch since I was waiting for feedback.

Does grub-install(8) work on powerpc?  If it does, you could try grub-installer
with my patch:  http://aybabtu.com/rmh/powerpc.diff

-- 
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-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: Bug#389873: grub2: FTBFS (ppc64): util/console.c:275: undefined reference to `stdscr'

2006-09-29 Thread Sven Luther
On Thu, Sep 28, 2006 at 10:43:09AM -0300, Otavio Salvador wrote:
> [ Added debian-powerpc@lists.debian.org at Cc header ]
> 
> Andreas Jochens <[EMAIL PROTECTED]> writes:
> 
> 
> > When building 'grub2' on ppc64/unstable, I get the following error:
> >
> > util/console.c:89: undefined reference to `stdscr'
> <...>
> > This occurs because util/console.c is compiled with the '-m32' switch
> > and the linker does not find a corresponding 32-bit-powerpc libncurses 
> > library on ppc64.
> 
> IIRC, bootloading on ppc64 needs to be done at 32bits space. 
> 
> Can someone confirm it?

Yes, as with yaboot, powerpc bootloaders need to be compiled in 32bit.

Andreas, you need to reverse the libarch thingy, and build the needed
libraries in 32bit mode and provide lib32 or whatever pakcages for those apps
needing 32bit.

Friendly,

Sven Luther


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



Re: Bug#389873: grub2: FTBFS (ppc64): util/console.c:275: undefined reference to `stdscr'

2006-09-28 Thread Robert Millan
On Thu, Sep 28, 2006 at 12:00:48PM -0300, Otavio Salvador wrote:
> Robert Millan <[EMAIL PROTECTED]> writes:
> 
> > [ Please don't use -quiet.  I didn't see your reply and had to copy it from 
> > BTS ]
> 
> Ok, sorry!

Np ;)

> >> IIRC, bootloading on ppc64 needs to be done at 32bits space. 
> >> 
> >> Can someone confirm it?
> >
> > Yes, it needs to be 32-bit.  But the part that links with ncurses is 
> > grub-emu
> > which is a host tool.
> 
> humm... to allow it we would like to change the code to allow
> different parts of compilation use different flags. I hadn't check if
> the code already allow it but would be better to stay in a single mode
> (32 or 64) to keep simple.

The upstream code already does that (host_m32 is for the host components, and
target_m32 for the bootloader itself).  It's clear we need target_m32, but for
host_m32 we don't know what works and what doesn't, so we can only stick to
what upstream decided for us.

Our problem, however, is not really to decide wether to use 32 or 64 bit for the
host part, but to add biarch build-dependencies in case 32-bit is going to be
used.

To summarise:

  - To change host_m32 variable please check if that works and get in touch with
upstream (grub-devel@gnu.org).

  - In case host_m32 is going to be set, we (debian) need to add the appropiate
biarch build-dependencies, but we still need someone to confirm these work
at least to get the thing building.

-- 
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: Bug#389873: grub2: FTBFS (ppc64): util/console.c:275: undefined reference to `stdscr'

2006-09-28 Thread Otavio Salvador
Robert Millan <[EMAIL PROTECTED]> writes:

> [ Please don't use -quiet.  I didn't see your reply and had to copy it from 
> BTS ]

Ok, sorry!

>> IIRC, bootloading on ppc64 needs to be done at 32bits space. 
>> 
>> Can someone confirm it?
>
> Yes, it needs to be 32-bit.  But the part that links with ncurses is grub-emu
> which is a host tool.

humm... to allow it we would like to change the code to allow
different parts of compilation use different flags. I hadn't check if
the code already allow it but would be better to stay in a single mode
(32 or 64) to keep simple.

-- 
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: Bug#389873: grub2: FTBFS (ppc64): util/console.c:275: undefined reference to `stdscr'

2006-09-28 Thread Robert Millan

[ Please don't use -quiet.  I didn't see your reply and had to copy it from BTS 
]

> IIRC, bootloading on ppc64 needs to be done at 32bits space. 
> 
> Can someone confirm it?

Yes, it needs to be 32-bit.  But the part that links with ncurses is grub-emu
which is a host tool.

-- 
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: Bug#389873: grub2: FTBFS (ppc64): util/console.c:275: undefined reference to `stdscr'

2006-09-28 Thread Otavio Salvador
[ Added debian-powerpc@lists.debian.org at Cc header ]

Andreas Jochens <[EMAIL PROTECTED]> writes:


> When building 'grub2' on ppc64/unstable, I get the following error:
>
> util/console.c:89: undefined reference to `stdscr'
<...>
> This occurs because util/console.c is compiled with the '-m32' switch
> and the linker does not find a corresponding 32-bit-powerpc libncurses 
> library on ppc64.

IIRC, bootloading on ppc64 needs to be done at 32bits space. 

Can someone confirm it?

-- 
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-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-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-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-21 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-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 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-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 Aurélien GÉRÔME
On Sun, Sep 17, 2006 at 11:16:02AM +0100, Roger Leigh wrote:
> 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.

This is the reproach I have against Grub2 (on PowerPC) when
Sven and I talk about it: it is not enough mature to become
architecture-generic. The last time I dug the code (1 month ago),
I found duplicities which disturbed me. :(

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 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 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 Aurélien GÉRÔME
On Sun, Sep 17, 2006 at 11:19:10AM +0100, Roger Leigh wrote:
> 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.

Not necessarily, Suse has a patch for Yaboot to circumvent this issue
of partitions which I need to adapt a bit to work with ofpathname
for Debian. :)

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 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 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.


pgp0CWHWD27BY.pgp
Description: PGP signature


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.


pgpMf9a0RJOzf.pgp
Description: PGP signature


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 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 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?

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

> I don't know yaboot but I do know grub.  I'll be going to see the vendor
> in a couple of weeks.  I see that grub2 is in testing but no sign of
> grub-disk yet.  Is anyone running grub2 who could make me a grub2 floppy
> disk?  I don't need a boot menu, just a grub command line.  Such a disk
> image could then be emailed to me at [EMAIL PROTECTED]

grub2 is still somewhat experimental, so it probably won't work for
you at present.  If you want to use it, I would suggest building from
CVS to create a custom [of]grub, and then boot that from OpenFirmware
by hand.

I can't make you such an image, because I've never seen a powerpc
system with a floppy drive, so creating a bootable one is likely to
fail.

Until grub2 is stable, I would suggest using yaboot.


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.


pgpnV0GJsco8z.pgp
Description: PGP signature


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.


pgpadFMIEjW1l.pgp
Description: PGP signature


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 Fábio Rabelo

Sven Luther escreveu:

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.
  
For some time I have a Beige G3 in my hands, tell me where to find this 
/iso when it is available ...


Fábio Rabelo


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



Re: grub2 on powerpc

2006-09-07 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 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-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]



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 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 Derek
Does it work on old world macs?On 9/7/06, Rick Thomas <[EMAIL PROTECTED]> wrote:
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 testit 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 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 Jack Malmostoso
On Thu, 07 Sep 2006 18:40:08 +0200, Robert Millan wrote:

> 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?

I'd be willing to: is there a way to use it not by reinstalling? Can you
provide a pointer?

-- 
Best Regards, Jack
Linux User #264449
Powered by Debian GNU/Linux on AMD64


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



grub2 on powerpc

2006-09-07 Thread Robert Millan

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

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.

Remember to force local grub-installer in netboot:

echo grub-installer > installer/build/pkg-lists/local

Index: packages/arch/i386/grub-installer/debian/control
===
--- packages/arch/i386/grub-installer/debian/control(revision 40466)
+++ packages/arch/i386/grub-installer/debian/control(working copy)
@@ -7,7 +7,7 @@
 Standards-Version: 3.6.1
 
 Package: grub-installer
-Architecture: i386 hurd-i386 amd64 kfreebsd-i386 kfreebsd-amd64
+Architecture: any-i386 any-amd64 any-powerpc
 Provides: bootable-system
 Depends: cdebconf-udeb, kernel-installer, created-fstab, di-utils (>= 1.15), 
di-utils-mapdevfs, os-prober, ${dmidecode}
 XB-Installer-Menu-Item: 73
Index: packages/arch/i386/grub-installer/debian/isinstallable
===
--- packages/arch/i386/grub-installer/debian/isinstallable  (revision 40466)
+++ packages/arch/i386/grub-installer/debian/isinstallable  (working copy)
@@ -13,10 +13,13 @@
mount | grep "on /target${1%/} " | cut -d' ' -f5
 }
 
+bootfstype=$(findfstype /boot)
+[ -n "$bootfstype" ] || bootfstype="$(findfstype /)"
+
 ARCH="$(archdetect)"
 
 case $ARCH in
-i386/*)
+i386/*|amd64/*)
MANUFACTURER="$(dmidecode -s system-manufacturer)"
case $MANUFACTURER in
Apple*)
@@ -27,6 +30,12 @@
;;
esac
 ;;
+*)
+   if [ "$bootfstype" = "reiserfs" ]; then
+   log "grub legacy doesn't support $ARCH, and grub2 doesn't (yet) 
support reiserfs"
+   exit 1
+   fi
+;;
 esac
 
 bootfs=$(findfs /boot)
@@ -44,9 +53,6 @@
exit 1
 fi
 
-bootfstype=$(findfstype /boot)
-[ -n "$bootfstype" ] || bootfstype="$(findfstype /)"
-
 if [ "$bootfstype" = "xfs" ]; then
log "/boot on xfs, unsafe to install grub"
# Check this first to allow for preseeding forcing grub to xfs.
Index: packages/arch/i386/grub-installer/debian/grub-installer.templates
===
--- packages/arch/i386/grub-installer/debian/grub-installer.templates   
(revision 40466)
+++ packages/arch/i386/grub-installer/debian/grub-installer.templates   
(working copy)
@@ -100,6 +100,17 @@
  becomes unbootable. You're advised not to try this in production
  environments.
 
+Template: grub-installer/grub2_only
+Type: boolean
+Default: false
+# This is suitable for testing grub2 only. Do not translate it!
+Description: Install GRUB 2 as your bootloader?
+ GRUB 2 is the next generation of GNU GRUB. It has interesting new features but
+ is still experimental software. If you choose to install it, you should be
+ prepared for breakage, and have an idea on how to recover your system if it
+ becomes unbootable. You're advised not to try this in production
+ environments.
+
 Template: grub-installer/progress/title
 Type: text
 _Description: Installing GRUB boot loader
Index: packages/arch/i386/grub-installer/grub-installer
===
--- packages/arch/i386/grub-installer/grub-installer(revision 40466)
+++ packages/arch/i386/grub-installer/grub-installer(working copy)
@@ -189,21 +189,41 @@
 bootfstype=$(findfstype /boot)
 [ -n "$bootfstype" ] || bootfstype="$(findfstype /)"
 
-# GRUB Legacy defaults
-grub_version="grub"
-menu_file="menu.lst"
+ARCH="$(archdetect)"
 
-# reiserfs is the only filesystem that d-i supports and grub2 doesn't yet
-if [ "$bootfstype" != "reiserfs" ]; then
-  db_input low grub-installer/grub2_instead_of_grub_legacy || [ $? -eq 30 ]
-  db_go || true
-  db_get grub-installer/grub2_instead_of_grub_legacy
-  if [ "$RET" = true ]; then
-grub_version="grub2"
-menu_file="grub.cfg"
-  fi
-fi
+case $ARCH in
+i386/*|amd64/*)
+   # GRUB Legacy defaults
+   grub_version="grub"
+   menu_file="menu.lst"
 
+   # reiserfs is the only filesystem that d-i supports and grub2 doesn't 
yet
+   if [ "$bootfstype" != "reiserfs" ]; then
+ db_input low grub-installer/grub2_instead_of_grub_legacy || [ $? -eq 
30 ]
+ db_go || true
+ db_get grub-installer/grub2_instead

grub2?

2006-08-13 Thread dtutty
Hi list,

My vendor is still having trouble getting the H50 to boot.  

I don't know yaboot but I do know grub.  I'll be going to see the vendor
in a couple of weeks.  I see that grub2 is in testing but no sign of
grub-disk yet.  Is anyone running grub2 who could make me a grub2 floppy
disk?  I don't need a boot menu, just a grub command line.  Such a disk
image could then be emailed to me at [EMAIL PROTECTED]

In this case, what I like about grub is being able to hit tab as I go to
see what grub has found for choices.  That in itself could be of great
diagnostic help.

Thanks,

Doug.


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



Re: GRUB2 adds powerpc support

2004-05-03 Thread Leandro Guimaraens Faria Corsetti Dutra
Em Thu, 29 Apr 2004 21:46:57 +0200, Robert Millan escreveu:

> It was written by Marco Gerards
> in upstream and only reported to work on his computer

Which is a...?


-- 
Leandro Guimarães Faria Corsetti Dutra   +55 (11) 5685 2219
Av Sgto Geraldo Santana, 1100 6/71   +55 (11) 5686 9607
04.674-000  São Paulo, SPBRASIL
http://br.geocities.com./lgcdutra/



grub2: FTBFS on powerpc (was: GRUB2 adds powerpc support)

2004-04-30 Thread Robert Millan
Package: grub2
Severity: serious

On Fri, Apr 30, 2004 at 05:50:49PM +0200, Michel D?nzer wrote:
> 
> It fails to build:
> 
> gcc -Iutil -I./util -I. -Iinclude -I./include -Wall -W
> -DGRUB_DATADIR=\"/usr/share/grub/powerpc-ieee1275\" -g -O2
> -DGRUB_UTIL=1  -c -o grub_emu-util_console.o util/console.c
> util/console.c:21:20: curses.h: No such file or directory

Ough, that's a serious bug.

> Adding a build-dependency on libncurses5-dev | libncurses-dev fixes
> that, but it fails later with some undefined references. Full build log
> available at
> http://people.debian.org/~daenzer/grub2_0.6+20040429-1.1_powerpc.build .

I'm told upstream is aware of this.

Thanks!

-- 
Robert Millan

"[..] but the delight and pride of Aule is in the deed of making, and in the
thing made, and neither in possession nor in his own mastery; wherefore he
gives and hoards not, and is free from care, passing ever on to some new work."

 -- J.R.R.T., Ainulindale (Silmarillion)



Re: GRUB2 adds powerpc support

2004-04-30 Thread Michel Dänzer
On Thu, 2004-04-29 at 21:46, Robert Millan wrote:
> 
> I've just uploaded version 0.6+20040429-1 of grub2 to experimental, which
> adds support for powerpc.
> 
> Note that the code is highly experimental. It was written by Marco Gerards
> in upstream and only reported to work on his computer. Feel free to have
> a look and hack it up.

It fails to build:

gcc -Iutil -I./util -I. -Iinclude -I./include -Wall -W
-DGRUB_DATADIR=\"/usr/share/grub/powerpc-ieee1275\" -g -O2
-DGRUB_UTIL=1  -c -o grub_emu-util_console.o util/console.c
util/console.c:21:20: curses.h: No such file or directory

Adding a build-dependency on libncurses5-dev | libncurses-dev fixes
that, but it fails later with some undefined references. Full build log
available at
http://people.debian.org/~daenzer/grub2_0.6+20040429-1.1_powerpc.build .


-- 
Earthling Michel Dänzer  | Debian (powerpc), X and DRI developer
Libre software enthusiast|   http://svcs.affero.net/rm.php?r=daenzer



GRUB2 adds powerpc support

2004-04-29 Thread Robert Millan

Hi!

I've just uploaded version 0.6+20040429-1 of grub2 to experimental, which
adds support for powerpc.

Note that the code is highly experimental. It was written by Marco Gerards
in upstream and only reported to work on his computer. Feel free to have
a look and hack it up.

-- 
Robert Millan

"[..] but the delight and pride of Aule is in the deed of making, and in the
thing made, and neither in possession nor in his own mastery; wherefore he
gives and hoards not, and is free from care, passing ever on to some new work."

 -- J.R.R.T., Ainulindale (Silmarillion)