grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Robert Millan
Subject: Re: booting kernel of NetBSD (Re: UFS (FFS) support seems broken in grub2)
Date: Sat, 26 Jan 2008 18:24:22 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

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
> translate it to physical address.
> 
>       * loader/i386/pc/multiboot.c (grub_multiboot_load_elf32): Get physical
>       address of entry.
>       (grub_multiboot_load_elf64): Likewise.
>       (grub_multiboot): Initialize mbi structure.

Wow, you're inexhaustible :-)

Btw it won't apply to CVS head; maybe it was scrambled when sending it?

-- 
Robert Millan

<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call… if you are unable to speak?
(as seen on /.)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]