[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] FreeBSD 64-bit kernel support
From: |
Joey Korkames |
Subject: |
Re: [PATCH] FreeBSD 64-bit kernel support |
Date: |
Mon, 13 Apr 2009 02:10:47 -0700 |
Hmm, FreeBSD seems to choke when trying to load the
grub-bootstrapped mfsroot.gz (as the root device - haven't tried loading
without rooting from it)...
This is a custom mfsroot, booted like so:
menuentry "FreeBSD 7.1-STABLE amd64" {
freebsd /osstore/STAGE2/FREEBSD/amd64/kernel.gz Dh
freebsd_loadenv /osstore/STAGE2/FREEBSD/amd64/device.hints
freebsd_module /osstore/STAGE2/FREEBSD/amd64/mfsroot.gz type=mfs_root
set FreeBSD.vfs.root.mountfrom=ufs:/dev/md0
}
perhaps I'll try with the Sysinstall floppy's mfsroot - it might be a little
smaller.
PS. A correction for that last patch:
-MOSTLYCLEANFILES += bsd_mod-loader_i386_bsd.d bsd_mod-loader_i386_bsd.d
+MOSTLYCLEANFILES += bsd_mod-loader_i386_bsd.d bsd_mod-loader_i386_bsd_helper.d
Thanks
joey
Joey Korkames writes:
Figured it out,
s/multiboot_mod-loader_i386_multiboot_helper/bsd_mod-loader_i386_bsd_helper/
and bingo!
Worked ion both Xen HVM and on a real amd64 box (over PXE)
Yay GRUB2 and its devs!
-joey
Joey Korkames writes:
I can't make grub2 build with phcoder's bsd64.diff. My guess it is beacuse conf/i386.mk is missing stuff related to
loader/i386/bsd_helper.S $(loader/i386/bsd_helper.S_DEPENDENCIES)?, but I wouldn't how or where to add it in.
phcoder writes:
Bean kindly allowed me to mess with this patch. So here comes an
improved version. I moved helpers out of the kernels. Because of how
FreeBSD expects the initial virtual memory mapping only first GB of
physical memory is accessible so it was required to use of trampoline
technique.
grub2_bsd_mfsroot_choke.txt
Description: crash.txt
- Re: [PATCH] FreeBSD 64-bit kernel support, (continued)
- Re: [PATCH] FreeBSD 64-bit kernel support, Joey Korkames, 2009/04/13
- Re: [PATCH] FreeBSD 64-bit kernel support, Joey Korkames, 2009/04/13
- Re: [PATCH] FreeBSD 64-bit kernel support, phcoder, 2009/04/13
- Re: [PATCH] FreeBSD 64-bit kernel support,
Joey Korkames <=
- Re: [PATCH] FreeBSD 64-bit kernel support, phcoder, 2009/04/13
- Re: [PATCH] FreeBSD 64-bit kernel support, Joey Korkames, 2009/04/13
- Re: [PATCH] FreeBSD 64-bit kernel support, phcoder, 2009/04/13
- Re: [PATCH] FreeBSD 64-bit kernel support, phcoder, 2009/04/13
- Re: [PATCH] FreeBSD 64-bit kernel support, Joey Korkames, 2009/04/13
- Re: [PATCH] FreeBSD 64-bit kernel support, Chip Panarchy, 2009/04/14
- Re: [PATCH] FreeBSD 64-bit kernel support, Joey Korkames, 2009/04/14
- Re: [PATCH] FreeBSD 64-bit kernel support, Chip Panarchy, 2009/04/14
Re: [PATCH] FreeBSD 64-bit kernel support, Vladimir Serbinenko, 2009/04/21