On Jan 27, 2008 5:24 AM, walt <[EMAIL PROTECTED]> wrote:
>
> On Sat, 2008-01-26 at 23:01 +0800, Bean wrote:
> > this is the patch, problems found:
> >
> > 1, the mbi structure is not initialized to all zeros, this means some
> > important member, like mods_count, will contain trash.
> > 2, the entr
* include/grub/powerpc/ieee1275/kernel.h: Introduce GRUB_MOD_GAP
to create a gap between _end and the modules added to the image
with grub-mkrescue. That fixes "CLAIM failed" on PowerMAC.
* kern/powerpc/ieee1275/init.c: Use GRUB_MOD_GAP.
* util/elf/grub-mkimage.c (add_segments): Likewise.
---
in
* kern/powerpc/ieee1275/openfw.c (grub_available_iterate):
Provide fallback if /memory/available is missing - try claiming
memory between 3Mb and 4Mb. That's what yaboot does.
---
kern/powerpc/ieee1275/openfw.c |9 +++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/kern
* DISTLIST: Add util/powerpc/ieee1275/grub-mkrescue.in.
* conf/powerpc-ieee1275.mk: Add grub-mkrescue support.
* conf/powerpc-ieee1275.mk: Regenerate.
* util/powerpc/ieee1275/grub-mkrescue.in: Implement
grub-mkrescue for PowerMac and CHRP.
---
DISTLIST |1
conf/
Hello!
I'm going to send the remaining patches for PowerPC to the list. I
don't want to spend more time on it, and I don't want to sit on those
patches. If any of them are good, I'll apply then. If not, somebody
could fix them later. I don't want to spend more time on them.
I added co
On Sat, 2008-01-26 at 23:01 +0800, Bean wrote:
> this is the patch, problems found:
>
> 1, the mbi structure is not initialized to all zeros, this means some
> important member, like mods_count, will contain trash.
> 2, the entry point in the header is virtual address, we need to
> translate it t
Robert Millan wrote:
On Sat, Jan 26, 2008 at 03:11:02PM -0500, Pavel Roskin wrote:
Quoting Robert Millan <[EMAIL PROTECTED]>:
+ if (! grub_dl_dir) {
+grub_error (GRUB_ERR_FILE_NOT_FOUND, "\"prefix\" is not set");
+return 0;
Seems fine, but are you sure this error is handled somewhere
Quoting Robert Millan <[EMAIL PROTECTED]>:
On Sat, Jan 26, 2008 at 03:11:02PM -0500, Pavel Roskin wrote:
Quoting Robert Millan <[EMAIL PROTECTED]>:
>>+ if (! grub_dl_dir) {
>>+grub_error (GRUB_ERR_FILE_NOT_FOUND, "\"prefix\" is not set");
>>+return 0;
>
>Seems fine, but are you sure t
On Sat, Jan 26, 2008 at 03:11:02PM -0500, Pavel Roskin wrote:
> Quoting Robert Millan <[EMAIL PROTECTED]>:
>
> >>+ if (! grub_dl_dir) {
> >>+grub_error (GRUB_ERR_FILE_NOT_FOUND, "\"prefix\" is not set");
> >>+return 0;
> >
> >Seems fine, but are you sure this error is handled somewhere?
>
On Sat, 2008-01-26 at 18:21 +0100, Robert Millan wrote:
> On Sat, Jan 26, 2008 at 09:08:59AM -0800, walt wrote:
> > As a test of my tolerance for frustration I'm building grub2 on FreeBSD,
> > DragonFlyBSD, NetBSD, and OpenBSD, and (naturally) each build fails in a
> > different way, but all the p
Quoting Robert Millan <[EMAIL PROTECTED]>:
+ if (! grub_dl_dir) {
+grub_error (GRUB_ERR_FILE_NOT_FOUND, "\"prefix\" is not set");
+return 0;
Seems fine, but are you sure this error is handled somewhere?
If prefix is not set, the module is not loaded. What other handling
do we nee
On Sat, Jan 26, 2008 at 02:44:44PM -0500, Pavel Roskin wrote:
>
> ---
>
> ChangeLog |5 +
> kern/dl.c |6 --
> 2 files changed, 9 insertions(+), 2 deletions(-)
>
> diff --git a/ChangeLog b/ChangeLog
> index 009b4dc..44d5887 100644
> --- a/ChangeLog
> +++ b/ChangeLog
> @@ -1,3 +1
On Sat, Jan 26, 2008 at 10:19:36AM -0800, walt wrote:
> > Btw it won't apply to CVS head; maybe it was scrambled when sending it?
>
> I had to use the -l flag to get it to apply, but it did apply okay.
Ah, didn't know about this flag. Sounds useful!
--
Robert Millan
I know my rights; I want
On Sun, Jan 27, 2008 at 02:24:16AM +0800, Bean wrote:
> >
> > Indeed! Unfortunately I still get the same free magic is broken :o(
> > As an experiment, I g-zipped the kernel and now grub2 just reboots
> > without printing anything when I do multiboot /netbsd.gz. (The same
> > kernel still boots n
---
ChangeLog |5 +
kern/dl.c |6 --
2 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 009b4dc..44d5887 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-01-26 Pavel Roskin <[EMAIL PROTECTED]>
+
+ * kern/dl.c (grub_dl_lo
On Jan 27, 2008 2:24 AM, Bean <[EMAIL PROTECTED]> wrote:
> On Jan 27, 2008 2:19 AM, walt <[EMAIL PROTECTED]> wrote:
> >
> > On Sat, 2008-01-26 at 18:24 +0100, Robert Millan wrote:
> > > On Sat, Jan 26, 2008 at 11:01:49PM +0800, Bean wrote:
> > > > this is the patch, problems found:
> > > >
> > > >
On Jan 27, 2008 2:19 AM, walt <[EMAIL PROTECTED]> wrote:
>
> On Sat, 2008-01-26 at 18:24 +0100, Robert Millan wrote:
> > On Sat, Jan 26, 2008 at 11:01:49PM +0800, Bean wrote:
> > > this is the patch, problems found:
> > >
> > > 1, the mbi structure is not initialized to all zeros, this means some
>
On Sat, 2008-01-26 at 18:24 +0100, Robert Millan wrote:
> On Sat, Jan 26, 2008 at 11:01:49PM +0800, Bean wrote:
> > this is the patch, problems found:
> >
> > 1, the mbi structure is not initialized to all zeros, this means some
> > important member, like mods_count, will contain trash.
> > 2, th
On Jan 27, 2008 1:21 AM, Robert Millan <[EMAIL PROTECTED]> wrote:
> > FreeBSD:
> >
> > lnxboot.S: Assembler messages:
> > lnxboot.S:49: Error: `0x200+data_start - data_next(%ebx,%eax)' is not a
> > valid 16 bit base/index expression
> > lnxboot.S:264: Error: `(%esi,%eax)' is not a valid 16 bit base
On Sat, Jan 26, 2008 at 11:01:49PM +0800, Bean wrote:
> this is the patch, problems found:
>
> 1, the mbi structure is not initialized to all zeros, this means some
> important member, like mods_count, will contain trash.
> 2, the entry point in the header is virtual address, we need to
> translat
On Sat, Jan 26, 2008 at 09:08:59AM -0800, walt wrote:
> As a test of my tolerance for frustration I'm building grub2 on FreeBSD,
> DragonFlyBSD, NetBSD, and OpenBSD, and (naturally) each build fails in a
> different way, but all the problems seem related to mutations of gcc.
>
> NetBSD:
>
> The p
As a test of my tolerance for frustration I'm building grub2 on FreeBSD,
DragonFlyBSD, NetBSD, and OpenBSD, and (naturally) each build fails in a
different way, but all the problems seem related to mutations of gcc.
NetBSD:
The problem is the -nostdlib flag when linking kernel.exec. Adding -lc
On Sat, Jan 26, 2008 at 04:58:41PM +0200, tsah marco wrote:
> Hi all,
>
> help is needed ?
>
> I am trying to install grub on usb inorder to load linux from grub,
> when i am connecting the usb i see that sg2 is added to /dev,(with dmesg)
>
> the usb is empty, so i will add /boot/grub/stag
On Sat, Jan 26, 2008 at 01:04:04PM +0100, Marco Gerards wrote:
> >
> > Ok, I reverted it. This will uncover another bug somewhere else. I can't
> > remember what it was about, though.
>
> Thanks. Can you look that up?
Sorry, I can't. I don't remember what I found broken, but chances are
someb
this is the patch, problems found:
1, the mbi structure is not initialized to all zeros, this means some
important member, like mods_count, will contain trash.
2, the entry point in the header is virtual address, we need to
translate it to physical address.
* loader/i386/pc/multiboot.c (g
Hi all,
help is needed ?
I am trying to install grub on usb inorder to load linux from grub,
when i am connecting the usb i see that sg2 is added to /dev,(with dmesg)
the usb is empty, so i will add /boot/grub/stage1 and stage2 and fat_stage1_5,
then i will enter grub shell and do
-find
Committed.
--
Bean
___
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel
add two sanity check, one for chuck size, make sure the on disk
structure is correct, one for raw image, make sure the image won't
overflown. also adjust a few macro names and the filter handling code.
* conf/i386-pc.rmk (pkglib_MODULES): Add `png.mod'.
(png_mod_SOURCES): New varia
Robert Millan <[EMAIL PROTECTED]> writes:
> On Fri, Jan 25, 2008 at 09:50:14AM +0100, Marco Gerards wrote:
>> Vesa Jääskeläinen <[EMAIL PROTECTED]> writes:
>>
>> (replying to this mail, I didn't receive the first mail over the list...)
>>
>> > Robert Millan wrote:
>> >> On Wed, Jan 23, 2008 at 1
29 matches
Mail list logo