[OOPS] general protection fault; 3.10; 3.14

From: Daniel Tobias
Date: Thu Nov 12 2015 - 20:40:09 EST


Hi,

I am seeing random crashes on my home security camera server with
linux 3.10.92 and 3.14.56. Both have been compiled with gcc 5.2.
Searching points me at possible bad RAM (I have not had a chance to
run memtest yet). The machine usually locks up within half hour, but
what is odd is 4.1.13 has run for days at a time (and when it has gone
down I haven't been able to catch anything in the logs, and afaik
power spikes are all I can blame at this time).

machine is a 32bit amd sempron

config for 3.14 is here
https://aur.archlinux.org/cgit/aur.git/tree/config?h=linux-lts314&id=d5f173168d478646f576250295c3c4467fea93a5

config for 3.10 is here
https://aur.archlinux.org/cgit/aur.git/tree/config?h=linux-lts310&id=263739cc4837df1466732d66e0164e44f40d488e

3.10 also has two patches to fix compilation with gcc5
http://kernel.opensuse.org/cgit/kernel/patch/?id=54c2f3fdb941204cad136024c7b854b7ad112ab6
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/patch/drivers/lguest/x86/core.c?id=cdd77e87eae52b7251acc5990207a1c4500a84ce

cat /proc/cmdline (the same for both)
BOOT_IMAGE=../vmlinuz-linux-lts
root=UUID=8e3f3437-37e7-4f2d-9c45-b59037577bea ipv6.disable=1
nomodeset panic=60 debug ignore_loglevel rw
initrd=../initramfs-linux-lts-fallback.img

--------------------------------------------------------------------------------
3.14.56

[ 187.246658] general protection fault: 0000 [#1] SMP
[ 187.246813] Modules linked in: netconsole cfg80211 rfkill nouveau
mxm_wmi wmi video snd_wavefront ttm drm_kms_helper snd_cs4236
snd_wss_lib drm mac_hid evdev ppdev snd_opl3_lib snd_hwdep hwmon
snd_pcm i2c_algo_bit snd_timer 8139too e100 8139cp pcspkr
snd_mpu401_uart serio_raw mii snd_rawmidi snd_seq_device snd soundcore
ns558 gameport cpufreq_nforce2 parport_pc i2c_nforce2 nvidia_agp
parport agpgart i2c_core shpchp button processor sch_fq_codel
ip_tables x_tables ext4 crc16 mbcache jbd2 sd_mod crc_t10dif
crct10dif_common ata_generic pata_acpi pata_amd libata scsi_mod atkbd
libps2 i8042 serio
[ 187.249470] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.14.56-1-lts314 #1
[ 187.249526] Hardware name: /nVidia-nForce2, BIOS F2 10/26/2004
[ 187.249581] task: c15ef9c0 ti: c16f8000 task.ti: c15e4000
[ 187.249637] EIP: 0060:[<c103e5ca>] EFLAGS: 00014082 CPU: 0
[ 187.249697] EIP is at doublefault_fn+0x1a/0x140
[ 187.249749] EAX: 00000000 EBX: 00000000 ECX: 00000000 EDX: 00000000
[ 187.249803] ESI: 00000000 EDI: 00000000 EBP: c16f90d8 ESP: c16f90b0
[ 187.249859] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
[ 187.249913] CR0: 8005003b CR2: c15e3ef8 CR3: 016eb000 CR4: 000007d0
[ 187.249966] Stack:
[ 187.250015] 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000
[ 187.250392] 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000
[ 187.250763] 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000
[ 187.251134] Call Trace:
[ 187.251211] Code: 10 10 00 00 3e 8d 74 26 00 e8 d3 9f fc ff 5d c3
90 55 89 e5 56 53 81 ec 30 10 00 00 83 0c 24 00 81 c4 10 10 00 00 3e
8d 74 26 00 <65> a1 14 00 00 00 89 45 f4 31 c0 31 c0 c7 45 f0 00 00 00
00 66
[ 187.253864] EIP: [<c103e5ca>] doublefault_fn+0x1a/0x140 SS:ESP 0068:c16f90b0
[ 187.254000] ---[ end trace 2be0ef59392bd46e ]---
[ 187.254056] Kernel panic - not syncing: Attempted to kill the idle task!
[ 187.254114] Kernel Offset: 0x0 from 0xc1000000 (relocation range:
0xc0000000-0xf7ffdfff)
[ 187.254175] Rebooting in 60 seconds..

--------------------------------------------------------------------------------
3.14.56

[ 637.015365] general protection fault: 0000 [#1] SMP
[ 637.015415] Modules linked in: netconsole cfg80211 rfkill nouveau
mxm_wmi wmi video ttm snd_wavefront drm_kms_helper drm snd_cs4236
mac_hid evdev ppdev snd_wss_lib hwmon snd_opl3_lib snd_hwdep
i2c_algo_bit snd_pcm snd_timer 8139too e100 8139cp serio_raw pcspkr
snd_mpu401_uart mii snd_rawmidi snd_seq_device snd soundcore ns558
gameport parport_pc cpufreq_nforce2 i2c_nforce2 parport nvidia_agp
agpgart shpchp i2c_core button processor sch_fq_codel ip_tables
x_tables ext4 crc16 mbcache jbd2 sd_mod crc_t10dif crct10dif_common
ata_generic pata_acpi pata_amd libata scsi_mod atkbd libps2 i8042
serio
[ 637.015905] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.14.56-1-lts314 #1
[ 637.015929] Hardware name: /nVidia-nForce2, BIOS F2 10/26/2004
[ 637.015954] task: c15ef9c0 ti: c16f8000 task.ti: c15e4000
[ 637.015975] EIP: 0060:[<c103e5ca>] EFLAGS: 00014082 CPU: 0
[ 637.016002] EIP is at doublefault_fn+0x1a/0x140
[ 637.016022] EAX: 00000000 EBX: 00000000 ECX: 00000000 EDX: 00000000
[ 637.016045] ESI: 00000000 EDI: 00000000 EBP: c16f90d8 ESP: c16f90b0
[ 637.016067] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
[ 637.016087] CR0: 8005003b CR2: c15e3f08 CR3: 016eb000 CR4: 000007d0
[ 637.016111] Stack:
[ 637.016126] 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000
[ 637.016196] 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000
[ 637.016269] 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000
[ 637.016341] Call Trace:
[ 637.016386] Code: 10 10 00 00 3e 8d 74 26 00 e8 d3 9f fc ff 5d c3
90 55 89 e5 56 53 81 ec 30 10 00 00 83 0c 24 00 81 c4 10 10 00 00 3e
8d 74 26 00 <65> a1 14 00 00 00 89 45 f4 31 c0 31 c0 c7 45 f0 00 00 00
00 66
[ 637.016874] EIP: [<c103e5ca>] doublefault_fn+0x1a/0x140 SS:ESP 0068:c16f90b0
[ 637.017198] ---[ end trace b76ae76d5f62275b ]---
[ 637.017253] Kernel panic - not syncing: Attempted to kill the idle task!
[ 637.017313] Kernel Offset: 0x0 from 0xc1000000 (relocation range:
0xc0000000-0xf7ffdfff)
[ 637.017378] Rebooting in 60 seconds..

--------------------------------------------------------------------------------
3.14.56

[ 157.736140] general protection fault: 0000 [#1] SMP
[ 157.736297] Modules linked in: netconsole cfg80211 rfkill nouveau
mxm_wmi wmi video ttm snd_wavefront drm_kms_helper snd_cs4236 drm
mac_hid evdev ppdev snd_wss_lib snd_opl3_lib snd_hwdep hwmon snd_pcm
i2c_algo_bit snd_timer 8139too e100 8139cp snd_mpu401_uart serio_raw
pcspkr snd_rawmidi mii snd_seq_device snd soundcore ns558 gameport
cpufreq_nforce2 parport_pc i2c_nforce2 nvidia_agp parport agpgart
shpchp i2c_core button processor sch_fq_codel ip_tables x_tables ext4
crc16 mbcache jbd2 sd_mod crc_t10dif crct10dif_common ata_generic
pata_acpi pata_amd libata scsi_mod atkbd libps2 i8042 serio
[ 157.738966] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.14.56-1-lts314 #1
[ 157.739022] Hardware name: /nVidia-nForce2, BIOS F2 10/26/2004
[ 157.739080] task: c15ef9c0 ti: c16f8000 task.ti: c15e4000
[ 157.739134] EIP: 0060:[<c103e5ca>] EFLAGS: 00014082 CPU: 0
[ 157.739194] EIP is at doublefault_fn+0x1a/0x140
[ 157.739246] EAX: 00000000 EBX: 00000000 ECX: 00000000 EDX: 00000000
[ 157.739302] ESI: 00000000 EDI: 00000000 EBP: c16f90d8 ESP: c16f90b0
[ 157.739355] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
[ 157.739409] CR0: 8005003b CR2: c15e3f10 CR3: 016eb000 CR4: 000007d0
[ 157.739463] Stack:
[ 157.739511] 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000
[ 157.739886] 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000
[ 157.740015] 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000
[ 157.740015] Call Trace:
[ 157.740015] Code: 10 10 00 00 3e 8d 74 26 00 e8 d3 9f fc ff 5d c3
90 55 89 e5 56 53 81 ec 30 10 00 00 83 0c 24 00 81 c4 10 10 00 00 3e
8d 74 26 00 <65> a1 14 00 00 00 89 45 f4 31 c0 31 c0 c7 45 f0 00 00 00
00 66
[ 157.740015] EIP: [<c103e5ca>] doublefault_fn+0x1a/0x140 SS:ESP 0068:c16f90b0
[ 157.740015] ---[ end trace 68c3dda7eeac3081 ]---
[ 157.740015] Kernel panic - not syncing: Attempted to kill the idle task!
[ 157.740015] Kernel Offset: 0x0 from 0xc1000000 (relocation range:
0xc0000000-0xf7ffdfff)
[ 157.740015] Rebooting in 60 seconds..

--------------------------------------------------------------------------------
3.10.92

[ 1080.790033] general protection fault: 0000 [#1] SMP
[ 1080.790092] Modules linked in: netconsole nouveau mxm_wmi wmi video
ttm drm_kms_helper drm evdev i2c_algo_bit 8139too e100 8139cp
serio_raw pcspkr mii cpufreq_nforce2 nvidia_agp i2c_nforce2 agpgart
shpchp i2c_core button processor ip_tables x_tables ext4 crc16 mbcache
jbd2 sd_mod ata_generic pata_acpi pata_amd libata scsi_mod
[ 1080.790364] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.10.92-1-lts310 #1
[ 1080.790388] Hardware name: /nVidia-nForce2, BIOS F2 10/26/2004
[ 1080.790411] task: c06b41a0 ti: c07b8000 task.ti: c06a8000
[ 1080.790432] EIP: 0060:[<c033f6ae>] EFLAGS: 00014057 CPU: 0
[ 1080.790461] EIP is at number.isra.1+0x2e/0x360
[ 1080.790485] EAX: 00000000 EBX: c06233d7 ECX: 00000021 EDX: 00000000
[ 1080.790506] ESI: c06233d7 EDI: c07baafe EBP: c07b89dc ESP: c07b896c
[ 1080.790528] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
[ 1080.790549] CR0: 8005003b CR2: c06a7f28 CR3: 007ae000 CR4: 000007d0
[ 1080.790570] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
[ 1080.790590] DR6: ffff0ff0 DR7: 00000400
[ 1080.790609] Stack:
[ 1080.790624] 00000000 00000000 f60e1000 c07baec0 00000000 00000000
00000000 00000000
[ 1080.790707] 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000
[ 1080.790776] 00000000 00000000 c06233d2 c06233d4 c07b89dc c033f00e
6c000000 c06233d6
[ 1080.790848] Call Trace:
[ 1080.790872] [<c033f00e>] ? format_decode+0x38e/0x3e0
[ 1080.790896] [<c03410f4>] vsnprintf+0x2f4/0x3e0
[ 1080.790917] [<c0341203>] vscnprintf+0x23/0x50
[ 1080.790942] [<c0143a2a>] vprintk_emit+0x8a/0x4c0
[ 1080.790965] [<c0563a1d>] printk+0x2c/0x2e
[ 1080.790989] [<c012ddd6>] doublefault_fn+0x46/0x130
[ 1080.791043] Code: 57 56 53 81 ec 74 10 00 00 83 0c 24 00 81 c4 10
10 00 00 89 c7 8b 45 08 89 55 9c 0f b6 55 10 89 45 98 8b 45 0c c0 ea
06 89 45 94 <65> a1 14 00 00 00 89 45 f0 31 c0 80 7d 14 0a 0f 95 c0 21
c2 0f
[ 1080.791527] EIP: [<c033f6ae>] number.isra.1+0x2e/0x360 SS:ESP 0068:c07b896c
[ 1080.791855] ---[ end trace 7773b4c5dd2022c4 ]---
[ 1080.791909] Kernel panic - not syncing: Attempted to kill the idle task!
[ 1080.791968] Rebooting in 60 seconds..

--
Daniel Tobias
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/