kernel crash when compiling linux-4.1-rc2 with make -j20

Bug #1452293 reported by Andrew McDermott
This bug report is a duplicate of:  Bug #1440536: Oops __d_lookup+0x88/0x194. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
High
Unassigned

Bug Description

Kernel crash whilst building new kernel:

Steps to reproduce:

wget https://www.kernel.org/pub/linux/kernel/v4.x/testing/linux-4.1-rc2.tar.xz
tar xf linux-4.1-rc2.tar.xz
cd linux-4.1-rc2/
make mrproper
make olddefconfig
make -j20

I noticed that the output from the build had stopped then noticed the following messages (via dmesg):

[ 15.285274] random: nonblocking pool is initialized
[ 15.633718] xgene-enet 17020000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[ 2541.173142] Unable to handle kernel paging request at virtual address 1000000000000018
[ 2541.181062] pgd = ffffffc3ec61d000
[ 2541.184449] [1000000000000018] *pgd=0000000000000000, *pud=0000000000000000
[ 2541.191476] Internal error: Oops: 96000005 [#1] SMP
[ 2541.196331] Modules linked in: rtc_xgene xgene_rng uio_pdrv_genirq uio autofs4 realtek ahci_xgene libahci_platform xgene_enet libahci aes_neon_blk ablk_
helper cryptd
[ 2541.211214] CPU: 2 PID: 17206 Comm: sh Not tainted 3.19.0-15-generic #15-Ubuntu
[ 2541.218488] Hardware name: APM X-Gene Mustang board (DT)
[ 2541.223775] task: ffffffc3ec2d3d40 ti: ffffffc0fec1c000 task.ti: ffffffc0fec1c000
[ 2541.231236] PC is at __d_lookup+0x88/0x194
[ 2541.235324] LR is at d_lookup+0x3c/0x64
[ 2541.239148] pc : [<ffffffc00022a120>] lr : [<ffffffc00022a268>] pstate: 00000145
[ 2541.246509] sp : ffffffc0fec1fb40
[ 2541.249807] x29: ffffffc0fec1fb40 x28: 0000000000020241
[ 2541.255114] x27: 000000001b2865a6 x26: ffffffc0fec1fe88
[ 2541.260421] x25: ffffffffffffffff x24: ffffffc0ff01d02d
[ 2541.265728] x23: 000000000000000b x22: ffffffc0fec1fda0
[ 2541.271045] x21: ffffffc3b80ebd80 x20: 0ffffffffffffff8
[ 2541.276353] x19: 1000000000000000 x18: 0000000000000000
[ 2541.281659] x17: 0000002000118748 x16: ffffffc00020f430
[ 2541.286967] x15: 0000000000000008 x14: 636e692f8134366d
[ 2541.292275] x13: 72612f8168637261 x12: 492d812069706175
[ 2541.297594] x11: 0000000000000000 x10: fefefefefefefeff
[ 2541.302904] x9 : 0000000000000000 x8 : ffffffc3e9ed2f40
[ 2541.308221] x7 : 0000000000000000 x6 : 000000000000003f
[ 2541.313532] x5 : ffffffc0ff01d000 x4 : 0000000000000015
[ 2541.318848] x3 : ffffffc000b64f60 x2 : 000000009e370001
[ 2541.324155] x1 : ffffffc3eec00000 x0 : 00000000001e7194
[ 2541.330959] Process sh (pid: 17206, stack limit = 0xffffffc0fec1c058)
[ 2541.337367] Stack: (0xffffffc0fec1fb40 to 0xffffffc0fec20000)
[ 2541.343088] fb40: fec1fba0 ffffffc0 0022a268 ffffffc0 0000dd6e 00000000 00b5a000 ffffffc0
[ 2541.351235] fb60: fec1fda0 ffffffc0 b80ebd80 ffffffc3 00000301 00000000 b80ebd80 ffffffc3
[ 2541.359378] fb80: 00000001 00000000 fec1fe88 ffffffc0 fec1fd90 ffffffc0 00020241 00000000
[ 2541.367516] fba0: fec1fbd0 ffffffc0 0021b0e0 ffffffc0 fec1fd40 ffffffc0 b80ebd80 ffffffc3
[ 2541.375654] fbc0: fec1fda0 ffffffc0 fec1fca7 ffffffc0 fec1fc10 ffffffc0 0021d790 ffffffc0
[ 2541.383792] fbe0: fec1fd40 ffffffc0 b8113458 ffffffc3 b80ebd80 ffffffc3 ff01d000 ffffffc0
[ 2541.391930] fc00: fec1fd3c ffffffc0 fec1fd90 ffffffc0 fec1fcb0 ffffffc0 002204c8 ffffffc0
[ 2541.400066] fc20: fe52d000 ffffffc0 fec1fd90 ffffffc0 fec1fe88 ffffffc0 ff01d000 ffffffc0
[ 2541.408204] fc40: 00000041 00000000 ffffff9c 00000000 0000011a 00000000 00000038 00000000
[ 2541.416343] fc60: 00b6e000 ffffffc0 00000000 00000000 fec1fcb0 ffffffc0 002204a4 ffffffc0
[ 2541.424481] fc80: 00000001 00000000 ff01d000 ffffffc0 fe52d000 ffffffc0 00000022 00000000

(the rest is attached)

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: linux-image-3.19.0-15-generic 3.19.0-15.15
ProcVersionSignature: Ubuntu 3.19.0-15.15-generic 3.19.3
Uname: Linux 3.19.0-15-generic aarch64
AlsaDevices:
 total 0
 crw-rw---- 1 root audio 116, 1 Jan 1 1970 seq
 crw-rw---- 1 root audio 116, 33 Jan 1 1970 timer
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay'
ApportVersion: 2.17.2-0ubuntu1
Architecture: arm64
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord'
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
CRDA: Error: [Errno 2] No such file or directory: 'iw'
Date: Wed May 6 14:08:16 2015
IwConfig:
 eth0 no wireless extensions.

 lo no wireless extensions.
Lspci:

Lsusb: Error: command ['lsusb'] failed with exit code 1: unable to initialize libusb: -99
PciMultimedia:

ProcEnviron:
 TERM=screen-256color
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB:

ProcKernelCmdLine: console=ttyS0,115200n8 root=/dev/sda1 rw rootwait
RelatedPackageVersions:
 linux-restricted-modules-3.19.0-15-generic N/A
 linux-backports-modules-3.19.0-15-generic N/A
 linux-firmware 1.143
RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
SourcePackage: linux
UdevLog: Error: [Errno 2] No such file or directory: '/var/log/udev'
UpgradeStatus: No upgrade log present (probably fresh install)
---
AlsaDevices:
 total 0
 crw-rw---- 1 root audio 116, 1 Jan 1 1970 seq
 crw-rw---- 1 root audio 116, 33 Jan 1 1970 timer
AplayDevices: Error: [Errno 2] No such file or directory
ApportVersion: 2.17.2-0ubuntu1
Architecture: arm64
ArecordDevices: Error: [Errno 2] No such file or directory
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
CRDA: Error: [Errno 2] No such file or directory
DistroRelease: Ubuntu 15.04
IwConfig:
 eth0 no wireless extensions.

 lo no wireless extensions.
JournalErrors: Error: command ['journalctl', '-b', '--priority', 'warning'] failed with exit code 1: No journal files were found.
Lspci:

Lsusb: Error: command ['lsusb'] failed with exit code 1: unable to initialize libusb: -99
Package: linux (not installed)
PciMultimedia:

ProcEnviron:
 TERM=screen-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB:

ProcKernelCmdLine: console=ttyS0,115200n8 root=/dev/sda1 rw rootwait
ProcVersionSignature: Ubuntu 3.19.0-15.15-generic 3.19.3
RelatedPackageVersions:
 linux-restricted-modules-3.19.0-15-generic N/A
 linux-backports-modules-3.19.0-15-generic N/A
 linux-firmware 1.143
RfKill: Error: [Errno 2] No such file or directory
Tags: vivid uec-images
UdevLog: Error: [Errno 2] No such file or directory: '/var/log/udev'
Uname: Linux 3.19.0-15-generic aarch64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

WifiSyslog:

_MarkForUpload: True
---
AlsaDevices:
 total 0
 crw-rw---- 1 root audio 116, 1 Jan 1 1970 seq
 crw-rw---- 1 root audio 116, 33 Jan 1 1970 timer
AplayDevices: Error: [Errno 2] No such file or directory
ApportVersion: 2.17.2-0ubuntu1
Architecture: arm64
ArecordDevices: Error: [Errno 2] No such file or directory
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
CRDA: Error: [Errno 2] No such file or directory
DistroRelease: Ubuntu 15.04
IwConfig:
 eth0 no wireless extensions.

 lo no wireless extensions.
JournalErrors: Error: command ['journalctl', '-b', '--priority', 'warning'] failed with exit code 1: No journal files were found.
Lspci:

Lsusb: Error: command ['lsusb'] failed with exit code 1: unable to initialize libusb: -99
Package: linux (not installed)
PciMultimedia:

ProcEnviron:
 TERM=screen-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB:

ProcKernelCmdLine: console=ttyS0,115200n8 root=/dev/sda1 rw rootwait
ProcVersionSignature: Ubuntu 3.19.0-15.15-generic 3.19.3
RelatedPackageVersions:
 linux-restricted-modules-3.19.0-15-generic N/A
 linux-backports-modules-3.19.0-15-generic N/A
 linux-firmware 1.143
RfKill: Error: [Errno 2] No such file or directory
Tags: vivid uec-images
UdevLog: Error: [Errno 2] No such file or directory: '/var/log/udev'
Uname: Linux 3.19.0-15-generic aarch64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

WifiSyslog:

_MarkForUpload: True

Revision history for this message
Andrew McDermott (frobware) wrote :
tags: added: apport-collected
description: updated
Revision history for this message
Andrew McDermott (frobware) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Andrew McDermott (frobware) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Andrew McDermott (frobware) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Andrew McDermott (frobware) wrote : ProcModules.txt

apport information

Revision history for this message
Andrew McDermott (frobware) wrote : UdevDb.txt

apport information

Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1452293

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Andrew McDermott (frobware) wrote : CurrentDmesg.txt

apport information

description: updated
Revision history for this message
Andrew McDermott (frobware) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Andrew McDermott (frobware) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Andrew McDermott (frobware) wrote : ProcModules.txt

apport information

Revision history for this message
Andrew McDermott (frobware) wrote : UdevDb.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Changed in linux (Ubuntu):
importance: Undecided → High
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Does the kernel crash happen when compiling any kernel version or just 4.1-rc2?

tags: added: kernel-da-key
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Also, can you boot into the Utopic kernel and try the compile to see if this is a regression?

Revision history for this message
Andrew McDermott (frobware) wrote :

I was going straight from 3.19 (ie., vivid) to 4-1-rc2 so don't know if it is applicable to just that version. I would be surprised if it was.

Regarding booting into utopic - I can try but it will be a while before I can unload my machine to put utopic back.

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Does the kernel crash when compiling with 3.19 as well, or only the 4.1-rc2 kernel?

Revision history for this message
Andrew McDermott (frobware) wrote :

This was crashing with 3.19 (i.e., vivid's kernel).

I wanted to pick up most of vivid's kernel config and initiated my build on 3.19 with `make olddefconfig' .

I briefly tried with utopic and didn't see an issue - but take that with a pinch of salt as I only did one run and wanted to report based on a greater sample size.

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

You can test Utopic again without a complete re-install. Just install the Utopic kernel from:

https://launchpad.net/ubuntu/+source/linux/3.16.0-37.51

Download/install the linux-image and linux-image-extra .deb after selecting your arch under the "Builds" section. Then select the 3.16 kernel from the grub menu.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.