public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* Re: acpidump replaces acpidmp
@ 2005-07-26 17:24 Voluspa
       [not found] ` <20050726192423.216b4be8.voluspa-zq6IREYz3ykAvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 11+ messages in thread
From: Voluspa @ 2005-07-26 17:24 UTC (permalink / raw)
  To: len.brown-ral2JQCrhuEAvxtiuMwx3w
  Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f


On 2005-07-23 0:35:38 Len Brown wrote:

>ps. I shall delete /proc/fadt and /proc/dsdt when I return
>from Ottawa unless somebody can convince me they should live.

Please do not! Not until a reliable userspace program can be easily
found for retrieving the dsdt on my pure X86_64 AMD system:

loke:sleipner:/home/net/acer/acpi/len_brown/pmtools-20050722$ uname -r
2.6.13-rc3
loke:sleipner:/home/net/acer/acpi/len_brown/pmtools-20050722$ make
for i in acpidump; do make -C $i all; done
make[1]: Entering directory
`/home/net/acer/acpi/len_brown/pmtools-20050722/acpidump'
cc -Wall -Wstrict-prototypes -O2 -D_LINUX -DDEFINE_ALTERNATE_TYPES
-I../include  acpidump.c -o acpidump
In file included from acpidump.c:49:
../include/acpi/actypes.h:115: error: parse error before
"acpi_native_int"
../include/acpi/actypes.h:115: warning: type defaults to `int' in
declaration of `acpi_native_int'
../include/acpi/actypes.h:115: warning: data definition has no type or
storage class
acpidump.c: In function `acpi_dump_RSDT':
acpidump.c:222: warning: cast to pointer from integer of different size
acpidump.c:246: warning: cast to pointer from integer of different size
acpidump.c:259: warning: cast to pointer from integer of different size
acpidump.c:266: warning: cast to pointer from integer of different size
acpidump.c:308: warning: cast to pointer from integer of different size
acpidump.c:350: warning: cast to pointer from integer of different size
acpidump.c:357: warning: cast to pointer from integer of different size
acpidump.c: In function `acpi_dump_XSDT':
acpidump.c:425: warning: cast to pointer from integer of different size
acpidump.c:438: warning: cast to pointer from integer of different size
make[1]: *** [acpidump] Error 1
make[1]: Leaving directory
`/home/net/acer/acpi/len_brown/pmtools-20050722/acpidump'
make: *** [all] Error 2

Mvh
Mats Johannesson
--


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click

^ permalink raw reply	[flat|nested] 11+ messages in thread
* RE: Re: acpidump replaces acpidmp
@ 2005-07-27 15:00 Brown, Len
  0 siblings, 0 replies; 11+ messages in thread
From: Brown, Len @ 2005-07-27 15:00 UTC (permalink / raw)
  To: Voluspa, Thomas Renninger
  Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
	Starikovskiy, Alexey Y

feel free to send me a patch to fix it.

thanks,
-Len 

>-----Original Message-----
>From: Voluspa [mailto:voluspa-zq6IREYz3ykAvxtiuMwx3w@public.gmane.org] 
>Sent: Wednesday, July 27, 2005 9:45 AM
>To: Thomas Renninger
>Cc: Brown, Len; acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>Subject: Re: [ACPI] Re: acpidump replaces acpidmp
>
>
>24 -r--------  1 root root   24136 Jul 27 14:47 dsdt
>28 -rw-r--r--  1 root root   24743 Jul 27 14:52 dsdt.acpidump
>
>OK, I now know that acpidump gives me both fadt and dsdt and something
>more, hence the difference. But this is usability madness; 1) The
>documentation of program switches, Both README and source, 
>swing between
>mildly accurate and inaccurate; 2) Having to dump/decode in several
>steps here (not really knowing if you've made an error) and then later
>in iasl as well.
>
>Compared to just copying dsdt from /proc and following all the 
>tutorials
>online on how to modify it, this hackery is not sane.
>
>Mvh
>Mats Johannesson
>--
>


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id\x16492&op=click

^ permalink raw reply	[flat|nested] 11+ messages in thread
* RE: Re: acpidump replaces acpidmp
@ 2005-07-27 15:31 Brown, Len
       [not found] ` <F7DC2337C7631D4386A2DF6E8FB22B300428C441-N2PTB0HCzHKkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
  0 siblings, 1 reply; 11+ messages in thread
From: Brown, Len @ 2005-07-27 15:31 UTC (permalink / raw)
  To: Voluspa, Thomas Renninger; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

 
>> ../include/acpi/actypes.h:115
>> Replace s64 with u64 and it at least compiles.

I published this initial version while at OLS,
having tested it only on ia32.

I tested it now on x86_64 and ran into the same problem as you.
The fix, however, is to use the typedef used in the kernel,
a signed long long, in this case.

After this change it works fine for me on x86_64 -- I'll
push a new version momentarily.

cheers,
-Len



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id\x16492&op=click

^ permalink raw reply	[flat|nested] 11+ messages in thread
* RE: acpidump replaces acpidmp
@ 2005-08-16 18:23 Brown, Len
       [not found] ` <F7DC2337C7631D4386A2DF6E8FB22B300456A26A-N2PTB0HCzHKkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
  0 siblings, 1 reply; 11+ messages in thread
From: Brown, Len @ 2005-08-16 18:23 UTC (permalink / raw)
  To: Voluspa; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Mats,
Does the latest acpidump work for you now?
can we obsolete /proc/acpi/fadt,dsdt?

thanks,
-Len 

>-----Original Message-----
>From: Voluspa [mailto:voluspa-zq6IREYz3ykAvxtiuMwx3w@public.gmane.org] 
>Sent: Tuesday, July 26, 2005 1:24 PM
>To: Brown, Len
>Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>Subject: Re: acpidump replaces acpidmp
>
>
>On 2005-07-23 0:35:38 Len Brown wrote:
>
>>ps. I shall delete /proc/fadt and /proc/dsdt when I return
>>from Ottawa unless somebody can convince me they should live.
>
>Please do not! Not until a reliable userspace program can be easily
>found for retrieving the dsdt on my pure X86_64 AMD system:
>
>loke:sleipner:/home/net/acer/acpi/len_brown/pmtools-20050722$ uname -r
>2.6.13-rc3
>loke:sleipner:/home/net/acer/acpi/len_brown/pmtools-20050722$ make
>for i in acpidump; do make -C $i all; done
>make[1]: Entering directory
>`/home/net/acer/acpi/len_brown/pmtools-20050722/acpidump'
>cc -Wall -Wstrict-prototypes -O2 -D_LINUX -DDEFINE_ALTERNATE_TYPES
>-I../include  acpidump.c -o acpidump
>In file included from acpidump.c:49:
>../include/acpi/actypes.h:115: error: parse error before
>"acpi_native_int"
>../include/acpi/actypes.h:115: warning: type defaults to `int' in
>declaration of `acpi_native_int'
>../include/acpi/actypes.h:115: warning: data definition has no type or
>storage class
>acpidump.c: In function `acpi_dump_RSDT':
>acpidump.c:222: warning: cast to pointer from integer of different size
>acpidump.c:246: warning: cast to pointer from integer of different size
>acpidump.c:259: warning: cast to pointer from integer of different size
>acpidump.c:266: warning: cast to pointer from integer of different size
>acpidump.c:308: warning: cast to pointer from integer of different size
>acpidump.c:350: warning: cast to pointer from integer of different size
>acpidump.c:357: warning: cast to pointer from integer of different size
>acpidump.c: In function `acpi_dump_XSDT':
>acpidump.c:425: warning: cast to pointer from integer of different size
>acpidump.c:438: warning: cast to pointer from integer of different size
>make[1]: *** [acpidump] Error 1
>make[1]: Leaving directory
>`/home/net/acer/acpi/len_brown/pmtools-20050722/acpidump'
>make: *** [all] Error 2
>
>Mvh
>Mats Johannesson
>--
>


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2005-08-24  5:44 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-26 17:24 acpidump replaces acpidmp Voluspa
     [not found] ` <20050726192423.216b4be8.voluspa-zq6IREYz3ykAvxtiuMwx3w@public.gmane.org>
2005-07-27 11:05   ` Thomas Renninger
     [not found]     ` <42E76A79.2040702-l3A5Bk7waGM@public.gmane.org>
2005-07-27 12:56       ` Voluspa
2005-07-27 13:44       ` Voluspa
     [not found]         ` <20050727154458.455d16db.voluspa-zq6IREYz3ykAvxtiuMwx3w@public.gmane.org>
2005-07-27 15:05           ` Thomas Renninger
  -- strict thread matches above, loose matches on Subject: below --
2005-07-27 15:00 Brown, Len
2005-07-27 15:31 Brown, Len
     [not found] ` <F7DC2337C7631D4386A2DF6E8FB22B300428C441-N2PTB0HCzHKkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2005-07-29 12:37   ` Thomas Renninger
2005-08-16 18:23 Brown, Len
     [not found] ` <F7DC2337C7631D4386A2DF6E8FB22B300456A26A-N2PTB0HCzHKkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2005-08-16 21:32   ` Bjorn Helgaas
     [not found]     ` <200508161532.34578.bjorn.helgaas-VXdhtT5mjnY@public.gmane.org>
2005-08-17  7:45       ` Voluspa
2005-08-24  5:44       ` Len Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox