objcopy fix (for x86_64)

2007-11-18 Thread Robert Millan
This prevents objcopy from copying sections other than .text during the ./configure absolute address test. On i386, our conftest only has .text and .comment (which is skipped), but on x86_64 there's an additional .eh_frame section which isn't skipped unless you tell it to. Just one step further

Re: Outline menu

2007-11-18 Thread Marco Gerards
Markus Elfring <[EMAIL PROTECTED]> writes: >> Personally I first want to focus on getting what we have to work, >> before even thinking about anything else. Ideas are good, but having >> *something* to use is better :-) > > It seems that all relevant design aspects are not clear at the moment. >

Re: Outline menu

2007-11-18 Thread Marco Gerards
Markus Elfring <[EMAIL PROTECTED]> writes: >> I want to make something to generate menu entries from a script. >> Is that what you mean? > > I see two places where common settings could be written. > 1. menu configuration > 2. source code generation script > > Where do you want to place them? Bot

Re: FS: write ability

2007-11-18 Thread Marco Gerards
"Oleg Strikov" <[EMAIL PROTECTED]> writes: > I'm going to code new grub2 mechanism to provide not only read, but write > ability to grub loader. First of all i need such feature for ext2/3 FS, but > i think it'll be great to enlarge it to all supported FS. > If anybody can help with some code or r

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

2007-11-18 Thread Robert Millan
On Sun, Nov 18, 2007 at 12:09:25PM +0100, Marco Gerards wrote: > Robert Millan <[EMAIL PROTECTED]> writes: > > > On Fri, Nov 09, 2007 at 10:53:23PM +0100, Christian Franke wrote: > >> >Ah, and why 0xcf instead of 0xff ? > >> > > >> > > >> > >> ... or 0xaa or 0x55. > > > > 0xaa and 0x55 are typi

Re: GRUB 2 development

2007-11-18 Thread Marco Gerards
"Yoshinori K. Okuji" <[EMAIL PROTECTED]> writes: > On Saturday 10 November 2007 18:53, Marco Gerards wrote: >> The problem currently is that, accidently, we lose track of >> outstanding bugs and patches. It is frustrating to both developers >> and people sending in patches/bugreports. > > Ah, rea

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

2007-11-18 Thread Robert Millan
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; > + *p = x

Re: [PATCH] mkdevicemap for Cygwin

2007-11-18 Thread Marco Gerards
Christian Franke <[EMAIL PROTECTED]> writes: > Some changes for grub-mkdevicemap on Cygwin. > > Christian > > 2007-11-13 Christian Franke <[EMAIL PROTECTED]> > > * util/grub-mkdevicemap.c (get_floppy_disk_name): Add Cygwin > device names. > (get_ide_disk_name): Disable on __CYG

Re: serial port

2007-11-18 Thread Marco Gerards
Robert Millan <[EMAIL PROTECTED]> writes: Hi, > Any reason why the serial port is not enabled in grub_serial_init() ? > > grub> terminal > Available terminal(s): console > Current terminal: console > grub> serial > grub> terminal > Available terminal(s): serial console > Current terminal: serial

Re: Building GRUB on platforms without ELF support

2007-11-18 Thread Marco Gerards
Robert Millan <[EMAIL PROTECTED]> writes: > On Fri, Nov 16, 2007 at 11:58:14PM +0100, Christian Franke wrote: >> Building GRUB modules requires ELF support in gas and ld. For platforms >> where ELF is not the native format, ld may support ELF output. If not >> (like on Cywin) some conversion to

Re: [PATCH] generic ELF version of grub-mkimage

2007-11-18 Thread Marco Gerards
Robert Millan <[EMAIL PROTECTED]> writes: > On Fri, Oct 12, 2007 at 05:55:03PM +0200, Robert Millan wrote: >> >> Ok. But no, I didn't really notice. I'll fix this entry and keep trying to >> get it right next time. > > Does this look good? Yes. -- Marco

Re: Transparent decompression with file system filter

2007-11-18 Thread Marco Gerards
Vesa Jääskeläinen <[EMAIL PROTECTED]> writes: > Bean wrote: >> Hi, >> >>> Are you still interested in working on this? >> >> Yes, if you think this is an useful feature, I can start working on it. >> > > I am just wondering is there need to read compressed files without being > compressed? > >

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

2007-11-18 Thread Marco Gerards
Robert Millan <[EMAIL PROTECTED]> writes: > On Fri, Nov 09, 2007 at 10:53:23PM +0100, Christian Franke wrote: >> >Ah, and why 0xcf instead of 0xff ? >> > >> > >> >> ... or 0xaa or 0x55. > > 0xaa and 0x55 are typicaly used directly in memory because every bit is > negated, which is precisely wha

Re: Improving the website about GRUB 2 development

2007-11-18 Thread Marco Gerards
Robert Millan <[EMAIL PROTECTED]> writes: > On Sat, Nov 10, 2007 at 07:19:34PM +0100, Marco Gerards wrote: >> >> If we put this on a website in a friendly and attractive way, we might >> get more contributions. > > Getting more contributions sounds nice; but can we cope with them? I > think it's

Re: [PATCH] Use getopt_long() instead of argp_parse() in grub-emu

2007-11-18 Thread Marco Gerards
Christian Franke <[EMAIL PROTECTED]> writes: > Marco Gerards wrote: >> Christian Franke <[EMAIL PROTECTED]> writes: >> >> >>> Unlike the other GRUB2 utils, grub-emu uses the glibc extension >>> argp_parse(). It is unavailable on Cygwin, which might also be the >>> case for other platforms where gl

Re: [PATCH] Fixed ieee1275 console

2007-11-18 Thread Marco Gerards
"Marcin Kurek" <[EMAIL PROTECTED]> writes: Hi, >> Can you provide something that makes use of that? > > Hmm, I should have example code somewhere on disk. I will try to find it. :-) >> Will do :-) > > I already send e-mail to fsf today as there was no reply to my previous > e-mail. Great! --

Re: [PATCH] Fixed ieee1275 console

2007-11-18 Thread Marco Gerards
"Marcin Kurek" <[EMAIL PROTECTED]> writes: Hi Marcin, > Finaly I found a few free minutes to look at ofconsole as it never > correctly work for me. There was 3 problems on my Pegasos: :-) > 1) Backspace key not works with USB keyboard. It does with PS/2? Are you sure this fix works on apple f

Re: serial port

2007-11-18 Thread Vesa Jääskeläinen
Robert Millan wrote: > On Sun, Nov 18, 2007 at 12:33:00PM +0100, Marco Gerards wrote: >> Robert Millan <[EMAIL PROTECTED]> writes: >> Perhaps because the serial command sets it up? Although I agree it >> seems a bit weird that it works this way. Perhaps it should be >> enabled with the same defau

Re: serial port

2007-11-18 Thread Robert Millan
On Sun, Nov 18, 2007 at 12:33:00PM +0100, Marco Gerards wrote: > Robert Millan <[EMAIL PROTECTED]> writes: > > Hi, > > > Any reason why the serial port is not enabled in grub_serial_init() ? > > > > grub> terminal > > Available terminal(s): console > > Current terminal: console > > grub> serial >

Re: [PATCH] generic ELF version of grub-mkimage

2007-11-18 Thread Robert Millan
On Sun, Nov 18, 2007 at 12:39:29PM +0100, Marco Gerards wrote: > Robert Millan <[EMAIL PROTECTED]> writes: > > > On Fri, Oct 12, 2007 at 05:55:03PM +0200, Robert Millan wrote: > >> > >> Ok. But no, I didn't really notice. I'll fix this entry and keep trying > >> to > >> get it right next time.

Re: serial port

2007-11-18 Thread Marco Gerards
Robert Millan <[EMAIL PROTECTED]> writes: > On Sun, Nov 18, 2007 at 12:33:00PM +0100, Marco Gerards wrote: >> Robert Millan <[EMAIL PROTECTED]> writes: >> >> Hi, >> >> > Any reason why the serial port is not enabled in grub_serial_init() ? >> > >> > grub> terminal >> > Available terminal(s): con

Re: objcopy fix (for x86_64)

2007-11-18 Thread Marco Gerards
Robert Millan <[EMAIL PROTECTED]> writes: > This prevents objcopy from copying sections other than .text during the > ./configure absolute address test. On i386, our conftest only has .text > and .comment (which is skipped), but on x86_64 there's an additional > .eh_frame section which isn't skip

Re: serial port

2007-11-18 Thread Marco Gerards
Robert Millan <[EMAIL PROTECTED]> writes: > On Sun, Nov 18, 2007 at 02:12:59PM +0200, Vesa Jääskeläinen wrote: >> Robert Millan wrote: >> > On Sun, Nov 18, 2007 at 12:33:00PM +0100, Marco Gerards wrote: >> >> Robert Millan <[EMAIL PROTECTED]> writes: >> >> Perhaps because the serial command sets i

Re: Layout testing for graphical menu

2007-11-18 Thread Marco Gerards
Vesa Jääskeläinen <[EMAIL PROTECTED]> writes: Hi, >>> I was hoping that someone else might stand-up but as there wasn't really >>> interest I made a draft. This is basically using Okuji's idea of using >>> CSS for specifying look. I made HTML page and example CSS filling >>> information. And of c

Re: serial port

2007-11-18 Thread Robert Millan
On Sun, Nov 18, 2007 at 02:12:59PM +0200, Vesa Jääskeläinen wrote: > Robert Millan wrote: > > On Sun, Nov 18, 2007 at 12:33:00PM +0100, Marco Gerards wrote: > >> Robert Millan <[EMAIL PROTECTED]> writes: > >> Perhaps because the serial command sets it up? Although I agree it > >> seems a bit weird

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

2007-11-18 Thread Robert Millan
On Sun, Nov 18, 2007 at 12:27:37PM +0100, 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; > > +

Re: serial port

2007-11-18 Thread Marco Gerards
Vesa Jääskeläinen <[EMAIL PROTECTED]> writes: > Robert Millan wrote: >> On Sun, Nov 18, 2007 at 12:33:00PM +0100, Marco Gerards wrote: >>> Robert Millan <[EMAIL PROTECTED]> writes: >>> Perhaps because the serial command sets it up? Although I agree it >>> seems a bit weird that it works this way.

Re: serial port

2007-11-18 Thread Vesa Jääskeläinen
Marco Gerards wrote: > Vesa Jääskeläinen <[EMAIL PROTECTED]> writes: >> This is the same way it works with gfxterm. You define video mode >> beforehand of the switch. >> >> But there is actually a one architectual issue here... How are we going >> to support graphical terminal and serial terminal a

Re: [PATCH] Fixed ieee1275 console

2007-11-18 Thread Marco Gerards
"Marcin Kurek" <[EMAIL PROTECTED]> writes: Hi, >> I prefer if it can be detected if this is Efika or for example an >> apple implementation of OF and handle these characters depending on >> that. IIRC this code does work on the apple, but unfortunately I >> cannot check this anymore. > > Attache

Re: grub-setup: error: Non-sector-aligned data is found in the core file

2007-11-18 Thread UrJiZ
On Nov 18, 2007 8:02 AM, Robert Millan <[EMAIL PROTECTED]> wrote: > On Sun, Nov 11, 2007 at 02:47:21PM +0200, UrJiZ wrote: > > > > I just had the first success of loading grub from an Option ROM in > > qemu. I modified ROMOS code mostly just removing the disk emulation > > system and making it a si

[PATCH] Make "make dist" create proper tarballs again

2007-11-18 Thread Lubomir Kundrak
I did not attach DISTLIST patch. I believe that file should be removed and added to .cvsignore. -- Lubomir Kundrak (Red Hat Security Response Team) Index: ChangeLog === RCS file: /sources/grub/grub2/ChangeLog,v retrieving revision 1.

Re: grub2 efi patches

2007-11-18 Thread Alexandre Boeglin
Hello, Sorry for not replying earlier, I'm currently busy trying to figure out how to access the Compatibility Support Module, and possibly enable lecagy boot. Le Sat, Nov 10, 2007 at 04:45:43PM +0100, Marco Gerards a écrit : > Alexandre Boeglin <[EMAIL PROTECTED]> writes: > > grub2_efi_grub_pref

Re: [PATCH] Use getopt_long() instead of argp_parse() in grub-emu

2007-11-18 Thread Christian Franke
Marco Gerards wrote: Christian Franke <...> writes: ... Will argp_parse() be a pre-requisite for building GRUB2 or will argp-standalone be included (some other projects do) ? Personally, I would prefer it if it could be used as an external library. The more we include, the mo

Re: [PATCH] mkdevicemap for Cygwin

2007-11-18 Thread Christian Franke
Marco Gerards wrote: Christian Franke <[EMAIL PROTECTED]> writes: Some changes for grub-mkdevicemap on Cygwin. Christian 2007-11-13 Christian Franke <[EMAIL PROTECTED]> * util/grub-mkdevicemap.c (get_floppy_disk_name): Add Cygwin device names. (get_ide_disk_name)

Re: [PATCH] mkdevicemap for Cygwin

2007-11-18 Thread Christian Franke
Robert Millan wrote: On Tue, Nov 13, 2007 at 09:42:26PM +0100, Christian Franke wrote: +#elif defined(__CYGWIN__) + /* Cygwin */ + sprintf (name, "/dev/fd%d", unit); Cygwin has /dev now? :-) At least since 2003. +#ifndef __CYGWIN__ static void get_ide_disk_name (char *nam

Re: [PATCH] Handle C symbols with leading underscore (HAVE_ASM_USCORE)

2007-11-18 Thread Christian Franke
Robert Millan wrote: diff -rup grub2.orig/kern/dl.c grub2/kern/dl.c --- grub2.orig/kern/dl.c2007-07-22 01:32:26.0 +0200 +++ grub2/kern/dl.c 2007-11-11 18:01:50.578125000 +0100 @@ -53,6 +53,12 @@ typedef Elf64_Sym Elf_Sym; #endif +#ifdef HAVE_ASM_USCORE +# define SYM_US

Re: serial port

2007-11-18 Thread Daryl Van Humbeck
Vesa Jääskeläinen wrote: Robert Millan wrote: On Sun, Nov 18, 2007 at 12:33:00PM +0100, Marco Gerards wrote: Robert Millan <[EMAIL PROTECTED]> writes: Perhaps because the serial command sets it up? Although I agree it seems a bit weird that it works this way. Perhaps it should be enab