Re: [gentoo-user] Kernel make trouble

2012-01-30 Thread Walter Dnes
On Mon, Jan 30, 2012 at 11:41:59PM +0200, Benyamin Dvoskin wrote
> Hi,
> 
> I'm having trouble compiling my kernel (actually haven't done that in a
> while..)
> 
> after i run make, i get this error:
> 
> "kernel/bounds.c:1:0: error: CPU you selected does not support x86-64
> instruction set"
> 
> could someone please help ?
> 
> what info should i post ? (don't wanna post all the .config unless its
> needed)

  I read that to mean that you selected an old CPU type that doesn't
support some options you've selected.  3 questions...

1) What is your CPU type?  If you're not certain, post the output from
"head /proc/cpuinfo"

2) What CPU type have you selected in "make menuconfig"?
  Processor type and features  --->
Processor family (?)  --->

3) Is the answer to 1) the same as the answer to 2) ?

-- 
Walter Dnes 



Re: [gentoo-user] Kernel make trouble

2012-01-30 Thread Hinnerk van Bruinehsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 30.01.2012 22:47, Hinnerk van Bruinehsen wrote:
> On 30.01.2012 22:41, Benyamin Dvoskin wrote:
>> Hi,
> 
>> I'm having trouble compiling my kernel (actually haven't done
>> that in a while..)
> 
>> after i run make, i get this error:
> 
>> "kernel/bounds.c:1:0: error: CPU you selected does not support 
>> x86-64 instruction set"
> 
>> could someone please help ?
> 
>> what info should i post ? (don't wanna post all the .config
>> unless its needed)
> 
> How did you configure the new kernel?
> 
> Try:
> 
> cd /usr/src/ zcat /proc/config.gz > .config make
> oldconfig  is default> optional: review config via make menuconfig
> 
> make
> 

I've forgotten to write about the error:
>> "kernel/bounds.c:1:0: error: CPU you selected does not support 
>> x86-64 instruction set"

that states, that you try to compile a kernel configured to a x86-64
system on a cpu that doesn't support that.
My guess would be, that you didn't configure the kernel at all or
copied the configuration from some other system.




-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPJxDRAAoJEJwwOFaNFkYcxPUH/jABbD5TitBKtE+jZV+dns+v
ql1Tg6iFPsoK1qLCBvJ4SQxGkcXnTK2DH+pSbuZRiHTNOU9AiIz2rMUWBT4LRjgB
AHV4N1AYpz81azxIyKDPmH7ukG2geyRUkHQ3Q9JIwC5o3Y57YFAflqAtmw46pUe3
Sek2AwwfPoYm8KayJfXUgwpRgz1CacP/X5cycAtHSHAXHg5nphit+WTDjkrK7HIT
OnvpEJutK09aLwMGj8evhwR3EygJ5UWhfmUIcQYDXd7YxAV04naKujolWBQgi3hl
Kc/hdhBItTsN08cQXMT4oSAFh6pnE2sxvnkX4/kWigDET9OPUVuqJ+QjZEAe3lw=
=HUcJ
-END PGP SIGNATURE-



Re: [gentoo-user] Kernel make trouble

2012-01-30 Thread Hinnerk van Bruinehsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 30.01.2012 22:41, Benyamin Dvoskin wrote:
> Hi,
> 
> I'm having trouble compiling my kernel (actually haven't done that
> in a while..)
> 
> after i run make, i get this error:
> 
> "kernel/bounds.c:1:0: error: CPU you selected does not support
> x86-64 instruction set"
> 
> could someone please help ?
> 
> what info should i post ? (don't wanna post all the .config unless
> its needed)
> 
How did you configure the new kernel?

Try:

cd /usr/src/
zcat /proc/config.gz > .config
make oldconfig

optional: review config via make menuconfig

make
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPJw/dAAoJEJwwOFaNFkYcKekIAMMhqAzHH3U3srAJB7wwIVAc
SsydQGe7Z4zrpM1W61ni6s4AGvIRvjFKWtt6+vzGAmOTGH1t+igLZmF/vDWPuTbP
LxLm444JFG32iNIz2yl2A6L7kJysHTSS1DecWVdOAIx2h6n42e9GOlc3RbWpJPSB
LoFco1D9GLrEt+0ZtlHBO0+4TrHgxmGty6k4rn5eXouZQnh4XykEuBpKIYBI52bA
6UiGZq2DvZl08+XPbQ5T0hyVdiGz4loGWgUvEpKweaqphVT+0Jz0z8x3uvmEmNK0
ILGbfrqFxSSG/4lHaRCSzbpm2FtrUQFcPi9Eb4YnCIGFJjANR3wnw29WEZx46zw=
=IW+U
-END PGP SIGNATURE-



[gentoo-user] Kernel make trouble

2012-01-30 Thread Benyamin Dvoskin
Hi,

I'm having trouble compiling my kernel (actually haven't done that in a
while..)

after i run make, i get this error:

"kernel/bounds.c:1:0: error: CPU you selected does not support x86-64
instruction set"

could someone please help ?

what info should i post ? (don't wanna post all the .config unless its
needed)

-- 
Thanks,
Benyamin