hald-addon-acpi[5115]: segfault at 0000000025c831f8...error 4, 2.6.22-9 kernel acpi segfault

Bug #130221 reported by Snipersnest
8
Affects Status Importance Assigned to Milestone
Linux
Fix Released
Medium
hal (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

/var/log/syslog shows this

Aug 3 12:33:40 nate-laptop kernel: [ 190.347637] hald-addon-acpi[5115]: segfault at 0000000025c831f8 rip 00002b148bc865db rsp 00007fff1f511020 error 4

I'm not sure if this is because I load the computer with the noacpi option.

Tags: acpi
Snipersnest (talk2nate)
description: updated
Changed in linux-source-2.6.22:
assignee: nobody → ubuntu-kernel-acpi
Revision history for this message
Paul Dufresne (paulduf) wrote :

Are you using noacpi option because you had a problem without it?
If so, what was it? If not, please try without this option.

Is it LiveCD or installed system?
Is it Ubuntu or Kubuntu (or other)?
Which version?
Does it do that each time you use computer?
When?

Does the system works more or less normally after that?
If so, could you please include the following additional information, if you have not already done so (please pay attention to lspci's additional options), as required by the Ubuntu Kernel Team:
1. Please include the output of the command "uname -a" in your next response. It should be one, long line of text which includes the exact kernel version you're running, as well as the CPU architecture.
2. Please run the command "dmesg > dmesg.log" and attach the resulting file "dmesg.log" to this bug report.
3. Please run the command "sudo lspci -vvnn > lspci-vvnn.log" and attach the resulting file "lspci-vvnn.log" to this bug report.
4. Please run the command "sudo dmidecode > dmidecode.log" and attach the resulting file "dmidecode.log" to this bug report.

For your reference, the full description of procedures for kernel-related bug reports is available at [WWW] http://wiki.ubuntu.com/KernelTeamBugPolicies.
Thanks in advance!

Changed in linux-source-2.6.22:
assignee: ubuntu-kernel-acpi → dufresnep
status: New → Incomplete
Revision history for this message
Snipersnest (talk2nate) wrote :

To answer the first few questions:

Installed Gusty to the system
I received the error in both Gnome and KDE
Gusty Tribe 3
This problem seems to happen around the time you change DHCP settings to get wireless working after you boot up. At least thats why I saw it in the system log.

My system is little crazy since last update. I'm going to have to restore it before I can give you an answer on the other 4 questions.

Revision history for this message
Nirav Patel (nrpatel) wrote :

I'm having the same issue on my Gutsy Tribe 3 install.
My uname -a: Linux Nemesis 2.6.22-9-generic #1 SMP Fri Aug 3 00:20:35 GMT 2007 x86_64 GNU/Linux

Revision history for this message
Nirav Patel (nrpatel) wrote :
Revision history for this message
Nirav Patel (nrpatel) wrote :
Revision history for this message
Paul Dufresne (paulduf) wrote :

Some possibly pertinent info extracted from dmesg.log of cmonkey:
[ 0.000000] ACPI Warning (tbfadt-0434): Optional field "Gpe1Block" has zero address or length: 000000000000102C/0 [20070126]
[ 11.950461] ACPI: Looking for DSDT in initramfs... error, file /DSDT.aml not found.
[ 94.317375] hald-addon-acpi[4997]: segfault at 0000000025c831f8 rip 00002b69160d25fb rsp 00007fff950c2c20 error 4

To both of you, have you check that your BIOS is up to date?

Revision history for this message
Snipersnest (talk2nate) wrote : Re: [Bug 130221] Re: hald-addon-acpi[5115]: segfault at 0000000025c831f8...error 4, 2.6.22-9 kernel acpi segfault

I have the most current version for my laptop which is F.38 from HP.. To even get Gusty to install I have to use the noacpi option and pnpbios off option. Once installed I only have to use the noacpi option.

----- Original Message ----
From: Paul Dufresne <email address hidden>
To: <email address hidden>
Sent: Thursday, August 9, 2007 11:26:38 PM
Subject: [Bug 130221] Re: hald-addon-acpi[5115]: segfault at 0000000025c831f8...error 4, 2.6.22-9 kernel acpi segfault

Some possibly pertinent info extracted from dmesg.log of cmonkey:
[ 0.000000] ACPI Warning (tbfadt-0434): Optional field "Gpe1Block" has zero address or length: 000000000000102C/0 [20070126]
[ 11.950461] ACPI: Looking for DSDT in initramfs... error, file /DSDT.aml not found.
[ 94.317375] hald-addon-acpi[4997]: segfault at 0000000025c831f8 rip 00002b69160d25fb rsp 00007fff950c2c20 error 4

To both of you, have you check that your BIOS is up to date?

--
hald-addon-acpi[5115]: segfault at 0000000025c831f8...error 4, 2.6.22-9 kernel acpi segfault
https://bugs.launchpad.net/bugs/130221
You received this bug notification because you are a direct subscriber
of the bug.

____________________________________________________________________________________
Moody friends. Drama queens. Your life? Nope! - their life, your story. Play Sims Stories at Yahoo! Games.
http://sims.yahoo.com/

Revision history for this message
Paul Dufresne (paulduf) wrote :

Thanks Snipersnest for that information about your BIOS.
Please, either use the link to the bug on the web receive at the end of email (automatically added by the bug system), or at least remove all the quoted text of previous messages when you reply.

I am now making this bug 'Confirmed' because as a bug triager, I find there is enough information for a kernel developer to begin investigate this.

Changed in linux-source-2.6.22:
assignee: dufresnep → ubuntu-kernel-acpi
status: Incomplete → Confirmed
Changed in linux-source-2.6.22:
importance: Undecided → Medium
status: Confirmed → Triaged
Revision history for this message
Juksu (jluostar) wrote :

This happens to me as well on gutsy tribe 5:

Possulap kernel: [ 17.029962] ACPI: Core revision 20070126
Possulap kernel: [ 17.030042] ACPI: Looking for DSDT in initramfs... error, file /DSDT.aml not found.

Possulap kernel: [ 1723.405879] hald-addon-acpi[5300]:hald-addon-acpi[5300]: segfault at 0000000025c831f8 rip 00002b75a91e05fb rsp 00007fff01fadaa0 error 4

Possulap kernel: [ 17.515598] PCI: Probing PCI hardware (bus 00)
Possulap kernel: [ 17.516263] PCI quirk: region 1000-107f claimed by ICH6 ACPI/GPIO/TCO
Possulap kernel: [ 17.516267] PCI quirk: region 1100-113f claimed by ICH6 GPIO
Possulap kernel: [ 17.517463] PCI: Transparent bridge - 0000:00:1e.0
Possulap kernel: [ 17.517537] PCI: Bus #03 (-#06) is hidden behind transparent bridge #02 (-#03) (try 'pci=assign-busses')
Possulap kernel: [ 17.517539] Please report the result to linux-kernel to fix this permanently

Revision history for this message
Marco Ferragina (ferama) wrote :

I have a toshiba m30x and I'm using gutsy tribe5. If I don't pass the acpi=off to the kernel, my laptop will
shutdown immediatly during gnome session start. With immediatly I mean that I can see nothing more that
a powered off pc instantly.
Using the live cd I have the same problem.

Without acpi I can't use cpu frequency scaling and for a laptop this is cause of troubles :(

Revision history for this message
TJ (tj) wrote :

Looking at hald/util.c I can see at least a couple of places that might be responsible for this. Back in 2005 there was a patch to fix these reports called "hal-fix-seqfault_if_addon_missing.diff". Unfortunately hald's util.c has been reworked since then and the issues that patch addressed may have been inadvertently not been handled by the new code.

To get an idea of which device is causing the issue we need a couple of log files from a clean start. The files are:

/var/log/messages
/var/log/debug
/var/log/dmesg

Before restarting you should remove or delete the first two existing log files so they will be freshly created at boot-time (dmesg is recreated each start). The reason for these two is:

1) both have timestamps that can be matched to events
2) debug inadvertently contains reports of hal_device_added/removed events through NetworkManager's debug-logging.

Once you've captured the error in the logs please put them together and attach them to a comment:

$ tar -czvf hald-addon-acpi-debug-logs.tar.gz /var/log/dmesg /var/log/messages /var/log/debug

Changed in linux-source-2.6.22:
status: Triaged → In Progress
Revision history for this message
DickeyWang (invariance) wrote :

I am running Gutsy on a Thinkpad T61p, and I got both the "Gpe1Block has zero address" and the "DSDT.aml not found" error, but I don't have the hald-addon-acpi segfault error.

Revision history for this message
In , Erik Andrén (erik-andren) wrote :

dmesg reports:
hald-addon-acpi[5163]: segfault at 0000000025c831f8 rip 00002b9e4acc16ab rsp 00007fff604cdf90 error 4

This is using Ubuntu Gutsy Gibbon 7.10.
Downstream bug tracking the same issue:

Using hal 0.5.9.1
Please instruct on further steps to debug this issue.

Revision history for this message
In , Erik Andrén (erik-andren) wrote :

Created an attachment (id=11900)
archive containing /var/log/message, dmesg and debug

Revision history for this message
Erik Andrén (erik-andren) wrote :

I have the same issue, and am not booting with noacpi.

Attaching the requested files.

Revision history for this message
In , Erik Andrén (erik-andren) wrote :

This seems to have fixed itself with the latest downstream update. Sorry for the noise, closing!

Revision history for this message
Erik Andrén (erik-andren) wrote :

This issue is resolved for me with the latest hal update:

hal (0.5.9.1-6ubuntu3) gutsy; urgency=low

   * Add '26-addon-acpi-fix-free-before-init.diff' to fix error handling
     in addon-acpi.c:main_loop(). (LP: #148467)

 -- Paul Sladen <email address hidden> Thu, 04 Oct 2007 20:13:58 +0300

Changed in linux:
status: Unknown → Fix Released
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Per Erik's last comment I'm marking this fix released. Thanks.

Changed in linux-source-2.6.22:
status: In Progress → Fix Released
Changed in linux:
importance: Unknown → Medium
Changed in linux:
importance: Medium → Unknown
Changed in linux:
importance: Unknown → Medium
Changed in hal (Ubuntu):
assignee: Ubuntu Kernel ACPI Team (ubuntu-kernel-acpi) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.