2004-01-13 17:30:42

by Jonathan Angliss

[permalink] [raw]
Subject: athlon-xp header issue

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.

--
Jonathan Angliss
([email protected])

Insanity is my only means of relaxation


2004-01-13 19:13:31

by Dave Jones

[permalink] [raw]
Subject: Re: athlon-xp header issue

On Tue, Jan 13, 2004 at 11:30:00AM -0600, Jonathan Angliss wrote:

> 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

2004-01-13 20:23:35

by Jonathan Angliss

[permalink] [raw]
Subject: Re: athlon-xp header issue

Hello Dave,

Tuesday, January 13, 2004, 1:12:17 PM, you wrote:

>> 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.

--
Jonathan Angliss
([email protected])

Never mind the star, get those camels off my lawn!

2004-01-13 21:14:56

by Brian Jackson

[permalink] [raw]
Subject: Re: athlon-xp header issue

On Tuesday 13 January 2004 01:12 pm, Dave Jones wrote:
> On Tue, Jan 13, 2004 at 11:30:00AM -0600, Jonathan Angliss wrote:
> > 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

>
> Dave
>

2004-01-13 21:19:35

by Dave Jones

[permalink] [raw]
Subject: Re: athlon-xp header issue

On Tue, Jan 13, 2004 at 03:14:58PM -0600, Brian Jackson wrote:

> > 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