All of lore.kernel.org
 help / color / mirror / Atom feed
From: walt <wa1ter@myrealbox.com>
To: grub-devel@gnu.org
Subject: Re: booting kernel of NetBSD (Re: UFS (FFS) support seems broken in grub2)
Date: Sat, 26 Jan 2008 10:19:36 -0800	[thread overview]
Message-ID: <1201371576.507.6.camel@k9.localnet> (raw)
In-Reply-To: <20080126172422.GB4119@thorin>


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, 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 :-)

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 normally with legacy grub.)
 

> 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.







  reply	other threads:[~2008-01-26 18:19 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-19 17:01 UFS (FFS) support seems broken in grub2 jakllsch
2008-01-19 18:27 ` walt
2008-01-22 18:58   ` Bean
2008-01-22 20:04     ` Robert Millan
2008-01-23  9:02       ` Marco Gerards
2008-01-23 16:15     ` walt
2008-01-23 16:31       ` Bean
2008-01-23 19:21         ` Marco Gerards
2008-01-23 20:26           ` Bean
2008-01-23 22:49         ` walt
2008-01-23 23:53           ` Robert Millan
2008-01-24  1:21             ` walt
2008-01-24 12:30               ` booting *BSD kernels (Re: UFS (FFS) support seems broken in grub2) Robert Millan
2008-01-24  8:33           ` UFS (FFS) support seems broken in grub2 Marco Gerards
2008-01-24 14:20             ` walt
2008-01-24 14:33               ` booting kernel of NetBSD (Re: UFS (FFS) support seems broken in grub2) Robert Millan
2008-01-24 14:53                 ` Robert Millan
2008-01-24 16:47                   ` walt
2008-01-24 17:12                     ` Robert Millan
2008-01-26 15:01                       ` Bean
2008-01-26 17:24                         ` Robert Millan
2008-01-26 18:19                           ` walt [this message]
2008-01-26 18:24                             ` Bean
2008-01-26 18:31                               ` Bean
2008-01-26 19:57                               ` Robert Millan
2008-01-26 19:57                             ` Robert Millan
2008-01-26 21:24                         ` walt
2008-01-27  1:35                           ` Bean
2008-01-27 20:13                             ` walt
2008-01-27 20:25                               ` Bean
2008-01-28  1:54                                 ` walt
2008-01-28  8:52                                   ` Robert Millan
2008-01-28 10:02                                   ` Bean
2008-01-28 13:00                                     ` Marco Gerards
2008-01-28 13:02                                       ` Bean
2008-02-02 14:16                                         ` Bean
2008-01-27  8:53                           ` Robert Millan
2008-01-27 20:09                             ` walt
2008-01-27 22:11                               ` Robert Millan
2008-01-28  8:57                             ` Marco Gerards
2008-01-28 10:06                               ` Bean
2008-01-28 10:41                                 ` Robert Millan
2008-02-06 15:32                         ` Robert Millan
2008-02-06 16:03                           ` Bean
2008-01-24 18:16               ` UFS (FFS) support seems broken in grub2 Marco Gerards
2008-01-24 18:19                 ` Robert Millan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1201371576.507.6.camel@k9.localnet \
    --to=wa1ter@myrealbox.com \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.