Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kernel crash when modprobe nfsd module in the container , kernel version >= 5.3 #996

Closed
1 of 3 tasks
lxgrxd opened this issue May 10, 2020 · 8 comments
Closed
1 of 3 tasks

Comments

@lxgrxd
Copy link

lxgrxd commented May 10, 2020

  • This is a bug report
  • This is a feature request
  • I searched existing issues before opening this one

Modprobe nfsd in the host of ubuntu 18.04, and then sync in the bash of the container or the host, it works well.

Modprobe nfsd in the container, and then sync in the bash of the container or the host, it hang...

The kernel version is from 5.3 to current.
The kernel image and the nfsd module are installed by apt.

Expected behavior

The sync cmd should work well.

Actual behavior

The sync cmd hang for a long long time,and the status of the sync process is disk sleep .

Steps to reproduce the behavior

In the host, disable the nfs-kernel-server.service, and reboot:

sudo systemctl disable nfs-kernel-server.service
reboot

After reboot, docker pull image and run the image in the container:

docker  pull ubuntu:20.04 
docker run -it --rm --privileged -v /lib/modules:/m/lib/modules ubuntu:20.04 bash

In the container :

apt update && apt install -y kmod
modprobe -d /m nfsd   #output Killed
echo $?  #137
sync       #hang............

Output of docker version:

Client:
 Version:           19.03.6
 API version:       1.40
 Go version:        go1.12.17
 Git commit:        369ce74a3c
 Built:             Fri Feb 28 23:45:43 2020
 OS/Arch:           linux/amd64
 Experimental:      false

Server:
 Engine:
  Version:          19.03.6
  API version:      1.40 (minimum version 1.12)
  Go version:       go1.12.17
  Git commit:       369ce74a3c
  Built:            Wed Feb 19 01:06:16 2020
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.3.3-0ubuntu1~18.04.2
  GitCommit:        
 runc:
  Version:          spec: 1.0.1-dev
  GitCommit:        
 docker-init:
  Version:          0.18.0
  GitCommit:        

Output of docker info:

Client:
 Debug Mode: false

Server:
 Containers: 10
  Running: 1
  Paused: 0
  Stopped: 9
 Images: 12
 Server Version: 19.03.6
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Native Overlay Diff: true
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 
 runc version: 
 init version: 
 Security Options:
  apparmor
  seccomp
   Profile: default
 Kernel Version: 5.3.0-51-generic
 Operating System: Ubuntu 18.04.4 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 4
 Total Memory: 3.844GiB
 Name: luo
 ID: 3TID:TL7O:4MQP:OEVU:X7ET:IG3A:3YYP:IFDB:MOCX:XDPE:YE4K:J5O5
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Username: lxgrxd
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

Additional environment details (AWS, VirtualBox, physical, etc.)

Product: Oracle Corporation, VirtualBox, VirtualBox 6.0.8 r130520 (Qt5.6.2)
ARCH: x86_64
CPU: 4 x Intel(R) Core(TM) i7-2670QM CPU @ 2.20GHz
RAM: 3935 MiB
System: Ubuntu 18.04.4 LTS, bionic
Kernel: Linux 5.3.0-51-generic
Docker: Docker version 19.03.6, build 369ce74a3c
Shell: /bin/bash 4.4.20(1)-release

dmes:

[    0.000000] Linux version 5.3.0-51-generic (buildd@lgw01-amd64-018) (gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)) #44~18.04.2-Ubuntu SMP Thu Apr 23 14:27:18 UTC 2020 (Ubuntu 5.3.0-51.44~18.04.2-generic 5.3.18)
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-5.3.0-51-generic root=UUID=b17e28a4-a982-4c25-9af4-7a23d78607db ro quiet splash
[    0.000000] KERNEL supported cpus:
[    0.000000]   Intel GenuineIntel
[    0.000000]   AMD AuthenticAMD
[    0.000000]   Hygon HygonGenuine
[    0.000000]   Centaur CentaurHauls
[    0.000000]   zhaoxin   Shanghai  
[    0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[    0.000000] x86/fpu: xstate_offset[2]:  576, xstate_sizes[2]:  256
[    0.000000] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'standard' format.
[    0.000000] BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable
[    0.000000] BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x00000000dffeffff] usable
[    0.000000] BIOS-e820: [mem 0x00000000dfff0000-0x00000000dfffffff] ACPI data
[    0.000000] BIOS-e820: [mem 0x00000000fec00000-0x00000000fec00fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fee00000-0x00000000fee00fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000100000000-0x000000011fffffff] usable
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] SMBIOS 2.5 present.
[    0.000000] DMI: innotek GmbH VirtualBox/VirtualBox, BIOS VirtualBox 12/01/2006
[    0.000000] Hypervisor detected: KVM
[    0.000000] kvm-clock: Using msrs 4b564d01 and 4b564d00
[    0.000001] kvm-clock: cpu 0, msr 8e401001, primary cpu clock
[    0.000001] kvm-clock: using sched offset of 18809820341200 cycles
[    0.000003] clocksource: kvm-clock: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns
[    0.000005] tsc: Detected 2195.022 MHz processor
[    0.002837] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[    0.002839] e820: remove [mem 0x000a0000-0x000fffff] usable
[    0.002845] last_pfn = 0x120000 max_arch_pfn = 0x400000000
[    0.002860] MTRR default type: uncachable
[    0.002861] MTRR variable ranges disabled:
[    0.002865] Disabled
[    0.002865] x86/PAT: MTRRs disabled, skipping PAT initialization too.
[    0.002869] CPU MTRRs all blank - virtualized system.
[    0.002872] x86/PAT: Configuration [0-7]: WB  WT  UC- UC  WB  WT  UC- UC  
[    0.002877] last_pfn = 0xdfff0 max_arch_pfn = 0x400000000
[    0.184492] check: Scanning 1 areas for low memory corruption
[    0.184539] BRK [0x8e601000, 0x8e601fff] PGTABLE
[    0.184542] BRK [0x8e602000, 0x8e602fff] PGTABLE
[    0.184543] BRK [0x8e603000, 0x8e603fff] PGTABLE
[    0.184591] BRK [0x8e604000, 0x8e604fff] PGTABLE
[    0.184592] BRK [0x8e605000, 0x8e605fff] PGTABLE
[    0.184857] RAMDISK: [mem 0x330d7000-0x35862fff]
[    0.184872] ACPI: Early table checksum verification disabled
[    0.184876] ACPI: RSDP 0x00000000000E0000 000024 (v02 VBOX  )
[    0.184881] ACPI: XSDT 0x00000000DFFF0030 00003C (v01 VBOX   VBOXXSDT 00000001 ASL  00000061)
[    0.184888] ACPI: FACP 0x00000000DFFF00F0 0000F4 (v04 VBOX   VBOXFACP 00000001 ASL  00000061)
[    0.184895] ACPI: DSDT 0x00000000DFFF0480 0022EA (v02 VBOX   VBOXBIOS 00000002 INTL 20100528)
[    0.184898] ACPI: FACS 0x00000000DFFF0200 000040
[    0.184901] ACPI: FACS 0x00000000DFFF0200 000040
[    0.184904] ACPI: APIC 0x00000000DFFF0240 00006C (v02 VBOX   VBOXAPIC 00000001 ASL  00000061)
[    0.184908] ACPI: SSDT 0x00000000DFFF02B0 0001CC (v01 VBOX   VBOXCPUT 00000002 INTL 20100528)
[    0.184919] ACPI: Local APIC address 0xfee00000
[    0.185233] No NUMA configuration found
[    0.185234] Faking a node at [mem 0x0000000000000000-0x000000011fffffff]
[    0.185246] NODE_DATA(0) allocated [mem 0x11ffd1000-0x11fffbfff]
[    0.185589] Zone ranges:
[    0.185590]   DMA      [mem 0x0000000000001000-0x0000000000ffffff]
[    0.185591]   DMA32    [mem 0x0000000001000000-0x00000000ffffffff]
[    0.185593]   Normal   [mem 0x0000000100000000-0x000000011fffffff]
[    0.185594]   Device   empty
[    0.185595] Movable zone start for each node
[    0.185598] Early memory node ranges
[    0.185599]   node   0: [mem 0x0000000000001000-0x000000000009efff]
[    0.185600]   node   0: [mem 0x0000000000100000-0x00000000dffeffff]
[    0.185602]   node   0: [mem 0x0000000100000000-0x000000011fffffff]
[    0.185612] Zeroed struct page in unavailable ranges: 114 pages
[    0.185613] Initmem setup node 0 [mem 0x0000000000001000-0x000000011fffffff]
[    0.185615] On node 0 totalpages: 1048462
[    0.185616]   DMA zone: 64 pages used for memmap
[    0.185617]   DMA zone: 21 pages reserved
[    0.185618]   DMA zone: 3998 pages, LIFO batch:0
[    0.185683]   DMA32 zone: 14272 pages used for memmap
[    0.185684]   DMA32 zone: 913392 pages, LIFO batch:63
[    0.201505]   Normal zone: 2048 pages used for memmap
[    0.201507]   Normal zone: 131072 pages, LIFO batch:31
[    0.204158] ACPI: PM-Timer IO Port: 0x4008
[    0.204162] ACPI: Local APIC address 0xfee00000
[    0.204245] IOAPIC[0]: apic_id 4, version 32, address 0xfec00000, GSI 0-23
[    0.204248] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[    0.204250] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 low level)
[    0.204252] ACPI: IRQ0 used by override.
[    0.204253] ACPI: IRQ9 used by override.
[    0.204255] Using ACPI (MADT) for SMP configuration information
[    0.204264] smpboot: Allowing 4 CPUs, 0 hotplug CPUs
[    0.204293] PM: Registered nosave memory: [mem 0x00000000-0x00000fff]
[    0.204295] PM: Registered nosave memory: [mem 0x0009f000-0x0009ffff]
[    0.204296] PM: Registered nosave memory: [mem 0x000a0000-0x000effff]
[    0.204296] PM: Registered nosave memory: [mem 0x000f0000-0x000fffff]
[    0.204298] PM: Registered nosave memory: [mem 0xdfff0000-0xdfffffff]
[    0.204298] PM: Registered nosave memory: [mem 0xe0000000-0xfebfffff]
[    0.204299] PM: Registered nosave memory: [mem 0xfec00000-0xfec00fff]
[    0.204300] PM: Registered nosave memory: [mem 0xfec01000-0xfedfffff]
[    0.204300] PM: Registered nosave memory: [mem 0xfee00000-0xfee00fff]
[    0.204301] PM: Registered nosave memory: [mem 0xfee01000-0xfffbffff]
[    0.204302] PM: Registered nosave memory: [mem 0xfffc0000-0xffffffff]
[    0.204304] [mem 0xe0000000-0xfebfffff] available for PCI devices
[    0.204304] Booting paravirtualized kernel on KVM
[    0.204308] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645519600211568 ns
[    0.204313] setup_percpu: NR_CPUS:8192 nr_cpumask_bits:4 nr_cpu_ids:4 nr_node_ids:1
[    0.204569] percpu: Embedded 54 pages/cpu s184320 r8192 d28672 u524288
[    0.204575] pcpu-alloc: s184320 r8192 d28672 u524288 alloc=1*2097152
[    0.204576] pcpu-alloc: [0] 0 1 2 3 
[    0.204609] PV qspinlock hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.204616] Built 1 zonelists, mobility grouping on.  Total pages: 1032057
[    0.204617] Policy zone: Normal
[    0.204618] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.3.0-51-generic root=UUID=b17e28a4-a982-4c25-9af4-7a23d78607db ro quiet splash
[    0.205090] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    0.205258] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.205339] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.211890] Calgary: detecting Calgary via BIOS EBDA area
[    0.211893] Calgary: Unable to locate Rio Grande table in EBDA - bailing!
[    0.227940] Memory: 3981528K/4193848K available (14339K kernel code, 2369K rwdata, 4668K rodata, 2664K init, 5072K bss, 212320K reserved, 0K cma-reserved)
[    0.227948] random: get_random_u64 called from __kmem_cache_create+0x41/0x540 with crng_init=0
[    0.228122] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.228137] Kernel/User page tables isolation: enabled
[    0.228167] ftrace: allocating 43304 entries in 170 pages
[    0.248649] rcu: Hierarchical RCU implementation.
[    0.248651] rcu: 	RCU restricting CPUs from NR_CPUS=8192 to nr_cpu_ids=4.
[    0.248652] 	Tasks RCU enabled.
[    0.248653] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.248654] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.252685] NR_IRQS: 524544, nr_irqs: 456, preallocated irqs: 16
[    0.344446] Console: colour VGA+ 80x25
[    0.344452] printk: console [tty0] enabled
[    0.344487] ACPI: Core revision 20190703
[    0.344638] APIC: Switch to symmetric I/O mode setup
[    0.345020] x2apic enabled
[    0.345377] Switched APIC routing to physical x2apic.
[    0.347066] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[    0.347102] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x1fa3d441278, max_idle_ns: 440795227812 ns
[    0.347108] Calibrating delay loop (skipped) preset value.. 4390.04 BogoMIPS (lpj=8780088)
[    0.347110] pid_max: default: 32768 minimum: 301
[    0.347168] LSM: Security Framework initializing
[    0.347180] Yama: becoming mindful.
[    0.347213] AppArmor: AppArmor initialized
[    0.347259] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.347268] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.347459] *** VALIDATE proc ***
[    0.347522] *** VALIDATE cgroup1 ***
[    0.347523] *** VALIDATE cgroup2 ***
[    0.347713] Last level iTLB entries: 4KB 512, 2MB 8, 4MB 8
[    0.347714] Last level dTLB entries: 4KB 512, 2MB 32, 4MB 32, 1GB 0
[    0.347717] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization
[    0.347719] Spectre V2 : Mitigation: Full generic retpoline
[    0.347720] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
[    0.347721] Speculative Store Bypass: Vulnerable
[    0.347724] MDS: Vulnerable: Clear CPU buffers attempted, no microcode
[    0.347900] Freeing SMP alternatives memory: 40K
[    0.461096] smpboot: CPU0: Intel(R) Core(TM) i7-2670QM CPU @ 2.20GHz (family: 0x6, model: 0x2a, stepping: 0x7)
[    0.461275] Performance Events: unsupported p6 CPU model 42 no PMU driver, software events only.
[    0.461316] rcu: Hierarchical SRCU implementation.
[    0.462140] NMI watchdog: Perf NMI watchdog permanently disabled
[    0.462229] smp: Bringing up secondary CPUs ...
[    0.462358] x86: Booting SMP configuration:
[    0.462359] .... node  #0, CPUs:      #1
[    0.097996] kvm-clock: cpu 1, msr 8e401041, secondary cpu clock
[    0.463242]  #2
[    0.097996] kvm-clock: cpu 2, msr 8e401081, secondary cpu clock
[    0.465707]  #3
[    0.097996] kvm-clock: cpu 3, msr 8e4010c1, secondary cpu clock
[    0.467132] smp: Brought up 1 node, 4 CPUs
[    0.467132] smpboot: Max logical packages: 1
[    0.467132] smpboot: Total of 4 processors activated (17560.17 BogoMIPS)
[    0.467336] devtmpfs: initialized
[    0.467336] x86/mm: Memory block size: 128MB
[    0.467715] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.467715] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.467715] pinctrl core: initialized pinctrl subsystem
[    0.467715] PM: RTC time: 23:36:13, date: 2020-05-09
[    0.467715] NET: Registered protocol family 16
[    0.467831] audit: initializing netlink subsys (disabled)
[    0.467863] audit: type=2000 audit(1589116626.862:1): state=initialized audit_enabled=0 res=1
[    0.467863] EISA bus registered
[    0.467863] cpuidle: using governor ladder
[    0.467863] cpuidle: using governor menu
[    0.467863] ACPI: bus type PCI registered
[    0.467863] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[    0.467863] PCI: Using configuration type 1 for base access
[    0.472650] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.483238] ACPI: Added _OSI(Module Device)
[    0.483240] ACPI: Added _OSI(Processor Device)
[    0.483241] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.483242] ACPI: Added _OSI(Processor Aggregator Device)
[    0.483243] ACPI: Added _OSI(Linux-Dell-Video)
[    0.483244] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[    0.483245] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)
[    0.489589] ACPI: 2 ACPI AML tables successfully acquired and loaded
[    0.492018] ACPI: Interpreter enabled
[    0.492031] ACPI: (supports S0 S5)
[    0.492033] ACPI: Using IOAPIC for interrupt routing
[    0.492416] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    0.492595] ACPI: Enabled 2 GPEs in block 00 to 07
[    0.500748] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[    0.500755] acpi PNP0A03:00: _OSC: OS supports [ASPM ClockPM Segments MSI HPX-Type3]
[    0.501523] acpi PNP0A03:00: _OSC: not requesting OS control; OS requires [ExtendedConfig ASPM ClockPM MSI]
[    0.501536] acpi PNP0A03:00: fail to add MMCONFIG information, can't access extended PCI configuration space under this bridge.
[    0.502069] PCI host bridge to bus 0000:00
[    0.502072] pci_bus 0000:00: root bus resource [io  0x0000-0x0cf7 window]
[    0.502073] pci_bus 0000:00: root bus resource [io  0x0d00-0xffff window]
[    0.502075] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window]
[    0.502076] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xfdffffff window]
[    0.502078] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.502146] pci 0000:00:00.0: [8086:1237] type 00 class 0x060000
[    0.503653] pci 0000:00:01.0: [8086:7000] type 00 class 0x060100
[    0.504886] pci 0000:00:01.1: [8086:7111] type 00 class 0x01018a
[    0.505579] pci 0000:00:01.1: reg 0x20: [io  0xd000-0xd00f]
[    0.505857] pci 0000:00:01.1: legacy IDE quirk: reg 0x10: [io  0x01f0-0x01f7]
[    0.505859] pci 0000:00:01.1: legacy IDE quirk: reg 0x14: [io  0x03f6]
[    0.505860] pci 0000:00:01.1: legacy IDE quirk: reg 0x18: [io  0x0170-0x0177]
[    0.505861] pci 0000:00:01.1: legacy IDE quirk: reg 0x1c: [io  0x0376]
[    0.506680] pci 0000:00:02.0: [80ee:beef] type 00 class 0x030000
[    0.511119] pci 0000:00:02.0: reg 0x10: [mem 0xe0000000-0xe7ffffff pref]
[    0.555640] pci 0000:00:03.0: [8086:100e] type 00 class 0x020000
[    0.559032] pci 0000:00:03.0: reg 0x10: [mem 0xf0000000-0xf001ffff]
[    0.563215] pci 0000:00:03.0: reg 0x18: [io  0xd010-0xd017]
[    0.580324] pci 0000:00:04.0: [80ee:cafe] type 00 class 0x088000
[    0.583208] pci 0000:00:04.0: reg 0x10: [io  0xd020-0xd03f]
[    0.587235] pci 0000:00:04.0: reg 0x14: [mem 0xf0400000-0xf07fffff]
[    0.591122] pci 0000:00:04.0: reg 0x18: [mem 0xf0800000-0xf0803fff pref]
[    0.607940] pci 0000:00:05.0: [8086:2415] type 00 class 0x040100
[    0.608186] pci 0000:00:05.0: reg 0x10: [io  0xd100-0xd1ff]
[    0.608320] pci 0000:00:05.0: reg 0x14: [io  0xd200-0xd23f]
[    0.610319] pci 0000:00:07.0: [8086:7113] type 00 class 0x068000
[    0.611509] pci 0000:00:07.0: quirk: [io  0x4000-0x403f] claimed by PIIX4 ACPI
[    0.611526] pci 0000:00:07.0: quirk: [io  0x4100-0x410f] claimed by PIIX4 SMB
[    0.614184] pci 0000:00:0c.0: [8086:1e31] type 00 class 0x0c0330
[    0.615285] pci 0000:00:0c.0: reg 0x10: [mem 0xf0810000-0xf081ffff]
[    0.640025] pci 0000:00:0d.0: [8086:2829] type 00 class 0x010601
[    0.643123] pci 0000:00:0d.0: reg 0x10: [io  0xd240-0xd247]
[    0.646614] pci 0000:00:0d.0: reg 0x14: [io  0xd248-0xd24b]
[    0.647296] pci 0000:00:0d.0: reg 0x18: [io  0xd250-0xd257]
[    0.651295] pci 0000:00:0d.0: reg 0x1c: [io  0xd258-0xd25b]
[    0.655302] pci 0000:00:0d.0: reg 0x20: [io  0xd260-0xd26f]
[    0.659190] pci 0000:00:0d.0: reg 0x24: [mem 0xf0820000-0xf0821fff]
[    0.676557] ACPI: PCI Interrupt Link [LNKA] (IRQs 5 9 10 *11)
[    0.677060] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 9 *10 11)
[    0.677235] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 *9 10 11)
[    0.677409] ACPI: PCI Interrupt Link [LNKD] (IRQs 5 9 10 *11)
[    0.677678] SCSI subsystem initialized
[    0.677678] libata version 3.00 loaded.
[    0.677678] pci 0000:00:02.0: vgaarb: setting as boot VGA device
[    0.677678] pci 0000:00:02.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none
[    0.677678] pci 0000:00:02.0: vgaarb: bridge control possible
[    0.677678] vgaarb: loaded
[    0.677678] ACPI: bus type USB registered
[    0.677678] usbcore: registered new interface driver usbfs
[    0.677678] usbcore: registered new interface driver hub
[    0.677678] usbcore: registered new device driver usb
[    0.677678] pps_core: LinuxPPS API ver. 1 registered
[    0.677678] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.677678] PTP clock support registered
[    0.677678] EDAC MC: Ver: 3.0.0
[    0.677678] PCI: Using ACPI for IRQ routing
[    0.677678] PCI: pci_cache_line_size set to 64 bytes
[    0.679109] e820: reserve RAM buffer [mem 0x0009fc00-0x0009ffff]
[    0.679109] e820: reserve RAM buffer [mem 0xdfff0000-0xdfffffff]
[    0.679133] NetLabel: Initializing
[    0.679133] NetLabel:  domain hash size = 128
[    0.679133] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    0.679133] NetLabel:  unlabeled traffic allowed by default
[    0.679394] clocksource: Switched to clocksource kvm-clock
[    0.695630] VFS: Disk quotas dquot_6.6.0
[    0.695651] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.695682] *** VALIDATE hugetlbfs ***
[    0.695789] AppArmor: AppArmor Filesystem Enabled
[    0.695821] pnp: PnP ACPI init
[    0.695928] pnp 00:00: Plug and Play ACPI device, IDs PNP0303 (active)
[    0.696036] pnp 00:01: Plug and Play ACPI device, IDs PNP0f03 (active)
[    0.697257] pnp: PnP ACPI: found 2 devices
[    0.704283] thermal_sys: Registered thermal governor 'fair_share'
[    0.704284] thermal_sys: Registered thermal governor 'bang_bang'
[    0.704285] thermal_sys: Registered thermal governor 'step_wise'
[    0.704286] thermal_sys: Registered thermal governor 'user_space'
[    0.704287] thermal_sys: Registered thermal governor 'power_allocator'
[    0.708849] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
[    0.708896] pci_bus 0000:00: resource 4 [io  0x0000-0x0cf7 window]
[    0.708897] pci_bus 0000:00: resource 5 [io  0x0d00-0xffff window]
[    0.708899] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff window]
[    0.708901] pci_bus 0000:00: resource 7 [mem 0xe0000000-0xfdffffff window]
[    0.708962] NET: Registered protocol family 2
[    0.709126] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    0.709161] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.709260] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear)
[    0.709322] TCP: Hash tables configured (established 32768 bind 32768)
[    0.709359] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.709386] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.709473] NET: Registered protocol family 1
[    0.709480] NET: Registered protocol family 44
[    0.709511] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
[    0.709530] pci 0000:00:01.0: Activating ISA DMA hang workarounds
[    0.709614] pci 0000:00:02.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]
[    0.711583] PCI: CLS 0 bytes, default 64
[    0.711636] Trying to unpack rootfs image as initramfs...
[    1.533646] Freeing initrd memory: 40496K
[    1.533653] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    1.533655] software IO TLB: mapped [mem 0xdbff0000-0xdfff0000] (64MB)
[    1.533712] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x1fa3d441278, max_idle_ns: 440795227812 ns
[    1.533845] clocksource: Switched to clocksource tsc
[    1.533891] platform rtc_cmos: registered platform RTC device (no PNP device found)
[    1.533921] check: Scanning for low memory corruption every 60 seconds
[    1.536396] Initialise system trusted keyrings
[    1.536405] Key type blacklist registered
[    1.536657] workingset: timestamp_bits=36 max_order=20 bucket_order=0
[    1.538405] zbud: loaded
[    1.539117] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    1.539605] fuse: init (API version 7.31)
[    1.539947] Platform Keyring initialized
[    1.546284] Key type asymmetric registered
[    1.546286] Asymmetric key parser 'x509' registered
[    1.546300] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
[    1.546500] io scheduler mq-deadline registered
[    1.547010] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[    1.547074] intel_idle: Please enable MWAIT in BIOS SETUP
[    1.547297] ACPI: AC Adapter [AC] (on-line)
[    1.547355] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
[    1.547374] ACPI: Power Button [PWRF]
[    1.547472] input: Sleep Button as /devices/LNXSYSTM:00/LNXSLPBN:00/input/input1
[    1.547479] ACPI: Sleep Button [SLPF]
[    1.548097] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled
[    1.549212] battery: ACPI: Battery Slot [BAT0] (battery present)
[    1.552510] Linux agpgart interface v0.103
[    1.555718] loop: module loaded
[    1.555928] ata_piix 0000:00:01.1: version 2.13
[    1.556649] scsi host0: ata_piix
[    1.556956] scsi host1: ata_piix
[    1.557000] ata1: PATA max UDMA/33 cmd 0x1f0 ctl 0x3f6 bmdma 0xd000 irq 14
[    1.557002] ata2: PATA max UDMA/33 cmd 0x170 ctl 0x376 bmdma 0xd008 irq 15
[    1.557097] libphy: Fixed MDIO Bus: probed
[    1.557098] tun: Universal TUN/TAP device driver, 1.6
[    1.557217] PPP generic driver version 2.4.2
[    1.557324] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.557328] ehci-pci: EHCI PCI platform driver
[    1.557343] ehci-platform: EHCI generic platform driver
[    1.557351] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.557354] ohci-pci: OHCI PCI platform driver
[    1.557365] ohci-platform: OHCI generic platform driver
[    1.557372] uhci_hcd: USB Universal Host Controller Interface driver
[    1.558375] xhci_hcd 0000:00:0c.0: xHCI Host Controller
[    1.558381] xhci_hcd 0000:00:0c.0: new USB bus registered, assigned bus number 1
[    1.559939] xhci_hcd 0000:00:0c.0: hcc params 0x04000000 hci version 0x100 quirks 0x000000000000b930
[    1.560261] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.03
[    1.560263] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.560265] usb usb1: Product: xHCI Host Controller
[    1.560266] usb usb1: Manufacturer: Linux 5.3.0-51-generic xhci-hcd
[    1.560267] usb usb1: SerialNumber: 0000:00:0c.0
[    1.560463] hub 1-0:1.0: USB hub found
[    1.560511] hub 1-0:1.0: 8 ports detected
[    1.560933] xhci_hcd 0000:00:0c.0: xHCI Host Controller
[    1.560937] xhci_hcd 0000:00:0c.0: new USB bus registered, assigned bus number 2
[    1.560940] xhci_hcd 0000:00:0c.0: Host supports USB 3.0 SuperSpeed
[    1.561102] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.03
[    1.561104] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.561105] usb usb2: Product: xHCI Host Controller
[    1.561106] usb usb2: Manufacturer: Linux 5.3.0-51-generic xhci-hcd
[    1.561107] usb usb2: SerialNumber: 0000:00:0c.0
[    1.561278] hub 2-0:1.0: USB hub found
[    1.561316] hub 2-0:1.0: 6 ports detected
[    1.561649] i8042: PNP: PS/2 Controller [PNP0303:PS2K,PNP0f03:PS2M] at 0x60,0x64 irq 1,12
[    1.562290] serio: i8042 KBD port at 0x60,0x64 irq 1
[    1.562326] serio: i8042 AUX port at 0x60,0x64 irq 12
[    1.562559] mousedev: PS/2 mouse device common for all mice
[    1.563562] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input2
[    1.563640] rtc_cmos rtc_cmos: registered as rtc0
[    1.563657] rtc_cmos rtc_cmos: alarms up to one day, 114 bytes nvram
[    1.563664] i2c /dev entries driver
[    1.563768] device-mapper: uevent: version 1.0.3
[    1.564064] device-mapper: ioctl: 4.40.0-ioctl (2019-01-18) initialised: dm-devel@redhat.com
[    1.564091] platform eisa.0: Probing EISA bus 0
[    1.564093] platform eisa.0: EISA: Cannot allocate resource for mainboard
[    1.564094] platform eisa.0: Cannot allocate resource for EISA slot 1
[    1.564096] platform eisa.0: Cannot allocate resource for EISA slot 2
[    1.564097] platform eisa.0: Cannot allocate resource for EISA slot 3
[    1.564098] platform eisa.0: Cannot allocate resource for EISA slot 4
[    1.564099] platform eisa.0: Cannot allocate resource for EISA slot 5
[    1.564101] platform eisa.0: Cannot allocate resource for EISA slot 6
[    1.564102] platform eisa.0: Cannot allocate resource for EISA slot 7
[    1.564103] platform eisa.0: Cannot allocate resource for EISA slot 8
[    1.564105] platform eisa.0: EISA: Detected 0 cards
[    1.564108] intel_pstate: CPU model not supported
[    1.564521] ledtrig-cpu: registered to indicate activity on CPUs
[    1.564787] NET: Registered protocol family 10
[    1.574833] Segment Routing with IPv6
[    1.574860] NET: Registered protocol family 17
[    1.575032] Key type dns_resolver registered
[    1.575681] RAS: Correctable Errors collector initialized.
[    1.575698] sched_clock: Marking stable (1481634629, 93996533)->(1577848029, -2216867)
[    1.576379] registered taskstats version 1
[    1.576389] Loading compiled-in X.509 certificates
[    1.579370] Loaded X.509 cert 'Build time autogenerated kernel key: 7cd0712136ca74a0c76150d573aa1e9abe4a5a50'
[    1.579408] zswap: loaded using pool lzo/zbud
[    1.588488] Key type big_key registered
[    1.592954] Key type encrypted registered
[    1.592957] AppArmor: AppArmor sha1 policy hashing enabled
[    1.592964] ima: No TPM chip found, activating TPM-bypass!
[    1.592970] ima: Allocated hash algorithm: sha1
[    1.592977] No architecture policies found
[    1.592990] evm: Initialising EVM extended attributes:
[    1.592991] evm: security.selinux
[    1.592992] evm: security.SMACK64
[    1.592992] evm: security.SMACK64EXEC
[    1.592993] evm: security.SMACK64TRANSMUTE
[    1.592993] evm: security.SMACK64MMAP
[    1.592994] evm: security.apparmor
[    1.592995] evm: security.ima
[    1.592995] evm: security.capability
[    1.592996] evm: HMAC attrs: 0x1
[    1.593333] PM:   Magic number: 4:691:655
[    1.593503] rtc_cmos rtc_cmos: setting system clock to 2020-05-09T23:36:14 UTC (1589067374)
[    1.718134] ata1.00: ATAPI: VBOX CD-ROM, 1.0, max UDMA/133
[    1.719456] scsi 0:0:0:0: CD-ROM            VBOX     CD-ROM           1.0  PQ: 0 ANSI: 5
[    1.720566] sr 0:0:0:0: [sr0] scsi3-mmc drive: 32x/32x xa/form2 tray
[    1.720568] cdrom: Uniform CD-ROM driver Revision: 3.20
[    1.720929] sr 0:0:0:0: Attached scsi CD-ROM sr0
[    1.721122] sr 0:0:0:0: Attached scsi generic sg0 type 5
[    1.723500] Freeing unused decrypted memory: 2040K
[    1.724121] Freeing unused kernel image memory: 2664K
[    1.739558] Write protecting the kernel read-only data: 22528k
[    1.742005] Freeing unused kernel image memory: 2008K
[    1.743457] Freeing unused kernel image memory: 1476K
[    1.773365] x86/mm: Checked W+X mappings: passed, no W+X pages found.
[    1.773491] x86/mm: Checking user space page tables
[    1.792956] x86/mm: Checked W+X mappings: passed, no W+X pages found.
[    1.792959] Run /init as init process
[    1.883634] ACPI: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
[    1.883773] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/LNXVIDEO:00/input/input4
[    1.892162] piix4_smbus 0000:00:07.0: SMBus Host Controller at 0x4100, revision 0
[    1.893701] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
[    1.893702] e1000: Copyright (c) 1999-2006 Intel Corporation.
[    1.899181] usb 1-1: new full-speed USB device number 2 using xhci_hcd
[    1.912129] ahci 0000:00:0d.0: version 3.0
[    1.913212] ahci 0000:00:0d.0: SSS flag set, parallel bus scan disabled
[    1.913398] ahci 0000:00:0d.0: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
[    1.913401] ahci 0000:00:0d.0: flags: 64bit ncq stag only ccc 
[    1.920598] scsi host2: ahci
[    1.920711] ata3: SATA max UDMA/133 abar m8192@0xf0820000 port 0xf0820100 irq 21
[    2.049013] usb 1-1: New USB device found, idVendor=80ee, idProduct=0021, bcdDevice= 1.00
[    2.049016] usb 1-1: New USB device strings: Mfr=1, Product=3, SerialNumber=0
[    2.049018] usb 1-1: Product: USB Tablet
[    2.049019] usb 1-1: Manufacturer: VirtualBox
[    2.056430] hidraw: raw HID events driver (C) Jiri Kosina
[    2.059554] usbcore: registered new interface driver usbhid
[    2.059555] usbhid: USB HID core driver
[    2.062807] input: VirtualBox USB Tablet as /devices/pci0000:00/0000:00:0c.0/usb1/1-1/1-1:1.0/0003:80EE:0021.0001/input/input6
[    2.062922] hid-generic 0003:80EE:0021.0001: input,hidraw0: USB HID v1.10 Mouse [VirtualBox USB Tablet] on usb-0000:00:0c.0-1/input0
[    2.147593] input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input5
[    2.236191] ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    2.236369] ata3.00: ATA-6: VBOX HARDDISK, 1.0, max UDMA/133
[    2.236371] ata3.00: 209715200 sectors, multi 128: LBA48 NCQ (depth 32)
[    2.236697] ata3.00: configured for UDMA/133
[    2.236921] scsi 2:0:0:0: Direct-Access     ATA      VBOX HARDDISK    1.0  PQ: 0 ANSI: 5
[    2.237253] sd 2:0:0:0: Attached scsi generic sg1 type 0
[    2.237393] sd 2:0:0:0: [sda] 209715200 512-byte logical blocks: (107 GB/100 GiB)
[    2.237406] sd 2:0:0:0: [sda] Write Protect is off
[    2.237408] sd 2:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    2.237428] sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    2.280516]  sda: sda1
[    2.280896] sd 2:0:0:0: [sda] Attached SCSI disk
[    2.334742] e1000 0000:00:03.0 eth0: (PCI:33MHz:32-bit) 08:00:27:99:5e:a5
[    2.334761] e1000 0000:00:03.0 eth0: Intel(R) PRO/1000 Network Connection
[    2.338574] e1000 0000:00:03.0 enp0s3: renamed from eth0
[    2.452974] random: fast init done
[    2.519058] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    2.519083] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    2.519090] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    2.519413] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[    4.283747] random: systemd: uninitialized urandom read (16 bytes read)
[    4.307096] systemd[1]: systemd 237 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
[    4.307168] systemd[1]: Detected virtualization oracle.
[    4.307178] systemd[1]: Detected architecture x86-64.
[    4.307263] random: systemd: uninitialized urandom read (16 bytes read)
[    4.307283] random: systemd: uninitialized urandom read (16 bytes read)
[    4.326211] systemd[1]: Set hostname to <luo>.
[    6.242682] random: crng init done
[    6.242685] random: 4 urandom warning(s) missed due to ratelimiting
[    7.001279] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    7.002303] systemd[1]: Created slice System Slice.
[    7.002436] systemd[1]: Listening on Syslog Socket.
[    7.002586] systemd[1]: Listening on Journal Socket.
[    7.003891] systemd[1]: Mounting Kernel Debug File System...
[    7.005276] systemd[1]: Mounting Huge Pages File System...
[    7.203724] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[    7.431247] systemd-journald[322]: Received request to flush runtime journal from PID 1
[    7.467474] lp: driver loaded but no devices found
[    7.555774] ppdev: user-space parallel port driver
[    7.695233] RPC: Registered named UNIX socket transport module.
[    7.695234] RPC: Registered udp transport module.
[    7.695235] RPC: Registered tcp transport module.
[    7.695236] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    7.783723] Adding 2097148k swap on /swapfile.  Priority:-2 extents:6 across:2260988k FS
[    7.835617] systemd-journald[322]: File /var/log/journal/33cf157266584a90ab780e1f06f1cd33/system.journal corrupted or uncleanly shut down, renaming and replacing.
[   12.615127] audit: type=1400 audit(1589067385.520:2): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/bin/man" pid=472 comm="apparmor_parser"
[   12.615133] audit: type=1400 audit(1589067385.520:3): apparmor="STATUS" operation="profile_load" profile="unconfined" name="man_filter" pid=472 comm="apparmor_parser"
[   12.615136] audit: type=1400 audit(1589067385.520:4): apparmor="STATUS" operation="profile_load" profile="unconfined" name="man_groff" pid=472 comm="apparmor_parser"
[   12.705621] audit: type=1400 audit(1589067385.608:5): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/snapd/snap-confine" pid=473 comm="apparmor_parser"
[   12.705626] audit: type=1400 audit(1589067385.608:6): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/snapd/snap-confine//mount-namespace-capture-helper" pid=473 comm="apparmor_parser"
[   12.789698] audit: type=1400 audit(1589067385.692:7): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/sbin/dhclient" pid=469 comm="apparmor_parser"
[   12.789710] audit: type=1400 audit(1589067385.692:8): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=469 comm="apparmor_parser"
[   12.789718] audit: type=1400 audit(1589067385.692:9): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-helper" pid=469 comm="apparmor_parser"
[   12.789725] audit: type=1400 audit(1589067385.692:10): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/connman/scripts/dhclient-script" pid=469 comm="apparmor_parser"
[   12.837134] audit: type=1400 audit(1589067385.740:11): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/cups/backend/cups-pdf" pid=475 comm="apparmor_parser"
[   13.998498] RAPL PMU: API unit is 2^-32 Joules, 0 fixed counters, 10737418240 ms ovfl timer
[   14.173148] vboxguest: loading out-of-tree module taints kernel.
[   14.183292] vgdrvHeartbeatInit: Setting up heartbeat to trigger every 2000 milliseconds
[   14.183412] input: Unspecified device as /devices/pci0000:00/0000:00:04.0/input/input7
[   14.184039] vboxguest: misc device minor 55, IRQ 20, I/O port d020, MMIO at 00000000f0400000 (size 0x400000)
[   14.184041] vboxguest: Successfully loaded version 6.0.14_Ubuntu (interface 0x00010004)
[   14.278707] cryptd: max_cpu_qlen set to 1000
[   14.406941] AVX version of gcm_enc/dec engaged.
[   14.406942] AES CTR mode by8 optimization enabled
[   15.263031] [drm] VRAM 08000000
[   15.263644] [TTM] Zone  kernel: Available graphics memory: 2015126 KiB
[   15.263645] [TTM] Initializing pool allocator
[   15.263650] [TTM] Initializing DMA pool allocator
[   15.269255] fbcon: vboxvideodrmfb (fb0) is primary device
[   15.274197] Console: switching to colour frame buffer device 170x41
[   15.276738] vboxvideo 0000:00:02.0: fb0: vboxvideodrmfb frame buffer device
[   15.299686] [drm] Initialized vboxvideo 1.0.0 20130823 for 0000:00:02.0 on minor 0
[   17.977766] snd_intel8x0 0000:00:05.0: white list rate for 1028:0177 is 48000
[   30.995582] e1000: enp0s3 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX
[   30.995957] IPv6: ADDRCONF(NETDEV_CHANGE): enp0s3: link becomes ready
[   40.757850] aufs 4.x-rcN-20190805
[   72.333877] 23:37:25.240347 main     VBoxService 6.0.8 r130520 (verbosity: 0) linux.amd64 (May 13 2019 15:50:07) release log
               23:37:25.240364 main     Log opened 2020-05-09T23:37:25.227939000Z
[   72.333997] 23:37:25.240541 main     OS Product: Linux
[   72.334071] 23:37:25.240620 main     OS Release: 5.3.0-51-generic
[   72.334143] 23:37:25.240693 main     OS Version: #44~18.04.2-Ubuntu SMP Thu Apr 23 14:27:18 UTC 2020
[   72.334381] 23:37:25.240763 main     Executable: /opt/VBoxGuestAdditions-6.0.8/sbin/VBoxService
               23:37:25.240766 main     Process ID: 2420
               23:37:25.240767 main     Package type: LINUX_64BITS_GENERIC
[   72.337311] 23:37:25.243742 main     6.0.8 r130520 started. Verbose level = 0
[   72.338816] 23:37:25.245328 main     vbglR3GuestCtrlDetectPeekGetCancelSupport: Supported (#1)
[   72.434029] vboxsf: g_fHostFeatures=0x8000000f g_fSfFeatures=0x1 g_uSfLastFunction=28
[   72.443067] vboxsf: Successfully loaded version 6.0.14_Ubuntu
[   72.443192] vboxsf: Successfully loaded version 6.0.14_Ubuntu on 5.3.0-51-generic SMP mod_unload  (LINUX_VERSION_CODE=0x50312)
[   72.445318] 08:04:48.863302 automount vbsvcAutomounterMountIt: Successfully mounted 'code' on '/media/sf_code'
[   82.341910] 08:04:58.759906 timesync vgsvcTimeSyncWorker: Radical guest time change: 30 453 512 339 000ns (GuestNow=1 589 097 898 759 843 000 ns GuestLast=1 589 067 445 247 504 000 ns fSetTimeLastLoop=true )
[  280.451838] rfkill: input handler disabled
[  282.524730] ISO 9660 Extensions: Microsoft Joliet Level 3
[  282.529318] ISO 9660 Extensions: RRIP_1991A
[  725.986940] kauditd_printk_skb: 23 callbacks suppressed
[  725.986942] audit: type=1400 audit(1589098542.399:35): apparmor="STATUS" operation="profile_load" profile="unconfined" name="docker-default" pid=4169 comm="apparmor_parser"
[  732.949681] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[  732.951883] Bridge firewalling registered
[  733.016282] bpfilter: Loaded bpfilter_umh pid 4192
[  733.222355] Initializing XFRM netlink socket
[  734.601550] docker0: port 1(vethb16e15b) entered blocking state
[  734.601553] docker0: port 1(vethb16e15b) entered disabled state
[  734.601762] device vethb16e15b entered promiscuous mode
[  735.634711] eth0: renamed from vethe418e50
[  735.651170] IPv6: ADDRCONF(NETDEV_CHANGE): vethb16e15b: link becomes ready
[  735.651243] docker0: port 1(vethb16e15b) entered blocking state
[  735.651245] docker0: port 1(vethb16e15b) entered forwarding state
[  735.651294] IPv6: ADDRCONF(NETDEV_CHANGE): docker0: link becomes ready
[  939.174448] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[  939.174533] BUG: kernel NULL pointer dereference, address: 0000000000000058
[  939.174536] #PF: supervisor write access in kernel mode
[  939.174538] #PF: error_code(0x0002) - not-present page
[  939.174540] PGD 0 P4D 0 
[  939.174543] Oops: 0002 [#1] SMP PTI
[  939.174546] CPU: 0 PID: 5031 Comm: modprobe Tainted: G           O      5.3.0-51-generic #44~18.04.2-Ubuntu
[  939.174548] Hardware name: innotek GmbH VirtualBox/VirtualBox, BIOS VirtualBox 12/01/2006
[  939.174562] RIP: 0010:nfsd_fill_super+0x71/0x90 [nfsd]
[  939.174565] Code: 85 c0 89 c3 74 09 89 d8 5b 41 5c 41 5d 5d c3 49 8b 7c 24 68 31 f6 48 c7 c2 70 24 9f c0 e8 97 fe ff ff 48 3d 00 f0 ff ff 77 0d <49> 89 45 58 89 d8 5b 41 5c 41 5d 5d c3 89 c3 eb cb 0f 1f 40 00 66
[  939.174567] RSP: 0018:ffffaf12850f7aa8 EFLAGS: 00010287
[  939.174569] RAX: ffff94269f29a600 RBX: 0000000000000000 RCX: 0000000000000002
[  939.174570] RDX: 0000000000000000 RSI: 0000000000000100 RDI: ffff94269f30f820
[  939.174572] RBP: ffffaf12850f7ac0 R08: ffff94269f29a620 R09: 0000000000000000
[  939.174573] R10: 0000000000000000 R11: fefefefefefefeff R12: ffff942754da4800
[  939.174575] R13: 0000000000000000 R14: ffffffffc09b94d0 R15: ffff94275b344480
[  939.174577] FS:  00007f25508ed540(0000) GS:ffff94275ba00000(0000) knlGS:0000000000000000
[  939.174579] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  939.174580] CR2: 0000000000000058 CR3: 00000000619be000 CR4: 00000000000406f0
[  939.174586] Call Trace:
[  939.174593]  vfs_get_super+0x5b/0xe0
[  939.174597]  ? vfs_parse_fs_param+0xdc/0x1c0
[  939.174608]  nfsd_fs_get_tree+0x2c/0x30 [nfsd]
[  939.174610]  vfs_get_tree+0x2a/0x100
[  939.174613]  fc_mount+0x12/0x40
[  939.174615]  vfs_kern_mount.part.31+0x76/0x90
[  939.174618]  vfs_kern_mount+0x13/0x20
[  939.174627]  nfsd_init_net+0x101/0x140 [nfsd]
[  939.174630]  ops_init+0x44/0x120
[  939.174633]  register_pernet_operations+0xed/0x200
[  939.174645]  ? trace_event_define_fields_nfsd_stateid_class+0xb3/0xb3 [nfsd]
[  939.174647]  register_pernet_subsys+0x28/0x40
[  939.174658]  init_nfsd+0x22/0xcbc [nfsd]
[  939.174661]  do_one_initcall+0x4a/0x1fa
[  939.174664]  ? _cond_resched+0x19/0x40
[  939.174667]  ? kmem_cache_alloc_trace+0x15c/0x210
[  939.174671]  do_init_module+0x5f/0x227
[  939.174674]  load_module+0x1aa4/0x2140
[  939.174678]  __do_sys_finit_module+0xfc/0x120
[  939.174681]  ? __do_sys_finit_module+0xfc/0x120
[  939.174684]  __x64_sys_finit_module+0x1a/0x20
[  939.174687]  do_syscall_64+0x5a/0x130
[  939.174690]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[  939.174692] RIP: 0033:0x7f2550a3270d
[  939.174694] Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 53 f7 0c 00 f7 d8 64 89 01 48
[  939.174696] RSP: 002b:00007ffd4a3d9738 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
[  939.174698] RAX: ffffffffffffffda RBX: 000055d5164584e0 RCX: 00007f2550a3270d
[  939.174699] RDX: 0000000000000000 RSI: 000055d5146b7358 RDI: 0000000000000007
[  939.174701] RBP: 0000000000040000 R08: 0000000000000000 R09: 0000000000000000
[  939.174702] R10: 0000000000000007 R11: 0000000000000246 R12: 000055d5146b7358
[  939.174704] R13: 0000000000000000 R14: 000055d5164547c0 R15: 000055d5164584e0
[  939.174706] Modules linked in: nfsd(+) auth_rpcgss nfs_acl lockd grace veth xt_conntrack xt_MASQUERADE nf_conntrack_netlink nfnetlink xfrm_user xfrm_algo xt_addrtype iptable_filter iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c bpfilter br_netfilter bridge stp llc nls_utf8 isofs vboxsf(O) aufs overlay intel_rapl_msr snd_intel8x0 snd_ac97_codec ac97_bus snd_pcm snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device snd_timer snd joydev soundcore vboxvideo intel_rapl_common drm_vram_helper ttm drm_kms_helper drm fb_sys_fops crct10dif_pclmul crc32_pclmul syscopyarea sysfillrect ghash_clmulni_intel sysimgblt aesni_intel aes_x86_64 crypto_simd cryptd glue_helper vboxguest(O) intel_rapl_perf input_leds mac_hid serio_raw binfmt_misc sch_fq_codel cuse sunrpc parport_pc ppdev lp parport ip_tables x_tables autofs4 hid_generic usbhid hid psmouse ahci libahci e1000 i2c_piix4 pata_acpi video
[  939.174739] CR2: 0000000000000058
[  939.174742] ---[ end trace 9fba6033f11f2b84 ]---
[  939.174752] RIP: 0010:nfsd_fill_super+0x71/0x90 [nfsd]
[  939.174754] Code: 85 c0 89 c3 74 09 89 d8 5b 41 5c 41 5d 5d c3 49 8b 7c 24 68 31 f6 48 c7 c2 70 24 9f c0 e8 97 fe ff ff 48 3d 00 f0 ff ff 77 0d <49> 89 45 58 89 d8 5b 41 5c 41 5d 5d c3 89 c3 eb cb 0f 1f 40 00 66
[  939.174755] RSP: 0018:ffffaf12850f7aa8 EFLAGS: 00010287
[  939.174757] RAX: ffff94269f29a600 RBX: 0000000000000000 RCX: 0000000000000002
[  939.174759] RDX: 0000000000000000 RSI: 0000000000000100 RDI: ffff94269f30f820
[  939.174760] RBP: ffffaf12850f7ac0 R08: ffff94269f29a620 R09: 0000000000000000
[  939.174761] R10: 0000000000000000 R11: fefefefefefefeff R12: ffff942754da4800
[  939.174763] R13: 0000000000000000 R14: ffffffffc09b94d0 R15: ffff94275b344480
[  939.174765] FS:  00007f25508ed540(0000) GS:ffff94275ba00000(0000) knlGS:0000000000000000
[  939.174766] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  939.174768] CR2: 0000000000000058 CR3: 00000000619be000 CR4: 00000000000406f0

This issue is found in the linux-lab of tinylab first, and we have tested it in the pwntools and the ubuntu, behaviors are the same, both on the hardware and the virtual box.

For more information, please visit the issue of linux-lab:

https://gitee.com/tinylab/linux-lab/issues/I1GGG1
@lxgrxd lxgrxd changed the title kernel crash when modprobe nfsd module in the container , kernel ver > 5.3 kernel crash when modprobe nfsd module in the container , kernel ver >= 5.3 May 10, 2020
@lxgrxd lxgrxd changed the title kernel crash when modprobe nfsd module in the container , kernel ver >= 5.3 kernel crash when modprobe nfsd module in the container , kernel version >= 5.3 May 10, 2020
@cpuguy83
Copy link
Collaborator

A kernel crash is a kernel problem.

It looks like you are trying to load a kernel module from Ubuntu 20.04 tooling In the Ubuntu 18.04 kernel.
I'm not all that surprised that this crashes the kernel.
Why are you trying to load a module in this way?

Closing since this does not seem like a Docker issue.

@lxgrxd
Copy link
Author

lxgrxd commented May 19, 2020

The module nfsd is the ubuntu 18.04 kernel,not the ubuntu 20.04.

@cpuguy83
Copy link
Collaborator

Ok but you are loading it from the 20.04 userspace. I really would not expect this to work.

@lxgrxd
Copy link
Author

lxgrxd commented May 20, 2020

I have tested it in ubuntu 18.04 and 20.04.

In the following three cases, the kernel has crashed.

kernel: 5.3
module 5.3
host userspace: ubuntu 18.04
container userspace:ubuntu 18.04
kernel: 5.4
module 5.4
host userspace: ubuntu 20.04
container userspace:ubuntu 20.04
kernel: 5.3
module 5.3
host userspace: ubuntu 18.04
container userspace:ubuntu 20.04

But when i load nfsd module in the host userspace, it works well.

And when i load other modules in the container, it also works well.

A kernel crash is a kernel problem.

It may be a nfsd problem.

@cpuguy83
Copy link
Collaborator

Yes indeed it could be related to nfsd in particular since it is being loaded into the kernel.

@kvaps
Copy link

kvaps commented Jun 12, 2020

I having the same problem on 5.4.0-37-generic.
Does anyone reported bug to kernel hackers team?

@lxgrxd
Copy link
Author

lxgrxd commented Jun 13, 2020

I will send a patch to the kernel nfsd maintainer.

@lxgrxd
Copy link
Author

lxgrxd commented Jun 19, 2020

This is the patch:

https://patchwork.kernel.org/patch/11604115/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants