Re: Building amd64 kernel problems (missing kernel configuration files)
> I am have a fresh install of FreeBSD 8.0 i386 and need to install an amd64 > kernel. > > I have copied /usr/src/sys/amd64/conf/GENERIC to > /usr/src/sys/amd64/conf/JERRY Support for cross-building is limited in the FreeBSD base system. /usr/src/Makefile states: "# If TARGET=machine (e.g. ia64, sparc64, ...) is specified you can # cross build world for other machine types using the buildworld target, # and once the world is built you can cross build a kernel using the # buildkernel target." but there are unwritten limitations, and this requires some care. See, for example, developers running into problems even with i386 --> amd64: http://bsdimp.blogspot.com/2006/09/cross-building-freebsd.html The fact that you are asking how to do this on the freebsd-questions list probably means that you should _not_ be cross-building. _Don't_ try to run an amd64 kernel with i386 world, or vice versa. With some patches and tweaking you may get a few things to work, but you're asking for trouble. It would be better to get an amd64 installation disk, back up your data, and do a re-installation from scratch, or at least a binary upgrade of the existing base system, and then build a custom kernel and world, if that's what you want to do. b. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Building amd64 kernel problems (missing kernel configuration files)
On Wed, Jun 9, 2010 at 8:38 PM, Jerry Bell wrote: > I am have a fresh install of FreeBSD 8.0 i386 and need to install an amd64 > kernel. > > I have copied /usr/src/sys/amd64/conf/GENERIC to > /usr/src/sys/amd64/conf/JERRY > > Then, I run "make buildkernel KERNCONF=JERRY" in /usr/src and get the > following error: > ERROR: Missing kernel configuration file(s) (JERRY). > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > > > It seems to want JERRY to be in i386/conf. If I copy JERRY to i386/conf > and > run "make buildkernel KERNCONF=JERRY", I get the following error: > -- > >>> Kernel build for JERRY started on Wed Jun 9 20:50:30 EDT 2010 > -- > ===> JERRY > mkdir -p /usr/obj/usr/src/sys > > -- > >>> stage 1: configuring the kernel > -- > cd /usr/src/sys/i386/conf; > > PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin > config -d /usr/obj/usr/src/sys/JERRY /usr/src/sys/i386/conf/JERRY > /usr/src/sys/i386/conf/JERRY: unknown option "HAMMER" > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > > > I know I'm missing something simple, but can't quite figure out what it is. > I think you have to set TARGET_ARCH=amd64 -- Adam Vande More ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Building amd64
Aaron Siegel wrote: Hello I would like to build a computer using a Intel Duo 2 Core processor, my first attempted at finding a compatible motherboard failed. I do not remember having the same difficulties six years ago when I built my last computer. Does any one have any advice. I have looked at the hardware notes for 6.2 Release http://www.freebsd.org/releases/6.2R/hardware-amd64.html#PROC and also the list of mother boards that were tested, kinda tested by other users . I am think of building two, maybe computers, one which will replace my two PIII as a intranet toy (web server, groupware?, wireless AP, gateway/firewall), multimedia center (Mythtv, Mp3 player). The second will be a desktop that will hopefully be run multiple virtual OS using win4bsd until Xen is available. I would perfer a microATX, I live in a small apartment. Is there a manufacturer anyone would recommend? A chipset that is support better than any other? Does it come down to trial and error? Intel does have some board which support Linux, at the very worst I can use that until I can get Freebsd working. My first failed attempt was an Abit Fatal1ty F-190HD with a ATI Radeon Xpress 1250 it does not boot any open source system, Freebsd x86/amd64, kunbuntu x64, or opensolaris. I am going to borrow a copy of Windows Vista to verify it is a driver not faulty hardware. Thank You Aaron Get an ASUS MB with an Intel chipset. Avoid Intel 965/975 compatible nVidia chipsets if at all possible because they will not run on *BSD. I tried both FreeBSD and NetBSD and both attempts failed miserably. I have a P5B Deluxe and it's fine, except USB stuff detection doesn't work like it should in 7-CURRENT. It worked perfectly fine in 6.2 though.. -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"