Re: grub cvs ... configfile

2006-04-19 Thread Yoshinori K. Okuji
On Thursday 20 April 2006 04:53, Hollis Blanchard wrote: > Offering multiple commands that do the same thing is not a good design > philosphy, and from the other comments on this subject I know I'm not > alone in that belief. No offense, but I don't think one developer > liking it is a good enough

Problems with GRUB2 on PPC (Modified by Hollis Blanchard)

2006-04-19 Thread Jordi Mallach
[Forwarded from a non-subscriber...] Hey! So by request of Hollis and Marco I'm writing this report. I just switched to GRUB 2 on my PowerPC, and encountered two problems. Hardware: Apple PowerBook G4 15" 750Mhz, purchased on January 2005. OS: Debian unstable and Ubuntu dapper installed. 1st

Re: grub cvs ... configfile

2006-04-19 Thread Hollis Blanchard
On Apr 19, 2006, at 9:36 PM, Yoshinori K. Okuji wrote: On Wednesday 19 April 2006 18:35, Marco Gerards wrote: Hollis Blanchard <[EMAIL PROTECTED]> writes: I think the menuentry were much better and more descriptive. I don't think there is a need to have both and it only confuses people. So I w

Re: compiling GRUB 1.93 on OpenBSD

2006-04-19 Thread Yoshinori K. Okuji
On Wednesday 19 April 2006 22:00, Marcos Latas wrote: > checking for objcopy... objcopy > checking whether objcopy works for absolute addresses... no > configure: error: GRUB requires a working absolute objcopy; upgrade your > binutils > > > The file INSTALL mentions that GRUB requires GNU binutils

Re: grub cvs ... configfile

2006-04-19 Thread Yoshinori K. Okuji
On Wednesday 19 April 2006 18:35, Marco Gerards wrote: > Hollis Blanchard <[EMAIL PROTECTED]> writes: > >> I think the menuentry were much better and more descriptive. I don't > >> think there is a need to have both and it only confuses people. So I > >> would propose to remove @-version. > > > > I

Re: 1) too big kernel on 1.92. 2) unrecognized: %lex-param.

2006-04-19 Thread Yoshinori K. Okuji
On Thursday 20 April 2006 02:50, Jeff Chua wrote: > > On Wed, 19 Apr 2006, Yoshinori K. Okuji wrote: > >> Can you debug it yourself a bit? I cannot afford buying so much memory. > >> ;) > > > > error: tog big kernel (0x187a58 > 0xa7825100) > > Wait a second, it's obviously wrong, huh? > > Thanks fo

Re: 1) too big kernel on 1.92. 2) unrecognized: %lex-param.

2006-04-19 Thread Jeff Chua
On Wed, 19 Apr 2006, Yoshinori K. Okuji wrote: Can you debug it yourself a bit? I cannot afford buying so much memory. ;) error: tog big kernel (0x187a58 > 0xa7825100) Wait a second, it's obviously wrong, huh? Thanks for pointing this out. 0xa7825100 has a leading "1", so needs to cast as

Re: 1) too big kernel on 1.92. 2) unrecognized: %lex-param.

2006-04-19 Thread Jeff Chua
On Wed, 19 Apr 2006, Yoshinori K. Okuji wrote: Can you debug it yourself a bit? I cannot afford buying so much memory. ;) It says ... error: tog big kernel (0x187a58 > 0xa7825100) I would like to help debug further, but don't really know how or where to start ... Again, the same kernel wo

Re: compiling GRUB 1.93 on OpenBSD

2006-04-19 Thread Marcos Latas
Christian Laursen wrote: Marcos Latas <[EMAIL PROTECTED]> writes: I have been trying to compile GRUB 1.93 on an OpenBSD machine to create a port for it. When I run ./configure the following message appears: ... checking for __lzo_init_v2 in -llzo2... no checking for __lzo_init_v2 in -llzo...

Re: compiling GRUB 1.93 on OpenBSD

2006-04-19 Thread Christian Laursen
Marcos Latas <[EMAIL PROTECTED]> writes: > I have been trying to compile GRUB 1.93 on an OpenBSD machine to > create a port for it. > > When I run ./configure the following message appears: > > ... > checking for __lzo_init_v2 in -llzo2... no > checking for __lzo_init_v2 in -llzo... no > checking

compiling GRUB 1.93 on OpenBSD

2006-04-19 Thread Marcos Latas
I have been trying to compile GRUB 1.93 on an OpenBSD machine to create a port for it. When I run ./configure the following message appears: ... checking for __lzo_init_v2 in -llzo2... no checking for __lzo_init_v2 in -llzo... no checking for __lzo_init2 in -llzo... no configure: error: LZO libr

Re: [patch] Distribute grub-install.in for powerpc

2006-04-19 Thread Marco Gerards
Roger Leigh <[EMAIL PROTECTED]> writes: > Roger Leigh <[EMAIL PROTECTED]> writes: > >> The attached patch distributes grub-install.in for powerpc. > > The same patch plus a changelog entry is attached. Committed, I'm sorry for the delay. -- Marco __

Re: grub cvs ... configfile

2006-04-19 Thread Marco Gerards
Hollis Blanchard <[EMAIL PROTECTED]> writes: >> I think the menuentry were much better and more descriptive. I don't >> think there is a need to have both and it only confuses people. So I >> would propose to remove @-version. > > I agree. The "@" is a very odd syntax. Since "menuentry" works as w

Re: grub cvs ... configfile

2006-04-19 Thread Hollis Blanchard
On Wed, 2006-04-19 at 19:24 +0300, Vesa Jääskeläinen wrote: > Marco Gerards wrote: > > Oh sorry, I forgot to reply on this one. It should all be fixed in > > CVS. Your menu entries should look like this: > > > > @ foo { > > linux ... > > initrd ... > > } > > > > @ bar { > > ... > > ...

Re: grub cvs ... configfile

2006-04-19 Thread Vesa Jääskeläinen
Marco Gerards wrote: > Oh sorry, I forgot to reply on this one. It should all be fixed in > CVS. Your menu entries should look like this: > > @ foo { > linux ... > initrd ... > } > > @ bar { > ... > ... > } Hi, I think the menuentry were much better and more descriptive. I don't think

Re: grub cvs ... configfile

2006-04-19 Thread Marco Gerards
Jeff Chua <[EMAIL PROTECTED]> writes: > On Wed, 19 Apr 2006, Marco Gerards wrote: > >> I think you have to quote the name: >> "Linux Test" > > Ok, quoting works, but these two doesn't ... > > default 2 > timeout 10 Yeah, GRUB is still under development. Things break and features are

initrd command vs menu

2006-04-19 Thread Jeff Chua
Can't boot initrd using "menu", but booting from command line works. @ "testing" { linux /linux/bzc1 root=/dev/ram initrd /linux/ramc1.gz } the above can't boot. Error is ... UDF-fs: No partition found (1) Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-blo

Re: grub cvs ... configfile

2006-04-19 Thread Jeff Chua
On Wed, 19 Apr 2006, Marco Gerards wrote: I think you have to quote the name: "Linux Test" Ok, quoting works, but these two doesn't ... default 2 timeout 10 works under grub-1.92. Thanks, Jeff. ___ Grub-devel mailing list Grub

Re: 1) too big kernel on 1.92. 2) unrecognized: %lex-param.

2006-04-19 Thread Jeff Chua
Jeff Chua <[EMAIL PROTECTED]> writes: ./normal/parser.y:54: unrecognized: %lex-param I have bison version 2.0. Bison was bison-1.35, so updated to bison-2.1 and problem went away. Thank you. Jeff. ___ Grub-devel mailing list Grub-devel@gnu.org

Re: grub cvs ... configfile

2006-04-19 Thread Marco Gerards
Jeff Chua <[EMAIL PROTECTED]> writes: > @ Linux Test { > linux /linux/bzc1 root=/dev/ram0 ro \ > network=fixed \ > gateway=192.168.243.1 \ > netaddr=192.168.243.118 \ > broadcast=192.168.243.255 \ > netmask=255.255.255.0 \ > dns=192.16

Re: 1) too big kernel on 1.92. 2) unrecognized: %lex-param.

2006-04-19 Thread Marco Gerards
Jeff Chua <[EMAIL PROTECTED]> writes: > I tried to use the latest CVS, but got the following errors when > compiling ... > > > include/grub/script.h:27:29: grub_script.tab.h: No such file or directory > > bison -d -p grub_script_yy -b grub_script ./normal/parser.y > ./normal/parser.y:54: unrecogni

Re: 1) too big kernel on 1.92. 2) unrecognized: %lex-param.

2006-04-19 Thread Yoshinori K. Okuji
On Wednesday 19 April 2006 13:16, Jeff Chua wrote: > I got this message trying to boot linux using grub2 on a Dell Optiplex > GX620 which has 4GB RAM. The same kernel booted fine on a IBM notebook > using the same grub2 with 2GB RAM. > > version is Grub2 1.92. > > "Too big kernel" > > Why? Can you

Re: grub cvs ... configfile

2006-04-19 Thread Jeff Chua
On Wed, 19 Apr 2006, Marco Gerards wrote: Oh sorry, I forgot to reply on this one. It should all be fixed in CVS. Your menu entries should look like this: @ foo { linux ... initrd ... } got "parse error" with ... @ Linux Test { linux /linux/bzc1 root=/dev/ram0 ro \ netwo

1) too big kernel on 1.92. 2) unrecognized: %lex-param.

2006-04-19 Thread Jeff Chua
I got this message trying to boot linux using grub2 on a Dell Optiplex GX620 which has 4GB RAM. The same kernel booted fine on a IBM notebook using the same grub2 with 2GB RAM. version is Grub2 1.92. "Too big kernel" Why? I tried to use the latest CVS, but got the following errors when co

Re: grub cvs ... configfile

2006-04-19 Thread Marco Gerards
Jeff Chua <[EMAIL PROTECTED]> writes: > On Sun, 2 Apr 2006, Marco Gerards wrote: > >> Jeff Chua <[EMAIL PROTECTED]> writes: >> >>> I just downloaded the lastest grub2 cvs (1.93) and can't seems to get >>> configfile to work... it keeps rebooting. >> >> The syntax of your configuration file is not

Re: grub cvs ... configfile

2006-04-19 Thread Jeff Chua
On Sun, 2 Apr 2006, Marco Gerards wrote: Jeff Chua <[EMAIL PROTECTED]> writes: I just downloaded the lastest grub2 cvs (1.93) and can't seems to get configfile to work... it keeps rebooting. The syntax of your configuration file is not correct. It's a bug that GRUB reboots in this case.

how menu interface code should be

2006-04-19 Thread Yoshinori K. Okuji
Here is my idea about how the menu code should be rewritten. We are planning to have at least two different menu interfaces: one is based on text, and the other is based on graphics. They will have to be a bit separate, because the logic of the view is not the same. It might be possible to use

Re: [ppc patch] fix biarch linking

2006-04-19 Thread Marco Gerards
Hollis Blanchard <[EMAIL PROTECTED]> writes: Hi Hollis, > Could somebody please confirm that x86 still builds and works with > this patch? Thanks. While compiling on my x86-64: rm -f pre-_chain.o gcc -melf_i386 -m32 -Wl,-r,-d -o pre-_chain.o _chain_mod-loader_i386_pc_chainloader.o /usr/bin/ld:

Re: [ppc patch] fix biarch linking

2006-04-19 Thread Yoshinori K. Okuji
On Wednesday 19 April 2006 04:51, Hollis Blanchard wrote: > Could somebody please confirm that x86 still builds and works with this > patch? Thanks. It was necessary to add -nostdlib like you did for ppc. Then it seems fine. Okuji ___ Grub-devel maili