Re: Why can't I set my cpu type in kernel config ?
I think it's likely that it is a 64-bit installation. Not sure about that. How could the amd64 OS be installed and run on a i386 machine? it cannot. ___ 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: Why can't I set my cpu type in kernel config ?
I am installing 8.3-RELEASE on an old 900mhz pentium laptop ... it's an i686 CPU. By default, GENERIC has HAMMER as the cpu, and that isn't working. So I tried both: you've got into wrong directory /usr/src/sys/i386/conf is right /usr/src/sys/amd64/conf is wrong, unless you have 64-bit CPU which you don't cpu I586_CPU and: cpu I686_CPU this is right setting. Another possible explanation... How old is this 900Mhz Pentium laptop? Some Pentium D/Celeron D processors (2004) are 64bit, although I don't know if they made any of the D's less than 1.2GHz... but if so the OP could have installed amd64. ___ 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: Why can't I set my cpu type in kernel config ?
I am installing 8.3-RELEASE on an old 900mhz pentium laptop ... it's an i686 CPU. By default, GENERIC has HAMMER as the cpu, and that isn't working. So I tried both: you've got into wrong directory /usr/src/sys/i386/conf is right /usr/src/sys/amd64/conf is wrong, unless you have 64-bit CPU which you don't cpu I586_CPU and: cpu I686_CPU this is right setting. ___ 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: Why can't I set my cpu type in kernel config ?
That's the amd64 (64-bit) GENERIC Jason: It looks like you may have installed the 64-bit distribution on your nonsense. 64-bit distribution doesn't run on 32-bit computer. ___ 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: Why can't I set my cpu type in kernel config ?
From owner-freebsd-questi...@freebsd.org Tue Aug 7 02:44:36 2012 Date: Tue, 7 Aug 2012 09:41:41 +0200 (CEST) From: Wojciech Puchar woj...@wojtek.tensor.gdynia.pl To: Chris Hill ch...@monochrome.org Cc: RW rwmailli...@googlemail.com, freebsd-questions@freebsd.org Subject: Re: Why can't I set my cpu type in kernel config ? That's the amd64 (64-bit) GENERIC Jason: It looks like you may have installed the 64-bit distribution on your nonsense. 64-bit distribution doesn't run on 32-bit computer. *PRECISELY* why the OP is having problems. He _is_ trying to build amd64 kernel on 34-bit only processor. Unlike Wojciech the infallible people _do_ get things wrong on occasion. ___ 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: Why can't I set my cpu type in kernel config ?
On Tue, 7 Aug 2012 14:14:30 -0500 (CDT), Robert Bonomi wrote: From owner-freebsd-questi...@freebsd.org Tue Aug 7 02:44:36 2012 Date: Tue, 7 Aug 2012 09:41:41 +0200 (CEST) From: Wojciech Puchar woj...@wojtek.tensor.gdynia.pl To: Chris Hill ch...@monochrome.org Cc: RW rwmailli...@googlemail.com, freebsd-questions@freebsd.org Subject: Re: Why can't I set my cpu type in kernel config ? That's the amd64 (64-bit) GENERIC Jason: It looks like you may have installed the 64-bit distribution on your nonsense. 64-bit distribution doesn't run on 32-bit computer. *PRECISELY* why the OP is having problems. He _is_ trying to build amd64 kernel on 34-bit only processor. Unlike Wojciech the infallible people _do_ get things wrong on occasion. That's why the statement you may have installed the 64-bit distribution Wojciech refered to as nonsense: On a 32 bit system, the 64 bis OS version should not run. So the OP seems to be using the (correct!) 32 bit OS version, but trying to compile the 64 bit kernel (from /sys/amd64/conf instead of from /sys/i386/conf). Therefore, it's a matter of having chosen the wrong kernel config, not the wrong OS version. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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: Why can't I set my cpu type in kernel config ?
On Tue, 7 Aug 2012 23:26:33 +0200 Polytropon wrote: On Tue, 7 Aug 2012 14:14:30 -0500 (CDT), Robert Bonomi wrote: From owner-freebsd-questi...@freebsd.org Tue Aug 7 02:44:36 2012 Date: Tue, 7 Aug 2012 09:41:41 +0200 (CEST) From: Wojciech Puchar woj...@wojtek.tensor.gdynia.pl To: Chris Hill ch...@monochrome.org Cc: RW rwmailli...@googlemail.com, freebsd-questions@freebsd.org Subject: Re: Why can't I set my cpu type in kernel config ? That's the amd64 (64-bit) GENERIC Jason: It looks like you may have installed the 64-bit distribution on your nonsense. 64-bit distribution doesn't run on 32-bit computer. *PRECISELY* why the OP is having problems. He _is_ trying to build amd64 kernel on 34-bit only processor. Unlike Wojciech the infallible people _do_ get things wrong on occasion. That's why the statement you may have installed the 64-bit distribution Wojciech refered to as nonsense: On a 32 bit system, the 64 bis OS version should not run. So the OP seems to be using the (correct!) 32 bit OS version, but trying to compile the 64 bit kernel (from /sys/amd64/conf instead of from /sys/i386/conf). Therefore, it's a matter of having chosen the wrong kernel config, not the wrong OS version. :-) The architecture isn't defined in GENERIC, it defaults to what's already installed. You have to explicitly set it to cross-build, and I find it hard to believe that someone would set TARGET/TARGET_ARCH to amd64 by mistake I think it's likely that it is a 64-bit installation. ___ 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: Why can't I set my cpu type in kernel config ?
On Wed, 8 Aug 2012 01:04:49 +0100, RW wrote: On Tue, 7 Aug 2012 23:26:33 +0200 Polytropon wrote: On Tue, 7 Aug 2012 14:14:30 -0500 (CDT), Robert Bonomi wrote: From owner-freebsd-questi...@freebsd.org Tue Aug 7 02:44:36 2012 Date: Tue, 7 Aug 2012 09:41:41 +0200 (CEST) From: Wojciech Puchar woj...@wojtek.tensor.gdynia.pl To: Chris Hill ch...@monochrome.org Cc: RW rwmailli...@googlemail.com, freebsd-questions@freebsd.org Subject: Re: Why can't I set my cpu type in kernel config ? That's the amd64 (64-bit) GENERIC Jason: It looks like you may have installed the 64-bit distribution on your nonsense. 64-bit distribution doesn't run on 32-bit computer. *PRECISELY* why the OP is having problems. He _is_ trying to build amd64 kernel on 34-bit only processor. Unlike Wojciech the infallible people _do_ get things wrong on occasion. That's why the statement you may have installed the 64-bit distribution Wojciech refered to as nonsense: On a 32 bit system, the 64 bis OS version should not run. So the OP seems to be using the (correct!) 32 bit OS version, but trying to compile the 64 bit kernel (from /sys/amd64/conf instead of from /sys/i386/conf). Therefore, it's a matter of having chosen the wrong kernel config, not the wrong OS version. :-) The architecture isn't defined in GENERIC, it defaults to what's already installed. Yes, I think this is done in /usr/src/Makefile.inc1 where the correct GENERIC file in /usr/src/sys/i386/conf or /usr/src/sys/amd64/conf is then selected. You have to explicitly set it to cross-build, and I find it hard to believe that someone would set TARGET/TARGET_ARCH to amd64 by mistake In case of a crossbuild, I assume the system would also do the proper TARGET magic to use the GENERIC corresponding to the requested architecture. I think it's likely that it is a 64-bit installation. Not sure about that. How could the amd64 OS be installed and run on a i386 machine? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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
Why can't I set my cpu type in kernel config ?
I am installing 8.3-RELEASE on an old 900mhz pentium laptop ... it's an i686 CPU. By default, GENERIC has HAMMER as the cpu, and that isn't working. So I tried both: cpu I586_CPU and: cpu I686_CPU (I also tried them both lowercase, like i686_cpu) But all of these fail: GENERIC: unknown option I586_CPU How can I set 586/686 (you're supposed to set both) in my kernel conf ? Thanks. ___ 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: Why can't I set my cpu type in kernel config ?
make LINT vi LINT On Mon, Aug 6, 2012 at 4:53 PM, Jason Usher jushe...@yahoo.com wrote: I am installing 8.3-RELEASE on an old 900mhz pentium laptop ... it's an i686 CPU. By default, GENERIC has HAMMER as the cpu, and that isn't working. So I tried both: cpu I586_CPU and: cpu I686_CPU (I also tried them both lowercase, like i686_cpu) But all of these fail: GENERIC: unknown option I586_CPU How can I set 586/686 (you're supposed to set both) in my kernel conf ? You're sure it's an i686? Do you have the amd64 distribution, or i386? If the former, then in /usr/src/sys/amd64/conf... # make LINT # vi LINT cpu HAMMER and that's all she wrote. There are some 32-bit compatibility options: options COMPAT_FREEBSD32 options COMPAT_LINUX32 ___ 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: Why can't I set my cpu type in kernel config ?
On Mon, 6 Aug 2012 16:53:04 -0700 (PDT) Jason Usher wrote: I am installing 8.3-RELEASE on an old 900mhz pentium laptop ... it's an i686 CPU. By default, GENERIC has HAMMER as the cpu, and that isn't working. So I tried both: That's the amd64 (64-bit) GENERIC ___ 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: Why can't I set my cpu type in kernel config ?
On Tue, 7 Aug 2012, RW wrote: On Mon, 6 Aug 2012 16:53:04 -0700 (PDT) Jason Usher wrote: I am installing 8.3-RELEASE on an old 900mhz pentium laptop ... it's an i686 CPU. By default, GENERIC has HAMMER as the cpu, and that isn't working. So I tried both: That's the amd64 (64-bit) GENERIC Jason: It looks like you may have installed the 64-bit distribution on your 32-bit machine. Try fetching the distribution again (and re-burning the CD, or whatever your media was). This time get the i386 version. That's what you want for a Pentium. HTH. -- Chris Hill ch...@monochrome.org ** [ Busy Expunging / ] ___ 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