Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
can't compile kenel with custom dsdt table dell d630[SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
boazbd
Tux's lil' helper
Tux's lil' helper


Joined: 07 Sep 2006
Posts: 78
Location: Jerusalem, Israel

PostPosted: Fri Dec 07, 2007 4:59 pm    Post subject: can't compile kenel with custom dsdt table dell d630[SOLVED] Reply with quote

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
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Fri Dec 07, 2007 5:42 pm    Post subject: Reply with quote

verify for PM_LEGACY=y and PREVENT_FIRMAWARE_BUILD=y
_________________
scita et risus abundant in ore stultorum sed etiam semper severi insani sunt:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:
Back to top
View user's profile Send private message
boazbd
Tux's lil' helper
Tux's lil' helper


Joined: 07 Sep 2006
Posts: 78
Location: Jerusalem, Israel

PostPosted: Sat Dec 08, 2007 8:24 am    Post subject: Reply with quote

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
View user's profile Send private message
boazbd
Tux's lil' helper
Tux's lil' helper


Joined: 07 Sep 2006
Posts: 78
Location: Jerusalem, Israel

PostPosted: Sat Dec 08, 2007 6:56 pm    Post subject: Reply with quote

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
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Mon Dec 10, 2007 1:04 pm    Post subject: Reply with quote

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:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:
Back to top
View user's profile Send private message
boazbd
Tux's lil' helper
Tux's lil' helper


Joined: 07 Sep 2006
Posts: 78
Location: Jerusalem, Israel

PostPosted: Mon Dec 10, 2007 1:10 pm    Post subject: Reply with quote

I compiled the source with iasl and copied it to the /include/acpi directory in the kernel source.
Back to top
View user's profile Send private message
boazbd
Tux's lil' helper
Tux's lil' helper


Joined: 07 Sep 2006
Posts: 78
Location: Jerusalem, Israel

PostPosted: Wed Dec 12, 2007 7:44 am    Post subject: Reply with quote

Anyone????
Back to top
View user's profile Send private message
boazbd
Tux's lil' helper
Tux's lil' helper


Joined: 07 Sep 2006
Posts: 78
Location: Jerusalem, Israel

PostPosted: Wed Jan 02, 2008 1:34 am    Post subject: Reply with quote

In case anyone encounteres this error, I was able to solve it.
Look in the wiki entry, at the end of the ACPI section (there is a note I wrote there): http://gentoo-wiki.com/HARDWARE_Dell_Latitude_D630#ACPI
Back to top
View user's profile Send private message
Kollin
Veteran
Veteran


Joined: 25 Feb 2006
Posts: 1139
Location: Sofia/Bulgaria

PostPosted: Wed Nov 05, 2008 5:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum