[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#758880: linux-image-3.14-0.bpo.2-powerpc64: [ppc64] Kernel panic on shutdown



Package: src:linux
Version: 3.14.13-2~bpo70+1
Severity: normal

Dear Maintainer,

Current backported version of Linux kernel running in qemu-system-ppc64 panics on shutdown with:

[  567.737855] Oops: Exception in kernel mode, sig: 4 [#1]
[  567.738864] SMP NR_CPUS=32 NUMA pSeries
[  567.739615] Modules linked in: loop ext4 crc16 mbcache jbd2 virtio_blk virtio_net virtio_pci virtio_ring virtio
[  567.740337] CPU: 0 PID: 4106 Comm: echo Not tainted 3.14-0.bpo.2-powerpc64 #1 Debian 3.14.13-2~bpo70+1
[  567.740611] task: c00000003ab2a410 ti: c00000003ffe4000 task.ti: c00000003e6f8000
[  567.740692] NIP: d0000000001f5258 LR: d0000000001f5610 CTR: d0000000001f5570
[  567.740762] REGS: c00000003ffe7830 TRAP: 0700   Not tainted  (3.14-0.bpo.2-powerpc64 Debian 3.14.13-2~bpo70+1)
[  567.740830] MSR: 8000000000089032 <SF,EE,ME,IR,DR,RI>  CR: 48422028  XER: 00000000
[  567.741096] CFAR: d0000000001f51e4 SOFTE: 0
GPR00: ffffffffffffffff c00000003ffe7ab0 d0000000001ff108 000000003b72a7c0
GPR04: 0000000000000002 0000000000000000 0000000000000002 0000000000001b1e
GPR08: 0000000000000001 c00000003ac68020 c00000003ac68000 00000000000024fe
GPR12: d00000000024f118 c00000000fffa000 0000000000000001 c0000000008354b8
GPR16: c0000000009d5af0 c00000003aa40430 0000000000000017 0000000000000001
GPR20: c0000000009d25c8 c0000000009d25c8 c00000003aa40380 0000000000000000
GPR24: 0000000000000000 c000000000987800 c000000000ac5c68 0000000000000000
GPR28: c00000003abc4690 c00000003ab89800 0000000000000020 c00000003ab89800
[  567.742593] NIP [d0000000001f5258] .detach_buf+0xb8/0xe0 [virtio_ring]
[  567.742652] LR [d0000000001f5610] .virtqueue_get_buf+0xa0/0x180 [virtio_ring]
[  567.742732] Call Trace:
[  567.742894] [c00000003ffe7ab0] [d0000000001f5268] .detach_buf+0xc8/0xe0 [virtio_ring] (unreliable)
[  567.743019] [c00000003ffe7b40] [d0000000001f5610] .virtqueue_get_buf+0xa0/0x180 [virtio_ring]
[  567.743088] [c00000003ffe7bc0] [d00000000024d35c] .virtblk_done+0x7c/0x100 [virtio_blk]
[  567.743161] [c00000003ffe7c70] [d0000000001f594c] .vring_interrupt+0x7c/0x100 [virtio_ring]
[  567.743543] [c00000003ffe7cf0] [c00000000011b688] .handle_irq_event_percpu+0xc8/0x370
[  567.743606] [c00000003ffe7e00] [c00000000011b988] .handle_irq_event+0x58/0xb0
[  567.743686] [c00000003ffe7e80] [c000000000120060] .handle_fasteoi_irq+0xd0/0x1d0
[  567.743754] [c00000003ffe7f00] [c000000000011104] .__do_irq+0xb4/0x200
[  567.743820] [c00000003ffe7f90] [c0000000000229e8] .call_do_irq+0x14/0x24
[  567.743886] [c00000003e6fb720] [c0000000000112dc] .do_IRQ+0x8c/0x100
[  567.743953] [c00000003e6fb7c0] [c000000000002268] hardware_interrupt_common+0x168/0x180
[  567.744061] --- Exception: 501 at .arch_local_irq_restore+0x74/0x90
[  567.744061]     LR = .arch_local_irq_restore+0x74/0x90
[  567.744152] [c00000003e6fbab0] [c0000000000108b8] .arch_local_irq_restore+0x38/0x90 (unreliable)
[  567.744241] [c00000003e6fbb20] [c0000000000e95e4] .finish_task_switch+0x74/0x190
[  567.744316] [c00000003e6fbbb0] [c0000000006e792c] .__schedule+0x2dc/0x860
[  567.744402] [c00000003e6fbe30] [c00000000000a788] .ret_from_except_lite+0x34/0x60
[  567.744475] Instruction dump:
[  567.744731] 38090001 901f002c e8010010 ebc1fff0 ebe1fff8 7c0803a6 4e800020 60000000
[  567.744863] 60000000 60000000 7c6af02a 3800ffff <00000001> 78000044 00000000 00000000
[  567.745331] ---[ end trace 3a346b1e72d4d1aa ]---
[  567.761814]
[  569.762595] Kernel panic - not syncing: Fatal exception in interrupt


Currently I don't have a spare LPAR to test this on a real hardware, but using latest qemu from the backports this issue reproduces 100%. Qemu commandline is (using libvirt, sorry for the length):

/usr/bin/qemu-system-ppc64 -name wheezy-ppc -S -machine pseries,accel=tcg,usb=off -m 1024 -realtime mlock=off -smp 1,sockets=1,cores=1,threads=1 -uuid 2dfb78af-46ee-4540-8814-971d1797c910 -nographic -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/wheezy-ppc.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-shutdown -boot strict=on -drive file=/var/lib/libvirt/images/wheezy_ppc.raw,if=none,id=drive-virtio-disk0,format=raw,cache=writeback -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x2,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 -netdev tap,fd=26,id=hostnet0 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=00:16:3e:f1:db:16,bus=pci.0,addr=0x1 -chardev pty,id=charserial0 -device spapr-vty,chardev=charserial0,reg=0x30000000 -global spapr-nvram.reg=0x3000 -cpu POWER7


-- Package-specific info:
** Version:
Linux version 3.14-0.bpo.2-powerpc64 (debian-kernel@lists.debian.org) (gcc version 4.6.3 (Debian 4.6.3-11) ) #1 SMP Debian 3.14.13-2~bpo70+1 (2014-07-31)

** Command line:
root=UUID=e17a8c34-1eb6-4a70-a536-d215abcb84ae ro quiet 

** Not tainted

** Kernel log:
[    0.023957] Yama: disabled by default; enable with sysctl kernel.yama.*
[    0.027287] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.034055] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.037091] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
[    0.037166] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes)
[    0.047688] Initializing cgroup subsys memory
[    0.049179] Initializing cgroup subsys devices
[    0.049251] Initializing cgroup subsys freezer
[    0.049339] Initializing cgroup subsys net_cls
[    0.049389] Initializing cgroup subsys blkio
[    0.049429] Initializing cgroup subsys perf_event
[    0.064283] EEH: pSeries platform initialized
[    0.065646] POWER7 performance monitor hardware support registered
[    0.080610] Brought up 1 CPUs
[    0.080952] Node 0 CPUs: 0
[    0.082097] Enabling Asymmetric SMT scheduling
[    0.096961] devtmpfs: initialized
[    0.276395] EEH: devices created
[    0.280935] NET: Registered protocol family 16
[    0.282037] pseries_eeh_init: RTAS service <ibm,set-eeh-option> invalid
[    0.282091] eeh_init: Failed to call platform init function (-22)
[    0.282603] IBM eBus Device Driver
[    0.288299] cpuidle: using governor ladder
[    0.288438] cpuidle: using governor menu
[    0.297579] PCI: Probing PCI hardware
[    0.298886] no ibm,pcie-link-speed-stats property
[    0.299944] PCI host bridge to bus 0000:00
[    0.300449] pci_bus 0000:00: root bus resource [io  0x10000-0x1ffff] (bus address [0x0000-0xffff])
[    0.300547] pci_bus 0000:00: root bus resource [mem 0x100a0000000-0x100bfffffff] (bus address [0x80000000-0x9fffffff])
[    0.300862] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.308998] IOMMU table initialized, virtual merging enabled
[    0.312314] PCI: Probing PCI hardware done
[    0.312452] opal: Node not found
[    0.325944] bio: create slab <bio-0> at 0
[    0.330625] vgaarb: loaded
[    0.332270] SCSI subsystem initialized
[    0.333000] libata version 3.00 loaded.
[    0.340663] Switched to clocksource timebase
[    0.405310] NET: Registered protocol family 2
[    0.410449] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[    0.411122] TCP bind hash table entries: 8192 (order: 5, 131072 bytes)
[    0.412006] TCP: Hash tables configured (established 8192 bind 8192)
[    0.413643] TCP: reno registered
[    0.413791] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.414067] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.416204] NET: Registered protocol family 1
[    0.416755] PCI: CLS 0 bytes, default 128
[    0.421439] Unpacking initramfs...
[    1.772992] Freeing initrd memory: 15488K (c000000001900000 - c000000002820000)
[    1.774741] rtasd: No event-scan on system
[    1.777266] Hypercall H_BEST_ENERGY not supported
[    1.780855] futex hash table entries: 256 (order: 3, 32768 bytes)
[    1.782519] audit: initializing netlink subsys (disabled)
[    1.783368] audit: type=2000 audit(1408705209.764:1): initialized
[    1.945384] HugeTLB registered 16 MB page size, pre-allocated 0 pages
[    1.948453] VFS: Disk quotas dquot_6.5.2
[    1.948708] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    1.950750] msgmni has been set to 1991
[    1.963034] alg: No test for stdrng (krng)
[    1.963339] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    1.963933] io scheduler noop registered
[    1.963997] io scheduler deadline registered
[    1.964226] io scheduler cfq registered (default)
[    1.972721] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.976097] pmac_zilog: 0.6 (Benjamin Herrenschmidt <benh@kernel.crashing.org>)
[    1.976200] Linux agpgart interface v0.103
[    1.978715] mousedev: PS/2 mouse device common for all mice
[    1.980056] rtc-generic rtc-generic: rtc core: registered rtc-generic as rtc0
[    1.981483] pseries_idle_driver registered
[    1.982325] TCP: cubic registered
[    1.982790] NET: Registered protocol family 10
[    1.988789] mip6: Mobile IPv6
[    1.988914] NET: Registered protocol family 17
[    1.989049] mpls_gso: MPLS GSO support
[    1.991065] registered taskstats version 1
[    1.995208] rtc-generic rtc-generic: setting system clock to 2014-08-22 11:00:10 UTC (1408705210)
[    1.995427] PM: Hibernation image not present or could not be loaded.
[    2.015303] Freeing unused kernel memory: 596K (c0000000008f5000 - c00000000098a000)
[    2.553036] udevd[52]: starting version 175
[    3.181320] virtio-pci 0000:00:01.0: enabling device (0000 -> 0003)
[    3.189611] virtio-pci 0000:00:02.0: enabling device (0000 -> 0003)
[    3.703730] blk-mq: CPU -> queue map
[    3.703780]   CPU 0 -> Queue 0
[    3.734869]  vda: vda1 vda2 vda3 < vda5 >
[    4.370545] PM: Starting manual resume from disk
[    4.370612] PM: Hibernation image partition 254:5 present
[    4.370645] PM: Looking for hibernation image.
[    4.371417] PM: Image not found (code -22)
[    4.371456] PM: Hibernation image not present or could not be loaded.
[    4.595891] EXT4-fs (vda2): INFO: recovery required on readonly filesystem
[    4.595942] EXT4-fs (vda2): write access will be enabled during recovery
[    6.035347] EXT4-fs (vda2): recovery complete
[    6.045992] EXT4-fs (vda2): mounted filesystem with ordered data mode. Opts: (null)
[   11.439407] udevd[229]: starting version 175
[   26.091859] Adding 746492k swap on /dev/vda5.  Priority:-1 extents:1 across:746492k 
[   26.697213] EXT4-fs (vda2): re-mounted. Opts: (null)
[   27.935329] EXT4-fs (vda2): re-mounted. Opts: errors=remount-ro
[   30.077255] loop: module loaded
[   68.594686] random: dd urandom read with 122 bits of entropy available
[   75.682132] random: nonblocking pool is initialized

** Model information
revision	: 2.3 (pvr 003f 0203)
platform	: pSeries
model		: IBM pSeries (emulated by qemu)
machine		: CHRP IBM pSeries (emulated by qemu)

** Loaded modules:
loop
ext4
crc16
mbcache
jbd2
virtio_net
virtio_blk
virtio_pci
virtio_ring
virtio

** Network interface configuration:
Skip


** PCI devices:
00:01.0 Ethernet controller [0200]: Red Hat, Inc Virtio network device [1af4:1000]
	Subsystem: Red Hat, Inc Device [1af4:0001]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 17
	Region 0: I/O ports at 0020 [size=32]
	Region 1: Memory at 100b0000000 (32-bit, non-prefetchable) [size=4K]
	Expansion ROM at 100b0010000 [disabled] [size=64K]
	Kernel driver in use: virtio-pci

00:02.0 SCSI storage controller [0100]: Red Hat, Inc Virtio block device [1af4:1001]
	Subsystem: Red Hat, Inc Device [1af4:0002]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 18
	Region 0: I/O ports at 0040 [size=64]
	Region 1: Memory at 100b0020000 (32-bit, non-prefetchable) [size=4K]
	Kernel driver in use: virtio-pci


** USB devices:
not available


-- System Information:
Debian Release: 7.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: powerpc (ppc64)

Kernel: Linux 3.14-0.bpo.2-powerpc64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages linux-image-3.14-0.bpo.2-powerpc64 depends on:
ii  debconf [debconf-2.0]                   1.5.49
ii  initramfs-tools [linux-initramfs-tool]  0.115~bpo70+1
ii  kmod                                    9-3
ii  linux-base                              3.5

Versions of packages linux-image-3.14-0.bpo.2-powerpc64 recommends:
pn  firmware-linux-free  <none>

Versions of packages linux-image-3.14-0.bpo.2-powerpc64 suggests:
pn  debian-kernel-handbook  <none>
pn  linux-doc-3.14          <none>
pn  mkvmlinuz               <none>

Versions of packages linux-image-3.14-0.bpo.2-powerpc64 is related to:
pn  firmware-atheros        <none>
pn  firmware-bnx2           <none>
pn  firmware-bnx2x          <none>
pn  firmware-brcm80211      <none>
pn  firmware-intelwimax     <none>
pn  firmware-ipw2x00        <none>
pn  firmware-ivtv           <none>
pn  firmware-iwlwifi        <none>
pn  firmware-libertas       <none>
pn  firmware-linux          <none>
pn  firmware-linux-nonfree  <none>
pn  firmware-myricom        <none>
pn  firmware-netxen         <none>
pn  firmware-qlogic         <none>
pn  firmware-ralink         <none>
pn  firmware-realtek        <none>
pn  xen-hypervisor          <none>

-- debconf information:
  linux-image-3.14-0.bpo.2-powerpc64/prerm/removing-running-kernel-3.14-0.bpo.2-powerpc64: true
  linux-image-3.14-0.bpo.2-powerpc64/postinst/depmod-error-initrd-3.14-0.bpo.2-powerpc64: false
  linux-image-3.14-0.bpo.2-powerpc64/postinst/mips-initrd-3.14-0.bpo.2-powerpc64:


Reply to: