Subject: bug#31119: make check-system fails: kernel panic

From: Chris Marusich <[email-masked]>
Date: Mon, 09 Apr 2018 23:32:46 -0700

Hi,

At commit df154c05dc65025eac2d14ab45699b34c7a1c7c8 (this is on the
master branch), "make check-system" fails with the following error:

--8<---------------cut here---------------start------------->8---
[    1.277476] cdrom: Uniform CD-ROM driver Revision: 3.20
[    1.281489] sr 1:0:0:0: Attached scsi generic sg0 type 5
[    1.288371] Freeing unused kernel memory: 1760K
[    1.290336] Write protecting the kernel read-only data: 18432k
[    1.295894] Freeing unused kernel memory: 2024K
[    1.299853] Freeing unused kernel memory: 252K
GC Warning: pthread_getattr_np or pthread_attr_getstack failed for main thread
GC Warning: Couldn't read /proc/stat
Welcome, this is GNU's early boot Guile.
Use '--repl' for an initrd REPL.

loading kernel modules...
[    1.555136] usbcore: registered new interface driver usb-storage
[    1.574365] usbcore: registered new interface driver uas
[    1.597116] hidraw: raw HID events driver (C) Jiri Kosina
[    1.603084] usbcore: registered new interface driver usbhid
[    1.606669] usbhid: USB HID core driver
[    1.670298] isci: Intel(R) C600 SAS Controller Driver - version 1.2.0
[    1.711695] ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11
[    1.743896] ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 10
[    1.773861] ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 10
[    1.803838] ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 11
[    1.881230] FS-Cache: Loaded
[    1.887453] 9pnet: Installing 9P2000 support
[    1.890856] 9p: Installing v9fs 9p2000 file system support
[    1.892612] FS-Cache: Netfs '9p' registered for caching
configuring QEMU networking...
[    1.924277] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    1.984131] tsc: Refined TSC clocksource calibration: 2400.104 MHz
[    1.989541] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x229899a5764, max_idle_ns: 440795258297 ns
loading '/gnu/store/d61zy77kkb043byv9cirk8f7nv0srm3i-linux-vm-loader'...
environment variable `PATH' set to `/gnu/store/9g41j8gn1fbzwx29cdnz0ca2lvwxixbr-qemu-minimal-2.11.1/bin:/gnu/store/7l6z1h7l7yip1kvbk1iiyi0693ghpsck-parted-3.2/sbin:/gnu/store/60xif54fvl04i7frgvl187mbq6cqa0dl-e2'
error: failed to evaluate directive: (directory "/gnu/store" 0 30000)
error: failed to evaluate directive: (directory "/gnu/store" 0 30000 1021)
In ./gnu/build/linux-boot.scm:
   524:13  6 (_)
In unknown file:
           5 (primitive-load "/gnu/store/d61zy77kkb043byv9cirk8f7nv0���")
           4 (primitive-load "/gnu/store/a81ihaar57clfi6yk24zw439g4a���")
In ice-9/eval.scm:
    619:8  3 (_ #(#<directory (guile-user) 2601140> ("/gnu/sto���" ��) ���))
In ./gnu/build/vm.scm:
    405:4  2 (make-iso9660-image _ "/gnu/store/6vgi86k60kb35lwzn7gc���" ���)
In ./gnu/build/install.scm:
    129:2  1 (populate-root-file-system "/gnu/store/6zfhby65bmxggbl…" ���)
In ice-9/boot-9.scm:
   260:13  0 (for-each #<procedure 251cde0 at ./gnu/build/install.s��> ���)
In procedure chown: Operation not permitted
[    2.236175] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000000
[    2.236175] 
[    2.240162] CPU: 0 PID: 1 Comm: init Not tainted 4.15.15-gnu #1
[    2.240162] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.11.0-0-g63451fca13-prebuilt.qemu-project.org 04/01/2014
[    2.240162] Call Trace:
[    2.240162]  dump_stack+0x63/0x8b
[    2.240162]  panic+0xe4/0x244
[    2.240162]  do_exit+0xae2/0xaf0
[    2.240162]  ? wake_up_state+0x10/0x20
[    2.240162]  do_group_exit+0x43/0xb0
[    2.240162]  SyS_exit_group+0x14/0x20
[    2.240162]  do_syscall_64+0x73/0x130
[    2.240162]  entry_SYSCALL_64_after_hwframe+0x3d/0xa2
[    2.240162] RIP: 0033:0x5d59c8
[    2.240162] RSP: 002b:00007fffcbb38a98 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
[    2.240162] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00000000005d59c8
[    2.240162] RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000
[    2.240162] RBP: 00000000007cdc10 R08: 00000000000000e7 R09: ffffffffffffffb0
[    2.240162] R10: 00007fb6ea4cef88 R11: 0000000000000246 R12: 0000000000000001
[    2.240162] R13: 0000000000a4b9a0 R14: 0000000000000002 R15: 000000000000000a
[    2.240162] Kernel Offset: 0x15000000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
[    2.240162] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000000
[    2.240162] 
--8<---------------cut here---------------end--------------->8---

The process hangs at this point.  I ended it by pressing Control+C.
Make did not report which test(s) failed.  I've attached the full log -
it's 1.2M compressed, and 28M uncompressed.

-- 
Chris