Re: gettext: print_timeout

2009-12-24 Thread Carles Pina i Estany
Hi, On Dec/24/2009, Robert Millan wrote: > On Sun, Dec 13, 2009 at 01:31:55AM +, Carles Pina i Estany wrote: > > > > If ok I would commit. > > Was this checked in? ISTR having OKed it on IRC, but I don't see it > in ChangeLog. it's already applied but not in the way that I was suggesting

Re: [RFC] Multiboot ammendment: non-VBE video

2009-12-24 Thread Robert Millan
On Tue, Sep 01, 2009 at 05:37:11PM +0200, Vladimir 'phcoder' Serbinenko wrote: > Hello. I'm implementing video part of multiboot specification. > Currently the only defined interface is for providing VBE info. I > propose following way to set fields if video is non VBE: > vbe_control_info=0xfff

Re: boot directory prefix in grub-install (even with --root-directory)

2009-12-24 Thread Robert Millan
On Tue, Dec 22, 2009 at 01:18:42PM +0100, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > Grégoire Sutre wrote: > > Hi, > > > > grub-install copies GRUB images into ${rootdir}/boot/grub (where > > ${rootdir} is empty by default and can be changed with --root-directory). > > > > To install GRUB file

Re: How to install grub on fakeraid (raid 0) which spans 2 TB?

2009-12-24 Thread Robert Millan
On Tue, Dec 22, 2009 at 06:02:08PM +0100, "André Heynatz" wrote: > I wanted to install Linux, then create the data partition with > Win XP SP3 Disk Management Tool. The Linux install failed > because Ubuntu wanted to install GRUB1 which is not part of > the install CD. I wonder that Ubuntu uses GRU

Re: Non-static variables and nested function pointers [bug #28392]

2009-12-24 Thread Robert Millan
On Wed, Dec 23, 2009 at 02:17:06PM -0800, Seth Goldberg wrote: > Hi, > > Your problem is probably lack of executable stack support, or at least > you haven't linked your application with a linker mapfile that specifies > an executable stack -- the callbacks require the use of trampolines to >

Re: boot directory prefix in grub-install (even with --root-directory)

2009-12-24 Thread Robert Millan
On Tue, Dec 22, 2009 at 12:53:46PM +0100, Grégoire Sutre wrote: > The problem arises e.g. with NetBSD which uses /boot for its own > bootloader. The script util/grub-install.in contains lines to take care > of that situation (lines 160-172), but these lines rely on a variable > ${host_os} th

Re: [PATCH] byte-addressable grub_pci_make_address

2009-12-24 Thread Seth Goldberg
What's the basis for these writes, btw? I askesd a while ago but no one seemed to know. Feel free to point me to a chipset datasheet, but right now this code truly a black box :). --S Quoting Robert Millan, who wrote the following on Thu, 24 Dec 2009: On Tue, Dec 22, 2009 at 03:12:09PM

Re: [PATCH] Add support for (pxe[:server_ip[:gateway_ip]]) and export pxe parameteres into grub environment

2009-12-24 Thread Seth Goldberg
+1 :). --S Quoting Robert Millan, who wrote the following on Thu, 24 Dec 2009: Hi, On Sun, Dec 20, 2009 at 08:26:01PM +0100, Vladimir 'φ-coder/phcoder' Serbinenko wrote: --- ChangeLog.pxeenv1970-01-01 00:00:00 + +++ ChangeLog.pxeenv2009-12-20 19:23:11 + @@ -0,0 +1,36 @@

Re: Fix for grub_assert_fail undefined on NetBSD and other platforms

2009-12-24 Thread Robert Millan
On Tue, Dec 22, 2009 at 09:39:07PM +0530, BVK Chaitanya wrote: > Hi > > > Attached is the patch, which removes use of undefined grub_assert_fail > function for catching bad-type-cast errors, with a better version > __attribute__((error("msg"))) gcc extension. With this extension, gcc > can give

Re: [PATCH] byte-addressable grub_pci_make_address

2009-12-24 Thread Robert Millan
On Tue, Dec 22, 2009 at 03:12:09PM +0100, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > === modified file 'commands/efi/loadbios.c' > --- commands/efi/loadbios.c 2009-12-21 22:06:04 + > +++ commands/efi/loadbios.c 2009-12-22 12:03:12 + > @@ -50,7 +50,7 @@ >return 0; > } >

Re: [PATCH] Add support for (pxe[:server_ip[:gateway_ip]]) and export pxe parameteres into grub environment

2009-12-24 Thread Robert Millan
Hi, On Sun, Dec 20, 2009 at 08:26:01PM +0100, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > --- ChangeLog.pxeenv 1970-01-01 00:00:00 + > +++ ChangeLog.pxeenv 2009-12-20 19:23:11 + > @@ -0,0 +1,36 @@ > +2009-12-19 Vladimir Serbinenko > + > + Support for (pxe[:server[:gateway]])

Re: [PATCH] osdetect.lua improvement

2009-12-24 Thread Robert Millan
On Sat, Dec 19, 2009 at 07:03:31PM +0100, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > Bean wrote: > > Hi, > > > > This patch would check for drive number and use drivemap to map disks, > > this is required to boot DOS/Windows from secondary drive. > Committed with exception for Vista (it neith

Re: Understanding GRUB details

2009-12-24 Thread Robert Millan
On Mon, Dec 14, 2009 at 05:28:32PM -0600, Bruce Dubbs wrote: > into memory. The memory location is an absolute physical address of > 0x07C000, which is one 512-byte sector below the 1st 32K memory > boundary. I think, but cannot confirm, that this memory location is for > historical reasons

Re: execution of update-grub in chroots might fail

2009-12-24 Thread Robert Millan
On Mon, Dec 14, 2009 at 11:56:21AM +, Colin Watson wrote: > The simplest fix is to add '&& [ -e /boot/grub/grub.cfg ]' to the test > in memtest86+; Uhm should we make this check part of update-grub? Or even part of grub-mkconfig? > that is, if the configuration file hasn't been generated > a

Re: gettext: print_timeout

2009-12-24 Thread Robert Millan
On Sun, Dec 13, 2009 at 01:31:55AM +, Carles Pina i Estany wrote: > > If ok I would commit. Was this checked in? ISTR having OKed it on IRC, but I don't see it in ChangeLog. > === modified file 'ChangeLog' > --- ChangeLog 2009-12-12 00:43:32 + > +++ ChangeLog 2009-12-13 00:44:09 +

Re: grub_elf32_size()

2009-12-24 Thread Robert Millan
It seems this just didn't belong to relocator branch. Nothing to see here ;-) On Sat, Dec 12, 2009 at 12:20:17AM +0100, Robert Millan wrote: > > Not sure if I missed something obvious, but this commit (relocator branch) > seems to break compilation rather than fix it. Was grub_elf32_size() > n

Re: [PATCH] Backup old boot sectors before installation

2009-12-24 Thread Robert Millan
On Fri, Dec 11, 2009 at 05:26:01PM +0800, Zhu Yi wrote: > Add a feature to backup the old boot sectors before overwritting > them with grub2 boot and core images. Users can later recover the > previous boot sectors with grub-install --recover option. > > P.S. I found this might be a useful feature

Re: [RFC] Dynamic device.map

2009-12-24 Thread Robert Millan
On Thu, Dec 10, 2009 at 08:12:52AM +, Colin Watson wrote: > On Thu, Dec 10, 2009 at 01:55:27AM +0100, Robert Millan wrote: > > On Wed, Dec 09, 2009 at 11:04:43PM +, Colin Watson wrote: > > > I'm trying to figure out how to make Debian's grub-installer operate > > > without a device.map; it

Re: [RFC] Dynamic device.map

2009-12-24 Thread Robert Millan
On Thu, Dec 10, 2009 at 11:12:58AM +0100, Felix Zielcke wrote: > Am Donnerstag, den 10.12.2009, 01:55 +0100 schrieb Robert Millan: > > But first we'd need to figure out what we do with the "set root=xxx" > > backward compatibility hack. Has it been a while long enough that > > we can remove suppor

Re: Broken common.rmk change

2009-12-24 Thread Robert Millan
On Wed, Dec 09, 2009 at 10:45:16PM +0100, Robert Millan wrote: > On Mon, Dec 07, 2009 at 10:23:51PM +0100, Vladimir 'φ-coder/phcoder' > Serbinenko wrote: > > Seth proposed a hinting technique: > > search --fs_uuid ... -s root --hint hd0,1 > > then hd0,1 will be checked first and only on failure it

Re: autogen.sh warnings

2009-12-24 Thread Robert Millan
On Thu, Dec 10, 2009 at 10:20:21AM -0600, Bruce Dubbs wrote: > Felix Zielcke wrote: >> Am Donnerstag, den 10.12.2009, 00:05 -0600 schrieb Bruce Dubbs: >>> On the other hand, config.guess is used to get build_cpu and build_os >>> and I don't see that being used at all right now by grub. >> >> Well

Re: my plan for Multiboot 2

2009-12-24 Thread Robert Millan
On Thu, Dec 10, 2009 at 12:36:24PM +0530, BVK Chaitanya wrote: > I don't have much knowledge in multiboot yet, but this case comes to my mind: > > Since GRUB2 is extensible (using modules), Modules don't really make GRUB extensible. We don't make any promises about ABI and it's very impractical

Re: my plan for Multiboot 2

2009-12-24 Thread Robert Millan
On Sun, Dec 13, 2009 at 11:16:11PM +0100, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > Bogdan wrote: > > Is it just me or does this whole thing on abandoning Multiboot 2 seem like > > a terrible idea? (That's a retorical question since I've already talked to > > several people in the OSDev com

Re: gettext: commands/*

2009-12-24 Thread Robert Millan
On Mon, Dec 21, 2009 at 10:17:22AM -0600, Bruce Dubbs wrote: > Colin Watson wrote: >> On Mon, Dec 21, 2009 at 01:16:04PM +0100, Vladimir 'φ-coder/phcoder' >> Serbinenko wrote: >>> === modified file 'commands/halt.c' >>> --- commands/halt.c 2009-12-03 23:07:29 + >>> +++ commands/halt.c 2009-12-

Re: Grub EFI ia32 in QEMU using TianoCore EFI BIOS

2009-12-24 Thread Robert Millan
On Sun, Dec 20, 2009 at 09:30:31PM +0100, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > Colin Ian King wrote: > > Hi, > > > > I've noticed only just recently that an EFI BIOS has been ported to > > QEMU http://www.qemu.org/efi-bios.tar.bz2 from the TianoCore EFI > > sources. > > > Thi

[PATCH] For loop support to GRUB script

2009-12-24 Thread BVK Chaitanya
Hi, Attached patch adds for-loop support to GRUB script. It is based on r/grub/people/bvk/grub-script branch. Please review it and let me know your comments. Unfortunately, there is a bug in GRUB script string arguments expansion, which is causing grub_script_for1.in test case to fail. I will

Multiboot 0.6.96 released

2009-12-24 Thread Robert Millan
Hi, Version 0.6.96 of the Multiboot specification has been released. Multiboot is a specification document which attempts to unify bootloading across Operating System kernels. Its reference implementation, GNU GRUB, is the most widely deployed free software bootloader, as a consequence of thi

Re: How to install grub on fakeraid (raid 0) which spans 2 TB?

2009-12-24 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Seth Goldberg wrote: > > > Quoting Bruce Dubbs, who wrote the following on Thu, 24 Dec 2009: > >> Seth Goldberg wrote: >>> >>> >>> On Dec 23, 2009, at 9:37 PM, Bruce Dubbs wrote: >>> Seth Goldberg wrote: > While the BIOS call supports 48-bit LBA, the MBR partition table > is limi