LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 11-29-2005, 06:41 PM   #1
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Custom DSDT found, read 0 bytes! So what did I miss?


I have Breezy on Acer Aspire 3003LC. Completely up to date.

I copied the firmware DSDT from /proc/acpi
Using iASL: decompiled it, then adjusted the code until it would recompile without errors.
Stuck DSDT.aml into /etc/mkinitramfs, and ran dpkg-reconfigure linux-image.
Reboot.

No acpi, fan on all the time etc.
dmesg was flooded with APIC errors.
reboot with option "noapic" so I can see what's going on.
dmesg now shows that the custom dsdt file was found, but nothing was read from it. And this is the problem... here's the actual statement:
Code:
$ dmesg | grep ACPI
ACPI: Looking for DSDT in initramfs... found /DSDT.aml ... successfully read 0 bytes from /DSDT.aml
ACPI: Using customized DSDT
    ACPI-0229 *** Warning: Invalid checksum in table [   ] (00, sum 54 is not zero)
    ACPI-0306 *** Info: table [   ] replaced by host OS
    ACPI-0320 *** Error: ns_search_and_enter: Bad character in ACPI Name: CBEEDF
    ACPI-0295 *** Error: Looking up [0xCBEEDF] (NON-ASCII)
    ACPI-0127 *** Error: acpi_load_tables: Could not load namespace: AE_BAD_CHARACTER
    ACPI-0136 *** Error: acpi_load_tables: Could not load tables: AE_BAD_CHARACTER
ACPI: Unable to load the System Description Tables
ACPI: Subsystem revision 20050729
ACPI: Interpreter disabled.
pnp: PnP ACPI: disabled
And so there is no ACPI ... That first line would be the trouble.

Checking DSDT.aml shows
Code:
$ ls -l /etc/mkinitramfs/DSDT.aml
-rw-r--r-- 1 root root 13975 2005-11-27 23:47 /etc/mkinitramfs/DSDT.aml
Permissions don't seem to be the problem: everyone has read access; and the file clearly is bigger than 0 bytes. And i did compile with iasl -ta dsdt.dsl.

I suspect this may be something to do with the reconfigure process or the way the breezy kernel reads the custom dsdt - making this an Ubuntu/Debian specific issue.

So what gives???

(Before I give the "fixed" DSDT to sourceforge I want to make sure this is really fixed. The good folk on the ACPI list advise me to recompile the kernel with the dsdt.hax file factored in. But then I'd have to do this with every kernel upgrade!)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to know how many bytes can read from a descriptor? (C/C++) Thinking Programming 6 10-28-2005 12:46 PM
TX bytes vs. httpd bytes ovrload Linux - Networking 3 10-12-2005 04:19 PM
calling sys_read inside sys_write returns number of bytes read as zero appas Linux - Software 0 08-28-2004 07:21 AM
Custom DSDT for Averatec 3150 msjarrell Linux - Laptop and Netbook 0 08-04-2004 01:10 PM
2.6.4 acpi patch for custom dsdt? Outabux Debian 16 04-08-2004 07:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 08:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration