2003-06-26 00:26:39

by Stephen Hemminger

[permalink] [raw]
Subject: 2..5.73-osdl2

http://developer.osdl.org/shemminger/patches/patch-2.5.73-osdl2.bz2

No new content, just refreshing to keep up to date.

The purpose of these patches is to get more testing and exposure on
features that would be relevant to server systems running enterprise
applications like database servers.

Given the stabilty of 2.5, most of these patches are related to
instrumentation and are most useful to the OSDL performance testing
groups needs.

Never sent out 2.5.73-osdl1 because it didn't boot on the STP
test machines (some old megaraid driver stuff that crept in).

Bug fixes:
o Allow kernel build without hotplug

Existing
o NUMA text replication (Dave Hansen)
o Kexec (Eric Biederman, Andy Pfiffer)
o Linux Trace Toolkit (LTT) (Karim Yaghmour)
includes relayfs
o Lockmeter
o Atomic 64 bit i_size access (Daniel McNeil)
o Pentium Performance Counters (Mikael Pettersson)
o Kernel Config (ikconfig) (Randy Dunlap)
o RCU statistics (Dipankar Sarma)
o Scheduler tunables (Robert Love)


2003-06-26 02:27:04

by Ed L Cashin

[permalink] [raw]
Subject: compile error in drivers/perfctr/x86.c (Re: 2..5.73-osdl2)

On Wed, Jun 25, 2003 at 05:40:48PM -0700, Stephen Hemminger wrote:
> http://developer.osdl.org/shemminger/patches/patch-2.5.73-osdl2.bz2

Hi. I'm getting a compile error:

CC drivers/perfctr/x86_setup.o
CC drivers/perfctr/x86.o
drivers/perfctr/x86.c: In function `unregister_nmi_pmdev':
drivers/perfctr/x86.c:1484: `nmi_pmdev' undeclared (first use in this function)
drivers/perfctr/x86.c:1484: (Each undeclared identifier is reported only once
drivers/perfctr/x86.c:1484: for each function it appears in.)
drivers/perfctr/x86.c:1485: warning: implicit declaration of function `apic_pm_unregister'
drivers/perfctr/x86.c: In function `x86_pm_init':
drivers/perfctr/x86.c:1500: warning: implicit declaration of function `apic_pm_register'
drivers/perfctr/x86.c:1500: warning: assignment makes pointer from integer without a cast
make[2]: *** [drivers/perfctr/x86.o] Error 1
make[1]: *** [drivers/perfctr] Error 2
make: *** [drivers] Error 2

Here is .config and ver_linux output:

http://www.cs.uga.edu/~cashin/temp/2.5.73-osdl2-error.txt

--
--Ed L Cashin | PGP public key:
[email protected] | http://noserose.net/e/pgp/

2003-06-26 02:56:45

by Ed L Cashin

[permalink] [raw]
Subject: Re: compile error in drivers/perfctr/x86.c (Re: 2..5.73-osdl2)

Also, it looks like the EXTRAVERSION wasn't updated
to -osdl2.

--
--Ed L Cashin | PGP public key:
[email protected] | http://noserose.net/e/pgp/

2003-06-26 07:07:47

by Mikael Pettersson

[permalink] [raw]
Subject: Re: compile error in drivers/perfctr/x86.c (Re: 2..5.73-osdl2)

Ed L Cashin writes:
> On Wed, Jun 25, 2003 at 05:40:48PM -0700, Stephen Hemminger wrote:
> > http://developer.osdl.org/shemminger/patches/patch-2.5.73-osdl2.bz2
>
> Hi. I'm getting a compile error:
>
> CC drivers/perfctr/x86_setup.o
> CC drivers/perfctr/x86.o
> drivers/perfctr/x86.c: In function `unregister_nmi_pmdev':
> drivers/perfctr/x86.c:1484: `nmi_pmdev' undeclared (first use in this function)
> drivers/perfctr/x86.c:1484: (Each undeclared identifier is reported only once
> drivers/perfctr/x86.c:1484: for each function it appears in.)
> drivers/perfctr/x86.c:1485: warning: implicit declaration of function `apic_pm_unregister'
> drivers/perfctr/x86.c: In function `x86_pm_init':
> drivers/perfctr/x86.c:1500: warning: implicit declaration of function `apic_pm_register'
> drivers/perfctr/x86.c:1500: warning: assignment makes pointer from integer without a cast
> make[2]: *** [drivers/perfctr/x86.o] Error 1
> make[1]: *** [drivers/perfctr] Error 2
> make: *** [drivers] Error 2

It looks a lot like OSDL includes an old obsolete version of perfctr.
The PM code you're getting errors in is for kernels older than 2.5.68.
The current release of perfctr knows that current 2.5 kernels use the
driver model for local APIC and NMI watchdog power management.

Unfortunately, the -osdl kernel announcements don't state _which_ release
of perfctr they're including. I was assuming they got new releases off
the download site on a regular basis, but perhaps they don't.

/Mikael