Re: [PATCH][RFC] gdb support in GRUB build system

2008-08-07 Thread Felix Zielcke
Am Dienstag, den 05.08.2008, 23:54 +0200 schrieb Robert Millan: > On Tue, Aug 05, 2008 at 01:50:21PM -0700, Colin D Bennett wrote: > > In that case, should --enable-debug be the default, or --disable-debug? > > I'd prefer to disable debug as default. What do others think? > Have it disabled by d

Re: [PATCH] New command checktime

2008-08-07 Thread Bean
On Thu, Aug 7, 2008 at 3:57 AM, Robert Millan <[EMAIL PROTECTED]> wrote: > On Wed, Aug 06, 2008 at 11:09:44PM +0800, Bean wrote: >> On Wed, Aug 6, 2008 at 7:35 PM, Robert Millan <[EMAIL PROTECTED]> wrote: >> > Can we make this portable by accessing 0x70 / 0x71 I/O ports instead? >> >> Hi, >> >> Goo

Re: [PATCH] fix multiboot/aout, cleanup relocators, etc

2008-08-07 Thread Robert Millan
On Thu, Aug 07, 2008 at 01:27:53AM +0200, Robert Millan wrote: > > Hi, > > It seems when adding the relocators for ELF, I failed to notice both ELF and > a.out loaders share the same grub_multiboot_real_boot function, and hence my > code was trashing %eax. > > Since this functionality is useful

Re: [PATCH] New command checktime

2008-08-07 Thread Robert Millan
On Thu, Aug 07, 2008 at 04:05:04PM +0800, Bean wrote: > * conf/i386-ieee1275.rmk (pkglib_MODULES): Add chktime.mod. > (chktime_mod_SOURCES): New macro. > (chktime_mod_CFLAGS): Likewise. > (chktime_mod_LDFLAGS): Likewise. Uhm I'm not sure those have a PC-compatible CMOS ...

Current SVN is (still ?, again ?) broken

2008-08-07 Thread Felix Zielcke
86/efi -I/home/fz/grub/grub2-1.96+20080807/kern/i386/efi -I. -Iinclude -I/home/fz/grub/grub2-1.96+20080807/include -Wall -W -Wall -W -Wshadow -Wpointer-arith -Wmissing-prototypes -Wundef -Wstrict-prototypes -g -Os -m64 -fno-stack-protector -mno-stack-arg-probe -fno-builtin -m64 -MD -c

Re: [PATCH] New command checktime

2008-08-07 Thread Bean
On Thu, Aug 7, 2008 at 6:21 PM, Robert Millan <[EMAIL PROTECTED]> wrote: > On Thu, Aug 07, 2008 at 04:05:04PM +0800, Bean wrote: >> * conf/i386-ieee1275.rmk (pkglib_MODULES): Add chktime.mod. >> (chktime_mod_SOURCES): New macro. >> (chktime_mod_CFLAGS): Likewise. >> (chktime

Re: Current SVN is (still ?, again ?) broken

2008-08-07 Thread Bean
co' to compile the full suite of debian > packages and this time i386-efi failed: > > cc -Ikern/i386/efi -I/home/fz/grub/grub2-1.96+20080807/kern/i386/efi -I. > -Iinclude -I/home/fz/grub/grub2-1.96+20080807/include -Wall -W -Wall -W > -Wshadow -Wpointer-arith -Wmissing-pro

Re: [PATCH] Drivemap module

2008-08-07 Thread Viswesh S
From: Javier Martín <[EMAIL PROTECTED]> To: The development of GRUB 2 Sent: Wednesday, 6 August, 2008 11:01:19 PM Subject: Re: [PATCH] Drivemap module El mié, 06-08-2008 a las 07:43 -0700, Viswesh S escribió: > Hi, > >  > > Could you let all know how to use your drivemap command.Is it simi

merging i386-efi and x86_64-efi (Re: Current SVN is broken on x86_64)

2008-08-07 Thread Robert Millan
On Mon, Aug 04, 2008 at 08:51:25AM -0400, Pavel Roskin wrote: > On Mon, 2008-08-04 at 11:16 +0200, Robert Millan wrote: > > > Furthermore, I had a look and some of the x86_64 versions are just stubs > > that > > include the i386 one. > > > > Why don't we handle this like Linux? They ship a sing

Re: merging i386-efi and x86_64-efi (Re: Current SVN is broken on x86_64)

2008-08-07 Thread Robert Millan
On Thu, Aug 07, 2008 at 02:21:03PM +0200, Robert Millan wrote: > On Mon, Aug 04, 2008 at 08:51:25AM -0400, Pavel Roskin wrote: > > On Mon, 2008-08-04 at 11:16 +0200, Robert Millan wrote: > > > > > Furthermore, I had a look and some of the x86_64 versions are just stubs > > > that > > > include th

equivalent of cvsignore?

2008-08-07 Thread Robert Millan
Every time I run "svn st" on an unclean dir, I see something like: ? 10_windows ? unicode.pff ? 40_custom ? ascii.pff ? grub-pe2elf and the list keeps growing. Apparently, the CVS migration converted existing .cvsignore to something equivalent in SVN, and this doesn't a

Re: equivalent of cvsignore?

2008-08-07 Thread Felix Zielcke
Am Donnerstag, den 07.08.2008, 14:39 +0200 schrieb Robert Millan: > Every time I run "svn st" on an unclean dir, I see something like: > > ? 10_windows > ? unicode.pff > ? 40_custom > ? ascii.pff > ? grub-pe2elf > > and the list keeps growing. Apparently, the CVS migrati

Re: equivalent of cvsignore?

2008-08-07 Thread Stefan Reinauer
Robert Millan wrote: > Every time I run "svn st" on an unclean dir, I see something like: > > ? 10_windows > ? unicode.pff > ? 40_custom > ? ascii.pff > ? grub-pe2elf > > and the list keeps growing. Apparently, the CVS migration converted existing > .cvsignore to something

Re: [PATCH] grub-mkelfimage

2008-08-07 Thread Robert Millan
On Tue, Aug 05, 2008 at 12:10:49PM +0200, Marco Gerards wrote: > Robert Millan <[EMAIL PROTECTED]> writes: > > > The elf version of grub-mkimage is multiplatform, so it makes no sense to > > keep it as arch-specific in the build system IMHO. > > > > This patch renames it to grub-mkelfimage, and ar

Windows boot

2008-08-07 Thread Viswesh S
Hi, I installed ubuntu in the same harddisk(hda) as windows. After installing ubuntu, using grub legacy, I was able to log in to windows, using the entries, rootnoverify and chainloader +1. But when I install grub2 and then modify the grub.cfg with the following, statements, it is not working, sa

Re: equivalent of cvsignore?

2008-08-07 Thread Robert Millan
On Thu, Aug 07, 2008 at 02:45:42PM +0200, Stefan Reinauer wrote: > You need to do this via the svn property svn:ignore. See > http://svnbook.red-bean.com/nightly/de/svn.advanced.props.html Thanks, this did the trick. For the record, when adding new files the magic is: svn propedit svn:ignore .

[PATCH] Fix infinite loop in grub_pit_wait()

2008-08-07 Thread Christian Franke
grub2 from current SVN hangs if run in VirtualPC, the problem was introduced with 'svn diff -r 1779:1780'. Here is a proposed fix. Christian 2008-08-07 Christian Franke <[EMAIL PROTECTED]> * kern/i386/pit.c (TIMER2_SPEAKER): New define. (TIMER2_GATE): Likewise. (grub

Re: [PATCH][RFC] gdb support in GRUB build system

2008-08-07 Thread Colin D Bennett
On Thu, 07 Aug 2008 09:37:22 +0200 Felix Zielcke <[EMAIL PROTECTED]> wrote: > Am Dienstag, den 05.08.2008, 23:54 +0200 schrieb Robert Millan: > > On Tue, Aug 05, 2008 at 01:50:21PM -0700, Colin D Bennett wrote: > > > In that case, should --enable-debug be the default, or > > > --disable-debug? > >

Re: [PATCH][RFC] gdb support in GRUB build system

2008-08-07 Thread Robert Millan
On Thu, Aug 07, 2008 at 08:50:45AM -0700, Colin D Bennett wrote: > > Having debug symbols in the userland tools could be maybe a bit useful > > for example in the case of the grub-probe segfault I experienced on my > > mdraid experiments. > > True, in that case it makes sense to include debug info

Re: [PATCH] Fix infinite loop in grub_pit_wait()

2008-08-07 Thread Robert Millan
On Thu, Aug 07, 2008 at 05:32:42PM +0200, Christian Franke wrote: > grub2 from current SVN hangs if run in VirtualPC, the problem was > introduced with 'svn diff -r 1779:1780'. I'm not familiar with this part of the PIT interface; why does it hang only on VirtualPC? > void > grub_pit_wait (gr

Re: [PATCH] Fix infinite loop in grub_pit_wait()

2008-08-07 Thread Marco Gerards
Christian Franke <[EMAIL PROTECTED]> writes: > grub2 from current SVN hangs if run in VirtualPC, the problem was > introduced with 'svn diff -r 1779:1780'. > > Here is a proposed fix. > > Christian > > 2008-08-07 Christian Franke <[EMAIL PROTECTED]> > > * kern/i386/pit.c (TIMER2_SPEAKER):

Re: [PATCH][RFC] gdb support in GRUB build system

2008-08-07 Thread Colin D Bennett
On Thu, 7 Aug 2008 18:07:43 +0200 Robert Millan <[EMAIL PROTECTED]> wrote: > On Thu, Aug 07, 2008 at 08:50:45AM -0700, Colin D Bennett wrote: > > > Having debug symbols in the userland tools could be maybe a bit > > > useful for example in the case of the grub-probe segfault I > > > experienced on

Re: [PATCH] New command checktime

2008-08-07 Thread Bean
On Thu, Aug 7, 2008 at 7:19 PM, Bean <[EMAIL PROTECTED]> wrote: > On Thu, Aug 7, 2008 at 6:21 PM, Robert Millan <[EMAIL PROTECTED]> wrote: >> On Thu, Aug 07, 2008 at 04:05:04PM +0800, Bean wrote: >>> * conf/i386-ieee1275.rmk (pkglib_MODULES): Add chktime.mod. >>> (chktime_mod_SOURCES):

Re: [PATCH] New command checktime

2008-08-07 Thread Colin D Bennett
I just have a couple of suggestions: On Fri, 8 Aug 2008 01:52:07 +0800 Bean <[EMAIL PROTECTED]> wrote: > On Thu, Aug 7, 2008 at 7:19 PM, Bean <[EMAIL PROTECTED]> wrote: > 1. date [MMDDhhmm[[CC]YY][.ss]] > > Set/Display current datetime, to set date, The format is the same as > the date command,

Re: [PATCH] New command checktime

2008-08-07 Thread Robert Millan
On Fri, Aug 08, 2008 at 01:52:07AM +0800, Bean wrote: > date 10-05-13-15 > Oct 5, 13:15 Nice. Btw this will be real fun for translators when we have gettext support ;-) > + if (n < 0) > +return grub_error (GRUB_ERR_BAD_ARGUMENT, "invalid date"); > + > + switch (pos) > +

Re: [PATCH] New command checktime

2008-08-07 Thread Robert Millan
On Thu, Aug 07, 2008 at 11:17:14AM -0700, Colin D Bennett wrote: > I just have a couple of suggestions: > > On Fri, 8 Aug 2008 01:52:07 +0800 > Bean <[EMAIL PROTECTED]> wrote: > > > On Thu, Aug 7, 2008 at 7:19 PM, Bean <[EMAIL PROTECTED]> wrote: > > 1. date [MMDDhhmm[[CC]YY][.ss]] > > > > Set/D

Re: [PATCH] Fix infinite loop in grub_pit_wait()

2008-08-07 Thread Christian Franke
Robert Millan wrote: On Thu, Aug 07, 2008 at 05:32:42PM +0200, Christian Franke wrote: grub2 from current SVN hangs if run in VirtualPC, the problem was introduced with 'svn diff -r 1779:1780'. I'm not familiar with this part of the PIT interface; why does it hang only on VirtualPC?

Re: [PATCH] Fix infinite loop in grub_pit_wait()

2008-08-07 Thread Christian Franke
Marco Gerards wrote: Christian Franke <[EMAIL PROTECTED]> writes: ... (grub_pit_wait): Add enable/disable of the timer2 gate bit of port 0x61. This fixes a possible infinite loop. Small nitpick: use a double space ... + + /* Disable timer2 gate and speaker. */ + g

[PATCH] Do not mess with libc's prototypes

2008-08-07 Thread lkundrak
According to POSIX memmove and memcpy can actually be macros or whatever (IIRC). We'd better not play with those in code that uses libc's headers and is to be linked with libc. 2008-08-07 Lubomir Rintel <[EMAIL PROTECTED]> * include/grub/misc.h: Surround memmove and memcpy prototypes wi

Re: Windows boot

2008-08-07 Thread Javier Martín
Hi again, 2008/8/7 Viswesh S <[EMAIL PROTECTED]>: > Hi, > > I installed ubuntu in the same harddisk(hda) as windows. > > After installing ubuntu, using grub legacy, I was able to log in to windows, > using the entries, rootnoverify and chainloader +1. > > But when I install grub2 and then modify t

NEWS update

2008-08-07 Thread Marco Gerards
Hi, I have just updated the NEWS file. Can you please look at it to see if I forgot something important? If someone can update DISTLIST, I will be *very* happy :-) -- Marco ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman

Re: NEWS update

2008-08-07 Thread Christian Franke
Marco Gerards wrote: I have just updated the NEWS file. Can you please look at it to see if I forgot something important? Builds & runs out-of-the-box on Cygwin? Christian ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mai

NEWS

2008-08-07 Thread Robert Millan
(sorry to break the thread) The os-prober item isn't accurate; os-prober is an external utility GRUB interacts with. As for AT keyboard, there hasn't been any significant change on it other than new features. In particular it's still not used on i386-pc. -- Robert Millan The DRM opt-in fa

Re: NEWS update

2008-08-07 Thread Marco Gerards
Christian Franke <[EMAIL PROTECTED]> writes: > Marco Gerards wrote: >> I have just updated the NEWS file. Can you please look at it to see >> if I forgot something important? >> >> > Builds & runs out-of-the-box on Cygwin? Good one, can you please add it if you have the time? We can wait for mo

ATA update

2008-08-07 Thread Marco Gerards
Hi, One minute ago I committed a patch to improve ATA support. The new stuff: - It isn't very slow anymore - It even works for Robert ;-) - It works on QEmu - The error handling significantly improved - Added timeouts, so ata.mod does not endlessly wait for nothing - Detected controllers are all

Re: [PATCH] use grub_get_time_ms() instead of grub_get_rtc()

2008-08-07 Thread Robert Millan
Committed. On Wed, Aug 06, 2008 at 01:54:50AM +0200, Robert Millan wrote: > > This replaces usage of grub_get_rtc() with grub_get_time_ms() in a few places > throurough the code. Aside from the gained precision, it also permits that > functionality to work on Coreboot. > > -- > Robert Millan

Re: Windows boot

2008-08-07 Thread Viswesh S
- Original Message From: Javier Martín <[EMAIL PROTECTED]> To: The development of GRUB 2 Sent: Friday, 8 August, 2008 3:56:35 AM Subject: Re: Windows boot Hi again, 2008/8/7 Viswesh S <[EMAIL PROTECTED]>: > Hi, > > I installed ubuntu in the same harddisk(hda) as windows. > > After i

Re: Windows boot

2008-08-07 Thread Bean
On Fri, Aug 8, 2008 at 9:58 AM, Viswesh S <[EMAIL PROTECTED]> wrote: > > > - Original Message > From: Javier Martín <[EMAIL PROTECTED]> > To: The development of GRUB 2 > Sent: Friday, 8 August, 2008 3:56:35 AM > Subject: Re: Windows boot > > Hi again, > > 2008/8/7 Viswesh S <[EMAIL PROTEC

Re: Windows boot

2008-08-07 Thread Viswesh S
- Original Message From: Bean <[EMAIL PROTECTED]> To: The development of GRUB 2 Sent: Friday, 8 August, 2008 9:13:09 AM Subject: Re: Windows boot On Fri, Aug 8, 2008 at 9:58 AM, Viswesh S <[EMAIL PROTECTED]> wrote: > > > - Original Message > From: Javier Martín <[EMAIL PROTE

Re: Windows boot

2008-08-07 Thread Bean
On Fri, Aug 8, 2008 at 2:22 PM, Viswesh S <[EMAIL PROTECTED]> wrote: > > > - Original Message > From: Bean <[EMAIL PROTECTED]> > To: The development of GRUB 2 > Sent: Friday, 8 August, 2008 9:13:09 AM > Subject: Re: Windows boot > > On Fri, Aug 8, 2008 at 9:58 AM, Viswesh S <[EMAIL PROTEC

Re: [PATCH] Do not mess with libc's prototypes

2008-08-07 Thread lkundrak
Due to some more breakage, here's some more patch: According to POSIX memmove and memcpy can actually be macros or whatever (IIRC). We'd better not play with those in code that uses libc's headers and is to be linked with libc. 2008-08-08 Lubomir Rintel <[EMAIL PROTECTED]> * include/gr