[Bug 496811] New: acpidump segmentation fault (boot and other lots of time)
http://bugzilla.novell.com/show_bug.cgi?id=496811 Summary: acpidump segmentation fault (boot and other lots of time) Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: andrea@opensuse.org QAContact: qa@suse.de Found By: --- Created an attachment (id=287053) --> (http://bugzilla.novell.com/attachment.cgi?id=287053) /var/log/boot.msg log file User-Agent: Mozilla/5.0 (X11; U; Linux i686; it; rv:1.9.0.8) Gecko/2009032600 SUSE/3.0.8-1.1.1 Firefox/3.0.8 i see an error similar to that one : sh: line 1: 4556 Segmentation fault /usr/sbin/acpidump 2> /dev/null lot's of times example.. if i run "sax2 -r" suse-laptop:/home/anubis # sax2 -r SaX: initializing please wait... SaX: your current configuration will not be read in SaX: access to your display has been granted sh: line 1: 4556 Segmentation fault /usr/sbin/acpidump 2> /dev/null sh: line 1: 4570 Segmentation fault /usr/sbin/acpidump 2> /dev/null sh: line 1: 4590 Segmentation fault /usr/sbin/acpidump 2> /dev/null sh: line 1: 4594 Segmentation fault /usr/sbin/acpidump 2> /dev/null sh: line 1: 4598 Segmentation fault /usr/sbin/acpidump 2> /dev/null sh: line 1: 4602 Segmentation fault /usr/sbin/acpidump 2> /dev/null SPP: prepare device [0] profile: Depth24 SPP: prepare device [0] profile: NVidia SPP: calling device [0] profile script: NVidia SPP: prepare device [0] profile: NoModelines SPP: prepare device [0] profile: Composite SPP: prepare device [1] profile: synaptics SPP: including prepared profile(s)... SPP: prepare device [0] profile: nobus SPP: including prepared profile(s)... SaX: startup SaX: X-Server: :0.0 -> grant SaX: using cache data... same error on boot (attachet /var/log/boot.msg (the shortest output is the following) anubis@suse-laptop:~> cat /var/log/boot.msg | grep fault <6>Using APIC driver default <6>io scheduler cfq registered (default) <6>perfmon: added sampling format default net.ipv4.conf.default.promote_secondaries = 1 donesh: line 1: 2536 Segmentation fault /usr/sbin/acpidump 2> /dev/null my hardware : hp pavilion dv6855el --> http://en.opensuse.org/HCL/Laptops/HP/HP_Pavilion_dv6855el#Hardware Reproducible: Always Steps to Reproduce: just boot and/or lunch sax2 -r Actual Results: segmentation fault Expected Results: should not crasch -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=496811 User andrea@opensuse.org added comment http://bugzilla.novell.com/show_bug.cgi?id=496811#c1 --- Comment #1 from andrea florio <andrea@opensuse.org> 2009-04-26 03:38:14 MDT --- nobody care? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=496811 User rommie@bk.ru added comment http://bugzilla.novell.com/show_bug.cgi?id=496811#c2 Roman Varenik <rommie@bk.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rommie@bk.ru --- Comment #2 from Roman Varenik <rommie@bk.ru> 2009-04-27 08:24:28 MDT --- I have the same crash every time I run acpidump. gdb says: (gdb) r Starting program: /usr/sbin/acpidump [Thread debugging using libthread_db enabled] Program received signal SIGSEGV, Segmentation fault. 0xb7ed8fb7 in memcmp () from /lib/libc.so.6 (gdb) bt #0 0xb7ed8fb7 in memcmp () from /lib/libc.so.6 #1 0x08048c63 in acpi_map_table (where=3488600120, sig=0x8049e3a "RSDT") at acpidump.c:108 #2 0x080496dd in main (argc=Cannot access memory at address 0x4 ) at acpidump.c:304 There's no need to reboot. acpidump crashes when started in console (sudoed). -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=496811 Leon Wang <llwang@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |llwang@novell.com AssignedTo|bnc-team-screening@forge.pr |kernel-maintainers@forge.pr |ovo.novell.com |ovo.novell.com -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=496811 User andrea@opensuse.org added comment http://bugzilla.novell.com/show_bug.cgi?id=496811#c3 --- Comment #3 from andrea florio <andrea@opensuse.org> 2009-04-28 02:48:53 MDT --- similar output here: (gdb) r /usr/sbin/acpidump Starting program: /usr/sbin/acpidump /usr/sbin/acpidump (no debugging symbols found) (no debugging symbols found) [Thread debugging using libthread_db enabled] Program received signal SIGSEGV, Segmentation fault. 0xb7ecdfb7 in memcmp () from /lib/libc.so.6 (gdb) -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=496811 User jeffm@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=496811#c4 Jeff Mahoney <jeffm@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium AssignedTo|kernel-maintainers@forge.pr |trenn@novell.com |ovo.novell.com | --- Comment #4 from Jeff Mahoney <jeffm@novell.com> 2009-05-15 16:57:17 MDT --- Assigning to pmtools maintainer. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=496811 User trenn@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=496811#c5 Thomas Renninger <trenn@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |astarikovskiy@novell.com --- Comment #5 from Thomas Renninger <trenn@novell.com> 2009-05-19 05:08:00 MDT --- I expect this system does not provide an RSDT table, only an XSDT one. It also seem to have a random/invalid pointer to a RSDT table. We know that older Microsoft OSes did use RSDT table, even they shouldn't. At least Vista seem to make use of XSDT more spec conform. What Microsoft OSes are supported by this machine? The address pointing to RSDT: 0x3488600120 is probably invalid but mmap does not return an error and when trying to access it, acpidump segfaults. Some ideas: - provide a --rsdt param. Only dump RSDT if no XSDT gets dumped or --rsdt param is explicitly provided -> will attach patch. - check against e820 table, whether the tables all lie in reserved ACPI data regions -> a lot to do. It could be checked through /proc/iomem: cffc0000-cffcdfff : ACPI Tables cffce000-cffeffff : ACPI Non-volatile Storage All tables must lie in these regions. There already is --skip option, but I do not understand it. Trying out a bit with it I always get an empty dump with --skip 1 -t ANY_TABLE or a full dump with only --skip 1. IMO this param can be reverted. Alexey, what do you think? Can you try acpidump from pmtools package provided here, please: ftp.suse.com/pub/people/trenn/acpidump It now should work without any param (Also try -a param). If you add --rsdt param you should get the same segfault? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=496811 User trenn@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=496811#c6 --- Comment #6 from Thomas Renninger <trenn@novell.com> 2009-05-19 05:10:40 MDT --- Created an attachment (id=292990) --> (http://bugzilla.novell.com/attachment.cgi?id=292990) Only dump RSDT if XSDT must not be used or is not available or if --rsdt param is provided Please attach acpidump -a of your tests. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=496811 Thomas Renninger <trenn@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |andrea@opensuse.org -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=496811 User rommie@bk.ru added comment http://bugzilla.novell.com/show_bug.cgi?id=496811#c7 --- Comment #7 from Roman Varenik <rommie@bk.ru> 2009-05-19 07:26:03 MDT --- I suppose 3488600120 is decimal which is 0xCFEFD038. It is valid 32bit value though I understand nothing in acpi and can't say is it valid for acpi. acpidump with -a failed with message "Unknown option!". The same is for --rsdt. --skip 1, --skip 2, --skip -t ANY_TABLE segfaults. I have 4 gigabytes RAM and use PAE: Linux pc6 2.6.27.21-0.1-pae #1 SMP 2009-03-31 14:50:44 +0200 i686 i686 i386 GNU/Linux May it cause acpidump crash? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=496811 User rommie@bk.ru added comment http://bugzilla.novell.com/show_bug.cgi?id=496811#c8 --- Comment #8 from Roman Varenik <rommie@bk.ru> 2009-05-19 07:27:44 MDT --- Created an attachment (id=293024) --> (http://bugzilla.novell.com/attachment.cgi?id=293024) my /proc/iomem -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=496811 User rommie@bk.ru added comment http://bugzilla.novell.com/show_bug.cgi?id=496811#c9 --- Comment #9 from Roman Varenik <rommie@bk.ru> 2009-05-19 07:34:48 MDT --- Installed pmtools from the ftp. It is still segfaults. But now --rsdt option is valid and it segfaults too. -a is invalid. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=496811 User trenn@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=496811#c10 --- Comment #10 from Thomas Renninger <trenn@novell.com> 2009-05-19 07:53:28 MDT ---
I have 4 gigabytes RAM and use PAE Hmm, maybe this is related to -pae/i386 + 4 or more GB of memory... Do you both have a -pae kernel running? Maybe mem=1G helps? Guessing..., you may want to give it a try, but someone else with more memory knowledge should have a look at this. Maybe this even is not acpidump related.
-- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=496811 User andrea@opensuse.org added comment http://bugzilla.novell.com/show_bug.cgi?id=496811#c11 --- Comment #11 from andrea florio <andrea@opensuse.org> 2009-05-19 09:24:41 MDT --- i don't know what is happened but now it segfault no more... Oo only official updates... anubis@suse-laptop:~> rpm -qf /usr/sbin/acpidump pmtools-20071116-44.3 anubis@suse-laptop:~> rpm -qi pmtools Name : pmtools Relocations: (not relocatable) Version : 20071116 Vendor: openSUSE Release : 44.3 Build Date: mer 03 dic 2008 06:57:02 CET Install Date: mar 09 dic 2008 23:11:48 CET Build Host: build15 Group : Development/Tools/Other Source RPM: pmtools-20071116-44.3.src.rpm Size : 1138062 License: GPL v2 or later Signature : RSA/8, mer 03 dic 2008 06:57:13 CET, Key ID b88b2fd43dbdc284 Packager : http://bugs.opensuse.org URL : http://acpica.org/downloads Summary : ACPI Debugging Tools Description : This is a set of tools to display your BIOS ACPI tables. Distribution: openSUSE 11.1 anyway i have 32bit kernel pae 4GB ram -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=496811 User rommie@bk.ru added comment http://bugzilla.novell.com/show_bug.cgi?id=496811#c12 Roman Varenik <rommie@bk.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |REOPENED Info Provider|andrea@opensuse.org | --- Comment #12 from Roman Varenik <rommie@bk.ru> 2009-05-25 00:44:52 MDT --- Tried mem=1G but it crashed anyway. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=496811 User trenn@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=496811#c13 Thomas Renninger <trenn@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |ASSIGNED Platform|Other |i386 Summary|acpidump segmentation fault |acpidump segmentation fault |(boot and other lots of |(only on i386-pae with a |time) |lot memory?) --- Comment #13 from Thomas Renninger <trenn@novell.com> 2009-06-08 03:20:32 MDT --- I tried to reproduce this here on a i386 and 4GB machine without success. Not sure how to go on, I could imagine this bug is hard to resolve, especially remotely. It even looks like a HW/BIOS related issue. Acpidump generally works. I keep the bug open for a while, please update it if you find out more (e.g. an easy way to reproduce, a BIOS/boot option that helps, etc). -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=496811 User rommie@bk.ru added comment http://bugzilla.novell.com/show_bug.cgi?id=496811#c14 --- Comment #14 from Roman Varenik <rommie@bk.ru> 2009-06-29 09:36:11 MDT --- Hmmm. It is strange but acpidump turned to work. Two weeks earlier it won't but version of acpidump from OpenSUSE 11.0 bootable CD worked well. The bootable CD contains default (not pae) kernel (which is older then my current version) and predefined boot configuration. I suppose the problem could be caused by kernel (I think it have been updated) or conflict with some other application that is fixed now. Unfortunately, Yast update logs are missed and I can not surely say that packages have been updated since acpidump fixed. Anyway, it works for me now. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=496811 User andrea@opensuse.org added comment http://bugzilla.novell.com/show_bug.cgi?id=496811#c15 --- Comment #15 from andrea florio <andrea@opensuse.org> 2009-06-29 09:56:22 MDT --- exactly same thing happen to me (comment #11) -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=496811 http://bugzilla.novell.com/show_bug.cgi?id=496811#c16 Thomas Renninger <trenn@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |WORKSFORME --- Comment #16 from Thomas Renninger <trenn@novell.com> 2010-02-16 12:12:57 UTC --- Due to last comments and this potentially was an underlying problem we might never find out what caused it and as the bug is rather old -> resolved, eh say "works for me". -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com