Skip to contentSkip to conversation

athlon-xp header issue

DISCUSSION Jonathan Angliss 3 participants 5 messages Jan 13, 2004

lore
Share & tools
lore
#0 lore raw

Hey guys,

I'm using a gentoo copy of the 2.4.22 kernel, with various patches applied to fix various issues, but this issue exists in the 2.4.24 kernel source code that I downloaded from the kernel.org site.

When I set the kernel model to athlon-xp in "menuconfig", it sets CONFIG_MK7XP=y which is what I'd expect. However the issue comes when I try to issue "make bzImage", it fails reporting various issues with:

`CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)

in a number of files. I did a google search for the error, and didn't find anything helpful, in fact most of the results appeared to be about nVidia graphics drivers. I'm no coder, but with a little help from Jason Munro, I managed to track down the cause of the issue. He pointed me to this email:

http://www.ussg.iu.edu/hypermail/linux/kernel/0309.0/2036.html

This gave me a hint. So I took a look in arch/i386/config.in and noticed that the check for CONFIG_MK7XP is missing. This results in the appropriate settings not being set. Is this intentional? Or am I looking in the wrong area for my problem?

If this email warrants a reply, please CC my address, as I am not a member of this list.

Signature · 4 lines
Jonathan Angliss
([email protected])

Insanity is my only means of relaxation
#1 lore raw
Quoted 4 lines · Jonathan Angliss

This gave me a hint. So I took a look in arch/i386/config.in and noticed that the check for CONFIG_MK7XP is missing. This results in the appropriate settings not being set. Is this intentional? Or am I looking in the wrong area for my problem?

CONFIG_MK7XP is a gentoo specific bogon. Bug them about it. (For info on why its bogus, search the linux-kernel archives,
as it comes up every few months.)

Dave

#2 lore raw

Hello Dave,

Quoted 8 lines · you
Quoted 4 lines

This gave me a hint. So I took a look in arch/i386/config.in and noticed that the check for CONFIG_MK7XP is missing. This results in the appropriate settings not being set. Is this intentional? Or am I looking in the wrong area for my problem?

CONFIG_MK7XP is a gentoo specific bogon. Bug them about it. (For info on why its bogus, search the linux-kernel archives, as it comes up every few months.)

Thanks for the response. I shall jump on them about it.

Signature · 4 lines
Jonathan Angliss
([email protected])

Never mind the star, get those camels off my lawn!
#3 lore raw
In reply to Dave Jones
Quoted 9 lines · Dave Jones
Quoted 4 lines · Jonathan Angliss

This gave me a hint. So I took a look in arch/i386/config.in and noticed that the check for CONFIG_MK7XP is missing. This results in the appropriate settings not being set. Is this intentional? Or am I looking in the wrong area for my problem?

CONFIG_MK7XP is a gentoo specific bogon. Bug them about it. (For info on why its bogus, search the linux-kernel archives,
as it comes up every few months.)

Are you referring to the fact that Gentoo's kernel is a steamy pile, or the fact that the extra athlon-xp stuff is pointless?

--Iggy

Quoted 3 lines

Dave

#4 lore raw
Quoted 6 lines · Brian Jackson
Quoted 3 lines

CONFIG_MK7XP is a gentoo specific bogon. Bug them about it. (For info on why its bogus, search the linux-kernel archives,
as it comes up every few months.)

Are you referring to the fact that Gentoo's kernel is a steamy pile, or the fact that the extra athlon-xp stuff is pointless?

The former I can't comment on as I've not seen it, but the latter is certainly true the last time I checked gcc code.

Dave