Hi, Kernel v2.6.36-rc4-134-g03a7ab0 breaks with the OOPS below. Reverting the commitid in the subject fixes the issue. This is because APEI is selected by default on X86 (X86 && ACPI), maybe a vendor check in the hest_init() might make sense. Kernel config is attached. Thx, Conny [ 2.280657] ------------[ cut here ]------------ [ 2.284611] WARNING: at fs/sysfs/dir.c:451 sysfs_add_one+0x87/0x9b() [ 2.290001] Hardware name: Toonie [ 2.293298] sysfs: cannot create duplicate filename '/devices/platform/GHES.9' [ 2.300001] Modules linked in: [ 2.303053] Pid: 1, comm: swapper Not tainted 2.6.36-rc2-autotest #1 [ 2.310001] Call Trace: [ 2.312437] [] ? sysfs_add_one+0x87/0x9b [ 2.320005] [] warn_slowpath_common+0x80/0x99 [ 2.325983] [] warn_slowpath_fmt+0x41/0x43 [ 2.330002] [] sysfs_add_one+0x87/0x9b [ 2.335374] [] create_dir+0x6a/0xa9 [ 2.340002] [] sysfs_create_dir+0x94/0xb0 [ 2.345636] [] kobject_add_internal+0x129/0x204 [ 2.350002] [] kobject_add_varg+0x41/0x4d [ 2.360002] [] kobject_add+0x64/0x66 [ 2.365202] [] ? kobject_get+0x1a/0x21 [ 2.370004] [] device_add+0x13c/0x64c [ 2.375291] [] ? pm_runtime_init+0xdd/0xe1 [ 2.380002] [] platform_device_add+0x14e/0x1aa [ 2.386066] [] hest_parse_ghes+0x4a/0x7f [ 2.390002] [] ? hest_parse_ghes+0x0/0x7f [ 2.395632] [] apei_hest_parse+0xc3/0xe9 [ 2.400004] [] ? hest_init+0x0/0x12f [ 2.405202] [] hest_init+0xd9/0x12f [ 2.410004] [] do_one_initcall+0x7c/0x130 [ 2.420004] [] kernel_init+0x131/0x1ba [ 2.425378] [] kernel_thread_helper+0x4/0x10 [ 2.430002] [] ? kernel_init+0x0/0x1ba [ 2.435375] [] ? kernel_thread_helper+0x0/0x10 [ 2.440006] ---[ end trace 4eaa2a86a8e2da22 ]--- [ 2.444602] kobject_add_internal failed for GHES.9 with -EEXIST, don't try to register things with the same name in the same directory. [ 2.450001] Pid: 1, comm: swapper Tainted: G W 2.6.36-rc2-autotest #1 [ 2.460001] Call Trace: [ 2.462434] [] kobject_add_internal+0x1d3/0x204 [ 2.470002] [] kobject_add_varg+0x41/0x4d [ 2.480002] [] kobject_add+0x64/0x66 [ 2.485202] [] ? kobject_get+0x1a/0x21 [ 2.490002] [] device_add+0x13c/0x64c [ 2.495287] [] ? pm_runtime_init+0xdd/0xe1 [ 2.500002] [] platform_device_add+0x14e/0x1aa [ 2.506064] [] hest_parse_ghes+0x4a/0x7f [ 2.510001] [] ? hest_parse_ghes+0x0/0x7f [ 2.520003] [] apei_hest_parse+0xc3/0xe9 [ 2.525547] [] ? hest_init+0x0/0x12f [ 2.530002] [] hest_init+0xd9/0x12f [ 2.535114] [] do_one_initcall+0x7c/0x130 [ 2.540002] [] kernel_init+0x131/0x1ba [ 2.545375] [] kernel_thread_helper+0x4/0x10 [ 2.550002] [] ? kernel_init+0x0/0x1ba [ 2.555374] [] ? kernel_thread_helper+0x0/0x10 [ 2.560006] BUG: unable to handle kernel paging request at ffffeae3800553b0 [ 2.566959] IP: [] kfree+0x42/0x22f [ 2.570000] PGD 0 [ 2.570000] Oops: 0000 [#1] SMP [ 2.570000] last sysfs file: [ 2.570000] CPU 0 [ 2.570000] Modules linked in: [ 2.570000] [ 2.570000] Pid: 1, comm: swapper Tainted: G W 2.6.36-rc2-autotest #1 Toonie/Toonie [ 2.570000] RIP: 0010:[] [] kfree+0x42/0x22f [ 2.570000] RSP: 0018:ffff8804364b9d20 EFLAGS: 00010082 [ 2.570000] RAX: ffffeae3800553b0 RBX: ffff880435cde400 RCX: ffff88043672e780 [ 2.570000] RDX: ffffea0000000000 RSI: 0000000000000037 RDI: ffffc9000185a8a4 [ 2.570000] RBP: ffff8804364b9d70 R08: ffff8804364b9b40 R09: ffff8804364b99f0 [ 2.570000] R10: 0000000000000000 R11: ffff880435cde410 R12: ffff880435cde458 [ 2.570000] R13: ffffffff81b03730 R14: ffff88043676e600 R15: 0000000000000000 [ 2.570000] FS: 0000000000000000(0000) GS:ffff880001e00000(0000) knlGS:0000000000000000 [ 2.570000] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b [ 2.570000] CR2: ffffeae3800553b0 CR3: 0000000001acf000 CR4: 00000000000006f0 [ 2.570000] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 2.570000] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 [ 2.570000] Process swapper (pid: 1, threadinfo ffff8804364b8000, task ffff8804364b77d0) [ 2.570000] Stack: [ 2.570000] ffff880437c030c0 ffffc9000185a8a4 0000000000000282 00000000ffffffea [ 2.570000] <0> ffff8804364b9da0 ffff880435cde400 ffff880435cde458 ffffffff81b03730 [ 2.570000] <0> ffff88043676e600 0000000000000000 ffff8804364b9d90 ffffffff81268764 [ 2.570000] Call Trace: [ 2.570000] [] platform_device_release+0x1c/0x34 [ 2.570000] [] device_release+0x49/0x7e [ 2.570000] [] kobject_release+0xf9/0x1d9 [ 2.570000] [] ? kobject_release+0x0/0x1d9 [ 2.570000] [] kref_put+0x43/0x4f [ 2.570000] [] kobject_put+0x47/0x4c [ 2.570000] [] put_device+0x12/0x14 [ 2.570000] [] platform_device_put+0x12/0x14 [ 2.570000] [] hest_parse_ghes+0x6e/0x7f [ 2.570000] [] ? hest_parse_ghes+0x0/0x7f [ 2.570000] [] apei_hest_parse+0xc3/0xe9 [ 2.570000] [] ? hest_init+0x0/0x12f [ 2.570000] [] hest_init+0xd9/0x12f [ 2.570000] [] do_one_initcall+0x7c/0x130 [ 2.570000] [] kernel_init+0x131/0x1ba [ 2.570000] [] kernel_thread_helper+0x4/0x10 [ 2.570000] [] ? kernel_init+0x0/0x1ba [ 2.570000] [] ? kernel_thread_helper+0x0/0x10 [ 2.570000] Code: 7d b8 0f 86 01 02 00 00 9c 8f 45 c0 fa 48 8b 7d b8 e8 36 d1 f7 ff 48 c1 e8 0c 48 ba 00 00 00 00 00 ea ff ff 48 6b c0 38 48 01 d0 <66> 83 38 00 79 04 48 8b 40 10 66 83 38 00 79 04 48 8b 40 10 80 [ 2.570000] RIP [] kfree+0x42/0x22f [ 2.570000] RSP [ 2.570000] CR2: ffffeae3800553b0 [ 2.570000] ---[ end trace 4eaa2a86a8e2da23 ]--- [ 2.570006] Kernel panic - not syncing: Attempted to kill init! [ 2.580002] Pid: 1, comm: swapper Tainted: G D W 2.6.36-rc2-autotest #1 [ 2.587187] Call Trace: [ 2.589622] [] panic+0x8c/0x196 [ 2.590003] [] do_exit+0x70/0x6c1 [ 2.594943] [] ? kmsg_dump+0x116/0x130 [ 2.600003] [] oops_end+0xb2/0xba [ 2.604944] [] no_context+0x1f3/0x202 [ 2.610002] [] __bad_area_nosemaphore+0x1ba/0x1e0 [ 2.620002] [] ? kernel_thread_helper+0x0/0x10 [ 2.626067] [] ? printk+0x3c/0x3e [ 2.630004] [] ? up+0x34/0x39 [ 2.634599] [] ? kernel_thread_helper+0x0/0x10 [ 2.640003] [] ? __module_text_address+0xd/0x5b [ 2.646155] [] bad_area_nosemaphore+0xe/0x10 [ 2.650003] [] do_page_fault+0x1d7/0x3b9 [ 2.660002] [] ? dump_trace+0x316/0x328 [ 2.665462] [] page_fault+0x1f/0x30 [ 2.670002] [] ? kfree+0x42/0x22f [ 2.674943] [] platform_device_release+0x1c/0x34 [ 2.680002] [] device_release+0x49/0x7e [ 2.685462] [] kobject_release+0xf9/0x1d9 [ 2.690001] [] ? kobject_release+0x0/0x1d9 [ 2.695720] [] kref_put+0x43/0x4f [ 2.700002] [] kobject_put+0x47/0x4c [ 2.705202] [] put_device+0x12/0x14 [ 2.710002] [] platform_device_put+0x12/0x14 [ 2.720002] [] hest_parse_ghes+0x6e/0x7f [ 2.725548] [] ? hest_parse_ghes+0x0/0x7f [ 2.730002] [] apei_hest_parse+0xc3/0xe9 [ 2.735546] [] ? hest_init+0x0/0x12f [ 2.740002] [] hest_init+0xd9/0x12f [ 2.745114] [] do_one_initcall+0x7c/0x130 [ 2.750002] [] kernel_init+0x131/0x1ba [ 2.755374] [] kernel_thread_helper+0x4/0x10 [ 2.760003] [] ? kernel_init+0x0/0x1ba [ 2.770002] [] ? kernel_thread_helper+0x0/0x10 ## ################################################################## # Email : conny.seidel@amd.com GnuPG-Key : 0xA6AB055D # # Fingerprint: 17C4 5DB2 7C4C C1C7 1452 8148 F139 7C09 A6AB 055D # ################################################################## # Advanced Micro Devices GmbH Einsteinring 24 85609 Dornach # # General Managers: Alberto Bozzo, Andrew Bowd # # Registration: Dornach, Landkr. Muenchen; Registerger. Muenchen # # HRB Nr. 43632 # ##################################################################