← Back to team overview

kernel-packages team mailing list archive

[Bug 1283165] Re: DI fails on arm64 with kernel Oops

 

This should be resolved now. In 3.13.0-11.31, the kernel was changed to
link the IPMI modules statically. On probe, this causes the KCS driver
to poke a well known address to look for a BMC - but on arm64, touching
this address causes a fault. This change was reverted in subsequent
uploads.

** Changed in: linux (Ubuntu)
       Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1283165

Title:
  DI fails on arm64 with kernel Oops

Status in “linux” package in Ubuntu:
  Fix Released

Bug description:
  DI fails on arm64 with kernel Oops:

  Using arm64 netboot install:

    http://ports.ubuntu.com/ubuntu-ports/dists/trusty/main/installer-
  arm64/20101020ubuntu300/images/generic/netboot/

  and ARM fast model:

    FVP_Base_AEMv8A-AEMv8A_0.8_5311/models/Linux64_GCC-4.1
  /FVP_Base_AEMv8A-AEMv8A

  model.conf:

  pctl.startup="0.0.0.0"
  bp.secure_memory=0
  bp.flashloader0.fname="uefi_fvp-base.bin"
  bp.secureflashloader.fname="bl1.bin"

  bp.smsc_91c111.enabled=1
  bp.hostbridge.userNetworking=1
  bp.hostbridge.userNetPorts="8122=22"

  cluster0.NUM_CORES=1
  cluster1.NUM_CORES=1

  Screen dump:

  [    0.000000] Initializing cgroup subsys cpuset
  [    0.000000] Initializing cgroup subsys cpu
  [    0.000000] Initializing cgroup subsys cpuacct
  [    0.000000] Linux version 3.13.0-11-generic (buildd@magic) (gcc version 4.8.2 (Ubuntu/Linaro 4.8.2-16ubuntu1) ) #31-Ubuntu SMP Wed Feb 19 20:03:19 UTC 2014 (Ubuntu 3.13.0-11.31-generic 3.13.3)
  [    0.000000] CPU: AArch64 Processor [410fd0f0] revision 0
  [    0.000000] bootconsole [earlycon0] enabled
  [    0.000000] On node 0 totalpages: 524288
  [    0.000000]   DMA32 zone: 7168 pages used for memmap
  [    0.000000]   DMA32 zone: 0 pages reserved
  [    0.000000]   DMA32 zone: 524288 pages, LIFO batch:31
  [    0.000000] psci: probing function IDs from device-tree
  [    0.000000] PERCPU: Embedded 12 pages/cpu @ffffffc07ff87000 s17024 r8192 d23936 u49152
  [    0.000000] pcpu-alloc: s17024 r8192 d23936 u49152 alloc=12*4096
  [    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5 [0] 6 [0] 7 
  [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 517120
  [    0.000000] Kernel command line: console=ttyAMA0 earlyprintk=pl011,0x1c090000 debug user_debug=31 loglevel=9 root=/dev/vda2
  [    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
  [    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
  [    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
  [    0.000000] software IO TLB [mem 0xf9e00000-0xfde00000] (64MB) mapped at [ffffffc079e00000-ffffffc07ddfffff]
  [    0.000000] Memory: 1980368K/2097152K available (5444K kernel code, 564K rwdata, 2380K rodata, 300K init, 544K bss, 116784K reserved)
  [    0.000000] Virtual kernel memory layout:
  [    0.000000]     vmalloc : 0xffffff8000000000 - 0xffffffbbffff0000   (245759 MB)
  [    0.000000]     vmemmap : 0xffffffbc01c00000 - 0xffffffbc03800000   (    28 MB)
  [    0.000000]     modules : 0xffffffbffc000000 - 0xffffffc000000000   (    64 MB)
  [    0.000000]     memory  : 0xffffffc000000000 - 0xffffffc080000000   (  2048 MB)
  [    0.000000]       .init : 0xffffffc000826000 - 0xffffffc000871280   (   301 kB)
  [    0.000000]       .text : 0xffffffc000080000 - 0xffffffc000825344   (  7829 kB)
  [    0.000000]       .data : 0xffffffc000872000 - 0xffffffc0008ff180   (   565 kB)
  [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, Nodes=1
  [    0.000000] Hierarchical RCU implementation.
  [    0.000000]  RCU dyntick-idle grace-period acceleration is enabled.
  [    0.000000] NR_IRQS:64 nr_irqs:64 0
  [    0.000000] Architected cp15 and mmio timer(s) running at 100.00MHz (phys/phys).
  [    0.000000] sched_clock: 56 bits at 100MHz, resolution 10ns, wraps every 2748779069440ns
  [    0.000000] Console: colour dummy device 80x25
  [    0.000000] allocated 8388608 bytes of page_cgroup
  [    0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
  [    0.002856] Calibrating delay loop (skipped), value calculated using timer frequency.. 200.00 BogoMIPS (lpj=1000000)
  [    0.002929] pid_max: default: 32768 minimum: 301
  [    0.003905] Security Framework initialized
  [    0.004070] AppArmor: AppArmor initialized
  [    0.004107] Yama: becoming mindful.
  [    0.004612] Mount-cache hash table entries: 256
  [    0.017316] Initializing cgroup subsys memory
  [    0.017450] Initializing cgroup subsys devices
  [    0.017496] Initializing cgroup subsys freezer
  [    0.017541] Initializing cgroup subsys blkio
  [    0.017584] Initializing cgroup subsys perf_event
  [    0.017702] Initializing cgroup subsys hugetlb
  [    0.018662] hw perfevents: enabled with arm/armv8-pmuv3 PMU driver, 9 counters available
  [    0.028681] psci: psci: failed to boot CPU1 (-22)
  [    0.028726] CPU1: failed to boot: -22
  [    0.029981] psci: psci: failed to boot CPU2 (-22)
  [    0.030027] CPU2: failed to boot: -22
  [    0.031284] psci: psci: failed to boot CPU3 (-22)
  [    0.031329] CPU3: failed to boot: -22
  [    0.033382] CPU4: Booted secondary processor
  [    0.035162] psci: psci: failed to boot CPU5 (-22)
  [    0.035235] CPU5: failed to boot: -22
  [    0.036492] psci: psci: failed to boot CPU6 (-22)
  [    0.036537] CPU6: failed to boot: -22
  [    0.037759] psci: psci: failed to boot CPU7 (-22)
  [    0.037804] CPU7: failed to boot: -22
  [    0.037908] Brought up 2 CPUs
  [    0.037946] SMP: Total of 2 processors activated.
  [    0.041754] devtmpfs: initialized
  [    0.078404] EVM: security.selinux
  [    0.078442] EVM: security.SMACK64
  [    0.078479] EVM: security.ima
  [    0.078516] EVM: security.capability
  [    0.081751] atomic64 test passed
  [    0.082795] regulator-dummy: no parameters
  [    0.084209] NET: Registered protocol family 16
  [    0.093420] of_amba_device_create(): amba_device_add() failed (-19) for /smb/motherboard/iofpga@3,00000000/sysctl@020000
  [    0.103675] vdso: 2 pages (1 code, 1 data) at base ffffffc000879000
  [    0.103783] hw-breakpoint: found 16 breakpoint and 16 watchpoint registers.
  [    0.105327] Serial: AMBA PL011 UART driver
  [    0.105649] 1c090000.uart: ttyAMA0 at MMIO 0x1c090000 (irq = 37, base_baud = 0) is a PL011 rev2
  [    0.105715] console [ttyAMA0] enabled
  [    0.105715] console [ttyAMA0] enabled
  [    0.105770] bootconsole [earlycon0] disabled
  [    0.105770] bootconsole [earlycon0] disabled
  [    0.106322] 1c0a0000.uart: ttyAMA1 at MMIO 0x1c0a0000 (irq = 38, base_baud = 0) is a PL011 rev2
  [    0.106893] 1c0b0000.uart: ttyAMA2 at MMIO 0x1c0b0000 (irq = 39, base_baud = 0) is a PL011 rev2
  [    0.107466] 1c0c0000.uart: ttyAMA3 at MMIO 0x1c0c0000 (irq = 40, base_baud = 0) is a PL011 rev2
  [    0.128432] bio: create slab <bio-0> at 0
  [    0.137207] SCSI subsystem initialized
  [    0.137947] libata version 3.00 loaded.
  [    0.142307] NetLabel: Initializing
  [    0.142348] NetLabel:  domain hash size = 128
  [    0.142389] NetLabel:  protocols = UNLABELED CIPSOv4
  [    0.142649] NetLabel:  unlabeled traffic allowed by default
  [    0.143659] Switched to clocksource arch_sys_counter
  [    0.190710] AppArmor: AppArmor Filesystem Enabled
  [    0.214399] NET: Registered protocol family 2
  [    0.217270] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
  [    0.219260] TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
  [    0.221608] TCP: Hash tables configured (established 16384 bind 16384)
  [    0.221722] TCP: reno registered
  [    0.221788] UDP hash table entries: 1024 (order: 3, 32768 bytes)
  [    0.222228] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
  [    0.224172] NET: Registered protocol family 1
  [    0.224926] Trying to unpack rootfs image as initramfs...
  [    3.200262] Freeing initrd memory: 6680K (ffffffc007979000 - ffffffc007fff000)
  [    3.203699] Initialise system trusted keyring
  [    3.204062] audit: initializing netlink socket (disabled)
  [    3.204161] type=2000 audit(3.200:1): initialized
  [    3.207444] HugeTLB registered 2 MB page size, pre-allocated 0 pages
  [    3.231155] zbud: loaded
  [    3.234458] VFS: Disk quotas dquot_6.5.2
  [    3.235909] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
  [    3.249050] fuse init (API version 7.22)
  [    3.250554] msgmni has been set to 3880
  [    3.251949] Key type big_key registered
  [    3.255554] Key type asymmetric registered
  [    3.255599] Asymmetric key parser 'x509' registered
  [    3.256336] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
  [    3.256792] io scheduler noop registered
  [    3.256840] io scheduler deadline registered (default)
  [    3.257468] io scheduler cfq registered
  [    3.258443] ipmi message handler version 39.2
  [    3.258831] IPMI System Interface driver.
  [    3.258882] ipmi_si: Adding default-specified kcs state machine
  [    3.258952] ipmi_si: Trying default-specified kcs state machine at i/o address 0xca2, slave address 0x0, irq 0
  [    3.259050] Unable to handle kernel paging request at virtual address ffffffbffbe00ca3
  [    3.259104] pgd = ffffffc00007d000
  [    3.259150] [ffffffbffbe00ca3] *pgd=000000008007f003, *pmd=0000000000000000
  [    3.259225] Internal error: Oops: 96000006 [#1] SMP
  [    3.259264] Modules linked in:
  [    3.259331] CPU: 4 PID: 1 Comm: swapper/0 Not tainted 3.13.0-11-generic #31-Ubuntu
  [    3.259400] task: ffffffc079890000 ti: ffffffc079854000 task.ti: ffffffc079854000
  [    3.259476] PC is at port_inb+0x1c/0x28
  [    3.259531] LR is at kcs_detect+0x18/0x2c
  [    3.259588] pc : [<ffffffc0003765fc>] lr : [<ffffffc000379ad8>] pstate: 60000205
  [    3.259640] sp : ffffffc079857ce0
  [    3.259684] x29: ffffffc079857ce0 x28: 0000000000000000 
  [    3.259754] x27: ffffffc00079f068 x26: ffffffc0006117d0 
  [    3.259826] x25: ffffffc000611000 x24: ffffffc00037755c 
  [    3.259898] x23: ffffffc000611000 x22: ffffffc000611000 
  [    3.259968] x21: 0000000000000000 x20: ffffffc000611ac8 
  [    3.260040] x19: ffffffc077a88c00 x18: 000000000000073f 
  [    3.260109] x17: 000000000000121f x16: 0000000000000006 
  [    3.260177] x15: 0000000000000006 x14: 0000000000000000 
  [    3.260247] x13: ffffffffffffff98 x12: 00000000ffffffff 
  [    3.260318] x11: ffffffc0008ef7d8 x10: 00000000000006dc 
  [    3.260388] x9 : ffffffc0782ab380 x8 : 0000000000000200 
  [    3.260457] x7 : ffffffc0009539a8 x6 : 0000000000000ca2 
  [    3.260527] x5 : ffffffc0782ab268 x4 : 0000000000000ca3 
  [    3.260594] x3 : 0000000000000001 x2 : 0000000000000ca2 
  [    3.260663] x1 : 0000000000000ca3 x0 : ffffffbffbe00ca3 
  [    3.260725] 
  [    3.260771] Process swapper/0 (pid: 1, stack limit = 0xffffffc079854058)
  [    3.260833] Stack: (0xffffffc079857ce0 to 0xffffffc079858000)
  [    3.260938] 7ce0: 79857cf0 ffffffc0 00378938 ffffffc0 79857d60 ffffffc0 00379904 ffffffc0
  [    3.261049] 7d00: 77a88c00 ffffffc0 00611ac8 ffffffc0 0096a000 ffffffc0 008b1000 ffffffc0
  [    3.261159] 7d20: 00000ca2 00000000 0037755c ffffffc0 00611000 ffffffc0 006117d0 ffffffc0
  [    3.261268] 7d40: 0079f068 ffffffc0 00000000 00000000 0096a000 ffffffc0 00379920 ffffffc0
  [    3.261378] 7d60: 79857dd0 ffffffc0 00081400 ffffffc0 79854000 ffffffc0 00000000 00000000
  [    3.261488] 7d80: 0037950c ffffffc0 008ff180 ffffffc0 008261b4 ffffffc0 0081e670 ffffffc0
  [    3.261596] 7da0: 00861100 ffffffc0 000000a6 00000000 008ff000 ffffffc0 00000000 00000000
  [    3.261707] 7dc0: 79857dd0 ffffffc0 00081400 ffffffc0 79857e50 ffffffc0 008269b8 ffffffc0
  [    3.261817] 7de0: 0086cad0 ffffffc0 00861060 ffffffc0 00000006 00000000 008ff180 ffffffc0
  [    3.261926] 7e00: 008261b4 ffffffc0 0081e670 ffffffc0 008ff000 ffffffc0 00000000 00000000
  [    3.262035] 7e20: 79857e30 ffffffc0 008f6df0 ffffffc0 0088a130 ffffffc0 00000006 00000006
  [    3.262147] 7e40: 7fffde5a ffffffc0 008261b4 ffffffc0 79857eb0 ffffffc0 005bc20c ffffffc0
  [    3.262252] 7e60: 005bc1fc ffffffc0 00000000 00000000 00000000 00000000 00000000 00000000
  [    3.262356] 7e80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
  [    3.262464] 7ea0: 00000000 00000000 00083b24 ffffffc0 00000000 00000000 00083b30 ffffffc0
  [    3.262569] 7ec0: 005bc1fc ffffffc0 00000000 00000000 00000000 00000000 00000000 00000000
  [    3.262674] 7ee0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
  [    3.262778] 7f00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
  [    3.262882] 7f20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
  [    3.262986] 7f40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
  [    3.263090] 7f60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
  [    3.263194] 7f80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
  [    3.263298] 7fa0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
  [    3.263402] 7fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000005 00000000
  [    3.263510] 7fe0: 00000000 00000000 00000000 00000000 dfdfdfcf cfdfdfdf dfdfdfcf cfdfdfdf
  [    3.263559] Call trace:
  [    3.263629] [<ffffffc0003765fc>] port_inb+0x1c/0x28
  [    3.263694] [<ffffffc000378938>] try_smi_init+0x188/0x824
  [    3.263761] [<ffffffc000379904>] init_ipmi_si+0x3f8/0x56c
  [    3.263830] [<ffffffc000081400>] do_one_initcall+0xc8/0x150
  [    3.263902] [<ffffffc0008269b8>] kernel_init_freeable+0x1bc/0x25c
  [    3.263985] [<ffffffc0005bc20c>] kernel_init+0x10/0x104
  [    3.264065] Code: f2dff7e0 1b030821 f2ffffe0 8b214000 (39400000) 
  [    3.264208] ---[ end trace cb9aa4e2d727a58b ]---
  [    3.264294] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
  [    3.264294] 
  [    3.264369] CPU0: stopping
  [    3.264434] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G      D      3.13.0-11-generic #31-Ubuntu
  [    3.264484] Call trace:
  [    3.264554] [<ffffffc00008748c>] dump_backtrace+0x0/0x16c
  [    3.264629] [<ffffffc00008760c>] show_stack+0x14/0x1c
  [    3.264699] [<ffffffc0005c33b8>] dump_stack+0x70/0x90
  [    3.264766] [<ffffffc00008dd1c>] handle_IPI+0x124/0x138
  [    3.264832] [<ffffffc0000812d4>] gic_handle_irq+0x78/0x7c
  [    3.264891] Exception stack(0xffffffc000877de0 to 0xffffffc000877f00)
  [    3.264997] 7de0: 00874000 ffffffc0 00874000 ffffffc0 00877f20 ffffffc0 00084600 ffffffc0
  [    3.265104] 7e00: 00000560 00000000 00000000 00000000 7ff87824 ffffffc0 ffff8c15 00000000
  [    3.265211] 7e20: 00000020 00000000 00000010 00000000 c5e32e00 00000000 7ff87de0 ffffffc0
  [    3.265319] 7e40: 00880e80 ffffffc0 00877d20 ffffffc0 ffff8c15 00000000 000007ff 00000000
  [    3.265423] 7e60: 00000044 00000000 00000013 00000000 0000000e 00000000 00000007 00000000
  [    3.265528] 7e80: 00000001 00000000 00000007 00000000 0000000e 00000000 00874000 ffffffc0
  [    3.265638] 7ea0: 00874000 ffffffc0 008f4000 ffffffc0 0090acb8 ffffffc0 00900198 ffffffc0
  [    3.265748] 7ec0: 00874000 ffffffc0 008f387b ffffffc0 8007d000 00000000 00768208 ffffffc0
  [    3.265858] 7ee0: 005cdf10 ffffffc0 00877f20 ffffffc0 000845fc ffffffc0 00877f20 ffffffc0
  [    3.265934] [<ffffffc0000835ac>] el1_irq+0x6c/0xc0
  [    3.266016] [<ffffffc0000dce88>] cpu_startup_entry+0x130/0x1e4
  [    3.266096] [<ffffffc0005bc1f4>] rest_init+0x70/0x78
  [    3.266165] [<ffffffc0008267e8>] start_kernel+0x350/0x364

  EOF

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1283165/+subscriptions


References