All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marci <voloterreno-nc/lrvXPQ4s@public.gmane.org>
To: Richard Black <richard.black-VXdhtT5mjnY@public.gmane.org>
Cc: Ducrot Bruno <ducrot-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>,
	acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: [Fwd: ACPI error when trying entring in Sleep Mode]
Date: Mon, 17 Mar 2003 23:14:27 +0100	[thread overview]
Message-ID: <3E7648C3.9090402@tin.it> (raw)
In-Reply-To: <3E763453.1080307-VXdhtT5mjnY@public.gmane.org>

Richard Black wrote:

> Make sure what your current directory is: run the command "pwd"
> Then look at the beginning of the osl.diff file: "head /tmp/osl.diff"
> The basic command is:
>
> patch -p0 /tmp/osl.diff
>
> Increase the -p# number for each of the directories you want patch to 
> ignore.
>
> Here's another way you can do this:
>
> Look at the diff file (also called patch file) to see the number of 
> directories listed, then change directory so that you are now in the 
> same directory as the "osl" file that you need to patch. Then if there 
> are (in the patch file) 3 directories (for example: +++ 
> Blah/Blah/Blah/osl), then run patch -p3 /tmp/osl.diff which will 
> ignore all those 3 directories and will concentrate on updating only 
> the osl file.
>
> Otherwise if this isn't the problem, then I would need to see the 
> output from running the patch command.
>
> Marci wrote:
>
>> Richard Black wrote:
>>
>>> If anyone is having a problem with the documentation then the 
>>> documentation may need to be updated. In the meantime, here's the 
>>> info on how to use patch:
>>>
>>> http://www.cpqlinux.com/patch.html
>>>
>>> I believe all that they are saying with the line:
>>>
>>> "patch -p1 /PATH/TO/osl.diff and Customize the path to dstl.hex"
>>>
>>> is that /PATH/TO/osl.diff needs to point to the os1.diff file 
>>> (wherever you have it stored) so if you have it in your /tmp 
>>> directory then this would look like
>>>
>>> patch -p1 /tmp/osl.diff
>>>
>>>
>>> Marci wrote:
>>>
>>>> I'me very sorry to disturb you another time , but I need help for a 
>>>> thing.
>>>>
>>>> I've read the instructions on how to override the DSDT table by 
>>>> recompiling the linux kernel, but I've not understood clearly the 
>>>> process. In the part when it say that I have to make "patch -p1 
>>>> /PATH/TO/osl.diff and Customize the path to dstl.hex" (the part 
>>>> denominated "How to teach the kernel to use your costum table" )
>>>>
>>>> Thanks again for the help
>>>>
>>>> Marcello
>>>>
>>>>
>>>>
>>>> -------------------------------------------------------
>>>> This SF.net email is sponsored by:Crypto Challenge is now open! Get 
>>>> cracking and register here for some mind boggling fun and the 
>>>> chance of winning an Apple iPod:
>>>> http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
>>>> _______________________________________________
>>>> Acpi-devel mailing list
>>>> Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>>>> https://lists.sourceforge.net/lists/listinfo/acpi-devel
>>>
>>>
>>>
>>>
>>>
>> Ok, I've done this, but when I compile the kernel it says a lot of 
>> errors about dsdt.hex in very much lines. What is wrong :(
>>
>>
>>
>>
>>
>
Ok, I've patched the file osl.c (manually , because the patch found in 
that page doesn't want work ) but I think that I've done a good work 
(i've followed the instructions in the patch file, I've changed only the 
lines that were changed ) . The problem is in recompile the kernel, I 
get these messages.

Thank for your help

Errors:

In file included from osl.c:205:
/home/melchior/dsdt.hex:333: field name not in record or union initializer
/home/melchior/dsdt.hex:333: (near initialization for `AmlCode')
In file included from osl.c:205:
/home/melchior/dsdt.hex:333:68: warning: multi-line string literals are 
deprecated
/home/melchior/dsdt.hex:333: warning: initialization makes integer from 
pointer without a cast
/home/melchior/dsdt.hex:333: initializer element is not computable at 
load time
/home/melchior/dsdt.hex:333: (near initialization for `AmlCode[2552]')
/home/melchior/dsdt.hex:333: syntax error before "SBRGPIX0"
/home/melchior/dsdt.hex:334:68: warning: multi-line string literals are 
deprecated
/home/melchior/dsdt.hex:335:68: warning: multi-line string literals are 
deprecated
/home/melchior/dsdt.hex:336:68: warning: multi-line string literals are 
deprecated
/home/melchior/dsdt.hex:337:68: warning: multi-line string literals are 
deprecated
/home/melchior/dsdt.hex:333: syntax error at '#' token
/home/melchior/dsdt.hex:338:68: warning: multi-line string literals are 
deprecated
/home/melchior/dsdt.hex:339:68: warning: multi-line string literals are 
deprecated
/home/melchior/dsdt.hex:340:68: warning: multi-line string literals are 
deprecated
/home/melchior/dsdt.hex:341:68: warning: multi-line string literals are 
deprecated
/home/melchior/dsdt.hex:342:68: warning: multi-line string literals are 
deprecated
/home/melchior/dsdt.hex:343:68: warning: multi-line string literals are 
deprecated
/home/melchior/dsdt.hex:333: invalid suffix on integer constant
/home/melchior/dsdt.hex:344:68: warning: multi-line string literals are 
deprecated
/home/melchior/dsdt.hex:333: invalid suffix on floating constant
/home/melchior/dsdt.hex:345:68: warning: multi-line string literals are 
deprecated
/home/melchior/dsdt.hex:346:68: warning: multi-line string literals are 
deprecated
/home/melchior/dsdt.hex:347:68: warning: multi-line string literals are 
deprecated
/home/melchior/dsdt.hex:348:68: warning: multi-line string literals are 
deprecated
/home/melchior/dsdt.hex:349:68: warning: multi-line string literals are 
deprecated
/home/melchior/dsdt.hex:350:68: warning: multi-line string literals are 
deprecated
/home/melchior/dsdt.hex:351:68: warning: multi-line string literals are 
deprecated
/home/melchior/dsdt.hex:352:68: warning: multi-line string literals are 
deprecated
/home/melchior/dsdt.hex:353:68: warning: multi-line string literals are 
deprecated
/home/melchior/dsdt.hex:354:68: warning: multi-line string literals are 
deprecated
/home/melchior/dsdt.hex:355:68: warning: multi-line string literals are 
deprecated
/home/melchior/dsdt.hex:356:68: warning: multi-line string literals are 
deprecated
/home/melchior/dsdt.hex:357:68: warning: multi-line string literals are 
deprecated
/home/melchior/dsdt.hex:358:68: warning: multi-line string literals are 
deprecated
/home/melchior/dsdt.hex:359:68: warning: multi-line string literals are 
deprecated
/home/melchior/dsdt.hex:360:68: warning: multi-line string literals are 
deprecated
/home/melchior/dsdt.hex:361:67: warning: multi-line string literals are 
deprecated
/home/melchior/dsdt.hex:362:68: warning: multi-line string literals are 
deprecated
/home/melchior/dsdt.hex:363:68: warning: multi-line string literals are 
deprecated
/home/melchior/dsdt.hex:364:68: warning: multi-line string literals are 
deprecated
/home/melchior/dsdt.hex:365:68: warning: multi-line string literals are 
deprecated
/home/melchior/dsdt.hex:366:67: warning: multi-line string literals are 
deprecated
/home/melchior/dsdt.hex:367:68: warning: multi-line string literals are 
deprecated
/home/melchior/dsdt.hex:368:68: warning: multi-line string literals are 
deprecated
/home/melchior/dsdt.hex:369:68: warning: multi-line string literals are 
deprecated
/home/melchior/dsdt.hex:370:68: warning: multi-line string literals are 
deprecated
/home/melchior/dsdt.hex:371:68: warning: multi-line string literals are 
deprecated
/home/melchior/dsdt.hex:372:68: warning: multi-line string literals are 
deprecated
/home/melchior/dsdt.hex:373:68: warning: multi-line string literals are 
deprecated
/home/melchior/dsdt.hex:333: syntax error at '#' token
/home/melchior/dsdt.hex:374:68: warning: multi-line string literals are 
deprecated
/home/melchior/dsdt.hex:375:68: warning: multi-line string literals are 
deprecated
/home/melchior/dsdt.hex:376:68: warning: multi-line string literals are 
deprecated
/home/melchior/dsdt.hex:377:68: warning: multi-line string literals are 
deprecated
/home/melchior/dsdt.hex:378:68: warning: multi-line string literals are 
deprecated
/home/melchior/dsdt.hex:379:68: warning: multi-line string literals are 
deprecated
/home/melchior/dsdt.hex:380:68: warning: multi-line string literals are 
deprecated
/home/melchior/dsdt.hex:381:68: warning: multi-line string literals are 
deprecated
/home/melchior/dsdt.hex:382:68: warning: multi-line string literals are 
deprecated
/home/melchior/dsdt.hex:383:68: warning: multi-line string literals are 
deprecated
/home/melchior/dsdt.hex:384:68: warning: multi-line string literals are 
deprecated
make[4]: *** [osl.o] Error 1
make[3]: *** [first_rule] Error 2
make[2]: *** [_subdir_acpi] Error 2
make[1]: *** [_dir_drivers] Error 2
make: *** [stamp-build] Error 2





-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en

  parent reply	other threads:[~2003-03-17 22:14 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-17 12:50 [Fwd: ACPI error when trying entring in Sleep Mode] Marci
     [not found] ` <3E75C4A6.6000507-nc/lrvXPQ4s@public.gmane.org>
2003-03-17 13:48   ` Ducrot Bruno
     [not found]     ` <20030317134809.GF8319-j6u/t2rXLliUoIHC/UFpr9i2O/JbrIOy@public.gmane.org>
2003-03-17 14:10       ` Marci
     [not found]         ` <3E75D75F.8090908-nc/lrvXPQ4s@public.gmane.org>
2003-03-17 15:28           ` Karol Kozimor
     [not found]     ` <3E75D6E2.4040001@tin.it>
     [not found]       ` <20030317153147.GH8319@poup.poupinou.org>
     [not found]         ` <20030317153147.GH8319-j6u/t2rXLliUoIHC/UFpr9i2O/JbrIOy@public.gmane.org>
2003-03-17 18:01           ` Marci
     [not found]             ` <3E760D7D.4040405-nc/lrvXPQ4s@public.gmane.org>
2003-03-17 18:16               ` Ducrot Bruno
     [not found]         ` <3E7611EB.2050805@tin.it>
     [not found]           ` <3E7611EB.2050805-nc/lrvXPQ4s@public.gmane.org>
2003-03-17 18:43             ` Ducrot Bruno
     [not found]               ` <20030317184333.GL8319-j6u/t2rXLliUoIHC/UFpr9i2O/JbrIOy@public.gmane.org>
2003-03-17 19:03                 ` Marci
     [not found]                   ` <3E762BDD.8030108@hp.com>
     [not found]                     ` <3E762DED.70301@tin.it>
     [not found]                       ` <3E763453.1080307@hp.com>
     [not found]                         ` <3E763453.1080307-VXdhtT5mjnY@public.gmane.org>
2003-03-17 22:14                           ` Marci [this message]
     [not found]                             ` <3E7648C3.9090402-nc/lrvXPQ4s@public.gmane.org>
2003-03-18  9:47                               ` Ducrot Bruno
     [not found]                                 ` <20030318094752.GO8319-j6u/t2rXLliUoIHC/UFpr9i2O/JbrIOy@public.gmane.org>
2003-03-18 14:10                                   ` Marci
     [not found]                                     ` <20030318141933.GU8319@poup.poupinou.org>
     [not found]                                       ` <20030318141933.GU8319-j6u/t2rXLliUoIHC/UFpr9i2O/JbrIOy@public.gmane.org>
2003-03-18 14:58                                         ` Marci
     [not found]                                           ` <3E773417.3030601-nc/lrvXPQ4s@public.gmane.org>
2003-03-18 15:49                                             ` Ducrot Bruno
2003-03-18 14:13                                   ` Ducrot Bruno
  -- strict thread matches above, loose matches on Subject: below --
2003-03-18 16:45 Moore, Robert

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=3E7648C3.9090402@tin.it \
    --to=voloterreno-nc/lrvxpq4s@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=ducrot-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org \
    --cc=richard.black-VXdhtT5mjnY@public.gmane.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.