Bug 10252 - powersaved causes a segfault in the kernel - ASUS M2N32-SLI Premium (NVIDIA nForce 590)
Summary: powersaved causes a segfault in the kernel - ASUS M2N32-SLI Premium (NVIDIA n...
Status: CLOSED PATCH_ALREADY_AVAILABLE
Alias: None
Product: ACPI
Classification: Unclassified
Component: Power-Processor (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Zhang Rui
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-15 13:34 UTC by Jiri Dluhos
Modified: 2008-03-18 18:43 UTC (History)
3 users (show)

See Also:
Kernel Version: 2.6.24.3
Subsystem:
Regression: Yes
Bisected commit-id:


Attachments

Description Jiri Dluhos 2008-03-15 13:34:54 UTC
Latest working kernel version: unknown, worked with 2.6.22.18
Earliest failing kernel version: unknown, occurred at 2.6.24.3
Distribution: openSUSE 10.3
Hardware Environment:
  * CPU: AMD Athlon 64 X2 5200+
  * motherboard: ASUS M2N32-SLI Premium (NVIDIA nForce 590 SLI chipset)
  * RAM: 4GB
Software Environment:
  * openSUSE 10.3
Problem Description:

I have installed a vanilla 2.6.24.3 kernel (because the default openSUSE 10.3 kernel does not support motherboard sensors and on-board sound card); at boot, it produces the following segfault message. The boot normally continues and the system appears normal otherwise.

general protection fault: 0000 [1] SMP
CPU 1
Modules linked in: af_packet ip6t_REJECT xt_tcpudp ipt_REJECT xt_state iptable_mangle iptable_nat nf_nat iptable_filter i
p6table_mangle nf_conntrack_ipv4 nf_conntrack ip_tables cpufreq_conservative cpufreq_userspace cpufreq_powersave ip6table
_filter powernow_k8 ip6_tables x_tables ipv6 snd_pcm_oss snd_mixer_oss snd_seq snd_seq_device dm_crypt loop dm_mod tda827
x saa7134_dvb videobuf_dvb dvb_core tda1004x firmware_class tuner tea5767 tda8290 tuner_simple mt20xx tea5761 saa7134 com
pat_ioctl32 videobuf_dma_sg videobuf_core ir_kbd_i2c ir_common snd_hda_intel videodev ohci1394 v4l2_common v4l1_compat us
b_storage ieee1394 k8temp parport_pc hwmon snd_pcm snd_timer parport i2c_nforce2 snd button soundcore i2c_core rtc_cmos s
erio_raw sr_mod forcedeth cdrom floppy rtc_core joydev snd_page_alloc rtc_lib sg raid456 async_xor async_memcpy async_tx
xor raid0 sd_mod edd ext3 mbcache jbd fan sata_sil24 pata_amd thermal processor
Pid: 4486, comm: powersaved Not tainted 2.6.24.3-default #1
RIP: 0010:[<ffffffff803729e2>]  [<ffffffff803729e2>] acpi_ns_map_handle_to_node+0x14/0x1d
RSP: 0018:ffff81011310fdc0  EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000001001 RCX: ffffffff80557729
RDX: 000000000000b635 RSI: 0000000000000100 RDI: 4d52454854584e4c
RBP: 4d52454854584e4c R08: ffffffff80557328 R09: ffffffff805576e1
R10: ffffffff804dd4a0 R11: 0000000000000000 R12: ffff81011310fe28
R13: ffffffff8037df44 R14: ffff81011310fe28 R15: ffff810119499d40
FS:  00002b3d89fcc6d0(0000) GS:ffff81011ba9e8c0(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: 00002b3d88185000 CR3: 0000000119085000 CR4: 00000000000006e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process powersaved (pid: 4486, threadinfo ffff81011310e000, task ffff8101190ef7e0)
Stack:  ffffffff80371c0a ffff810119442348 ffff81011310fe28 4d52454854584e4c
 ffff810117573a40 ffffffff88013687 ffffffff8037d47c 0000000000100073
 ffff810119914800 0000000000000000 ffffffff88012804 0000000000001000
Call Trace:
 [<ffffffff80371c0a>] acpi_get_data+0x3e/0x6e
 [<ffffffff8037d47c>] acpi_bus_get_device+0x25/0x68
 [<ffffffff88012804>] :thermal:acpi_thermal_trip_seq_show+0x143/0x26f
 [<ffffffff802c7424>] seq_read+0xb4/0x2e0
 [<ffffffff80212928>] arch_get_unmapped_area+0xe8/0x270
 [<ffffffff802ea70f>] proc_reg_read+0x7f/0xd0
 [<ffffffff802aa619>] vfs_read+0xe9/0x170
 [<ffffffff802aaab3>] sys_read+0x53/0x90
 [<ffffffff8020c3de>] system_call+0x7e/0x83


Code: 80 7f 08 0f 48 0f 44 c7 c3 48 89 f8 c3 31 c0 48 85 ff 74 0d
RIP  [<ffffffff803729e2>] acpi_ns_map_handle_to_node+0x14/0x1d
 RSP <ffff81011310fdc0>
---[ end trace 33c55c6ade715184 ]---


Steps to reproduce:

Happens at every boot with the specified HW/SW configuration.
Comment 1 ykzhao 2008-03-16 07:00:23 UTC
Will you please attach the output of acpidump?
Thanks.
Comment 2 Zhang Rui 2008-03-17 00:20:15 UTC
this is a duplicate of bug https://bugzilla.novell.com/show_bug.cgi?id=350017.
Please makesure the patch http://marc.info/?l=linux-acpi&m=120528053614266&w=2
can fix the problem for you.
Comment 3 Len Brown 2008-03-18 18:43:34 UTC
Thomas' patch for this shipped in Linux-2.6.25-rc6
Lin Ming and Bob Moore report that they'll have a different
patch for this in an ACPICA update, so we'll revert this fix
when that happens.

b6a163875935ce8e8e85901a7f2b68f7a314d914
ACPICA: Warn if packages with invalid references are evaluated

Note You need to log in before you can comment on or make changes to this bug.