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]
Date:	Wed, 9 Jan 2013 04:50:53 -0500 (EST)
From:	CAI Qian <caiqian@...hat.com>
To:	linux-mm <linux-mm@...ck.org>
Cc:	stable@...r.kernel.org, linux-kernel <linux-kernel@...r.kernel.org>
Subject: oom caused disk corruption on 3.7.1

While doing oom testing on a power7 system with swapping,
it was swallowed a panic on v3.7.1 below. Without a swap device,
it is running fine. v3.0 has the same problem.

Test case is here,
http://tinyurl.com/bzzmrb8

...
[  763.781571] Write-error on swap-device (253:0:7545984)
[  763.781573] sd 0:0:1:0: rejecting I/O to offline device
[  763.781574] Write-error on swap-device (253:0:7546240)
[  763.781576] sd 0:0:1:0: rejecting I/O to offline device
[  763.781577] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[  763.781578] Write-error on swap-device (253:0:7546496)
[  763.781579] Call Trace:
[  763.781580] sd 0:0:1:0: rejecting I/O to offline device
[  763.781590] [c0000002eac83870] [c000000000015884] .show_stack+0x74/0x1b0 (unreliable)
[  763.781595] [c0000002eac83920] [c000000000721d28] .panic+0xe4/0x264
[  763.781598] [c0000002eac839c0] [c0000000000886e4] .do_exit+0x954/0x960
[  763.781601] [c0000002eac83ac0] [c0000000000889d4] .do_group_exit+0x54/0xf0
[  763.781604] [c0000002eac83b50] [c00000000009be28] .get_signal_to_deliver+0x1f8/0x730
[  763.781606] [c0000002eac83c60] [c000000000017924] .do_signal+0x54/0x320
[  763.781608] [c0000002eac83da0] [c000000000017d74] .do_notify_resume+0xb4/0xd0
[  763.781611] [c0000002eac83e30] [c000000000009e1c] .ret_from_except_lite+0x48/0x4c
[  763.781612] Write-error on swap-device (253:0:7546752)
[  763.781613] sd 0:0:1:0: rejecting I/O to offline device
[  763.781615] Write-error on swap-device (253:0:7547008)
[  763.781616] Sending IPI to other CPUs
[  763.781616] sd 0:0:1:0: rejecting I/O to offline device
[  763.781618] Write-error on swap-device (253:0:7547392)
[  763.781619] sd 0:0:1:0: rejecting I/O to offline device
[  763.781620] Write-error on swap-device (253:0:7547648)
[  763.781622] sd 0:0:1:0: rejecting I/O to offline device
[  763.781623] Write-error on swap-device (253:0:7547904)
[  763.781625] sd 0:0:1:0: rejecting I/O to offline device
[  763.781627] Write-error on swap-device (253:0:7548160)
[  763.781628] sd 0:0:1:0: rejecting I/O to offline device
[  763.781630] Write-error on swap-device (253:0:7548416)
[  763.781631] sd 0:0:1:0: rejecting I/O to offline device
[  763.781632] Write-error on swap-device (253:0:7548672)
[  763.781634] sd 0:0:1:0: rejecting I/O to offline device
[  763.781635] Write-error on swap-device (253:0:7548928)
[  773.781972] ERROR: 1 cpu(s) not responding

      KERNEL: /boot/vmlinux-3.7.1+              
    DUMPFILE: /var/crash/127.0.0.1-2013.01.09-19:12:02/vmcore
        CPUS: 28
        DATE: Tue Jan  8 23:11:35 2013
      UPTIME: 00:12:43
LOAD AVERAGE: 5.88, 4.82, 2.51
       TASKS: 278
     RELEASE: 3.7.1+
     VERSION: #0 SMP Tue Jan 8 06:59:49 EST 2013
     MACHINE: ppc64  (3550 Mhz)
      MEMORY: 12 GB
       PANIC: "Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b"
         PID: 1
     COMMAND: "systemd"
        TASK: c0000002eac00000  [THREAD_INFO: c0000002eac80000]
         CPU: 18
       STATE: TASK_INTERRUPTIBLE|TASK_UNINTERRUPTIBLE|TASK_TRACED (PANIC)

crash> bt
PID: 1      TASK: c0000002eac00000  CPU: 18  COMMAND: "systemd"

 R0:  c000000000721d34    R1:  c0000002eac83920    R2:  c000000001157098   
 R3:  c0000002eac83790    R4:  c0000002eac00000    R5:  0000000000000070   
 R6:  0000000000000000    R7:  c0000002fff584a0    R8:  0000000000000000   
 R9:  c0000002e7909000    R10: 0000000000000001    R11: 6578636570745f6c   
 R12: 0000000022004884    R13: c000000007f23f00    R14: 0000000000040006   
 R15: 00000000279b056c    R16: c0000002eac83ea0    R17: c000000001398ab8   
 R18: c0000002eac00000    R19: c0000002eac00000    R20: 00000000003c0000   
 R21: c0000002eac00a14    R22: c0000000011b2080    R23: c0000002eac83a30   
 R24: c000000018d90000    R25: 0000000000000140    R26: 0000000000106001   
 R27: c0000002eac83790    R28: c0000000013ba848    R29: 0000000000000000   
 R30: c0000000010d4d18    R31: c00000000101e4b0   
 NIP: c000000000721d34    MSR: 8000000000009032    OR3: c0000002eac83920
 CTR: 0000000000000000    LR:  c000000000721d34    XER: 0000000000000001
 CCR: 0000000022004882    MQ:  3030303030303030    DAR: 0000000000000000
 DSISR: c000000018d90000     Syscall Result: 0000000000000140
 NIP [c000000000721d34] .panic

 #0 [c0000002eac83920] .panic at c000000000721d34
 #1 [c0000002eac839c0] .do_exit at c0000000000886e4
 #2 [c0000002eac83ac0] .do_group_exit at c0000000000889d4
 #3 [c0000002eac83b50] .get_signal_to_deliver at c00000000009be28
 #4 [c0000002eac83c60] .do_signal at c000000000017924
 #5 [c0000002eac83da0] .do_notify_resume at c000000000017d74
 #6 [c0000002eac83e30] .ret_from_except_lite at c000000000009e1c

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ