View previous topic :: View next topic |
Author |
Message |
boazbd Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Simpsons/simpsons_santas_little_help.gif)
Joined: 07 Sep 2006 Posts: 78 Location: Jerusalem, Israel
|
Posted: Fri Dec 07, 2007 4:59 pm Post subject: can't compile kenel with custom dsdt table dell d630[SOLVED] |
|
|
Hi all,
I have been following the directions on http://gentoo-wiki.com/HARDWARE_Dell_Latitude_D630#ACPI in order to fix the dsdt.
The problem is that after I tell the kernel where the new dsdt h file is the compilation fails with:
Code: |
scripts/kconfig/conf -s arch/i386/Kconfig
CHK include/linux/version.h
CHK include/linux/utsrelease.h
CALL scripts/checksyscalls.sh
CHK include/linux/compile.h
GZIP kernel/config_data.gz
IKCFG kernel/config_data.h
CC kernel/configs.o
LD kernel/built-in.o
CC drivers/acpi/osl.o
drivers/acpi/osl.c: In function 'acpi_os_table_override':
drivers/acpi/osl.c:287: error: 'AmlCode' undeclared (first use in this function)
drivers/acpi/osl.c:287: error: (Each undeclared identifier is reported only once
drivers/acpi/osl.c:287: error: for each function it appears in.)
make[2]: *** [drivers/acpi/osl.o] Error 1
make[1]: *** [drivers/acpi] Error 2
make: *** [drivers] Error 2
|
Did anyone manage to get this to work?
I think this is preventing me from suspending etc.
Thanks in advance,
Boaz.
Last edited by boazbd on Wed Jan 02, 2008 1:34 am; edited 2 times in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
djinnZ Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/3978748614ef08bfa7f764.jpg)
Joined: 02 Nov 2006 Posts: 4831 Location: somewhere in L.O.S.
|
Posted: Fri Dec 07, 2007 5:42 pm Post subject: |
|
|
verify for PM_LEGACY=y and PREVENT_FIRMAWARE_BUILD=y _________________ scita et risus abundant in ore stultorum sed etiam semper severi insani sunt
mala tempora currunt...mater stultorum semper pregna est
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist ![Wink :wink:](images/smiles/icon_wink.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
boazbd Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Simpsons/simpsons_santas_little_help.gif)
Joined: 07 Sep 2006 Posts: 78 Location: Jerusalem, Israel
|
Posted: Sat Dec 08, 2007 8:24 am Post subject: |
|
|
Hi djinnZ, thanks for responding so fast.
Unfortunately, I verified for the options you mentioned and both of them were already on "y".
So no luck there.
Does anyone has any more ideas?
The dsdt was downloaded from sourceforge and it is marked original so I'm not sure why this is happening... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
boazbd Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Simpsons/simpsons_santas_little_help.gif)
Joined: 07 Sep 2006 Posts: 78 Location: Jerusalem, Israel
|
Posted: Sat Dec 08, 2007 6:56 pm Post subject: |
|
|
Well, getting a bit desperate here...
After hours of googleing I could see no topic about this issue, and no solution is in sight.
This all started when I could not suspend the machine (suspend to ram freezes and suspend to disk doesn't event
begin to work). |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
djinnZ Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/3978748614ef08bfa7f764.jpg)
Joined: 02 Nov 2006 Posts: 4831 Location: somewhere in L.O.S.
|
Posted: Mon Dec 10, 2007 1:04 pm Post subject: |
|
|
uhm, just a little question... have you compiled with iasl the DSDT source or you have tryed to include it directly in the kernel? _________________ scita et risus abundant in ore stultorum sed etiam semper severi insani sunt
mala tempora currunt...mater stultorum semper pregna est
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist ![Wink :wink:](images/smiles/icon_wink.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
boazbd Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Simpsons/simpsons_santas_little_help.gif)
Joined: 07 Sep 2006 Posts: 78 Location: Jerusalem, Israel
|
Posted: Mon Dec 10, 2007 1:10 pm Post subject: |
|
|
I compiled the source with iasl and copied it to the /include/acpi directory in the kernel source. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
boazbd Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Simpsons/simpsons_santas_little_help.gif)
Joined: 07 Sep 2006 Posts: 78 Location: Jerusalem, Israel
|
Posted: Wed Dec 12, 2007 7:44 am Post subject: |
|
|
Anyone???? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
boazbd Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Simpsons/simpsons_santas_little_help.gif)
Joined: 07 Sep 2006 Posts: 78 Location: Jerusalem, Israel
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Kollin Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/65125292643ffae3a111ee.jpg)
Joined: 25 Feb 2006 Posts: 1139 Location: Sofia/Bulgaria
|
Posted: Wed Nov 05, 2008 5:01 pm Post subject: |
|
|
It turned out I have enabled the custom DSDT option but the field
for the custom file have left empty. That's the cause for the error. _________________ "Dear Enemy: may the Lord hate you and all your kind, may you be turned orange in hue, and may your head fall off at an awkward moment."
"Linux is like a wigwam - no windows, no gates, apache inside..." |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|