Re: [PATCH] Video mode fixes in linux loader

2009-04-07 Thread phcoder
Does it actually work? I don't see the code which either handles GRUB_LINUX_VID_MODE_ASK or passes it to the kernel. Also it looks like vga= parameter is parsed by grub and grub passes only video mode values as resolution and color depth. Wouldn't it be better to move to a more modern video mod

Re: grub2 and network boot

2009-04-07 Thread Dallas Clement
Unfortunately, my motherboard does not support PXE boot. It's a Via C7 (i686) mini-ITX board. Grub2 was working really great for me, I just need to be able to either TFTP or NFS boot to 1) ease development 2) provide a firmware recovery mechanism Migrating to U-Boot seems like overkill. Do you

Re: grub2 and network boot

2009-04-07 Thread phcoder
Etherboot. Also I applied for a gsoc project for implementing complete TCP/IP in grub2 Dallas Clement wrote: Unfortunately, my motherboard does not support PXE boot. It's a Via C7 (i686) mini-ITX board. Grub2 was working really great for me, I just need to be able to either TFTP or NFS boot to

Re: [PATCH] LUA script engine for grub2

2009-04-07 Thread phcoder
Is it all from scratch? Wau. Very nice job. Unfortunately I don't know any lua but I'll test this as time permits Bean wrote: Hi, This patch integrate the LUA script engine to grub2. Before applying this patch, you should apply the split module patch split_3.diff first. BTW, I forget to add Ma

Re: PowerPC build is broken

2009-04-07 Thread Joseph Jezak
Jordi Mallach wrote: > I've looked here and there, and can't figure out what's missing. Can anyone > help? I strongly suspect this was caused by Bean's huge patch on 2009-03-21, > versions up to 2009-03-14 did build. > > I hope someone can lend a hand here! > > Jordi > I tried with a checkout fr

Re: [PATCH] LUA script engine for grub2

2009-04-07 Thread Vesa Jääskeläinen
Bean wrote: > Hi, > > This patch integrate the LUA script engine to grub2. Before applying > this patch, you should apply the split module patch split_3.diff > first. > > BTW, I forget to add Makefile.in the previous split_3.diff, so that > handler.lst will not be generated, I include it in this

Re: PowerPC build is broken

2009-04-07 Thread Jordi Mallach
On Tue, Apr 07, 2009 at 11:57:19AM -0400, Joseph Jezak wrote: > > I've looked here and there, and can't figure out what's missing. Can anyone > > help? I strongly suspect this was caused by Bean's huge patch on 2009-03-21, > > versions up to 2009-03-14 did build. > I tried with a checkout from toda

Re: [PATCH] LUA script engine for grub2

2009-04-07 Thread Bean
2009/4/8 Vesa Jääskeläinen : > Bean wrote: >> Hi, >> >> This patch integrate the LUA script engine to grub2. Before applying >> this patch, you should apply the split module patch split_3.diff >> first. >> >> BTW, I forget to add Makefile.in the previous split_3.diff, so that >> handler.lst will no

Re: [PATCH]: Fix sparc64's grub_arch_sync_caches()

2009-04-07 Thread David Miller
From: David Miller Date: Wed, 01 Apr 2009 17:14:51 -0700 (PDT) > > 1) Window save was done wrongly, but no matter we don't even >need to allocate a register window for such a simple routine, >there are enough registers available to do this > > 2) 'flush' operates on at least 8 bytes at

Re: [PATCH]: Add R_SPARC_OLO10 relocation support.

2009-04-07 Thread David Miller
From: David Miller Date: Wed, 01 Apr 2009 17:16:08 -0700 (PDT) > 2009-04-01 David S. Miller > > * kern/sparc64/dl.c (grub_arch_dl_relocate_symbols): Add > support for R_SPARC_OLO10 relocations. Fix compile warning for > R_SPARC_WDISP30 case. Ping? ___

Re: [PATCH] Video mode fixes in linux loader

2009-04-07 Thread Pavel Roskin
On Tue, 2009-04-07 at 09:31 +0200, phcoder wrote: > Does it actually work? No. But at least it loads the kernel. > I don't see the code which either handles > GRUB_LINUX_VID_MODE_ASK or passes it to the kernel. We could set params->vid_mode, but the mode setting in the kernel is done in the 1

Re: [PATCH]: Add R_SPARC_OLO10 relocation support.

2009-04-07 Thread Pavel Roskin
On Tue, 2009-04-07 at 14:59 -0700, David Miller wrote: > From: David Miller > Date: Wed, 01 Apr 2009 17:16:08 -0700 (PDT) > > > 2009-04-01 David S. Miller > > > > * kern/sparc64/dl.c (grub_arch_dl_relocate_symbols): Add > > support for R_SPARC_OLO10 relocations. Fix compile warning f

Re: [PATCH]: Add R_SPARC_OLO10 relocation support.

2009-04-07 Thread David Miller
From: Pavel Roskin Date: Tue, 07 Apr 2009 18:06:15 -0400 > On Tue, 2009-04-07 at 14:59 -0700, David Miller wrote: >> From: David Miller >> Date: Wed, 01 Apr 2009 17:16:08 -0700 (PDT) >> >> > 2009-04-01 David S. Miller >> > >> >* kern/sparc64/dl.c (grub_arch_dl_relocate_symbols): Add >>

grub2 can't boot Xen anymore

2009-04-07 Thread Ward Vandewege
Hi there, I'm trying to boot Xen from grub2, and it's failing badly. This is the latest grub2 tree (r2070). I'm using qemu to test. Here's the Xen boot log: __ ___ _ _ \ \/ /___ _ __ |___ / |___ / / | \ // _ \ '_ \|_ \ |_ \ | | / \ __/ | | | ___) | ___)

[PATCH]: grub: Fix ieee1275 call block typing.

2009-04-07 Thread David Miller
This fixes the use of various fundamental types involved in ieee1275 calls. In ieee1275, the array of arguments and return values passed to the ieee1275 call handler is defined as an array of "cells". No ifs, ands, or buts. They are all cells and must be of the size of a cell for a given platfor

[PATCH]: grub: Fix type of 'actual' size arguments to ieee1275 interfaces.

2009-04-07 Thread David Miller
The 'actual' argument to various ieee1275 functions is of type "grub_ssize_t" but several spots were erroneously using "int". This happens to work on powerpc but does not on sparc64. 2009-04-07 David S. Miller * kern/ieee1275/init.c (grub_machine_init): Make 'actual' grub_ssize_t.

Re: grub2 can't boot Xen anymore

2009-04-07 Thread Ward Vandewege
On Tue, Apr 07, 2009 at 06:59:59PM -0400, Ward Vandewege wrote: > I'm trying to boot Xen from grub2, and it's failing badly. This is the latest > grub2 tree (r2070). I'm using qemu to test. Here's the Xen boot log: I just re-built xen 3.3.1 from scratch to make sure I'm not doing something silly.

Re: grub2 can't boot Xen anymore

2009-04-07 Thread Pavel Roskin
Quoting Ward Vandewege : On Tue, Apr 07, 2009 at 06:59:59PM -0400, Ward Vandewege wrote: I'm trying to boot Xen from grub2, and it's failing badly. This is the latest grub2 tree (r2070). Please tell us which revision was working. (XEN) Early fatal page fault at e008:828c801f246b (cr2

Re: grub2 can't boot Xen anymore

2009-04-07 Thread Pavel Roskin
Quoting Pavel Roskin : If so, please replace "linux" with "linux16" and "initrd" with "initrd16" in grub.cfg or in the grub commands you are using to load the kernel and the initrd image (if any). Never mind, sorry. I should have read the whole thread before replying. I don't know anything

GRUB2 - Please add support for 64-bit FreeBSD

2009-04-07 Thread Chip Panarchy
Hello I've been working out, with Djn (another member of the forum) how to install, then subsequently boot to Logical Partitions running FreeBSD. http://forums.freebsd.org/showthread.php?t=3194&page=2 He has so far worked out that he can add FreeBSD 32-bit to the GRUB menu, but he can't seem to