Re: ISA Option ROM booting capability

2007-11-19 Thread Bean
Hi, On Nov 19, 2007 11:05 PM, UrJiZ <[EMAIL PROTECTED]> wrote: > I thought that someone might like to test the ROM booting capability, > so I made a tarball of my grub2/romboot directory (stripped all > binaries). The file can be downloaded from > http://88.193.31.35:8080/urjaman/romboot.tar.gz (o

Re: [PATCH] Fix eisa_mmap evaluation, add memory existence check

2007-11-19 Thread Christian Franke
Robert Millan wrote: On Tue, Oct 23, 2007 at 09:06:16PM +0200, Christian Franke wrote: +/* Check memory address */ +static int +addr_is_valid (grub_addr_t addr) +{ + volatile unsigned char * p = (volatile unsigned char *)addr; + unsigned char x, y; + x = *p; + *p = x ^ 0xcf; + y = *p; +

Re: Building GRUB on platforms without ELF support

2007-11-19 Thread Christian Franke
Marco Gerards wrote: Robert Millan <[EMAIL PROTECTED]> writes: On Fri, Nov 16, 2007 at 11:58:14PM +0100, Christian Franke wrote: ... For specific conversions, fixing this in objcopy itself is easy. But there is not much chance that such pragmatic patches will be accepted upstream. (

[PATCH] Load ELF module with bad pc-relative relocation info

2007-11-19 Thread Christian Franke
This patch allows to load modules with bad pc-relative relocation info produced by "objcopy -I pe-i386 -O elf32-i386" (See also thread "Building GRUB on platforms without ELF support") Christian 2007-11-19 Christian Franke <[EMAIL PROTECTED]> * kern/i386/dl.c [__CYGWIN__] (fix_pc_re

[bug] include/grub/efi/efi.h (grub_efi_guid): aligned(8) ?

2007-11-19 Thread Alexandre Boeglin
Hello, It seems that currently, the grub_efi_guid structure is aligned on a 8 byte boundary (since the first revision of that file). >From tests I did, it seems that building a device path with a node containing a guid, and feeding this device path to the efi boot_services->load_image function wi

RE: Help in grub config

2007-11-19 Thread Gregg C Levine
Hello! Are you aware, sir, that the grub configuration you've posted is more for the original one? This is what we are currently calling Grub-Legacy. It is supported, more discussed, then really supported, on the originally titled list bug-grub also found where you've found us. Can you obviously c

Re: serial port

2007-11-19 Thread Vesa Jääskeläinen
Daryl Van Humbeck wrote: > If you wanted to enable both serial and graphical terminals (or any > other kind(s) of terminals, just that there are more than one enabled at > once), you'd really have to switch to using the Model/View/Controller > architecture for user interaction. That has been the p

Help in grub config

2007-11-19 Thread João Guilherme Sauer
Hi Guys, I would like to changemy grub to enter only when I press the F12 button. If this key is not pressed, the grub will enter in the linux. So, here is my menu.lst: ** default=0 timeout=5 splashimage=(hd0,2)/boot/grub/splash.xpm.gz title Red Hat

ISA Option ROM booting capability

2007-11-19 Thread UrJiZ
I thought that someone might like to test the ROM booting capability, so I made a tarball of my grub2/romboot directory (stripped all binaries). The file can be downloaded from http://88.193.31.35:8080/urjaman/romboot.tar.gz (or if that server is down then http://rapidshare.com/files/70800517/rombo

[PATCH] Misc bug fix for grub2

2007-11-19 Thread Bean
Hi, These small patches have been in my hd for quite some time, just post it together. 1, echo.mod missing in pkgdata_MODULES 2, Check for undefined variable, for example, if AA is not defined, echo $AA will output garbage, after this patch, echo $AA will output empty string. 3, Properly reset

Re: Transparent decompression with file system filter

2007-11-19 Thread Bean
Hi, On Nov 19, 2007 4:02 PM, Bean <[EMAIL PROTECTED]> wrote: > btw, the current cvs code seems to have problem, i can't access > partition from hd! but i'm able to test this feature using (host) in > grub-emu. Ok, i figure it out now, i need to add the biosdisk module to core.img, then it can acc

Re: Transparent decompression with file system filter

2007-11-19 Thread Bean
Hi, I've just written a patch for this feature. In order to enable gzip support, you just need to load the gzio module, then grub_file_open will handle gz file just like they're not compressed. If you don't want auto decompression, use grub_file_open_raw instead of grub_file_open. You can also dis