cpufreq Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: AthlonRob <AthlonRob@axpr.net>
To: cpufreq@www.linux.org.uk
Subject: Re: 2.4.21 Isn't working for me....
Date: 26 Aug 2003 12:41:50 -0700	[thread overview]
Message-ID: <1061926909.14523.5.camel@localhost> (raw)
In-Reply-To: <1061872616.27076.47.camel@localhost>

On Mon, 2003-08-25 at 21:36, AthlonRob wrote:
 
> I'm trying to get some cpu frequency control over my laptop's CPU with
> the 2.4.21 kernel.  I'd just jump to 2.6.0-test4, but have a few pieces
> of hardware that don't have drivers available for the test kernel yet.

I just found http://www.codemonkey.org.uk/projects/cpufreq/ in the
archives and gave the two patches listed there a shot.

-1 and -2.

Here are the results I got from that on my make bzImage....

gcc -D__KERNEL__ -I/home/rob/kernel/linux-2.4.21/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686  
-nostdinc -iwithprefix include -DKBUILD_BASENAME=cpufreq 
-DEXPORT_SYMTAB -c cpufreq.c
In file included from
/home/rob/kernel/linux-2.4.21/include/linux/irq.h:69,
                 from
/home/rob/kernel/linux-2.4.21/include/asm/hardirq.h:6,
                 from
/home/rob/kernel/linux-2.4.21/include/linux/interrupt.h:46,
                 from cpufreq.c:21:
/home/rob/kernel/linux-2.4.21/include/asm/hw_irq.h: In function
`x86_do_profile':
/home/rob/kernel/linux-2.4.21/include/asm/hw_irq.h:201: `current'
undeclared (first use in this function)
/home/rob/kernel/linux-2.4.21/include/asm/hw_irq.h:201: (Each undeclared
identifier is reported only once
/home/rob/kernel/linux-2.4.21/include/asm/hw_irq.h:201: for each
function it appears in.)
make[2]: *** [cpufreq.o] Error 1
make[2]: Leaving directory `/home/rob/kernel/linux-2.4.21/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/home/rob/kernel/linux-2.4.21/kernel'
make: *** [_dir_kernel] Error 2

I tried fudging around with the files and lines mentioned, but didn't
get anywhere except more broken...  :-)

Is my system borked?  :-)

I understand the -ac sources contain the cpufreq patch already... do
y'all know if I will be able to apply preemptive multitasking, low
latency scheduling, ntfs, and acpi patches I want to add in there?  They
aren't in the test ran above, FWIW.

Rob  :-)

  parent reply	other threads:[~2003-08-26 19:41 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-26  4:36 2.4.21 Isn't working for me AthlonRob
2003-08-26  6:47 ` Ducrot Bruno
2003-08-26  9:26   ` Toula Michael
2003-08-26  9:53     ` Bas Mevissen
2003-08-26 11:29       ` Ducrot Bruno
2003-08-26 19:43   ` AthlonRob
2003-08-26 22:47     ` Luciano Miguel Ferreira Rocha
2003-08-27 11:11       ` Ducrot Bruno
2003-08-27 14:29         ` Luciano Miguel Ferreira Rocha
2003-08-27 14:39           ` Ducrot Bruno
2003-08-26 19:41 ` AthlonRob [this message]
2003-08-27 12:31   ` Ducrot Bruno
2003-08-27 15:55   ` Ducrot Bruno
2003-08-27 20:30     ` AthlonRob
2003-08-28  9:34       ` Ducrot Bruno

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1061926909.14523.5.camel@localhost \
    --to=athlonrob@axpr.net \
    --cc=cpufreq@www.linux.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox