grub-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] a.out support for multiboot and freebsd


From: walt
Subject: Re: [PATCH] a.out support for multiboot and freebsd
Date: Wed, 13 Feb 2008 09:25:53 -0800
User-agent: Thunderbird 3.0a1pre (X11/2008021304)

Bean wrote:

Ok. I also fix the alloc magic broken problem, it's caused by
grub_elf_file, which will close the file when the elf magic is not
found. However, the upper level still use that file, that cause the
memory problem.

The patch should be applied after the previous bsd.diff...

I'm very confused by the results :o/  I'm now running today's cvs
plus bsd.diff plus bsd_2.diff.  Some things work and some don't.

I can boot openbsd perfectly -- but only if I load the 'bsd' kernel
from a different filesystem e.g. FAT32.  I can't read any files from
the FFS/UFS on my openbsd partition -- I get 'outside of partition'.

I can multiboot netbsd perfectly -- but not from the netbsd partition.
If I 'multiboot /netbsd' from the netbsd partition I get 'broken magic'.
However, I can 'netbsd /netbsd' perfectly from the netbsd partition.
(See why I'm confused?)

When I 'freebsd /boot/loader' or 'freebsd /boot/kernel/kernel' from
the FreeBSD partition I get 'broken magic'.  If I 'freebsd /kernel'
from a FAT32 partition the kernel seems to load okay but then when
I 'boot' nothing prints to the console and the OS never starts.
If I 'freebsd /loader' from a FAT fs then the loader runs correctly
but of course I need to set 'currdev' by hand.

I'm wondering if you have commited all of your UFS/FFS patches to
cvs.  Seems like I'm seeing some old UFS problems that you fixed
once already(?).





reply via email to

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