Redefining GRUB_MOD_GAP in init.c

2008-01-27 Thread Pavel Roskin
Hi Robert, I'm concerned about your latest commit: * kern/powerpc/ieee1275/init.c (grub_arch_modules_addr): Skip `GRUB_MOD_GAP' for platforms in which it's not defined. The algorithm for calculating the start of the modules should be exactly the same in grub-mkimage and in the co

Re: booting kernel of NetBSD (Re: UFS (FFS) support seems broken in grub2)

2008-01-27 Thread walt
On Mon, 2008-01-28 at 04:25 +0800, Bean wrote: ... > > > please make a small ufs image containing the netbsd kernel, i don't a > > > a bsd system at hand http://leaf.dragonflybsd.org/~wa1ter/ufs.gz I included a small text file (motd) to demonstrate that you can cat it okay, but when you try 'mul

Re: booting kernel of NetBSD (Re: UFS (FFS) support seems broken in grub2)

2008-01-27 Thread Robert Millan
On Sun, Jan 27, 2008 at 12:09:20PM -0800, walt wrote: > > On Sun, 2008-01-27 at 09:53 +0100, Robert Millan wrote: > > > I just committed a check in grub-probe that attempts to read and verify > > files > > using GRUB filesystems and compares them with output from your system. E.g. > > if you do

Re: next release & NEWS file (Re: [PATCH] use at_keyboard.c on i386-ieee1275)

2008-01-27 Thread Robert Millan
On Sun, Jan 27, 2008 at 03:01:15AM -0500, Pavel Roskin wrote: > On Fri, 2008-01-25 at 23:57 +0100, Robert Millan wrote: > > On Fri, Jan 25, 2008 at 10:22:13PM +0100, Yoshinori K. Okuji wrote: > > > > > > So, for the next release, I will make it in next weekend (on the 2nd or > > > the > > > 3rd)

Re: Grub-devel Digest, Vol 47, Issue 110

2008-01-27 Thread Robert Millan
On Sun, Jan 27, 2008 at 12:27:34PM -0800, Dean Loros wrote: > >>2. I've been using Grub-GFXboot--Is Grub2 capable of similar eyecandy yet? > > > >Yes, check gfxterm and the background_image command. Unfortunately not > >quite documented yet. > > > got any tips on the docs? See: http://grub.enbug

Re: [PATCH 3/3] Work around "CLAIM failed" on PowerMac

2008-01-27 Thread Pavel Roskin
On Sun, 2008-01-27 at 11:13 +0100, Robert Millan wrote: > On Sun, Jan 27, 2008 at 04:27:31AM -0500, Pavel Roskin wrote: > > Quoting Robert Millan <[EMAIL PROTECTED]>: > > > > >On Sat, Jan 26, 2008 at 06:28:23PM -0500, Pavel Roskin wrote: > > >>- return ALIGN_UP(_end, GRUB_MOD_ALIGN); > > >>+ re

Re: Grub-devel Digest, Vol 47, Issue 110

2008-01-27 Thread Dean Loros
On Sun, Jan 27, 2008 at 09:44:48AM -0800, Dean Loros wrote: Hi-- I've been following the list (sort-of) for some time now & I have several questions-- 1. Is Grub2 up to the usability of Grub? Mostly (depends a lot on what you want to do with it). just boot Ubuntu--dual 7.10/8.04 2. I'v

Re: booting kernel of NetBSD (Re: UFS (FFS) support seems broken in grub2)

2008-01-27 Thread Bean
On Jan 28, 2008 4:13 AM, walt <[EMAIL PROTECTED]> wrote: > > On Sun, 2008-01-27 at 09:35 +0800, Bean wrote: > > On Jan 27, 2008 5:24 AM, walt <[EMAIL PROTECTED]> wrote: > > > > > > Apparently "something bad" happens to the kernel in the process of > > > reading or loading it from the UFS fs. I can

Re: booting kernel of NetBSD (Re: UFS (FFS) support seems broken in grub2)

2008-01-27 Thread walt
On Sun, 2008-01-27 at 09:35 +0800, Bean wrote: > On Jan 27, 2008 5:24 AM, walt <[EMAIL PROTECTED]> wrote: > > > > Apparently "something bad" happens to the kernel in the process of > > reading or loading it from the UFS fs. I can read small text files > > from a UFS fs, however, so I'm thinking m

Re: [PATCH] a.out kernel loader

2008-01-27 Thread Bean
On Jan 28, 2008 4:06 AM, Robert Millan <[EMAIL PROTECTED]> wrote: > > On Mon, Jan 28, 2008 at 03:55:19AM +0800, Bean wrote: > > On Jan 28, 2008 3:41 AM, Robert Millan <[EMAIL PROTECTED]> wrote: > > > On Mon, Jan 28, 2008 at 02:53:14AM +0800, Bean wrote: > > > > Hi, > > > > > > > > This patch add su

Re: booting kernel of NetBSD (Re: UFS (FFS) support seems broken in grub2)

2008-01-27 Thread walt
On Sun, 2008-01-27 at 09:53 +0100, Robert Millan wrote: > I just committed a check in grub-probe that attempts to read and verify files > using GRUB filesystems and compares them with output from your system. E.g. > if you do: grub-probe -t fs /full/path/to/file it will compare and verify it >

Re: [PATCH] a.out kernel loader

2008-01-27 Thread Robert Millan
On Mon, Jan 28, 2008 at 03:55:19AM +0800, Bean wrote: > On Jan 28, 2008 3:41 AM, Robert Millan <[EMAIL PROTECTED]> wrote: > > On Mon, Jan 28, 2008 at 02:53:14AM +0800, Bean wrote: > > > Hi, > > > > > > This patch add support for a.out kernel, which includes the 4th loader > > > of BSD system. For e

Re: [PATCH] a.out kernel loader

2008-01-27 Thread Bean
On Jan 28, 2008 3:41 AM, Robert Millan <[EMAIL PROTECTED]> wrote: > On Mon, Jan 28, 2008 at 02:53:14AM +0800, Bean wrote: > > Hi, > > > > This patch add support for a.out kernel, which includes the 4th loader > > of BSD system. For example, to start FreeBSD: > > Cool! > > How FreeBSD-specific is th

Re: [PATCH] a.out kernel loader

2008-01-27 Thread Robert Millan
On Mon, Jan 28, 2008 at 02:53:14AM +0800, Bean wrote: > Hi, > > This patch add support for a.out kernel, which includes the 4th loader > of BSD system. For example, to start FreeBSD: Cool! How FreeBSD-specific is this? Will the same module apply to other a.out binaries ? (I ask since you gave

[PATCH] a.out kernel loader

2008-01-27 Thread Bean
Hi, This patch add support for a.out kernel, which includes the 4th loader of BSD system. For example, to start FreeBSD: set root=(hd0,0,a) aout /boot/loader * conf/i386-pc.rmk (pkglib_MODULES): Add aout.mod and _aout.mod. (aout_mod_SOURCES): New variable. (aout_mod_CFLA

Re: What is the current status?

2008-01-27 Thread Robert Millan
On Sun, Jan 27, 2008 at 09:44:48AM -0800, Dean Loros wrote: > Hi-- > > I've been following the list (sort-of) for some time now & I have > several questions-- > > 1. Is Grub2 up to the usability of Grub? Mostly (depends a lot on what you want to do with it). > 2. I've been using Grub-GFXboot--

What is the current status?

2008-01-27 Thread Dean Loros
Hi-- I've been following the list (sort-of) for some time now & I have several questions-- 1. Is Grub2 up to the usability of Grub? 2. I've been using Grub-GFXboot--Is Grub2 capable of similar eyecandy yet? 3. Has UUID been implemented yet? 4. How stable is the current CVS? 5. My system is dua

Re: Odd behavior in x86/pc booting process with minor modifications

2008-01-27 Thread Bean
On Jan 27, 2008 10:52 PM, Vesa Jääskeläinen <[EMAIL PROTECTED]> wrote: > Hi, > > I was playing around with IDT and needed some code space in startup.S > and in realmode.S. GRUB just hanged for some reason during the bootup > when I just had query instruction for current IDT descriptor and some > st

Odd behavior in x86/pc booting process with minor modifications

2008-01-27 Thread Vesa Jääskeläinen
Hi, I was playing around with IDT and needed some code space in startup.S and in realmode.S. GRUB just hanged for some reason during the bootup when I just had query instruction for current IDT descriptor and some storage for it after GDT tables. I then reverted that code and added as many N

Re: lvm does not work when included in core.img [FIXED]

2008-01-27 Thread Robert Millan
On Wed, Jan 09, 2008 at 12:21:56PM +0100, Jan Nieuwenhuizen wrote: > Jan Nieuwenhuizen writes: > > > grub-mkimage --output=/boot/grub/core.img lvm ext2 pc gpt biosdisk > > grub-setup --root-device='(lvmraid-lvm0)' '(hd0)' > > For the record: lvm should be last, ie > >grub-mkimage --o

[PATCH] update-grub --help options

2008-01-27 Thread Franklin PIAT
Hello, I've noticed that update-grub doesn't handle usual options (especially -h and --help). Here's a patch that fix it. (it also remove a blank space in #!/bin/sh header) Franklin --- update-grub.orig 2008-01-27 12:49:41.0 +0100 +++ update-grub.new 2008-01-27 12:56:10.0 +0100

Re: [PATCH 3/3] Work around "CLAIM failed" on PowerMac

2008-01-27 Thread Robert Millan
On Sun, Jan 27, 2008 at 04:27:31AM -0500, Pavel Roskin wrote: > Quoting Robert Millan <[EMAIL PROTECTED]>: > > >On Sat, Jan 26, 2008 at 06:28:23PM -0500, Pavel Roskin wrote: > >>- return ALIGN_UP(_end, GRUB_MOD_ALIGN); > >>+ return ALIGN_UP(_end + GRUB_MOD_GAP, GRUB_MOD_ALIGN); > > > >Did you ch

Re: [PATCH 3/3] Work around "CLAIM failed" on PowerMac

2008-01-27 Thread Pavel Roskin
Quoting Robert Millan <[EMAIL PROTECTED]>: On Sat, Jan 26, 2008 at 06:28:23PM -0500, Pavel Roskin wrote: - return ALIGN_UP(_end, GRUB_MOD_ALIGN); + return ALIGN_UP(_end + GRUB_MOD_GAP, GRUB_MOD_ALIGN); Did you check if the requirement is just a bigger alignment rather than a gap? Yes, I c

status of GRUB on XO

2008-01-27 Thread Robert Millan
Hi, Reporting current status of GRUB on XO: - Missing some parts of AT keyboard driver (arrows don't work). - Can only access SD cards (via OFW callbacks), in any of the filesystems supported by GRUB. Accessing the NAND or USB drives will require adding new drivers (I expect the la

Re: [PATCH 3/3] Work around "CLAIM failed" on PowerMac

2008-01-27 Thread Robert Millan
On Sat, Jan 26, 2008 at 06:28:23PM -0500, Pavel Roskin wrote: > - return ALIGN_UP(_end, GRUB_MOD_ALIGN); > + return ALIGN_UP(_end + GRUB_MOD_GAP, GRUB_MOD_ALIGN); Did you check if the requirement is just a bigger alignment rather than a gap? -- Robert Millan I know my rights; I want my phone

Re: Compiling grub2 on *BSD?

2008-01-27 Thread Robert Millan
On Sat, Jan 26, 2008 at 12:11:48PM -0800, walt wrote: > > What is the problem initially? > > kernel_img-kern_device.o: In function `grub_device_iterate': > ../kern/device.c:84: undefined reference to `__enable_execute_stack' > > That's defined in libgcc so I add -lgcc to the link flags: > > /usr

Re: booting kernel of NetBSD (Re: UFS (FFS) support seems broken in grub2)

2008-01-27 Thread Robert Millan
On Sat, Jan 26, 2008 at 01:24:57PM -0800, walt wrote: > > Yes! I just discovered that I can multiboot the netbsd kernel off > of a FAT32 fs or even an NTFS fs, but *not* off of a UFS fs :o/ > > Apparently "something bad" happens to the kernel in the process of > reading or loading it from the UF

Re: [PATCH] Don't abort if prefix is not set

2008-01-27 Thread Robert Millan
On Sat, Jan 26, 2008 at 03:31:34PM -0500, Pavel Roskin wrote: > >>I found that prefix would not be set on PowerPC if /memory/available > >>is missing. > > > >Sounds strange.. how is that so? > > Because the environment is allocated in the heap, I believe. It is, but I'd have expected GRUB to issu

Re: next release & NEWS file (Re: [PATCH] use at_keyboard.c on i386-ieee1275)

2008-01-27 Thread Pavel Roskin
On Fri, 2008-01-25 at 23:57 +0100, Robert Millan wrote: > On Fri, Jan 25, 2008 at 10:22:13PM +0100, Yoshinori K. Okuji wrote: > > > > So, for the next release, I will make it in next weekend (on the 2nd or the > > 3rd), if nobody objects. Meanwhile, if you know user-visible changes which > > are