[PATCH] Refer to kernel of FreeBSD as "kFreeBSD"

2009-10-14 Thread Robert Millan
This fixes some confusing command names. They weren't present in 1.96, so I'd like to stabilize those before 1.97 release. Note: Some string lengths were hardcoded, and they're being replaced with sizeof() statements. I triple-checked them for off-by-one mistakes, but it doesn't hurt if someone

Re: [PATCH] Refer to kernel of FreeBSD as "kFreeBSD"

2009-10-14 Thread Colin Watson
On Wed, Oct 14, 2009 at 02:28:48PM +0200, Robert Millan wrote: > Note: Some string lengths were hardcoded, and they're being replaced with > sizeof() statements. I triple-checked them for off-by-one mistakes, but it > doesn't hurt if someone else reviews it. Please avoid hardcoding constant > str

Re: powerpc/sparc problems

2009-10-14 Thread Robert Millan
On Mon, Oct 12, 2009 at 06:31:12PM +0800, Bean wrote: > On Mon, Oct 12, 2009 at 6:14 PM, David Miller wrote: > > > > Good luck when the compiler changes the interface and/or semantics of > > these routines in a future version. Will you enumerate your in-tree > > copies by gcc version with ifdefs

Re: Handling multiple cores by GRUB

2009-10-14 Thread Robert Millan
On Tue, Oct 13, 2009 at 10:06:59AM +1030, Brendan Trotter wrote: > Hi, > > On Mon, Oct 12, 2009 at 10:51 PM, Swapnil Pimpale > wrote: > > Actually we are doing an academic project in which we need to have two cores > > of Intel Core 2 Duo, running inside the GRUB simultaneously. For that we > > n

grub2pxe give a specific cfg file per host

2009-10-14 Thread Yoann Moulin
Hi, I'm testing grub2pxe and I'd like to know if it's possible to give different configfile (diff that grub.cfg) per host/mac address such as pxelinux does with mac address detection. option-150 was used for that before but seem to not be implemented with grub2 I'd like to do something like into

Re: [PATCH] Refer to kernel of FreeBSD as "kFreeBSD"

2009-10-14 Thread Robert Millan
On Wed, Oct 14, 2009 at 01:43:05PM +0100, Colin Watson wrote: > On Wed, Oct 14, 2009 at 02:28:48PM +0200, Robert Millan wrote: > > Note: Some string lengths were hardcoded, and they're being replaced with > > sizeof() statements. I triple-checked them for off-by-one mistakes, but it > > doesn't hu

Re: grub-dumpbios

2009-10-14 Thread Robert Millan
On Tue, May 05, 2009 at 01:45:31PM +0800, Bean wrote: > On Tue, May 5, 2009 at 4:39 AM, Robert Millan wrote: > > On Tue, May 05, 2009 at 03:57:17AM +0800, Bean wrote: > >> Hi, > >> > >> Perhaps we could incorporate them in grub-update/grub-install, I guess > >> there should be no harm adding two f

Re: grub2pxe give a specific cfg file per host

2009-10-14 Thread Seth Goldberg
Quoting Yoann Moulin, who wrote the following on Wed, 14 Oct 2009: Hi, I'm testing grub2pxe and I'd like to know if it's possible to give different configfile (diff that grub.cfg) per host/mac address such as pxelinux does with mac address detection. option-150 was used for that before but se

Re: grub2pxe give a specific cfg file per host

2009-10-14 Thread Yoann Moulin
>> I'm testing grub2pxe and I'd like to know if it's possible to give >> different configfile (diff that grub.cfg) per host/mac address such as >> pxelinux does with mac address detection. >> option-150 was used for that before but seem to not be implemented with >> grub2 >> >> I'd like to do somet

Patch for export IP addresses from PXE into grub2 enviroment variables

2009-10-14 Thread Aleš Kapica
Could I ask you for apply patch from attachment on pxecmd.c in grub2, please? It's adding an option -s to the command pxe, which do make possible set IP addresses of the server and the client machine, got from PXE, among grub2 enviroment variables. DHCP gives IP according to MAC address, and we

Re: grub2pxe give a specific cfg file per host

2009-10-14 Thread Bean
On Thu, Oct 15, 2009 at 2:05 PM, Yoann Moulin wrote: >>> I'm testing grub2pxe and I'd like to know if it's possible to give >>> different configfile (diff that grub.cfg) per host/mac address such as >>> pxelinux does with mac address detection. >>> option-150 was used for that before but seem to n

Re: Patch for export IP addresses from PXE into grub2 enviroment variables

2009-10-14 Thread Seth Goldberg
Hi, That's actually not sufficient -- we need the entire DHCPACK to be passed (somehow) to the loading kernel. I've discussed this a bit with phcoder, and he suggested adding another member to the multiboot structure off of which we can hang the DHCPACK packet. The environment variables ma