a question and pmtest
My main problem is that my dell inspiron 8200 w/ Nvidia GF4 go will not turn the LCD back on after it is turned off (either by LID event, or by a sleep state). I asked about this on the support list and they tried to blame it on XFree86, but I'm not running X (yet). So the first question is, how can would one debug this without pmtest or how can I fix pmtest?
I saw a post earlier on the list saying that pmtest in the pmtools package is orphaned right now, and that it won't compile. However it seems to compile just fine with gcc-3.0 and 3.2, does this indicate a compiler bug? I've recompiled my entire kernel with both 3.0 and 3.2 with no sideffects, but I need pmtest to try to fix the aformentioned problem.
Sadly, even though it compiles... when I try to insmod it I get the following message:
Error inserting 'pmtest.o': -1 Invalid module format
and this message shows up in my syslog:
No module found in object
I've added the MODULE_AUTHOR/DESCRIPTION/LICENSE functions to the file before compilation, but am unknowing as to what else is missing. Does anyone have any time to shed any light on this problem? I've never done any kernel programming before, but am willing to learn if necessary.
Thanks much for your time.
--hachi
Kernel 2.5.69 and 2.5.70, both with patched DSDT. All ACPI components built-in to the kernel. Currently running 2.5.70 compiled under gcc-3.2, no framebuffer, no x, acpid 1.0.2, email me for more if needed.
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com.
On Mon, 09 Jun 2003 12:50:45 -0500 Jonathan Steinert <[email protected]> wrote:
| My main problem is that my dell inspiron 8200 w/ Nvidia GF4 go will not | turn the LCD back on after it is turned off (either by LID event, or by | a sleep state). I asked about this on the support list and they tried to | blame it on XFree86, but I'm not running X (yet). So the first question | is, how can would one debug this without pmtest or how can I fix pmtest? | | I saw a post earlier on the list saying that pmtest in the pmtools | package is orphaned right now, and that it won't compile. However it | seems to compile just fine with gcc-3.0 and 3.2, does this indicate a | compiler bug? I've recompiled my entire kernel with both 3.0 and 3.2 | with no sideffects, but I need pmtest to try to fix the aformentioned | problem. | | Sadly, even though it compiles... when I try to insmod it I get the | following message: | | Error inserting 'pmtest.o': -1 Invalid module format
You are using the 2.5 module tools (utils), right? How about trying 'insmod pmtest.ko' ?
or is it not even building a (correct) 2.5 module?
I don't know the status of pmtest. Anyone else?
| and this message shows up in my syslog: | | No module found in object | | I've added the MODULE_AUTHOR/DESCRIPTION/LICENSE functions to the file | before compilation, but am unknowing as to what else is missing. Does | anyone have any time to shed any light on this problem? I've never done | any kernel programming before, but am willing to learn if necessary. | | Thanks much for your time. | | --hachi | | Kernel 2.5.69 and 2.5.70, both with patched DSDT. All ACPI components | built-in to the kernel. Currently running 2.5.70 compiled under gcc-3.2, | no framebuffer, no x, acpid 1.0.2, email me for more if needed.
--
~Randy
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com.
Quoted 20 lines
On Mon, 09 Jun 2003 12:50:45 -0500 Jonathan Steinert <[email protected]> wrote:
| My main problem is that my dell inspiron 8200 w/ Nvidia GF4 go will not | turn the LCD back on after it is turned off (either by LID event, or by | a sleep state). I asked about this on the support list and they tried to | blame it on XFree86, but I'm not running X (yet). So the first question | is, how can would one debug this without pmtest or how can I fix pmtest? || I saw a post earlier on the list saying that pmtest in the pmtools | package is orphaned right now, and that it won't compile. However it | seems to compile just fine with gcc-3.0 and 3.2, does this indicate a | compiler bug? I've recompiled my entire kernel with both 3.0 and 3.2 | with no sideffects, but I need pmtest to try to fix the aformentioned | problem. | | Sadly, even though it compiles... when I try to insmod it I get the |following message:
|
| Error inserting 'pmtest.o': -1 Invalid module format
Quoted 5 lines
You are using the 2.5 module tools (utils), right? How about trying 'insmod pmtest.ko' ?
or is it not even building a (correct) 2.5 module?I don't know the status of pmtest. Anyone else?
Make sure that you have the 2.5 module tools.
I fixed the pmtest Makefile so that it works with 2.4 and 2.5 kernels. I checked it into CVS at sf.net/projects/acpi/ and I have attached it here. See the Makefile for how to use it.
Quoted 13 lines
| and this message shows up in my syslog: | | No module found in object | | I've added the MODULE_AUTHOR/DESCRIPTION/LICENSE functions to the file | before compilation, but am unknowing as to what else is missing. Does | anyone have any time to shed any light on this problem? I've never done | any kernel programming before, but am willing to learn if necessary. | | Thanks much for your time. | | --hachi | | Kernel 2.5.69 and 2.5.70, both with patched DSDT. All ACPI components |
Quoted 2 lines
built-in to the kernel. Currently running 2.5.70 compiled under gcc-3.2, | no framebuffer, no x, acpid 1.0.2, email me for more if needed.
HTH.
Quoted 2 lines
--
~Randy