Re: Guidance on conflicts between GNU GRUB and proprietary software

2010-09-23 Thread Lennart Sorensen
On Thu, Sep 23, 2010 at 11:19:24PM +0100, Colin Watson wrote: > Hi Richard, > > We've had some (amicable!) disagreements in the GRUB development team > regarding a question of how far we should go out of our way to avoid > conflicts with certain types of mainly proprietary software, and > Vladimir

Re: [PATCH] Uninitialized variable

2010-09-23 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 09/23/2010 06:53 PM, Grégoire Sutre wrote: > Hi, > > This is catched (as a warning) by gcc 4.1.3 -- gcc 4.4 does not > complain (maybe some command-line option is missing?). > > Grégoire > > > 2010-09-23 Grégoire Sutre > > * grub-core/commands/acpihalt.c (get_sleep_type): Initialize prev.

Guidance on conflicts between GNU GRUB and proprietary software

2010-09-23 Thread Colin Watson
Hi Richard, We've had some (amicable!) disagreements in the GRUB development team regarding a question of how far we should go out of our way to avoid conflicts with certain types of mainly proprietary software, and Vladimir Serbinenko, our current maintainer, suggested that I ask you for guidance

Trunk: boot problem - unaligned pointer 0x...

2010-09-23 Thread Aleš Nesrsta
Hi, there is some bug in trunk last versions: I am not able to boot with normal configuration stored in grub.cfg - if I select any item from menu (or wait for timeout for default item), booting is aborted with messages: " Booting 'xyz...' unaligned pointer 0x... Aborted. Press any key to exit.

Re: Booting 64-bit Linux on a Macbook5,2

2010-09-23 Thread Colin Watson
On Thu, Sep 23, 2010 at 12:06:37PM -0400, Patrick Doyle wrote: > On Thu, Sep 23, 2010 at 10:01 AM, Colin Watson wrote: > > On Thu, Sep 23, 2010 at 09:47:44AM -0400, Patrick Doyle wrote: > >> reading around, it seems that some folks have been able to boot with > >> full capabilities (i.e. ACPI and

[PATCH] Trunk: usbtrans.c - wrong max packet size for bulk transfer

2010-09-23 Thread Aleš Nesrsta
Hi, I discovered problem which happens if bulk EP has shorter wMaxPacketSize value than control (zero) EP. There was bug in usbtrans.c, see patch. Another problem happens when bulk EP has wMaxPacketSize <= 16 - in this case transfer error happens because it is not possible to allocate sufficient

Re: Booting 64-bit Linux on a Macbook5,2

2010-09-23 Thread Colin D Bennett
On Thu, 23 Sep 2010 09:47:44 -0400 Patrick Doyle wrote: > Thank you for the reply. I am able to boot either the 32-bit or the > 64-bit kernel via grub when it is installed in /dev/sda3 (my Linux > partition). But I have to set acpi=off (or maxcpus=1) in order to > boot the kernel. I am running

[PATCH] Uninitialized variable

2010-09-23 Thread Grégoire Sutre
Hi, This is catched (as a warning) by gcc 4.1.3 -- gcc 4.4 does not complain (maybe some command-line option is missing?). Grégoire 2010-09-23 Grégoire Sutre * grub-core/commands/acpihalt.c (get_sleep_type): Initialize prev. === modified file 'grub-core/commands/acpihalt.c' --- gr

Portable mktemp invocation?

2010-09-23 Thread Grégoire Sutre
Hi, We use `mktemp' or `mktemp -d' (with no argument) in the shell scripts: - grub-core/genmod.sh.in - tests/util/grub-shell.in - tests/util/grub-shell-tester.in - tests/grub_script_blockarg.in - tests/partmap_test.in - util/powerpc/ieee1275/grub-mkrescue.in But such invocations of mktemp fail

Re: Booting 64-bit Linux on a Macbook5,2

2010-09-23 Thread Patrick Doyle
Thank you again for taking the time to reply and to help me work through this... On Thu, Sep 23, 2010 at 10:01 AM, Colin Watson wrote: > On Thu, Sep 23, 2010 at 09:47:44AM -0400, Patrick Doyle wrote: >> reading around, it seems that some folks have been able to boot with >> full capabilities (i.e

Re: [PATCH] Re-enable grub-extras

2010-09-23 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Go ahead for both trunk and extras On 09/23/2010 03:08 PM, Colin Watson wrote: > On Tue, Sep 21, 2010 at 07:35:30PM +0100, Colin Watson wrote: > >> Here's a patch to re-enable grub-extras by allowing extra modules to >> provide Autogen definitions files. A few things to note: >> > Vladimir

[PATCH] Workaround for usb boot failure on some mainboards

2010-09-23 Thread Thomas Frauendorfer | Miray Software
Hi, On some boards, like the AsRock K7S41GX, Grub fails to boot from superfloppy fat32 formated usb sticks. The reason for the boot failure is that the bios of the mentioned board replaces byte 0x24 of the bpb with the value 0x00 when it's read through the bios function. In fat16 this byt

Re: [PATCH] Re-enable grub-extras

2010-09-23 Thread Colin Watson
On Thu, Sep 23, 2010 at 02:12:53PM +0100, Colin Watson wrote: > On Thu, Sep 23, 2010 at 02:08:20PM +0100, Colin Watson wrote: > > Once again, the required patches to grub-extras modules are attached. > > No, really! Here they are. At Keshav's request, I made sure 'make install' worked properly.

Re: Booting 64-bit Linux on a Macbook5,2

2010-09-23 Thread Colin Watson
On Thu, Sep 23, 2010 at 09:47:44AM -0400, Patrick Doyle wrote: > Thank you for the reply. I am able to boot either the 32-bit or the > 64-bit kernel via grub when it is installed in /dev/sda3 (my Linux > partition). But I have to set acpi=off (or maxcpus=1) in order to > boot the kernel. (This i

Re: Booting 64-bit Linux on a Macbook5,2

2010-09-23 Thread Patrick Doyle
On Thu, Sep 23, 2010 at 6:54 AM, Colin Watson wrote: > On Wed, Sep 22, 2010 at 03:16:24PM -0400, Patrick Doyle wrote: >> I don't know where to turn here.  It seems that every thread I've >> found that describes this ends with "and now it works", but I can't >> seem to get there. >> >> I have insta

Re: [PATCH] Re-enable grub-extras

2010-09-23 Thread Colin Watson
On Thu, Sep 23, 2010 at 02:08:20PM +0100, Colin Watson wrote: > Once again, the required patches to grub-extras modules are attached. No, really! Here they are. -- Colin Watson [cjwat...@ubuntu.com] === added file '.bzrignore' --- .bzrignore 1970-01-01 00:0

Re: [PATCH] Re-enable grub-extras

2010-09-23 Thread Colin Watson
On Tue, Sep 21, 2010 at 07:35:30PM +0100, Colin Watson wrote: > Here's a patch to re-enable grub-extras by allowing extra modules to > provide Autogen definitions files. A few things to note: Vladimir commented on this on IRC, noting three problems. In reverse order of complexity: 1) The GRUB_C

[PATCH] Add missing includes.

2010-09-23 Thread Yves Blusseau
* grub-core/lib/LzmaEnc.c: Likewise. * grub-core/script/lexer.c: Likewise. * grub-core/script/yylex.l: Likewise. * util/grub-macho2img.c: Likewise. * util/grub-menulst2cfg.c: Likewise. * util/grub-mklayout.c: Likewise. * util/grub-mkpasswd-pbkdf2.c * util/grub-mkrelp

[PATCH] Fix getline name clash

2010-09-23 Thread Grégoire Sutre
Hi, On NetBSD 5, the latest trunk does not build: $ ./autogen.sh ; ./configure CFLAGS='-std=gnu99' ; gmake [...] gcc -DHAVE_CONFIG_H -I. -Wall -W -I./include -DGRUB_UTIL=1 -DGRUB_LIBDIR=\"/usr/local/lib/grub\" -DLOCALEDIR=\"/usr/local/share/locale\" -DGRUB_MACHINE_PCBIOS=1 -DGRUB_MACHINE=I3

Re: Booting 64-bit Linux on a Macbook5,2

2010-09-23 Thread Colin Watson
On Wed, Sep 22, 2010 at 03:16:24PM -0400, Patrick Doyle wrote: > I don't know where to turn here. It seems that every thread I've > found that describes this ends with "and now it works", but I can't > seem to get there. > > I have installed 64-bit Ubuntu 10.04 on a Macbook5,2. I would like to >