[PATCH] GDB Macros to ease debugging modules

2008-05-06 Thread Lubomir Rintel
Hi, So these files are meant to be in conjunction with either QEMU or GDB. They provide macros that will help mapping symbol files to appropriate addresses. The grub.gdb file contains inline documentation, I plan on either updating wiki documentation [1] or texinfo documentation in case anyone's a

Re: TPM support with SATA drives

2008-05-06 Thread Robert Millan
On Sat, Apr 26, 2008 at 10:58:14PM -0400, Chris Knadle wrote: > >I think you're right about TPM, Robert. :-/ > >I recently acquired a laptop that came with a TPM chip; thankfully I was > aware of what TPM was indended to be used for and had read warnings on the > matter from privacy ad

Re: [PATCH] Remote GDB debugging stub (for i386)

2008-05-06 Thread Robert Millan
On Thu, May 01, 2008 at 03:12:25PM +0200, Lubomir Rintel wrote: > --- grub2/gdb/cstub.c 1970-01-01 01:00:00.0 +0100 > +++ grub2-gdb/gdb/cstub.c 2008-05-01 10:57:57.0 +0200 > @@ -0,0 +1,362 @@ > +/* cstub.c - machine independent portion of remote GDB stub */ > +/* > + * Copyrigh

Re: ata.c and sata disks

2008-05-06 Thread Robert Millan
On Sat, May 03, 2008 at 06:59:54PM -0400, Pavel Roskin wrote: > On Sat, 2008-05-03 at 19:35 +0200, Marco Vega Trucillo wrote: > > Hi to all, > > > > I tried to modify ata.c simply add more ioaddress (I attach the diff file > > from 1.96 version), and it work and recognize > > my four sata disk on

Re: Question about menu.lst

2008-05-06 Thread Robert Millan
On Sun, May 04, 2008 at 02:42:00PM +0200, Lubomir Rintel wrote: > Actually, you might want to use UUID or LABEL of the file system instead > of device file name. > > You can get or set UUID or label with tune2fs like this: > > # tune2fs -l /dev/sda1(get information) > # tune2fs -L

Re: [PATCH] GDB Macros to ease debugging modules

2008-05-06 Thread Robert Millan
On Tue, May 06, 2008 at 01:10:17PM +0200, Lubomir Rintel wrote: > +# GRUB -- GRand Unified Bootloader > +# Copyright (C) 2003,2004,2005,2006,2007,2008 Free Software Foundation, Inc. Where does this code originate? I don't recall seeing any perl in GRUB before. GDB maybe? -- Robert Millan

retiring device.map

2008-05-06 Thread Robert Millan
On Mon, Apr 21, 2008 at 06:31:06AM -0400, Pavel Roskin wrote: > > I would explore the possibility of retiring device.map completely or > limiting its use to some rare cases. > > In the vast majority of cases, the installer should not rely on knowing > the BIOS numbers of the devices involved in t

Re: Please support installation on Xen virtual block devices

2008-05-06 Thread Ian Campbell
Any comments on this patch? Cheers, Ian. On Thu, 2008-04-24 at 20:28 +0100, Ian Campbell wrote: > I filed this patch against the Debian grub2 package and the maintainer > asked me to bring it to [EMAIL PROTECTED] Took me an age but here I > am ;-) [resending now I'm subscribed]. > > Back then I

Re: retiring device.map

2008-05-06 Thread Pavel Roskin
On Tue, 2008-05-06 at 17:18 +0200, Robert Millan wrote: > I completely agree. How do we go about this? First of all we need support > for labels, right? We have it already in the "search" command. Of course, there is always room for improvement. GRUB doesn't recognize Linux swap labels. It c

[PATCH] Workaround for the keyboard hang problem in intel mac

2008-05-06 Thread Bean
Hi, This patch fix the keyboard hang problem when using boot camp to load legacy system. diff --git a/kern/i386/pc/startup.S b/kern/i386/pc/startup.S index 5d4bbcb..455233a 100644 --- a/kern/i386/pc/startup.S +++ b/kern/i386/pc/startup.S @@ -1240,6 +1240,19 @@ FUNCTION(grub_console_getkey)

Re: [PATCH] Remote GDB debugging stub (for i386)

2008-05-06 Thread Vesa Jääskeläinen
Robert Millan wrote: /* The size of the first region which won't be compressed. */ -#define GRUB_KERNEL_MACHINE_RAW_SIZE 0x4A0 +#define GRUB_KERNEL_MACHINE_RAW_SIZE 0x4BC What caused this? Any way we can have this dynamically calculated? More code before compression

Re: Question about menu.lst

2008-05-06 Thread Vesa Jääskeläinen
Robert Millan wrote: On Sun, May 04, 2008 at 02:42:00PM +0200, Lubomir Rintel wrote: Actually, you might want to use UUID or LABEL of the file system instead of device file name. You can get or set UUID or label with tune2fs like this: # tune2fs -l /dev/sda1 (get information) # tune2f

Re: ata.c and sata disks

2008-05-06 Thread Vega
On Tue, 6 May 2008 17:05:53 +0200, Robert Millan <[EMAIL PROTECTED]> wrote: > Marco Gerards sent a patch to add PCI support to ata.c, but it had some bugs that nobody has looked into yet. Just few hors ago I've made a patch that probes pci bus for ide/ada devices (I've calles the iterate functio

Re: PCI+ATA

2008-05-06 Thread Vega
I've realised a similar patch there are some difference: Marco Gerards check if this class and subclass ID matches that of a PCI IDE Controller. I instead check only class so I recognize even my sata disk that have the same class of PCI IDE Controller but different subclass (for example 0x04 and

Re: ata.c and sata disks

2008-05-06 Thread Vega
On Tue, 06 May 2008 21:57:37 +0200, Marco "Vega" Trucillo <[EMAIL PROTECTED]> wrote: > On Tue, 6 May 2008 17:05:53 +0200, Robert Millan <[EMAIL PROTECTED]> wrote: > >> Marco Gerards sent a patch to add PCI support to ata.c, but it had some > bugs that nobody has looked into yet. > I looked on G

Re: Please support installation on Xen virtual block devices

2008-05-06 Thread Pavel Roskin
On Tue, 2008-05-06 at 16:29 +0100, Ian Campbell wrote: > Any comments on this patch? It's basically OK, bug please provide the GNU style ChangeLog entry. The second part of the patch doesn't need preprocessor conditionals because it's already compiled for Linux only. Please use tabs for indentati

grub2 and efi-1.x

2008-05-06 Thread Peter Weber
Hello, I've installed Gentoo-Linux x86_64 with ELILO-3.8 on my MacBook, but ELILO is not able to load my Linux because ELILO's 64bit-Support is only designed for UEFI-Systems (EFI-2.x). Apple uses only EFI-1.x on their hardware :-( I want use x86_64 with EFI, so here is the big question: Does GRUB