Re: [PATCH] Fix grub-emu curses KEY_* mapping

2007-11-17 Thread Robert Millan
On Sat, Nov 10, 2007 at 04:25:56PM +0100, Marco Gerards wrote: > > > > 2007-11-10 Christian Franke <[EMAIL PROTECTED]> > > > > * util/console.c (grub_ncurses_getkey): Change curses KEY_* mapping, > > now return control chars instead of GRUB_CONSOLE_KEY_* constants. > > This fixes the

Re: [PATCH] Add host open devicename check

2007-11-17 Thread Robert Millan
On Sat, Nov 10, 2007 at 05:04:25PM +0100, Marco Gerards wrote: > > > > 2007-11-10 Christian Franke <[EMAIL PROTECTED]> > > > > * disk/host.c (grub_host_open): Remove attribute unused from > > name parameter. Add check for "host". This fixes the problem > > that grub-emu does not find

Re: [PATCH] Allow build without dirent.d_type, fix "ls (host)" crash

2007-11-17 Thread Robert Millan
On Sat, Nov 10, 2007 at 05:03:48PM +0100, Marco Gerards wrote: > > > > 2007-11-09 Christian Franke <[EMAIL PROTECTED]> > > > > * util/hostfs.c (is_dir): New function. > > (grub_hostfs_dir): Handle missing dirent.d_type case. > > (grub_hostfs_read): Add missing fseek(). > > (grub_

Re: [PATCH] Fix packing issue of machine_mmap_entry

2007-11-17 Thread Robert Millan
On Sat, Nov 10, 2007 at 04:55:45PM +0100, Marco Gerards wrote: > > > > 2007-11-09 Christian Franke <[EMAIL PROTECTED]> > > > > * include/grub/i386/pc/init.h (struct grub_machine_mmap_entry): > > Add attribute packed, gcc 3.4.4 on Cygwin aligns this > > to 64 bit boundary by default. >

Re: Building GRUB on platforms without ELF support

2007-11-17 Thread Robert Millan
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 ELF is necessary. > > In general, GNU objcopy a

Re: Grub-devel Digest, Vol 45, Issue 30

2007-11-17 Thread Robert Millan
On Thu, Nov 15, 2007 at 08:55:54PM +0300, Oleg Strikov wrote: > Hi, > > >Hi, > > >On Nov 14, 2007 4:48 PM, Oleg Strikov <[EMAIL PROTECTED]> wrote: > >> Good day! > >> Ive created my own grub file validation module, but I can only make it by > >> renaming to standart "hello module" :( > >> > >> Wh

Re: [PATCH] Fix for linker build ID in Fedora 8

2007-11-17 Thread Robert Millan
On Wed, Nov 14, 2007 at 02:39:02AM -0500, Pavel Roskin wrote: > Hello! > > [Sorry for not replying earlier. All messages from my gnu.org account > were getting lost. Anyway, I'll need to retire that address due to > massive spam.] > > Here's an alternate patch for the issue that appeared on Fed

Re: New command dump

2007-11-17 Thread Robert Millan
On Wed, Nov 14, 2007 at 02:31:01PM +0800, Bean wrote: > Hi, > > > I think we should commit this soon! Can you please add it to grub-emu > > done. > > > Can you please use another name, this is a not static. Not being > > static is not a problem to me, having access from other modules to > > th

Re: [PATCH] mkdevicemap for Cygwin

2007-11-17 Thread Robert Millan
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? :-) > +#ifndef __CYGWIN__ > static void > get_ide_disk_name (char *name, int unit) > { > @@ -213,6 +217,7 @@ get_ide_di

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

2007-11-17 Thread Robert Millan
On Sun, Nov 11, 2007 at 07:24:52PM +0100, Christian Franke wrote: > > Should the kernel probably check whether a module is build for the same > target? This would avoid interesting behaviour if a foreign module is > accidentally load for some reason. It could e.g. be done by checking a > symbol

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

2007-11-17 Thread Robert Millan
On Sun, Nov 18, 2007 at 07:02:59AM +0100, Robert Millan wrote: > > My idea is to allow grub-mkimage to include an image (at least one) with > arbitrary content, which will later be dumped in memory. Then make sure > the runtime module loader won't attempt to treat it as a module, and find > a way

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

2007-11-17 Thread Robert Millan
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 simple core.img loader (the loading is a memory > copy + setting dl to what t