* Re: 2.5.64 kernel bug
[not found] ` <200303071149.33553.listman-qZIqNUI/gJRAfugRpC6u6w@public.gmane.org>
@ 2003-03-07 17:34 ` Patrick Mochel
[not found] ` <Pine.LNX.4.33.0303071128380.991-100000-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Patrick Mochel @ 2003-03-07 17:34 UTC (permalink / raw)
To: Shawn P. Garbett; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
On Fri, 7 Mar 2003, Shawn P. Garbett wrote:
> I just got a P2120 laptop and really really want ACPI working. I grabbed the
> 2.5.64 kernel and it didn't compile. Looking back through the archives of
> this list I found nothing related to this.
There have been at least two patches posted to fix this on linux-kernel,
and a third that went to Linux directly. I recommend either getting the
latest snapshot from kernel.org, or just using the fix you posted below.
BTW, the cpufreq code is not acpi-specific, and this report should have
gone to either the cpufreq list, or linux-kernel.
> I'm a proficient programmer, but have never done any serious kernel work under
> linux.
>
> Here's what I changed to make it compile:
>
> sputnik:/usr/src/linux# diff drivers/cpufreq/userspace.c.orig
> drivers/cpufreq/userspace.c
> 514c514
> < device_create_file (policy->intf.dev,
> &dev_attr_scaling_setspeed );
> ---
> > device_create_file (policy->dev, &dev_attr_scaling_setspeed);
> 523c523
> < device_remove_file (policy->intf.dev,
> &dev_attr_scaling_setspeed
> );
> ---
> > device_remove_file (policy->dev, &dev_attr_scaling_setspeed);
One more thing - when you post patches, please generate them with '-u'.
-pat
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
for complex code. Debugging C/C++ programs can leave you feeling lost and
disoriented. TotalView can help you find your way. Available on major UNIX
and Linux platforms. Try it free. www.etnus.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* 2.5.64 kernel bug
@ 2003-03-07 17:49 Shawn P. Garbett
[not found] ` <200303071149.33553.listman-qZIqNUI/gJRAfugRpC6u6w@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Shawn P. Garbett @ 2003-03-07 17:49 UTC (permalink / raw)
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
I just got a P2120 laptop and really really want ACPI working. I grabbed the
2.5.64 kernel and it didn't compile. Looking back through the archives of
this list I found nothing related to this.
I'm a proficient programmer, but have never done any serious kernel work under
linux.
Here's what I changed to make it compile:
sputnik:/usr/src/linux# diff drivers/cpufreq/userspace.c.orig
drivers/cpufreq/userspace.c
514c514
< device_create_file (policy->intf.dev,
&dev_attr_scaling_setspeed );
---
> device_create_file (policy->dev, &dev_attr_scaling_setspeed);
523c523
< device_remove_file (policy->intf.dev,
&dev_attr_scaling_setspeed
);
---
> device_remove_file (policy->dev, &dev_attr_scaling_setspeed);
Shawn
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
for complex code. Debugging C/C++ programs can leave you feeling lost and
disoriented. TotalView can help you find your way. Available on major UNIX
and Linux platforms. Try it free. www.etnus.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: 2.5.64 kernel bug
[not found] ` <Pine.LNX.4.33.0303071128380.991-100000-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
@ 2003-03-08 3:42 ` Alexander Hoogerhuis
0 siblings, 0 replies; 3+ messages in thread
From: Alexander Hoogerhuis @ 2003-03-08 3:42 UTC (permalink / raw)
To: Patrick Mochel
Cc: Shawn P. Garbett, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Patrick Mochel <mochel-3NddpPZAyC0@public.gmane.org> writes:
>
> There have been at least two patches posted to fix this on linux-kernel,
> and a third that went to Linux directly. I recommend either getting the
> latest snapshot from kernel.org, or just using the fix you posted below.
>
The -mm patches seems to be shaping up nicely and might be a good
alternative instead of Linus' tree. Not that he's doing anything bad,
just that his tree is seem to be more in a state of flux, and Andrew
Morton seems to be accepting a lot of fixes to make it testable :)
I'm punting happily on 2.5.64-mm1 now, and if I could only find a
patch that lets me load my own DSDT. I'm sure its out there, I haven't
had a look in the archives yet (they're hard to get at from 39,000ft
above Sumatera) ;)
mvh,
A
--
Alexander Hoogerhuis | alexh-rpjHciJLgqZBDgjK7y7TUQ@public.gmane.org
CCNP - CCDP - MCNE - CCSE | +47 908 21 485
"You have zero privacy anyway. Get over it." --Scott McNealy
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
for complex code. Debugging C/C++ programs can leave you feeling lost and
disoriented. TotalView can help you find your way. Available on major UNIX
and Linux platforms. Try it free. www.etnus.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-03-08 3:42 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-07 17:49 2.5.64 kernel bug Shawn P. Garbett
[not found] ` <200303071149.33553.listman-qZIqNUI/gJRAfugRpC6u6w@public.gmane.org>
2003-03-07 17:34 ` Patrick Mochel
[not found] ` <Pine.LNX.4.33.0303071128380.991-100000-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2003-03-08 3:42 ` Alexander Hoogerhuis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox