[Top][All Lists]

[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: Bean
Subject: Re: booting kernel of NetBSD (Re: UFS (FFS) support seems broken in grub2)
Date: Sun, 27 Jan 2008 09:35:11 +0800

On Jan 27, 2008 5:24 AM, walt <address@hidden> 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 entry point in the header is virtual address, we need to
> > translate it to physical address...
> 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 UFS fs.  I can read small text files
> from a UFS fs, however, so I'm thinking maybe this has something to
> do with the size of the netbsd kernel?
> BTW, I've tried booting the netbsd kernel off of a FreeBSD UFS1 fs
> but I can't tell if my NetBSD partition is UFS1 or UFS2 -- dumpfs
> doesn't say which kind it is.  I confess I really don't remember if
> I have any UFS2 partitions or not.
> Excellent work so far in just one day!  Got any other tricks? :o)

please make a small ufs image containing the netbsd kernel, i don't a
a bsd system at hand.


reply via email to

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