lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <200801030111.40061.ak@suse.de>
Date:	Thu, 3 Jan 2008 01:11:39 +0100
From:	Andi Kleen <ak@...e.de>
To:	linux-kernel@...r.kernel.org
Cc:	tglx@...utronix.de, mingo@...e.hu, hpa@...or.com
Subject: git-x86 broken on 32bit



Current git-x86 seems to be totally broken on i386 

commit a6f08929f0566f9d309ef5f6651371d8e20fc833
Author: Russell Leidich <rml@...gle.com>
Date:   Wed Jan 2 22:46:22 2008 +0100

    x86: AMD Thermal Interrupt Support

-- after you got it to compile with

Signed-off-by: Andi Kleen <ak@...e.de>

Index: linux/include/asm-x86/mce.h
===================================================================
--- linux.orig/include/asm-x86/mce.h
+++ linux/include/asm-x86/mce.h
@@ -106,7 +106,6 @@ static inline void mce_amd_feature_init(
 #endif
 
 void mce_log_therm_throt_event(unsigned int cpu, __u64 status);
-typedef void (*cpu_specific_smp_thermal_interrupt_callback_t)(void);
 
 extern cpu_specific_smp_thermal_interrupt_callback_t
 					cpu_specific_smp_thermal_interrupt;
@@ -118,6 +117,7 @@ extern int mce_notify_user(void);
 #endif /* !CONFIG_X86_32 */
 
 
+typedef void (*cpu_specific_smp_thermal_interrupt_callback_t)(void);
 
 #ifdef CONFIG_X86_MCE
 extern void mcheck_init(struct cpuinfo_x86 *c);
Index: linux/home/lsrc/quilt/linux/arch/x86/kernel/cpu/mcheck/mce_thermal.c
===================================================================
--- linux.orig/home/lsrc/quilt/linux/arch/x86/kernel/cpu/mcheck/mce_thermal.c
+++ linux/home/lsrc/quilt/linux/arch/x86/kernel/cpu/mcheck/mce_thermal.c
@@ -9,7 +9,7 @@
 
 #include <linux/init.h>
 #include <linux/interrupt.h>
-#include <asm/mce.h>
+#include "mce.h"
 #include <asm/hw_irq.h>
 #include <asm/idle.h>
 


it gives with DEBUG_PAGEALLOC and  a couple of of other debug options
enabled the appended oops.

Also I would appreciate it if you decide to merge such obviously broken
patches that are currently being reviewed to give some indication on the mailing 
list so that the reviewers can stop their futile attempt to stop the s*t 
hitting the fan.

Thanks.

-Andi

Compat vDSO mapped to ffffe000.
Checking 'hlt' instruction... OK.
Freeing SMP alternatives: 17k freed
ACPI: Core revision 20070126
Parsing all Control Methods:
Table [DSDT](id 0001) - 531 Objects with 55 Devices 147 Methods 32 Regions
Parsing all Control Methods:
Table [SSDT](id 0002) - 10 Objects with 0 Devices 4 Methods 0 Regions
Parsing all Control Methods:
Table [SSDT](id 0003) - 5 Objects with 0 Devices 3 Methods 0 Regions
Parsing all Control Methods:
Table [SSDT](id 0004) - 5 Objects with 0 Devices 3 Methods 0 Regions
Parsing all Control Methods:
Table [SSDT](id 0005) - 5 Objects with 0 Devices 3 Methods 0 Regions
Parsing all Control Methods:
Table [SSDT](id 0006) - 5 Objects with 0 Devices 3 Methods 0 Regions
 tbxface-0598 [00] tb_load_namespace     : ACPI Tables successfully acquired
evxfevnt-0091 [00] enable                : Transition to ACPI mode successful
list_add corruption. prev->next should be next (c064e510), but was 00000000. (prev=f7c200d8).
------------[ cut here ]------------
kernel BUG at /home/lsrc/quilt/linux/lib/list_debug.c:33!
invalid opcode: 0000 [#1] PREEMPT SMP DEBUG_PAGEALLOC
Modules linked in:

Pid: 0, comm: swapper Not tainted (2.6.24-rc6-git8 #68)
EIP: 0060:[<c0229edd>] EFLAGS: 00010096 CPU: 0
EIP is at __list_add+0x48/0x5c
EAX: 00000061 EBX: f7c20b58 ECX: c06d6000 EDX: 00000003
ESI: 00000000 EDI: fffffff4 EBP: f7c20a80 ESP: c06d7eb8
 DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068
Process swapper (pid: 0, ti=c06d6000 task=c064e440 task.ti=c06d6000)
Stack: c055d13f c064e510 00000000 f7c200d8 f7c1d1c0 c064f218 c0121064 00000000
       f7c20a80 c06d7f80 c06d7f1c c06d7f80 00000000 00800700 f7c20a80 00000000
       00000000 c06d7f1c c046fe40 c2c09500 f7c20000 c011f56f 00000000 00800700
Call Trace:
 [<c0121064>] copy_process+0xefa/0x115f
 [<c01213d8>] do_fork+0x6c/0x188
 [<c01017db>] kernel_thread+0x8a/0x92
 [<c046d512>] rest_init+0x22/0x5a
 [<c06ddbcd>] start_kernel+0x310/0x318
 =======================
Code: ef d0 55 c0 e8 a6 89 ef ff 0f 0b eb fe 8b 32 39 ce 74 1c 89 54 24 0c 89 74 24 08 89 4c 24 04 c7 04 24 3f d1 55 c0 e8 84 89 ef ff <0f> 0b eb fe 89 59 04 89 0b 89 43 04 89 18 83 c4 10 5b 5e c3 8b
EIP: [<c0229edd>] __list_add+0x48/0x5c SS:ESP 0068:c06d7eb8
---[ end trace ca143223eefdc828 ]---
Kernel panic - not syncing: Attempted to kill the idle task!



View attachment ".config" of type "text/plain" (37513 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ