2018-01-10 11:31:21

by Meelis Roos

[permalink] [raw]
Subject: lapic-related boot crash in 4.15-rc1

On 3 of my test computers, boot hangs with 4.15 git kernels. So far I
have traced it down to 4.14.0 being good and 4.15-rc1 being bad (bisect
is slow because the computers are somwehat remote). Also because of
trying to find when it started, I have not tries newer than rc5
kernels.

The hang happens after Performance Events feature table has been printed
but before APIC initialization messages normally appear ("Enabling APIC
mode: Flat. Using 0 I/O APICs" or something like that).

It happens on at least 3 distinct computers:
* AMD Athlon with AMD 750 chipset
* P3 1 GHz with i815 chipset
* P4 1.7 GHz with SiS chipset

They all have have "lapic" parameter because they were telling me that
lapic has been disabled by BIOS and I re-enabled it with the parameter
to get apic timer interrupts. This worked up until 4.14.

None of the computers have IO-APICs.

Here is 4.14.0 dmesg from the AMD one.

[ 0.000000] Linux version 4.14.0 (mroos@amd750) (gcc version 7.2.1 20171025 (Debian 7.2.0-12)) #29 Mon Nov 13 23:55:12 EET 2017
[ 0.000000] x86/fpu: x87 FPU will use FXSAVE
[ 0.000000] e820: 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 0x00000000000e0000-0x00000000000fffff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000002ffdffff] usable
[ 0.000000] BIOS-e820: [mem 0x000000002ffe0000-0x000000002fff7fff] ACPI data
[ 0.000000] BIOS-e820: [mem 0x000000002fff8000-0x000000002fffffff] ACPI NVS
[ 0.000000] BIOS-e820: [mem 0x00000000fff80000-0x00000000ffffffff] reserved
[ 0.000000] Notice: NX (Execute Disable) protection missing in CPU!
[ 0.000000] random: fast init done
[ 0.000000] Legacy DMI 2.3 present.
[ 0.000000] DMI: Gateway /2222222222222222222222222222222, BIOS 0AASNP06 07/23/1999
[ 0.000000] tsc: Fast TSC calibration using PIT
[ 0.000000] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[ 0.000000] e820: remove [mem 0x000a0000-0x000fffff] usable
[ 0.000000] e820: last_pfn = 0x2ffe0 max_arch_pfn = 0x100000
[ 0.000000] MTRR default type: uncachable
[ 0.000000] MTRR fixed ranges enabled:
[ 0.000000] 00000-9FFFF ?
[ 0.000000] A0000-BFFFF uncachable
[ 0.000000] C0000-CFFFF ?
[ 0.000000] D0000-DFFFF uncachable
[ 0.000000] E0000-EFFFF ?
[ 0.000000] F0000-FFFFF ?
[ 0.000000] MTRR variable ranges enabled:
[ 0.000000] 0 base 000000000 mask FF8000000 write-back
[ 0.000000] 1 base 008000000 mask FF8000000 write-back
[ 0.000000] 2 base 010000000 mask FF8000000 write-back
[ 0.000000] 3 base 018000000 mask FF8000000 write-back
[ 0.000000] 4 base 020000000 mask FF8000000 write-back
[ 0.000000] 5 base 028000000 mask FF8000000 write-back
[ 0.000000] 6 disabled
[ 0.000000] 7 disabled
[ 0.000000] x86/PAT: Configuration [0-7]: WB WC UC- UC WB WP UC- WT
[ 0.000000] initial memory mapped: [mem 0x00000000-0x01ffffff]
[ 0.000000] Base memory trampoline at [c009b000] 9b000 size 16384
[ 0.000000] BRK [0x01b14000, 0x01b14fff] PGTABLE
[ 0.000000] ACPI: Early table checksum verification disabled
[ 0.000000] ACPI: RSDP 0x00000000000FAE70 000014 (v00 AMI )
[ 0.000000] ACPI: RSDT 0x000000002FFF0000 000028 (v01 GATEWA 8DT-084 02111999 MSFT 0000000B)
[ 0.000000] ACPI: FACP 0x000000002FFF1000 000074 (v01 GATEWA 8DT-084 02111999 MSFT 0000000B)
[ 0.000000] ACPI: DSDT 0x000000002FFE0000 001BC0 (v01 GATEWA 8DT-084 00A82EAF MSFT 0100000B)
[ 0.000000] ACPI: FACS 0x000000002FFF8000 000040
[ 0.000000] 767MB LOWMEM available.
[ 0.000000] mapped low ram: 0 - 2ffe0000
[ 0.000000] low ram: 0 - 2ffe0000
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000000001000-0x0000000000ffffff]
[ 0.000000] Normal [mem 0x0000000001000000-0x000000002ffdffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000001000-0x000000000009efff]
[ 0.000000] node 0: [mem 0x0000000000100000-0x000000002ffdffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x000000002ffdffff]
[ 0.000000] On node 0 totalpages: 196478
[ 0.000000] DMA zone: 32 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 3998 pages, LIFO batch:0
[ 0.000000] Normal zone: 1504 pages used for memmap
[ 0.000000] Normal zone: 192480 pages, LIFO batch:31
[ 0.000000] Using APIC driver default
[ 0.000000] ACPI: PM-Timer IO Port: 0x5008
[ 0.000000] Local APIC disabled by BIOS -- reenabling.
[ 0.000000] Found and enabled local APIC!
[ 0.000000] PM: Registered nosave memory: [mem 0x00000000-0x00000fff]
[ 0.000000] PM: Registered nosave memory: [mem 0x0009f000-0x0009ffff]
[ 0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000dffff]
[ 0.000000] PM: Registered nosave memory: [mem 0x000e0000-0x000fffff]
[ 0.000000] e820: [mem 0x30000000-0xfff7ffff] available for PCI devices
[ 0.000000] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645519600211568 ns
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 194942
[ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.14.0 root=/dev/sda1 ro lapic
[ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Initializing CPU#0
[ 0.000000] Memory: 767500K/785912K available (6620K kernel code, 2894K rwdata, 992K rodata, 444K init, 296K bss, 18412K reserved, 0K cma-reserved)
[ 0.000000] virtual kernel memory layout:
fixmap : 0xfffa2000 - 0xfffff000 ( 372 kB)
vmalloc : 0xf07e0000 - 0xfffa0000 ( 247 MB)
lowmem : 0xc0000000 - 0xeffe0000 ( 767 MB)
.init : 0xc1a52000 - 0xc1ac1000 ( 444 kB)
.data : 0xc1677110 - 0xc1a45b00 (3898 kB)
.text : 0xc1000000 - 0xc1677110 (6620 kB)
[ 0.000000] Checking if this processor honours the WP bit even in supervisor mode...Ok.
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS: 2304, nr_irqs: 32, preallocated irqs: 16
[ 0.000000] CPU 0 irqstacks, hard=ef40c000 soft=ef40e000
[ 0.000000] Console: colour VGA+ 80x25
[ 0.000000] console [tty0] enabled
[ 0.004000] tsc: Fast TSC calibration using PIT
[ 0.008000] tsc: Detected 848.387 MHz processor
[ 0.008000] Calibrating delay loop (skipped), value calculated using timer frequency.. 1696.77 BogoMIPS (lpj=3393548)
[ 0.008000] pid_max: default: 32768 minimum: 301
[ 0.008000] ACPI: Core revision 20170728
[ 0.013286] ACPI: 1 ACPI AML tables successfully acquired and loaded
[ 0.013386] ACPI: setting ELCR to 0200 (from 0e20)
[ 0.013593] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.013682] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.014499] mce: CPU supports 4 MCE banks
[ 0.014617] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
[ 0.014686] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0
[ 0.014752] CPU: AMD Athlon(tm) Processor (family: 0x6, model: 0x2, stepping: 0x2)
[ 0.015745] Performance Events: AMD PMU driver.
[ 0.015848] ... version: 0
[ 0.015911] ... bit width: 48
[ 0.015975] ... generic registers: 4
[ 0.016015] ... value mask: 0000ffffffffffff
[ 0.016083] ... max period: 00007fffffffffff
[ 0.016149] ... fixed-purpose events: 0
[ 0.016211] ... event mask: 000000000000000f
[ 0.016937] Enabling APIC mode: Flat. Using 0 I/O APICs
[ 0.020000] NMI watchdog: Enabled. Permanently consumes one hw-PMU counter.
[ 0.020000] devtmpfs: initialized
[ 0.020000] PM: Registering ACPI NVS region [mem 0x2fff8000-0x2fffffff] (32768 bytes)
[ 0.020000] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.020000] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.020000] NET: Registered protocol family 16
[ 0.020000] cpuidle: using governor ladder
[ 0.020000] cpuidle: using governor menu
[ 0.020000] ACPI: bus type PCI registered
[ 0.021322] PCI: PCI BIOS revision 2.10 entry at 0xfdad1, last bus=1
[ 0.021407] PCI: Using configuration type 1 for base access
[ 0.024613] HugeTLB registered 4.00 MiB page size, pre-allocated 0 pages
[ 0.025345] ACPI: Added _OSI(Module Device)
[ 0.025422] ACPI: Added _OSI(Processor Device)
[ 0.025488] ACPI: Added _OSI(3.0 _SCP Extensions)
[ 0.025555] ACPI: Added _OSI(Processor Aggregator Device)
[ 0.032474] ACPI: Interpreter enabled
[ 0.032653] ACPI: (supports S0 S1 S5)
[ 0.032721] ACPI: Using PIC for interrupt routing
[ 0.032931] PCI: Ignoring host bridge windows from ACPI; if necessary, use "pci=use_crs" and report a bug
[ 0.033546] ACPI: Enabled 1 GPEs in block 00 to 0F
[ 0.047279] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[ 0.047386] acpi PNP0A03:00: _OSC: OS supports [Segments MSI]
[ 0.047476] acpi PNP0A03:00: _OSC failed (AE_NOT_FOUND); disabling ASPM
[ 0.047562] acpi PNP0A03:00: fail to add MMCONFIG information, can't access extended PCI configuration space under this bridge.
[ 0.048024] acpi PNP0A03:00: host bridge window [io 0x0cf8-0x0cff] (ignored)
[ 0.048033] acpi PNP0A03:00: host bridge window [io 0x0000-0x0cf7 window] (ignored)
[ 0.048039] acpi PNP0A03:00: host bridge window [io 0x0d00-0x4fff window] (ignored)
[ 0.048045] acpi PNP0A03:00: host bridge window [io 0x5100-0xffff window] (ignored)
[ 0.048050] acpi PNP0A03:00: host bridge window [io 0x5000-0x507f] (ignored)
[ 0.048056] acpi PNP0A03:00: host bridge window [io 0x5080-0x50ff] (ignored)
[ 0.048062] acpi PNP0A03:00: host bridge window [mem 0x000a0000-0x000bffff window] (ignored)
[ 0.048068] acpi PNP0A03:00: host bridge window [mem 0x000c0000-0x000dffff window] (ignored)
[ 0.048074] acpi PNP0A03:00: host bridge window [mem 0x30000000-0xfff7ffff window] (ignored)
[ 0.048079] PCI: root bus 00: using default resources
[ 0.048257] PCI host bridge to bus 0000:00
[ 0.048338] pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
[ 0.048410] pci_bus 0000:00: root bus resource [mem 0x00000000-0xffffffff]
[ 0.048485] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 0.048623] pci 0000:00:00.0: [1022:7006] type 00 class 0x060000
[ 0.048665] pci 0000:00:00.0: reg 0x10: [mem 0xe0000000-0xefffffff pref]
[ 0.048675] pci 0000:00:00.0: reg 0x14: [mem 0xfebff000-0xfebfffff pref]
[ 0.048685] pci 0000:00:00.0: reg 0x18: [io 0xfff4-0xfff7]
[ 0.048953] pci 0000:00:01.0: [1022:7007] type 01 class 0x060400
[ 0.049222] pci 0000:00:07.0: [1022:7408] type 00 class 0x060100
[ 0.049497] pci 0000:00:07.1: [1022:7409] type 00 class 0x01018a
[ 0.049550] pci 0000:00:07.1: reg 0x20: [io 0xcb00-0xcb0f]
[ 0.049574] pci 0000:00:07.1: legacy IDE quirk: reg 0x10: [io 0x01f0-0x01f7]
[ 0.049653] pci 0000:00:07.1: legacy IDE quirk: reg 0x14: [io 0x03f6]
[ 0.049725] pci 0000:00:07.1: legacy IDE quirk: reg 0x18: [io 0x0170-0x0177]
[ 0.049798] pci 0000:00:07.1: legacy IDE quirk: reg 0x1c: [io 0x0376]
[ 0.050043] pci 0000:00:07.3: [1022:740b] type 00 class 0x068000
[ 0.050299] pci 0000:00:07.4: [1022:740c] type 00 class 0x0c0310
[ 0.050326] pci 0000:00:07.4: reg 0x10: [mem 0xffaff000-0xffafffff]
[ 0.050609] pci 0000:00:13.0: [1317:0985] type 00 class 0x020000
[ 0.050638] pci 0000:00:13.0: reg 0x10: [io 0xf800-0xf8ff]
[ 0.050652] pci 0000:00:13.0: reg 0x14: [mem 0xffafec00-0xffafefff]
[ 0.050691] pci 0000:00:13.0: reg 0x30: [mem 0xffac0000-0xffadffff pref]
[ 0.050739] pci 0000:00:13.0: supports D1 D2
[ 0.050746] pci 0000:00:13.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 0.050922] pci 0000:00:14.0: [1814:0301] type 00 class 0x028000
[ 0.050949] pci 0000:00:14.0: reg 0x10: [mem 0xffaf0000-0xffaf7fff]
[ 0.051290] pci 0000:01:05.0: [1002:5960] type 00 class 0x030000
[ 0.051318] pci 0000:01:05.0: reg 0x10: [mem 0xd0000000-0xd7ffffff pref]
[ 0.051331] pci 0000:01:05.0: reg 0x14: [io 0xe800-0xe8ff]
[ 0.051343] pci 0000:01:05.0: reg 0x18: [mem 0xff9f0000-0xff9fffff]
[ 0.051374] pci 0000:01:05.0: reg 0x30: [mem 0xff9c0000-0xff9dffff pref]
[ 0.051429] pci 0000:01:05.0: supports D1 D2
[ 0.051570] pci 0000:01:05.1: [1002:5940] type 00 class 0x038000
[ 0.051595] pci 0000:01:05.1: reg 0x10: [mem 0xc8000000-0xcfffffff pref]
[ 0.051608] pci 0000:01:05.1: reg 0x14: [mem 0xff9e0000-0xff9effff]
[ 0.051684] pci 0000:01:05.1: supports D1 D2
[ 0.051807] pci 0000:00:01.0: PCI bridge to [bus 01]
[ 0.051893] pci 0000:00:01.0: bridge window [io 0xe000-0xefff]
[ 0.051901] pci 0000:00:01.0: bridge window [mem 0xff900000-0xff9fffff]
[ 0.051909] pci 0000:00:01.0: bridge window [mem 0xbea00000-0xdeafffff pref]
[ 0.051923] pci_bus 0000:00: on NUMA node 0
[ 0.053973] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 9 10 *11 12 14 15)
[ 0.054318] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 *5 6 7 9 10 11 12 14 15)
[ 0.054650] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 *9 10 11 12 14 15)
[ 0.054976] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 9 *10 11 12 14 15)
[ 0.055854] pci 0000:01:05.0: vgaarb: setting as boot VGA device
[ 0.055942] pci 0000:01:05.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none
[ 0.056021] pci 0000:01:05.0: vgaarb: bridge control possible
[ 0.056090] vgaarb: loaded
[ 0.056418] SCSI subsystem initialized
[ 0.056696] libata version 3.00 loaded.
[ 0.056883] PCI: Using ACPI for IRQ routing
[ 0.056969] PCI: pci_cache_line_size set to 32 bytes
[ 0.057024] e820: reserve RAM buffer [mem 0x0009fc00-0x0009ffff]
[ 0.057032] e820: reserve RAM buffer [mem 0x2ffe0000-0x2fffffff]
[ 0.057710] clocksource: Switched to clocksource refined-jiffies
[ 0.058115] pnp: PnP ACPI init
[ 0.058815] system 00:00: [mem 0x00000000-0x0009ffff] could not be reserved
[ 0.058905] system 00:00: [mem 0xfff80000-0xffffffff] has been reserved
[ 0.058980] system 00:00: [mem 0x2ffe0000-0x2fffffff] could not be reserved
[ 0.059056] system 00:00: [mem 0x00100000-0x2ffdffff] could not be reserved
[ 0.059156] system 00:00: Plug and Play ACPI device, IDs PNP0c01 (active)
[ 0.059686] system 00:01: [io 0xfff4-0xfff7] has been reserved
[ 0.059789] system 00:01: Plug and Play ACPI device, IDs PNP0c02 (active)
[ 0.060031] pnp 00:02: Plug and Play ACPI device, IDs PNP0b00 (active)
[ 0.060351] pnp 00:03: Plug and Play ACPI device, IDs PNP0303 PNP030b (active)
[ 0.060694] pnp 00:04: [dma 2]
[ 0.060869] pnp 00:04: Plug and Play ACPI device, IDs PNP0700 (active)
[ 0.061705] pnp 00:05: [dma 0 disabled]
[ 0.061934] pnp 00:05: Plug and Play ACPI device, IDs PNP0501 (active)
[ 0.062750] pnp 00:06: [dma 0 disabled]
[ 0.063042] pnp 00:06: Plug and Play ACPI device, IDs PNP0501 (active)
[ 0.064283] pnp 00:07: [dma 3]
[ 0.064594] pnp 00:07: Plug and Play ACPI device, IDs PNP0401 (active)
[ 0.064849] pnp: PnP ACPI: found 8 devices
[ 0.106543] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
[ 0.106669] clocksource: Switched to clocksource acpi_pm
[ 0.106796] pci 0000:00:01.0: PCI bridge to [bus 01]
[ 0.106872] pci 0000:00:01.0: bridge window [io 0xe000-0xefff]
[ 0.106953] pci 0000:00:01.0: bridge window [mem 0xff900000-0xff9fffff]
[ 0.107027] pci 0000:00:01.0: bridge window [mem 0xbea00000-0xdeafffff pref]
[ 0.107133] pci_bus 0000:00: resource 4 [io 0x0000-0xffff]
[ 0.107140] pci_bus 0000:00: resource 5 [mem 0x00000000-0xffffffff]
[ 0.107147] pci_bus 0000:01: resource 0 [io 0xe000-0xefff]
[ 0.107153] pci_bus 0000:01: resource 1 [mem 0xff900000-0xff9fffff]
[ 0.107160] pci_bus 0000:01: resource 2 [mem 0xbea00000-0xdeafffff pref]
[ 0.107384] NET: Registered protocol family 2
[ 0.107950] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.107950] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.107950] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.107950] UDP hash table entries: 512 (order: 1, 8192 bytes)
[ 0.107950] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
[ 0.107950] NET: Registered protocol family 1
[ 0.107950] ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 10
[ 0.107950] PCI: setting IRQ 10 as level-triggered
[ 0.188267] pci 0000:01:05.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]
[ 0.188387] PCI: CLS 32 bytes, default 32
[ 0.190290] workingset: timestamp_bits=30 max_order=18 bucket_order=0
[ 0.196504] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[ 0.196624] io scheduler noop registered
[ 0.196891] io scheduler cfq registered (default)
[ 0.197609] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 0.218356] 00:05: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[ 0.239135] 00:06: ttyS1 at I/O 0x2f8 (irq = 3, base_baud = 115200) is a 16550A
[ 0.243821] Floppy drive(s): fd0 is 1.44M
[ 0.245789] loop: module loaded
[ 0.246023] pata_amd 0000:00:07.1: version 0.4.1
[ 0.247922] scsi host0: pata_amd
[ 0.248415] scsi host1: pata_amd
[ 0.248657] ata1: PATA max UDMA/66 cmd 0x1f0 ctl 0x3f6 bmdma 0xcb00 irq 14
[ 0.248733] ata2: PATA max UDMA/66 cmd 0x170 ctl 0x376 bmdma 0xcb08 irq 15
[ 0.249050] i8042: PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq 1
[ 0.249129] i8042: PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp
[ 0.250317] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 0.251633] mousedev: PS/2 mouse device common for all mice
[ 0.252263] rtc_cmos 00:02: rtc core: registered rtc_cmos as rtc0
[ 0.252388] rtc_cmos 00:02: alarms up to one month, 242 bytes nvram
[ 0.253261] NET: Registered protocol family 10
[ 0.254511] Segment Routing with IPv6
[ 0.254660] mip6: Mobile IPv6
[ 0.254728] NET: Registered protocol family 17
[ 0.255106] Using IPI Shortcut mode
[ 0.255193] sched_clock: Marking stable (252028517, 0)->(354525111, -102496594)
[ 0.256395] console [netcon0] enabled
[ 0.256470] netconsole: network logging started
[ 0.256622] rtc_cmos 00:02: setting system clock to 2017-12-19 14:39:56 UTC (1513694396)
[ 0.263818] FDC 0 is a post-1991 82077
[ 0.275167] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
[ 0.415552] ata1.00: HPA detected: current 234375000, native 234441648
[ 0.415645] ata1.00: ATA-5: WDC WD1200JB-75CRA0, 16.06V16, max UDMA/100
[ 0.415718] ata1.00: 234375000 sectors, multi 16: LBA
[ 0.421361] ata1.00: configured for UDMA/66
[ 0.421965] scsi 0:0:0:0: Direct-Access ATA WDC WD1200JB-75C 6V16 PQ: 0 ANSI: 5
[ 0.423325] sd 0:0:0:0: [sda] 234375000 512-byte logical blocks: (120 GB/112 GiB)
[ 0.423497] sd 0:0:0:0: [sda] Write Protect is off
[ 0.423576] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 0.423669] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 0.460915] sda: sda1 sda2 < sda5 >
[ 0.462326] sd 0:0:0:0: [sda] Attached SCSI disk
[ 0.582643] ata2.00: ATAPI: Optiarc DVD RW AD-7200A, 1.Z2, max UDMA/66
[ 0.587387] ata2.00: configured for UDMA/66
[ 0.589979] scsi 1:0:0:0: CD-ROM Optiarc DVD RW AD-7200A 1.Z2 PQ: 0 ANSI: 5
[ 0.592119] EXT4-fs (sda1): couldn't mount as ext3 due to feature incompatibilities
[ 0.592678] EXT4-fs (sda1): couldn't mount as ext2 due to feature incompatibilities
[ 0.659889] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[ 0.660095] VFS: Mounted root (ext4 filesystem) readonly on device 8:1.
[ 0.701919] devtmpfs: mounted
[ 0.704806] Freeing unused kernel memory: 444K
[ 0.705097] Write protecting the kernel text: 6624k
[ 0.705217] Write protecting the kernel read-only data: 1000k
[ 1.216024] tsc: Refined TSC clocksource calibration: 848.352 MHz
[ 1.216137] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0xc3a7ed287a, max_idle_ns: 440795240030 ns
[ 2.034038] systemd[1]: systemd 235 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN default-hierarchy=hybrid)
[ 2.034867] systemd[1]: Detected architecture x86.
[ 2.077164] systemd[1]: Set hostname to <amd750>.
[ 2.272109] clocksource: Switched to clocksource tsc
[ 2.904779] systemd[1]: File /lib/systemd/system/systemd-journald.service:33 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
[ 2.904972] systemd[1]: Proceeding WITHOUT firewalling in effect!
[ 2.945747] systemd[1]: File /lib/systemd/system/systemd-udevd.service:32 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
[ 2.945929] systemd[1]: Proceeding WITHOUT firewalling in effect!
[ 3.138982] systemd[1]: File /lib/systemd/system/systemd-logind.service:35 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
[ 3.139172] systemd[1]: Proceeding WITHOUT firewalling in effect!
[ 3.410651] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 3.851638] random: crng init done
[ 5.183694] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[ 5.454395] systemd-journald[60]: Received request to flush runtime journal from PID 1
[ 6.250310] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input1
[ 6.250557] ACPI: Power Button [PWRF]
[ 6.568595] parport_pc 00:07: reported by Plug and Play ACPI
[ 6.568845] parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT,EPP,ECP,DMA]
[ 6.740449] ACPI: bus type USB registered
[ 6.740734] usbcore: registered new interface driver usbfs
[ 6.740861] usbcore: registered new interface driver hub
[ 6.741030] usbcore: registered new device driver usb
[ 6.795460] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 6.795752] scsi 1:0:0:0: Attached scsi generic sg1 type 5
[ 6.802827] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 6.812068] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 6.834083] sr 1:0:0:0: [sr0] scsi3-mmc drive: 48x/48x writer dvd-ram cd/rw xa/form2 cdda tray
[ 6.834215] cdrom: Uniform CD-ROM driver Revision: 3.20
[ 6.834808] sr 1:0:0:0: Attached scsi CD-ROM sr0
[ 6.881110] ehci-pci: EHCI PCI platform driver
[ 6.884466] Linux agpgart interface v0.103
[ 6.888600] ohci-pci: OHCI PCI platform driver
[ 6.889093] ohci-pci 0000:00:07.4: OHCI PCI host controller
[ 6.889204] ohci-pci 0000:00:07.4: new USB bus registered, assigned bus number 1
[ 6.889382] ohci-pci 0000:00:07.4: irq 10, io mem 0xffaff000
[ 6.948238] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
[ 6.948342] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 6.948441] usb usb1: Product: OHCI PCI host controller
[ 6.948929] usb usb1: Manufacturer: Linux 4.14.0 ohci_hcd
[ 6.949008] usb usb1: SerialNumber: 0000:00:07.4
[ 6.950298] hub 1-0:1.0: USB hub found
[ 6.950415] hub 1-0:1.0: 4 ports detected
[ 6.951203] agpgart-amdk7 0000:00:00.0: AMD Irongate chipset
[ 7.049165] input: PC Speaker as /devices/platform/pcspkr/input/input2
[ 7.063182] tulip: Linux Tulip driver version 1.1.15-NAPI (Feb 27, 2007)
[ 7.314460] powernow_k7: No powernow capabilities detected
[ 7.571199] agpgart-amdk7 0000:00:00.0: AGP aperture is 256M @ 0xe0000000
[ 7.572259] ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 9
[ 7.572349] PCI: setting IRQ 9 as level-triggered
[ 7.572466] tulip: tulip_init_one: Enabled WOL support for AN983B
[ 7.572800] tulip0: MII transceiver #1 config 1000 status 786d advertising 05e1
[ 7.573136] tulip0: MII transceiver #2 config 1000 status 786d advertising 05e1
[ 7.573470] tulip0: MII transceiver #3 config 1000 status 786d advertising 05e1
[ 7.573804] tulip0: MII transceiver #4 config 1000 status 786d advertising 05e1
[ 7.575329] net eth0: ADMtek Comet rev 17 at MMIO 0xffafec00, 00:50:22:12:58:b0, IRQ 9
[ 7.608817] ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 5
[ 7.608825] PCI: setting IRQ 5 as level-triggered
[ 7.614874] ieee80211 phy0: rt2x00_set_chip: Info - Chipset detected - rt: 2561, rf: 0003, rev: 000c
[ 7.694992] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 8.213886] Adding 1574332k swap on /dev/sda5. Priority:-2 extents:1 across:1574332k
[ 8.333255] rt61pci 0000:00:14.0 wlp0s20: renamed from wlan0
[ 9.061402] [drm] radeon kernel modesetting enabled.
[ 9.068640] ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11
[ 9.068739] PCI: setting IRQ 11 as level-triggered
[ 9.069788] [drm] initializing kernel modesetting (RV280 0x1002:0x5960 0x1458:0x4054 0x01).
[ 9.074889] agpgart-amdk7 0000:00:00.0: AGP 1.0 bridge
[ 9.075043] agpgart-amdk7 0000:00:00.0: putting AGP V2 device into 2x mode
[ 9.075155] radeon 0000:01:05.0: putting AGP V2 device into 2x mode
[ 9.075240] radeon 0000:01:05.0: GTT: 256M 0xE0000000 - 0xEFFFFFFF
[ 9.075324] [drm] Generation 2 PCI interface, using max accessible memory
[ 9.075409] radeon 0000:01:05.0: VRAM: 128M 0x00000000D0000000 - 0x00000000D7FFFFFF (128M used)
[ 9.075559] [drm] Detected VRAM RAM=128M, BAR=128M
[ 9.075630] [drm] RAM width 64bits DDR
[ 9.088074] [TTM] Zone kernel: Available graphics memory: 383972 kiB
[ 9.088171] [TTM] Initializing pool allocator
[ 9.088385] [drm] radeon: 128M of VRAM memory ready
[ 9.088459] [drm] radeon: 256M of GTT memory ready.
[ 9.091351] radeon 0000:01:05.0: WB disabled
[ 9.091738] radeon 0000:01:05.0: fence driver on ring 0 use gpu addr 0x00000000e0000000 and cpu addr 0xf07f3000
[ 9.091853] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 9.091924] [drm] Driver supports precise vblank timestamp query.
[ 9.092115] [drm] radeon: irq initialized.
[ 9.092186] [drm] Loading R200 Microcode
[ 9.301989] [drm] radeon: ring at 0x00000000E0001000
[ 9.302127] [drm] ring test succeeded in 0 usecs
[ 9.302737] [drm] ib test succeeded in 0 usecs
[ 9.304257] [drm] Radeon Display Connectors
[ 9.304333] [drm] Connector 0:
[ 9.304395] [drm] VGA-1
[ 9.304457] [drm] DDC: 0x60 0x60 0x60 0x60 0x60 0x60 0x60 0x60
[ 9.304524] [drm] Encoders:
[ 9.304586] [drm] CRT1: INTERNAL_DAC1
[ 9.304648] [drm] Connector 1:
[ 9.304709] [drm] DVI-D-1
[ 9.304769] [drm] HPD1
[ 9.304830] [drm] DDC: 0x64 0x64 0x64 0x64 0x64 0x64 0x64 0x64
[ 9.304897] [drm] Encoders:
[ 9.304958] [drm] DFP1: INTERNAL_TMDS1
[ 9.305021] [drm] Connector 2:
[ 9.305082] [drm] SVIDEO-1
[ 9.305142] [drm] Encoders:
[ 9.305204] [drm] TV1: INTERNAL_DAC2
[ 9.371280] [drm] fb mappable at 0xD0040000
[ 9.371373] [drm] vram apper at 0xD0000000
[ 9.371436] [drm] size 5242880
[ 9.371497] [drm] fb depth is 24
[ 9.371557] [drm] pitch is 5120
[ 9.374023] fbcon: radeondrmfb (fb0) is primary device
[ 9.456013] Console: switching to colour frame buffer device 160x64
[ 9.498034] radeon 0000:01:05.0: fb0: radeondrmfb frame buffer device
[ 9.498082] [drm] Initialized radeon 2.50.0 20080528 for 0000:01:05.0 on minor 0
[ 17.121535] tulip 0000:00:13.0 eth0: tulip_stop_rxtx() failed (CSR5 0xfc664010 CSR6 0xff972113)
[ 17.121558] net eth0: Setting full-duplex based on MII#1 link partner capability of 41e1

$ cat /proc/interrupts
CPU0
0: 31 XT-PIC timer
1: 9 XT-PIC i8042
2: 0 XT-PIC cascade
6: 3 XT-PIC floppy
7: 3 XT-PIC parport0
8: 0 XT-PIC rtc0
9: 61095 XT-PIC acpi, eth0
10: 0 XT-PIC ohci_hcd:usb1
11: 0 XT-PIC radeon
14: 33806 XT-PIC pata_amd
15: 674268 XT-PIC pata_amd
NMI: 66 Non-maskable interrupts
LOC: 6116624 Local timer interrupts
SPU: 0 Spurious interrupts
PMI: 66 Performance monitoring interrupts
IWI: 5 IRQ work interrupts
RTR: 0 APIC ICR read retries
THR: 0 Threshold APIC interrupts
DFR: 0 Deferred Error APIC interrupts
MCE: 0 Machine check exceptions
MCP: 2184 Machine check polls
ERR: 0
MIS: 0
PIN: 0 Posted-interrupt notification event
NPI: 0 Nested posted-interrupt event
PIW: 0 Posted-interrupt wakeup event

dmesg from the P4 with 4.13 kernel:

[ 0.000000] random: get_random_bytes called from start_kernel+0x30/0x39c with crng_init=0
[ 0.000000] Linux version 4.13.0-1-686-pae ([email protected]) (gcc version 6.4.0 20171026 (Debian 6.4.0-9)) #1 SMP Debian 4.13.10-1 (2017-10-30)
[ 0.000000] x86/fpu: x87 FPU will use FXSAVE
[ 0.000000] e820: 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 0x00000000000ec000-0x00000000000fffff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000003fffffff] usable
[ 0.000000] BIOS-e820: [mem 0x00000000fec00000-0x00000000fecfffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000fee00000-0x00000000feefffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000ffee0000-0x00000000fff0fffe] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved
[ 0.000000] Notice: NX (Execute Disable) protection missing in CPU!
[ 0.000000] random: fast init done
[ 0.000000] Legacy DMI 2.3 present.
[ 0.000000] DMI: MSI MS-6547 /MS-6547 , BIOS 07.00T
[ 0.000000] tsc: Fast TSC calibration using PIT
[ 0.000000] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[ 0.000000] e820: remove [mem 0x000a0000-0x000fffff] usable
[ 0.000000] e820: last_pfn = 0x40000 max_arch_pfn = 0x1000000
[ 0.000000] MTRR default type: uncachable
[ 0.000000] MTRR fixed ranges enabled:
[ 0.000000] 00000-9FFFF write-back
[ 0.000000] A0000-BFFFF uncachable
[ 0.000000] C0000-C7FFF write-protect
[ 0.000000] C8000-EFFFF uncachable
[ 0.000000] F0000-FFFFF write-protect
[ 0.000000] MTRR variable ranges enabled:
[ 0.000000] 0 base 000000000 mask FC0000000 write-back
[ 0.000000] 1 disabled
[ 0.000000] 2 disabled
[ 0.000000] 3 disabled
[ 0.000000] 4 disabled
[ 0.000000] 5 disabled
[ 0.000000] 6 base 0E0000000 mask FFC000000 write-combining
[ 0.000000] 7 base 0E0000000 mask FFC000000 write-combining
[ 0.000000] x86/PAT: Configuration [0-7]: WB WC UC- UC WB WC UC- UC
[ 0.000000] initial memory mapped: [mem 0x00000000-0x1ddfffff]
[ 0.000000] Base memory trampoline at [c009b000] 9b000 size 16384
[ 0.000000] BRK [0x1da83000, 0x1da83fff] PGTABLE
[ 0.000000] BRK [0x1da84000, 0x1da85fff] PGTABLE
[ 0.000000] BRK [0x1da86000, 0x1da86fff] PGTABLE
[ 0.000000] BRK [0x1da87000, 0x1da87fff] PGTABLE
[ 0.000000] RAMDISK: [mem 0x3ee1f000-0x3fffffff]
[ 0.000000] Allocated new RAMDISK: [mem 0x3681d000-0x379fd36d]
[ 0.000000] Move RAMDISK from [mem 0x3ee1f000-0x3ffff36d] to [mem 0x3681d000-0x379fd36d]
[ 0.000000] ACPI: Early table checksum verification disabled
[ 0.000000] ACPI BIOS Error (bug): A valid RSDP was not found (20170531/tbxfroot-244)
[ 0.000000] 134MB HIGHMEM available.
[ 0.000000] 889MB LOWMEM available.
[ 0.000000] mapped low ram: 0 - 379fe000
[ 0.000000] low ram: 0 - 379fe000
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000000001000-0x0000000000ffffff]
[ 0.000000] Normal [mem 0x0000000001000000-0x00000000379fdfff]
[ 0.000000] HighMem [mem 0x00000000379fe000-0x000000003fffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000001000-0x000000000009efff]
[ 0.000000] node 0: [mem 0x0000000000100000-0x000000003fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x000000003fffffff]
[ 0.000000] On node 0 totalpages: 262046
[ 0.000000] free_area_init_node: node 0, pgdat dd827f80, node_mem_map f5f1d024
[ 0.000000] DMA zone: 36 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 3998 pages, LIFO batch:0
[ 0.000000] Normal zone: 1967 pages used for memmap
[ 0.000000] Normal zone: 223742 pages, LIFO batch:31
[ 0.000000] HighMem zone: 34306 pages, LIFO batch:7
[ 0.000000] Using APIC driver default
[ 0.000000] SFI: Simple Firmware Interface v0.81 http://simplefirmware.org
[ 0.000000] Local APIC disabled by BIOS -- you can enable it with "lapic"
[ 0.000000] APIC: disable apic facility
[ 0.000000] APIC: switched to apic NOOP
[ 0.000000] smpboot: Allowing 1 CPUs, 0 hotplug CPUs
[ 0.000000] PM: Registered nosave memory: [mem 0x00000000-0x00000fff]
[ 0.000000] PM: Registered nosave memory: [mem 0x0009f000-0x0009ffff]
[ 0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000ebfff]
[ 0.000000] PM: Registered nosave memory: [mem 0x000ec000-0x000fffff]
[ 0.000000] e820: [mem 0x40000000-0xfebfffff] available for PCI devices
[ 0.000000] Booting paravirtualized kernel on bare hardware
[ 0.000000] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645519600211568 ns
[ 0.000000] setup_percpu: NR_CPUS:32 nr_cpumask_bits:32 nr_cpu_ids:1 nr_node_ids:1
[ 0.000000] percpu: Embedded 22 pages/cpu @f5f04000 s61004 r0 d29108 u90112
[ 0.000000] pcpu-alloc: s61004 r0 d29108 u90112 alloc=22*4096
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260043
[ 0.000000] Kernel command line: BOOT_IMAGE=Linux ro root=803
[ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] microcode: microcode updated early to revision 0x37, date = 2003-06-04
[ 0.000000] Initializing CPU#0
[ 0.000000] Initializing HighMem for node 0 (000379fe:00040000)
[ 0.000000] Initializing Movable for node 0 (00000000:00000000)
[ 0.000000] Memory: 1008916K/1048184K available (5959K kernel code, 627K rwdata, 1868K rodata, 800K init, 456K bss, 39268K reserved, 0K cma-reserved, 137224K highmem)
[ 0.000000] virtual kernel memory layout:
fixmap : 0xffd16000 - 0xfffff000 (2980 kB)
pkmap : 0xffa00000 - 0xffc00000 (2048 kB)
vmalloc : 0xf81fe000 - 0xff9fe000 ( 120 MB)
lowmem : 0xc0000000 - 0xf79fe000 ( 889 MB)
.init : 0xdd852000 - 0xdd91a000 ( 800 kB)
.data : 0xdd5d1d0d - 0xdd843c00 (2503 kB)
.text : 0xdd000000 - 0xdd5d1d0d (5959 kB)
[ 0.000000] Checking if this processor honours the WP bit even in supervisor mode...Ok.
[ 0.000000] ftrace: allocating 27246 entries in 54 pages
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] RCU restricting CPUs from NR_CPUS=32 to nr_cpu_ids=1.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[ 0.000000] NR_IRQS: 2304, nr_irqs: 32, preallocated irqs: 16
[ 0.000000] CPU 0 irqstacks, hard=f586a000 soft=f586c000
[ 0.000000] Console: colour VGA+ 80x25
[ 0.000000] console [tty0] enabled
[ 0.000000] tsc: Fast TSC calibration using PIT
[ 0.004000] tsc: Detected 2000.114 MHz processor
[ 0.004000] Calibrating delay loop (skipped), value calculated using timer frequency.. 4000.22 BogoMIPS (lpj=8000456)
[ 0.004000] pid_max: default: 32768 minimum: 301
[ 0.004000] Security Framework initialized
[ 0.004000] Yama: disabled by default; enable with sysctl kernel.yama.*
[ 0.004000] AppArmor: AppArmor initialized
[ 0.004000] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.004000] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.004000] CPU0: Hyper-Threading is disabled
[ 0.008010] mce: CPU supports 4 MCE banks
[ 0.008090] Last level iTLB entries: 4KB 128, 2MB 128, 4MB 128
[ 0.008147] Last level dTLB entries: 4KB 64, 2MB 0, 4MB 64, 1GB 0
[ 0.030079] Freeing SMP alternatives memory: 28K
[ 0.032237] smpboot: Max logical packages: 1
[ 0.032306] smpboot: weird, boot CPU (#0) not listed by the BIOS
[ 0.032360] smpboot: SMP motherboard not detected
[ 0.032413] smpboot: SMP disabled
[ 0.032465] smpboot: Local APIC not detected. Using dummy APIC emulation.
[ 0.032688] Performance Events: Netburst events,
[ 0.032704] no APIC, boot with the "lapic" boot parameter to force-enable it.
[ 0.032813] no hardware sampling interrupt available.
[ 0.032869] Netburst P4/Xeon PMU driver.
[ 0.032924] ... version: 0
[ 0.032975] ... bit width: 40
[ 0.033026] ... generic registers: 18
[ 0.033078] ... value mask: 000000ffffffffff
[ 0.033130] ... max period: 0000007fffffffff
[ 0.033183] ... fixed-purpose events: 0
[ 0.033234] ... event mask: 000000000003ffff
[ 0.033386] Hierarchical SRCU implementation.
[ 0.034393] NMI watchdog: enabled on all CPUs, permanently consumes one hw-PMU counter.
[ 0.034511] smp: Bringing up secondary CPUs ...
[ 0.034566] smp: Brought up 1 node, 1 CPU
[ 0.034619] smpboot: Total of 1 processors activated (4000.22 BogoMIPS)
[ 0.035034] devtmpfs: initialized
[ 0.035621] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.035699] futex hash table entries: 256 (order: 2, 16384 bytes)
[ 0.035865] pinctrl core: initialized pinctrl subsystem
[ 0.036175] NET: Registered protocol family 16
[ 0.036581] cpuidle: using governor ladder
[ 0.036636] cpuidle: using governor menu
[ 0.036745] clocksource: pit: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1601818034827 ns
[ 0.036929] PCI: Using configuration type 1 for base access
[ 0.039059] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.039607] ACPI: Interpreter disabled.
[ 0.039803] vgaarb: loaded
[ 0.039960] EDAC MC: Ver: 3.0.0
[ 0.040232] PCI: Probing PCI hardware
[ 0.040289] PCI: root bus 00: using default resources
[ 0.040293] PCI: Probing PCI hardware (bus 00)
[ 0.040347] PCI host bridge to bus 0000:00
[ 0.040407] pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
[ 0.040464] pci_bus 0000:00: root bus resource [mem 0x00000000-0xfffffffff]
[ 0.040520] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.040610] pci 0000:00:00.0: [1039:0645] type 00 class 0x060000
[ 0.040634] pci 0000:00:00.0: reg 0x10: [mem 0xe0000000-0xe3ffffff]
[ 0.040795] pci 0000:00:01.0: [1039:0001] type 01 class 0x060400
[ 0.040915] pci 0000:00:02.0: [1039:0008] type 00 class 0x060100
[ 0.041012] pci 0000:00:02.0: Enabling SiS 96x SMBus
[ 0.041138] pci 0000:00:02.1: [1039:0016] type 00 class 0x0c0500
[ 0.041206] pci 0000:00:02.1: reg 0x20: [io 0x0c00-0x0c1f]
[ 0.041304] pci 0000:00:02.2: [1039:7001] type 00 class 0x0c0310
[ 0.041330] pci 0000:00:02.2: reg 0x10: [mem 0xdfffe000-0xdfffefff]
[ 0.041466] pci 0000:00:02.3: [1039:7001] type 00 class 0x0c0310
[ 0.041491] pci 0000:00:02.3: reg 0x10: [mem 0xdffff000-0xdfffffff]
[ 0.041640] pci 0000:00:02.5: [1039:5513] type 00 class 0x010180
[ 0.041707] pci 0000:00:02.5: reg 0x20: [io 0xff00-0xff0f]
[ 0.041735] pci 0000:00:02.5: legacy IDE quirk: reg 0x10: [io 0x01f0-0x01f7]
[ 0.041793] pci 0000:00:02.5: legacy IDE quirk: reg 0x14: [io 0x03f6]
[ 0.041849] pci 0000:00:02.5: legacy IDE quirk: reg 0x18: [io 0x0170-0x0177]
[ 0.041905] pci 0000:00:02.5: legacy IDE quirk: reg 0x1c: [io 0x0376]
[ 0.042046] pci 0000:00:02.7: [1039:7012] type 00 class 0x040100
[ 0.042075] pci 0000:00:02.7: reg 0x10: [io 0xdc00-0xdcff]
[ 0.042088] pci 0000:00:02.7: reg 0x14: [io 0xd800-0xd87f]
[ 0.042179] pci 0000:00:02.7: PME# supported from D3hot D3cold
[ 0.042272] pci 0000:00:07.0: [1011:0009] type 00 class 0x020000
[ 0.042297] pci 0000:00:07.0: reg 0x10: [io 0xd400-0xd47f]
[ 0.042311] pci 0000:00:07.0: reg 0x14: [mem 0xdfffdf80-0xdfffdfff]
[ 0.042366] pci 0000:00:07.0: reg 0x30: [mem 0xdff80000-0xdffbffff pref]
[ 0.042531] pci 0000:01:00.0: [10de:0172] type 00 class 0x030000
[ 0.042556] pci 0000:01:00.0: reg 0x10: [mem 0xde000000-0xdeffffff]
[ 0.042567] pci 0000:01:00.0: reg 0x14: [mem 0xd8000000-0xdbffffff pref]
[ 0.042578] pci 0000:01:00.0: reg 0x18: [mem 0xddc80000-0xddcfffff pref]
[ 0.042613] pci 0000:01:00.0: reg 0x30: [mem 0xdfee0000-0xdfefffff pref]
[ 0.042698] pci 0000:01:00.0: vgaarb: setting as boot VGA device
[ 0.042757] pci 0000:01:00.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none
[ 0.042874] pci 0000:00:01.0: PCI bridge to [bus 01]
[ 0.042935] pci 0000:00:01.0: bridge window [mem 0xdde00000-0xdfefffff]
[ 0.042941] pci 0000:00:01.0: bridge window [mem 0xd5b00000-0xddcfffff pref]
[ 0.042955] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 01
[ 0.042998] pci 0000:00:02.0: SIS IRQ router [1039:0961]
[ 0.043076] PCI: pci_cache_line_size set to 64 bytes
[ 0.043122] e820: reserve RAM buffer [mem 0x0009fc00-0x0009ffff]
[ 0.043637] clocksource: Switched to clocksource pit
[ 0.064232] VFS: Disk quotas dquot_6.6.0
[ 0.064408] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.064717] AppArmor: AppArmor Filesystem Enabled
[ 0.064866] pnp: PnP ACPI: disabled
[ 0.064924] PnPBIOS: Scanning system for PnP BIOS support...
[ 0.065011] PnPBIOS: Found PnP BIOS installation structure at 0xc00f74b0
[ 0.065067] PnPBIOS: PnP BIOS version 1.0, entry 0xf0000:0x645b, dseg 0xf0000
[ 0.065161] pnp 00:00: [io 0x0800-0x087f]
[ 0.065164] pnp 00:00: [io 0x0880-0x08ff]
[ 0.065167] pnp 00:00: [io 0x0c00-0x0c7f]
[ 0.065170] pnp 00:00: [io 0x0290-0x0297]
[ 0.065173] pnp 00:00: [io 0x0480-0x048f]
[ 0.065175] pnp 00:00: [io 0x04d0-0x04d1]
[ 0.065178] pnp 00:00: [io 0x0cf8-0x0cff]
[ 0.065181] pnp 00:00: [io 0x002e]
[ 0.065184] pnp 00:00: [io 0x002f]
[ 0.065230] pnp 00:00: Plug and Play BIOS device, IDs PNP0a03 (active)
[ 0.065240] pnp 00:01: [mem 0x00000000-0x0009fbff]
[ 0.065244] pnp 00:01: [mem 0x0009fc00-0x0009ffff]
[ 0.065247] pnp 00:01: [mem 0x000f0000-0x000fffff]
[ 0.065250] pnp 00:01: [mem 0x00100000-0x3fffffff]
[ 0.065254] pnp 00:01: [mem 0xffffffffffee0000-0xfffffffffff0fffe]
[ 0.065257] pnp 00:01: [mem 0xfffffffffec00000-0xfffffffffecfffff]
[ 0.065260] pnp 00:01: [mem 0xfffffffffee00000-0xfffffffffeefffff]
[ 0.065263] pnp 00:01: [mem 0xfffffffffffc0000-0xffffffffffffffff]
[ 0.065339] system 00:01: [mem 0x00000000-0x0009fbff] could not be reserved
[ 0.065399] system 00:01: [mem 0x0009fc00-0x0009ffff] could not be reserved
[ 0.065457] system 00:01: [mem 0x000f0000-0x000fffff] could not be reserved
[ 0.065515] system 00:01: [mem 0x00100000-0x3fffffff] could not be reserved
[ 0.065573] system 00:01: [mem 0xffffffffffee0000-0xfffffffffff0fffe] could not be reserved
[ 0.065641] system 00:01: [mem 0xfffffffffec00000-0xfffffffffecfffff] could not be reserved
[ 0.065710] system 00:01: [mem 0xfffffffffee00000-0xfffffffffeefffff] could not be reserved
[ 0.065778] system 00:01: [mem 0xfffffffffffc0000-0xffffffffffffffff] could not be reserved
[ 0.065848] system 00:01: Plug and Play BIOS device, IDs PNP0c01 (active)
[ 0.065857] pnp 00:02: [io 0x0020-0x0021]
[ 0.065860] pnp 00:02: [io 0x00a0-0x00a1]
[ 0.065864] pnp 00:02: [irq 2]
[ 0.065898] pnp 00:02: Plug and Play BIOS device, IDs PNP0000 (active)
[ 0.065905] pnp 00:03: [dma 4]
[ 0.065908] pnp 00:03: [io 0x0000-0x000f]
[ 0.065911] pnp 00:03: [io 0x0080-0x0090]
[ 0.065914] pnp 00:03: [io 0x0094-0x009f]
[ 0.065916] pnp 00:03: [io 0x00c0-0x00de]
[ 0.065949] pnp 00:03: Plug and Play BIOS device, IDs PNP0200 (active)
[ 0.065957] pnp 00:04: [irq 0]
[ 0.065960] pnp 00:04: [io 0x0040-0x0043]
[ 0.065997] pnp 00:04: Plug and Play BIOS device, IDs PNP0100 (active)
[ 0.066006] pnp 00:05: [irq 8]
[ 0.066009] pnp 00:05: [io 0x0070-0x0071]
[ 0.066042] pnp 00:05: Plug and Play BIOS device, IDs PNP0b00 (active)
[ 0.066049] pnp 00:06: [irq 1]
[ 0.066052] pnp 00:06: [io 0x0060]
[ 0.066054] pnp 00:06: [io 0x0064]
[ 0.066087] pnp 00:06: Plug and Play BIOS device, IDs PNP0303 (active)
[ 0.066094] pnp 00:07: [io 0x0061]
[ 0.066129] pnp 00:07: Plug and Play BIOS device, IDs PNP0800 (active)
[ 0.066136] pnp 00:08: [irq 13]
[ 0.066140] pnp 00:08: [io 0x00f0-0x00ff]
[ 0.066173] pnp 00:08: Plug and Play BIOS device, IDs PNP0c04 (active)
[ 0.066209] pnp 00:09: [io 0x03f8-0x03ff]
[ 0.066212] pnp 00:09: [irq 4]
[ 0.066275] pnp 00:09: Plug and Play BIOS device, IDs PNP0501 (active)
[ 0.066310] pnp 00:0a: [io 0x02f8-0x02ff]
[ 0.066313] pnp 00:0a: [irq 3]
[ 0.066372] pnp 00:0a: Plug and Play BIOS device, IDs PNP0501 (active)
[ 0.066445] pnp 00:0b: [io 0x0378-0x037f]
[ 0.066448] pnp 00:0b: [io 0x0778-0x077a]
[ 0.066451] pnp 00:0b: [irq 7]
[ 0.066454] pnp 00:0b: [dma 3]
[ 0.066519] pnp 00:0b: Plug and Play BIOS device, IDs PNP0401 (active)
[ 0.066561] pnp 00:0c: [io 0x0330-0x0331]
[ 0.066564] pnp 00:0c: [irq 5]
[ 0.066624] pnp 00:0c: Plug and Play BIOS device, IDs PNPb006 (active)
[ 0.066653] pnp 00:0d: [io 0x0200-0x0207]
[ 0.066694] pnp 00:0d: Plug and Play BIOS device, IDs PNPb02f (active)
[ 0.066715] pnp 00:0e: [io 0x03f0-0x03f5]
[ 0.066718] pnp 00:0e: [irq 6]
[ 0.066721] pnp 00:0e: [dma 2]
[ 0.066763] pnp 00:0e: Plug and Play BIOS device, IDs PNP0700 (active)
[ 0.066766] PnPBIOS: 15 nodes reported by PnP BIOS; 15 recorded by driver
[ 0.071723] pci 0000:00:01.0: PCI bridge to [bus 01]
[ 0.071796] pci 0000:00:01.0: bridge window [mem 0xdde00000-0xdfefffff]
[ 0.071856] pci 0000:00:01.0: bridge window [mem 0xd5b00000-0xddcfffff pref]
[ 0.071930] pci_bus 0000:00: resource 4 [io 0x0000-0xffff]
[ 0.071933] pci_bus 0000:00: resource 5 [mem 0x00000000-0xfffffffff]
[ 0.071937] pci_bus 0000:01: resource 1 [mem 0xdde00000-0xdfefffff]
[ 0.071940] pci_bus 0000:01: resource 2 [mem 0xd5b00000-0xddcfffff pref]
[ 0.072031] NET: Registered protocol family 2
[ 0.072503] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.072593] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.072697] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.072836] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 0.072904] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 0.073052] NET: Registered protocol family 1
[ 0.073156] PCI: setting IRQ 10 as level-triggered
[ 0.073163] pci 0000:00:02.2: found PCI INT D -> IRQ 10
[ 0.156393] PCI: setting IRQ 11 as level-triggered
[ 0.156398] pci 0000:00:02.3: found PCI INT A -> IRQ 11
[ 0.240410] pci 0000:01:00.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]
[ 0.240481] PCI: CLS 32 bytes, default 64
[ 0.240605] Unpacking initramfs...
[ 1.000095] Freeing initrd memory: 18308K
[ 1.001097] audit: initializing netlink subsys (disabled)
[ 1.001810] audit: type=2000 audit(1511798737.001:1): state=initialized audit_enabled=0 res=1
[ 1.001913] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[ 1.002001] zbud: loaded
[ 4.308719] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x1cd499d9cdd, max_idle_ns: 440795234042 ns
[ 4.308818] clocksource: Switched to clocksource tsc
[ 4.310295] Key type asymmetric registered
[ 4.310352] Asymmetric key parser 'x509' registered
[ 4.310434] bounce: pool size: 64 pages
[ 4.310541] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[ 4.310676] io scheduler noop registered
[ 4.310731] io scheduler deadline registered
[ 4.310807] io scheduler cfq registered (default)
[ 4.310862] io scheduler mq-deadline registered
[ 4.311220] isapnp: Scanning for PnP cards...
[ 4.665175] isapnp: No Plug & Play device found
[ 4.665379] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 4.686031] 00:09: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[ 4.706622] 00:0a: ttyS1 at I/O 0x2f8 (irq = 3, base_baud = 115200) is a 16550A
[ 4.707241] Linux agpgart interface v0.103
[ 4.707447] agpgart-sis 0000:00:00.0: SiS chipset [1039/0645]
[ 4.711955] agpgart-sis 0000:00:00.0: AGP aperture is 64M @ 0xe0000000
[ 4.712270] i8042: PNP: PS/2 Controller [PNP0303] at 0x60,0x64 irq 1
[ 4.712327] i8042: PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp
[ 4.712694] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 4.712968] mousedev: PS/2 mouse device common for all mice
[ 4.713260] rtc_cmos 00:05: rtc core: registered rtc_cmos as rtc0
[ 4.713343] rtc_cmos 00:05: alarms up to one day, 114 bytes nvram
[ 4.713437] ledtrig-cpu: registered to indicate activity on CPUs
[ 4.713975] NET: Registered protocol family 10
[ 4.714494] Segment Routing with IPv6
[ 4.714581] mip6: Mobile IPv6
[ 4.714634] NET: Registered protocol family 17
[ 4.714690] mpls_gso: MPLS GSO support
[ 4.714990] microcode: sig=0xf27, pf=0x4, revision=0x37
[ 4.715137] microcode: Microcode Update Driver: v2.2.
[ 4.715144] Using IPI No-Shortcut mode
[ 4.715261] sched_clock: Marking stable (4712599735, 0)->(5717587344, -1004987609)
[ 4.715649] registered taskstats version 1
[ 4.715732] zswap: loaded using pool lzo/zbud
[ 4.715884] AppArmor: AppArmor sha1 policy hashing enabled
[ 4.715943] ima: No TPM chip found, activating TPM-bypass! (rc=-19)
[ 4.716276] rtc_cmos 00:05: setting system clock to 2017-11-27 16:05:42 UTC (1511798742)
[ 4.716399] PM: Hibernation image not present or could not be loaded.
[ 4.718718] Freeing unused kernel memory: 800K
[ 4.718879] Write protecting the kernel text: 5960k
[ 4.719015] Write protecting the kernel read-only data: 1876k
[ 4.731797] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
[ 4.895741] sis96x_smbus 0000:00:02.1: SiS96x SMBus base address: 0x0c00
[ 4.914967] tulip: Linux Tulip driver version 1.1.15-NAPI (Feb 27, 2007)
[ 4.915102] tulip 0000:00:07.0: found PCI INT A -> IRQ 11
[ 4.929521] SCSI subsystem initialized
[ 4.931472] usbcore: registered new interface driver usbfs
[ 4.931559] usbcore: registered new interface driver hub
[ 4.940414] usbcore: registered new device driver usb
[ 4.941933] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 4.942890] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 4.943471] ehci-pci: EHCI PCI platform driver
[ 4.943949] ohci-pci: OHCI PCI platform driver
[ 4.952355] tulip0: EEPROM default media type Autosense
[ 4.952423] tulip0: Index #0 - Media 10baseT (#0) described by a 21140 non-MII (0) block
[ 4.952490] tulip0: Index #1 - Media 100baseTx (#3) described by a 21140 non-MII (0) block
[ 4.952557] tulip0: Index #2 - Media 10baseT-FDX (#4) described by a 21140 non-MII (0) block
[ 4.952677] tulip0: Index #3 - Media 100baseTx-FDX (#5) described by a 21140 non-MII (0) block
[ 4.953414] tulip0: MII transceiver #1 config 3100 status 786b advertising 01e1
[ 4.964269] libata version 3.00 loaded.
[ 4.975532] net eth0: Digital DS21140 Tulip rev 34 at Port 0xd400, 00:00:e8:2c:66:f7, IRQ 11
[ 4.977234] ohci-pci 0000:00:02.2: found PCI INT D -> IRQ 10
[ 4.977360] ohci-pci 0000:00:02.2: OHCI PCI host controller
[ 4.977431] ohci-pci 0000:00:02.2: new USB bus registered, assigned bus number 1
[ 4.977549] ohci-pci 0000:00:02.2: irq 10, io mem 0xdfffe000
[ 5.038813] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
[ 5.038882] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 5.038949] usb usb1: Product: OHCI PCI host controller
[ 5.039004] usb usb1: Manufacturer: Linux 4.13.0-1-686-pae ohci_hcd
[ 5.039059] usb usb1: SerialNumber: 0000:00:02.2
[ 5.040917] hub 1-0:1.0: USB hub found
[ 5.040996] hub 1-0:1.0: 3 ports detected
[ 5.041317] pata_sis 0000:00:02.5: version 0.5.2
[ 5.045082] scsi host0: pata_sis
[ 5.045638] scsi host1: pata_sis
[ 5.045809] ata1: PATA max UDMA/100 cmd 0x1f0 ctl 0x3f6 bmdma 0xff00 irq 14
[ 5.045868] ata2: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0xff08 irq 15
[ 5.046381] ohci-pci 0000:00:02.3: found PCI INT A -> IRQ 11
[ 5.046502] ohci-pci 0000:00:02.3: OHCI PCI host controller
[ 5.046571] ohci-pci 0000:00:02.3: new USB bus registered, assigned bus number 2
[ 5.046690] ohci-pci 0000:00:02.3: irq 11, io mem 0xdffff000
[ 5.106721] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[ 5.106788] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 5.106854] usb usb2: Product: OHCI PCI host controller
[ 5.106909] usb usb2: Manufacturer: Linux 4.13.0-1-686-pae ohci_hcd
[ 5.106964] usb usb2: SerialNumber: 0000:00:02.3
[ 5.107811] hub 2-0:1.0: USB hub found
[ 5.107887] hub 2-0:1.0: 3 ports detected
[ 5.213172] ata1.00: ATA-5: ST360021A, 3.19, max UDMA/100
[ 5.213240] ata1.00: 117231408 sectors, multi 16: LBA
[ 5.259796] ata1.01: ATA-7: ST3160815A, 3.AAC, max UDMA/100
[ 5.259854] ata1.01: 312581808 sectors, multi 16: LBA48
[ 5.268982] ata1.00: configured for UDMA/100
[ 5.326306] ata1.01: configured for UDMA/100
[ 5.326618] scsi 0:0:0:0: Direct-Access ATA ST360021A 3.19 PQ: 0 ANSI: 5
[ 5.327800] scsi 0:0:1:0: Direct-Access ATA ST3160815A C PQ: 0 ANSI: 5
[ 5.489210] ata2.00: ATAPI: LTN526, YH0X, max UDMA/33
[ 5.493044] ata2.00: configured for UDMA/33
[ 5.494334] scsi 1:0:0:0: CD-ROM LITEON CD-ROM LTN526 YH0X PQ: 0 ANSI: 5
[ 5.513221] sd 0:0:0:0: [sda] 117231408 512-byte logical blocks: (60.0 GB/55.9 GiB)
[ 5.513322] sd 0:0:0:0: [sda] Write Protect is off
[ 5.513378] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 5.513418] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 5.538320] sr 1:0:0:0: [sr0] scsi3-mmc drive: 52x/52x cd/rw xa/form2 cdda tray
[ 5.538400] cdrom: Uniform CD-ROM driver Revision: 3.20
[ 5.539409] sr 1:0:0:0: Attached scsi CD-ROM sr0
[ 5.567318] sda: sda1 sda2 sda3 sda4 < sda5 sda6 >
[ 5.567637] sd 0:0:1:0: [sdb] 312581808 512-byte logical blocks: (160 GB/149 GiB)
[ 5.567729] sd 0:0:1:0: [sdb] Write Protect is off
[ 5.567786] sd 0:0:1:0: [sdb] Mode Sense: 00 3a 00 00
[ 5.567895] sd 0:0:1:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 5.590772] sdb: sdb1 sdb2
[ 5.591087] sd 0:0:0:0: [sda] Attached SCSI disk
[ 5.592267] sd 0:0:1:0: [sdb] Attached SCSI disk
[ 7.144625] PM: Starting manual resume from disk
[ 7.144707] PM: Hibernation image partition 8:17 present
[ 7.144708] PM: Looking for hibernation image.
[ 7.145151] PM: Image not found (code -22)
[ 7.145154] PM: Hibernation image not present or could not be loaded.
[ 7.261059] random: crng init done
[ 7.467225] EXT4-fs (sda3): mounting ext3 file system using the ext4 subsystem
[ 7.480142] EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: (null)
[ 9.623434] systemd[1]: RTC configured in localtime, applying delta of 120 minutes to system time.
[ 9.967624] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 10.103591] systemd[1]: systemd 235 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN default-hierarchy=hybrid)
[ 10.103988] systemd[1]: Detected architecture x86.
[ 10.151466] systemd[1]: Set hostname to <kukeseen>.
[ 13.963074] systemd[1]: Configuration file /etc/systemd/system/postfix.service.d/override.conf is marked world-inaccessible. This has no effect as configuration data is accessible via APIs without restrictions. Proceeding anyway.
[ 14.002026] systemd[1]: Configuration file /lib/systemd/system/[email protected] is marked executable. Please remove executable permission bits. Proceeding anyway.
[ 14.388614] systemd[1]: Reached target System Time Synchronized.
[ 14.389589] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 14.390148] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[ 14.390959] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[ 14.391989] systemd[1]: Created slice System Slice.
[ 15.099864] EXT4-fs (sda3): re-mounted. Opts: errors=remount-ro
[ 15.214355] hidraw: raw HID events driver (C) Jiri Kosina
[ 15.403051] systemd-journald[176]: Received request to flush runtime journal from PID 1
[ 15.560498] RPC: Registered named UNIX socket transport module.
[ 15.560566] RPC: Registered udp transport module.
[ 15.560619] RPC: Registered tcp transport module.
[ 15.560671] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 16.179602] snd_intel8x0 0000:00:02.7: found PCI INT C -> IRQ 10
[ 16.221161] Installing knfsd (copyright (C) 1996 [email protected]).
[ 16.513728] snd_intel8x0 0000:00:02.7: intel8x0_measure_ac97_clock: measured 59377 usecs (2856 samples)
[ 16.513811] snd_intel8x0 0000:00:02.7: clocking to 48000
[ 16.786023] w83627hf: w83627hf: Found W83697HF chip at 0x290
[ 16.786400] w83627hf w83627hf.656: hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info().
[ 16.947302] input: PC Speaker as /devices/platform/pcspkr/input/input1
[ 17.167604] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[ 17.439269] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 17.439641] sd 0:0:1:0: Attached scsi generic sg1 type 0
[ 17.439967] sr 1:0:0:0: Attached scsi generic sg2 type 5
[ 19.275478] Adding 3911792k swap on /dev/sdb1. Priority:-1 extents:1 across:3911792k FS
[ 20.493860] Adding 996024k swap on /dev/sda2. Priority:-2 extents:1 across:996024k FS
[ 21.428234] EXT4-fs (sdb2): mounting ext3 file system using the ext4 subsystem
[ 21.491937] EXT4-fs (sda5): mounting ext3 file system using the ext4 subsystem
[ 21.521470] EXT4-fs (sdb2): mounted filesystem with ordered data mode. Opts: (null)
[ 21.930471] EXT4-fs (sda5): mounted filesystem with ordered data mode. Opts: (null)
[ 27.853686] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[ 27.890942] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[ 36.310937] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
[ 36.342233] NFSD: starting 90-second grace period (net dd81c7c0)
[ 36.608776] tulip 0000:00:07.0 eth0: tulip_stop_rxtx() failed (CSR5 0xfc660000 CSR6 0x32042202)
[ 36.608791] net eth0: Setting full-duplex based on MII#1 link partner capability of 45e1

dmesg from the P3 (UBSAN complains about p6 perf events still)

[ 0.000000] Linux version 4.14.0 (mroos@matrox) (gcc version 7.2.1 20171025 (Debian 7.2.0-12)) #117 PREEMPT Mon Nov 13 22:24:25 EET 2017
[ 0.000000] x86/fpu: x87 FPU will use FXSAVE
[ 0.000000] e820: 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 0x00000000000e0000-0x00000000000fffff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000001ffdffff] usable
[ 0.000000] BIOS-e820: [mem 0x000000001ffe0000-0x000000001ffeffff] ACPI data
[ 0.000000] BIOS-e820: [mem 0x000000001fff0000-0x000000001fffffff] ACPI NVS
[ 0.000000] BIOS-e820: [mem 0x00000000fff80000-0x00000000ffffffff] reserved
[ 0.000000] Notice: NX (Execute Disable) protection missing in CPU!
[ 0.000000] random: fast init done
[ 0.000000] Legacy DMI 2.3 present.
[ 0.000000] DMI: Packard Bell NEC 00000000000000000000000/i815 , BIOS 2.0Q 09/27/2001
[ 0.000000] tsc: Fast TSC calibration using PIT
[ 0.000000] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[ 0.000000] e820: remove [mem 0x000a0000-0x000fffff] usable
[ 0.000000] e820: last_pfn = 0x1ffe0 max_arch_pfn = 0x100000
[ 0.000000] MTRR default type: uncachable
[ 0.000000] MTRR fixed ranges enabled:
[ 0.000000] 00000-9FFFF write-back
[ 0.000000] A0000-BFFFF uncachable
[ 0.000000] C0000-C7FFF write-protect
[ 0.000000] C8000-FFFFF uncachable
[ 0.000000] MTRR variable ranges enabled:
[ 0.000000] 0 base 000000000 mask FE0000000 write-back
[ 0.000000] 1 base 020000000 mask FFFF80000 write-back
[ 0.000000] 2 base 020000000 mask FFFF80000 uncachable
[ 0.000000] 3 disabled
[ 0.000000] 4 disabled
[ 0.000000] 5 disabled
[ 0.000000] 6 disabled
[ 0.000000] 7 disabled
[ 0.000000] x86/PAT: PAT not supported by CPU.
[ 0.000000] total RAM covered: 512M
[ 0.000000] Found optimal setting for mtrr clean up
[ 0.000000] gran_size: 64K chunk_size: 64K num_reg: 1 lose cover RAM: 0G
[ 0.000000] x86/PAT: Configuration [0-7]: WB WT UC- UC WB WT UC- UC
[ 0.000000] initial memory mapped: [mem 0x00000000-0x01ffffff]
[ 0.000000] Base memory trampoline at [c009b000] 9b000 size 16384
[ 0.000000] BRK [0x01bed000, 0x01bedfff] PGTABLE
[ 0.000000] ACPI: Early table checksum verification disabled
[ 0.000000] ACPI: RSDP 0x00000000000FBE70 000014 (v00 AMI )
[ 0.000000] ACPI: RSDT 0x000000001FFE0000 000028 (v01 AMIINT AMIINT10 00000011 MSFT 0100000C)
[ 0.000000] ACPI: FACP 0x000000001FFE0030 000074 (v01 AMIINT AMIINT10 00000011 MSFT 0100000C)
[ 0.000000] ACPI: DSDT 0x000000001FFE00B0 00317F (v01 INTEL SOLANO 00001004 MSFT 0100000D)
[ 0.000000] ACPI: FACS 0x000000001FFE8000 000040
[ 0.000000] 511MB LOWMEM available.
[ 0.000000] mapped low ram: 0 - 1ffe0000
[ 0.000000] low ram: 0 - 1ffe0000
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000000001000-0x0000000000ffffff]
[ 0.000000] Normal [mem 0x0000000001000000-0x000000001ffdffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000001000-0x000000000009efff]
[ 0.000000] node 0: [mem 0x0000000000100000-0x000000001ffdffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x000000001ffdffff]
[ 0.000000] On node 0 totalpages: 130942
[ 0.000000] free_area_init_node: node 0, pgdat c1b178e0, node_mem_map dfbe0020
[ 0.000000] DMA zone: 32 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 3998 pages, LIFO batch:0
[ 0.000000] Normal zone: 992 pages used for memmap
[ 0.000000] Normal zone: 126944 pages, LIFO batch:31
[ 0.000000] Using APIC driver default
[ 0.000000] ACPI: PM-Timer IO Port: 0x408
[ 0.000000] Local APIC disabled by BIOS -- reenabling.
[ 0.000000] Found and enabled local APIC!
[ 0.000000] e820: [mem 0x20000000-0xfff7ffff] available for PCI devices
[ 0.000000] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645519600211568 ns
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 129918
[ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.14.0 root=/dev/sda1 ro lapic
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Initializing CPU#0
[ 0.000000] Memory: 506928K/523768K available (7291K kernel code, 2980K rwdata, 1100K rodata, 432K init, 304K bss, 16840K reserved, 0K cma-reserved)
[ 0.000000] virtual kernel memory layout:
fixmap : 0xfffa2000 - 0xfffff000 ( 372 kB)
vmalloc : 0xe07e0000 - 0xfffa0000 ( 503 MB)
lowmem : 0xc0000000 - 0xdffe0000 ( 511 MB)
.init : 0xc1b2a000 - 0xc1b96000 ( 432 kB)
.data : 0xc171efc8 - 0xc1b1e120 (4092 kB)
.text : 0xc1000000 - 0xc171efc8 (7291 kB)
[ 0.000000] Checking if this processor honours the WP bit even in supervisor mode...Ok.
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] Tasks RCU enabled.
[ 0.000000] NR_IRQS: 2304, nr_irqs: 24, preallocated irqs: 16
[ 0.000000] CPU 0 irqstacks, hard=df408000 soft=df40a000
[ 0.000000] Console: colour VGA+ 80x25
[ 0.000000] console [tty0] enabled
[ 0.000000] tsc: Fast TSC calibration using PIT
[ 0.004000] tsc: Detected 1003.828 MHz processor
[ 0.004000] Calibrating delay loop (skipped), value calculated using timer frequency.. 2007.65 BogoMIPS (lpj=4015312)
[ 0.004000] pid_max: default: 32768 minimum: 301
[ 0.004000] ACPI: Core revision 20170728
[ 0.012518] ACPI: 1 ACPI AML tables successfully acquired and loaded
[ 0.012674] ACPI: setting ELCR to 0200 (from 0a20)
[ 0.012906] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.013053] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.013771] mce: CPU supports 5 MCE banks
[ 0.013955] Last level iTLB entries: 4KB 32, 2MB 0, 4MB 2
[ 0.014088] Last level dTLB entries: 4KB 64, 2MB 0, 4MB 8, 1GB 0
[ 0.014217] CPU: Intel Pentium III (Coppermine) (family: 0x6, model: 0x8, stepping: 0xa)
[ 0.016392] Performance Events: p6 PMU driver.
[ 0.016550] ================================================================================
[ 0.016797] UBSAN: Undefined behaviour in arch/x86/events/intel/p6.c:116:29
[ 0.016932] index 8 is out of range for type 'u64 [8]'
[ 0.017067] CPU: 0 PID: 1 Comm: swapper Not tainted 4.14.0 #117
[ 0.017201] Hardware name: Packard Bell NEC 00000000000000000000000/i815 , BIOS 2.0Q 09/27/2001
[ 0.017454] Call Trace:
[ 0.017601] dump_stack+0x16/0x21
[ 0.017743] ubsan_epilogue+0xe/0x40
[ 0.017876] __ubsan_handle_out_of_bounds+0x75/0x90
[ 0.018012] ? vprintk_default+0x2f/0x40
[ 0.018147] ? p4_pmu_schedule_events+0x490/0x490
[ 0.018278] p6_pmu_event_map+0x3b/0x50
[ 0.018418] init_hw_perf_events+0x50c/0x765
[ 0.018552] ? merge_attr+0x1e2/0x1e2
[ 0.018683] do_one_initcall+0x44/0x1d0
[ 0.018826] ? proc_register+0x14c/0x1e0
[ 0.018959] ? proc_create_data+0x5e/0xb0
[ 0.019092] ? proc_create+0x1b/0x30
[ 0.019224] kernel_init_freeable+0x6f/0x247
[ 0.019362] ? rest_init+0xa0/0xa0
[ 0.019492] ? rest_init+0xa0/0xa0
[ 0.019622] kernel_init+0xc/0x120
[ 0.019752] ? schedule_tail_wrapper+0x9/0xc
[ 0.019884] ? rest_init+0xa0/0xa0
[ 0.020000] ret_from_fork+0x19/0x24
[ 0.020000] ================================================================================
[ 0.020020] ================================================================================
[ 0.020267] UBSAN: Undefined behaviour in arch/x86/events/intel/p6.c:116:29
[ 0.020402] load of address c1722da0 with insufficient space
[ 0.020533] for an object of type 'const u64'
[ 0.020663] CPU: 0 PID: 1 Comm: swapper Not tainted 4.14.0 #117
[ 0.020796] Hardware name: Packard Bell NEC 00000000000000000000000/i815 , BIOS 2.0Q 09/27/2001
[ 0.021048] Call Trace:
[ 0.021177] dump_stack+0x16/0x21
[ 0.021309] ubsan_epilogue+0xe/0x40
[ 0.021441] __ubsan_handle_type_mismatch+0x96/0x170
[ 0.021575] ? p4_pmu_schedule_events+0x490/0x490
[ 0.021707] p6_pmu_event_map+0x4b/0x50
[ 0.021840] init_hw_perf_events+0x50c/0x765
[ 0.021974] ? merge_attr+0x1e2/0x1e2
[ 0.022106] do_one_initcall+0x44/0x1d0
[ 0.022238] ? proc_register+0x14c/0x1e0
[ 0.022370] ? proc_create_data+0x5e/0xb0
[ 0.022502] ? proc_create+0x1b/0x30
[ 0.022633] kernel_init_freeable+0x6f/0x247
[ 0.022763] ? rest_init+0xa0/0xa0
[ 0.022893] ? rest_init+0xa0/0xa0
[ 0.023022] kernel_init+0xc/0x120
[ 0.023152] ? schedule_tail_wrapper+0x9/0xc
[ 0.023283] ? rest_init+0xa0/0xa0
[ 0.023412] ret_from_fork+0x19/0x24
[ 0.023542] ================================================================================
[ 0.024012] ... version: 0
[ 0.024142] ... bit width: 32
[ 0.024270] ... generic registers: 2
[ 0.024398] ... value mask: 00000000ffffffff
[ 0.024529] ... max period: 000000007fffffff
[ 0.024659] ... fixed-purpose events: 0
[ 0.024787] ... event mask: 0000000000000003
[ 0.025117] Hierarchical SRCU implementation.
[ 0.025635] Enabling APIC mode: Flat. Using 0 I/O APICs
[ 0.028000] NMI watchdog: Enabled. Permanently consumes one hw-PMU counter.
[ 0.028000] devtmpfs: initialized
[ 0.028000] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.028000] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.028000] NET: Registered protocol family 16
[ 0.028000] cpuidle: using governor ladder
[ 0.028000] cpuidle: using governor menu
[ 0.028000] ACPI: bus type PCI registered
[ 0.034034] PCI: PCI BIOS revision 2.10 entry at 0xfdb71, last bus=2
[ 0.034178] PCI: Using configuration type 1 for base access
[ 0.051547] ACPI: Added _OSI(Module Device)
[ 0.051695] ACPI: Added _OSI(Processor Device)
[ 0.051827] ACPI: Added _OSI(3.0 _SCP Extensions)
[ 0.051959] ACPI: Added _OSI(Processor Aggregator Device)
[ 0.061250] ACPI: Interpreter enabled
[ 0.061415] ACPI: (supports S0 S5)
[ 0.061539] ACPI: Using PIC for interrupt routing
[ 0.061829] PCI: Ignoring host bridge windows from ACPI; if necessary, use "pci=use_crs" and report a bug
[ 0.062776] ACPI: Enabled 4 GPEs in block 00 to 0F
[ 0.062922] ACPI: Enabled 1 GPEs in block 10 to 1F
[ 0.079566] ACPI: Power Resource [URP1] (off)
[ 0.080053] ACPI: Power Resource [URP2] (off)
[ 0.080411] ACPI: Power Resource [FDDP] (off)
[ 0.080731] ACPI: Power Resource [LPTP] (off)
[ 0.090566] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[ 0.090723] acpi PNP0A03:00: _OSC: OS supports [Segments]
[ 0.090863] acpi PNP0A03:00: _OSC failed (AE_NOT_FOUND); disabling ASPM
[ 0.091000] acpi PNP0A03:00: fail to add MMCONFIG information, can't access extended PCI configuration space under this bridge.
[ 0.091608] acpi PNP0A03:00: host bridge window [io 0x0cf8-0x0cff] (ignored)
[ 0.091614] acpi PNP0A03:00: host bridge window [io 0x0000-0x0cf7 window] (ignored)
[ 0.091620] acpi PNP0A03:00: host bridge window [io 0x0d00-0xffff window] (ignored)
[ 0.091626] acpi PNP0A03:00: host bridge window [mem 0x000a0000-0x000bffff window] (ignored)
[ 0.091631] acpi PNP0A03:00: host bridge window [mem 0x000cb000-0x000dffff window] (ignored)
[ 0.091637] acpi PNP0A03:00: host bridge window [mem 0x20000000-0xffdfffff window] (ignored)
[ 0.091640] PCI: root bus 00: using default resources
[ 0.092161] PCI host bridge to bus 0000:00
[ 0.092312] pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
[ 0.092449] pci_bus 0000:00: root bus resource [mem 0x00000000-0xffffffff]
[ 0.092587] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 0.092747] pci 0000:00:00.0: [8086:1130] type 00 class 0x060000
[ 0.092777] pci 0000:00:00.0: reg 0x10: [mem 0xe8000000-0xebffffff pref]
[ 0.093150] pci 0000:00:01.0: [8086:1131] type 01 class 0x060400
[ 0.093416] pci 0000:00:1e.0: [8086:244e] type 01 class 0x060400
[ 0.093680] pci 0000:00:1f.0: [8086:2440] type 00 class 0x060100
[ 0.093776] pci 0000:00:1f.0: quirk: [io 0x0400-0x047f] claimed by ICH4 ACPI/GPIO/TCO
[ 0.094033] pci 0000:00:1f.0: quirk: [io 0x0480-0x04bf] claimed by ICH4 GPIO
[ 0.096502] pci 0000:00:1f.1: [8086:244b] type 00 class 0x010180
[ 0.096566] pci 0000:00:1f.1: reg 0x20: [io 0xff00-0xff0f]
[ 0.096591] pci 0000:00:1f.1: legacy IDE quirk: reg 0x10: [io 0x01f0-0x01f7]
[ 0.096738] pci 0000:00:1f.1: legacy IDE quirk: reg 0x14: [io 0x03f6]
[ 0.096875] pci 0000:00:1f.1: legacy IDE quirk: reg 0x18: [io 0x0170-0x0177]
[ 0.097012] pci 0000:00:1f.1: legacy IDE quirk: reg 0x1c: [io 0x0376]
[ 0.097372] pci 0000:00:1f.2: [8086:2442] type 00 class 0x0c0300
[ 0.097433] pci 0000:00:1f.2: reg 0x20: [io 0xd000-0xd01f]
[ 0.097662] pci 0000:00:1f.3: [8086:2443] type 00 class 0x0c0500
[ 0.097720] pci 0000:00:1f.3: reg 0x20: [io 0x0540-0x054f]
[ 0.097932] pci 0000:00:1f.4: [8086:2444] type 00 class 0x0c0300
[ 0.097991] pci 0000:00:1f.4: reg 0x20: [io 0xd400-0xd41f]
[ 0.098225] pci 0000:00:1f.5: [8086:2445] type 00 class 0x040100
[ 0.098253] pci 0000:00:1f.5: reg 0x10: [io 0xdc00-0xdcff]
[ 0.098267] pci 0000:00:1f.5: reg 0x14: [io 0xd800-0xd83f]
[ 0.098608] pci 0000:01:00.0: [102b:2527] type 00 class 0x030000
[ 0.098640] pci 0000:01:00.0: reg 0x10: [mem 0xe4000000-0xe5ffffff pref]
[ 0.098652] pci 0000:01:00.0: reg 0x14: [mem 0xef9fc000-0xef9fffff]
[ 0.098664] pci 0000:01:00.0: reg 0x18: [mem 0xef000000-0xef7fffff]
[ 0.098694] pci 0000:01:00.0: reg 0x30: [mem 0xef9c0000-0xef9dffff pref]
[ 0.100546] pci 0000:00:01.0: PCI bridge to [bus 01]
[ 0.100699] pci 0000:00:01.0: bridge window [mem 0xee900000-0xef9fffff]
[ 0.100707] pci 0000:00:01.0: bridge window [mem 0xe2600000-0xe66fffff pref]
[ 0.100834] pci 0000:02:01.0: [8086:1229] type 00 class 0x020000
[ 0.100867] pci 0000:02:01.0: reg 0x10: [mem 0xefeff000-0xefefffff]
[ 0.100881] pci 0000:02:01.0: reg 0x14: [io 0xac00-0xac3f]
[ 0.100894] pci 0000:02:01.0: reg 0x18: [mem 0xefd00000-0xefdfffff]
[ 0.100929] pci 0000:02:01.0: reg 0x30: [mem 0xfff00000-0xffffffff pref]
[ 0.100980] pci 0000:02:01.0: supports D1 D2
[ 0.100985] pci 0000:02:01.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 0.101140] pci 0000:00:1e.0: PCI bridge to [bus 02] (subtractive decode)
[ 0.101286] pci 0000:00:1e.0: bridge window [io 0xa000-0xafff]
[ 0.101295] pci 0000:00:1e.0: bridge window [mem 0xefa00000-0xefefffff]
[ 0.101303] pci 0000:00:1e.0: bridge window [mem 0xe6700000-0xe67fffff pref]
[ 0.101310] pci 0000:00:1e.0: bridge window [io 0x0000-0xffff] (subtractive decode)
[ 0.101316] pci 0000:00:1e.0: bridge window [mem 0x00000000-0xffffffff] (subtractive decode)
[ 0.101334] pci_bus 0000:00: on NUMA node 0
[ 0.105021] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 *9 10 11 12 14 15)
[ 0.105497] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 *5 6 7 9 10 11 12 14 15)
[ 0.105959] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 9 10 11 12 14 15) *0, disabled.
[ 0.106431] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 *9 10 11 12 14 15)
[ 0.106898] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 9 10 11 12 14 15) *0, disabled.
[ 0.107370] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 9 10 *11 12 14 15)
[ 0.107837] ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 9 10 11 12 14 15) *0, disabled.
[ 0.108324] ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 *9 10 11 12 14 15)
[ 0.109523] pci 0000:01:00.0: vgaarb: setting as boot VGA device
[ 0.109678] pci 0000:01:00.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none
[ 0.109928] pci 0000:01:00.0: vgaarb: bridge control possible
[ 0.110061] vgaarb: loaded
[ 0.110523] SCSI subsystem initialized
[ 0.111176] libata version 3.00 loaded.
[ 0.111478] PCI: Using ACPI for IRQ routing
[ 0.111634] PCI: pci_cache_line_size set to 32 bytes
[ 0.111692] e820: reserve RAM buffer [mem 0x0009fc00-0x0009ffff]
[ 0.111698] e820: reserve RAM buffer [mem 0x1ffe0000-0x1fffffff]
[ 0.113007] clocksource: Switched to clocksource refined-jiffies
[ 0.113489] pnp: PnP ACPI init
[ 0.114369] pnp 00:00: Plug and Play ACPI device, IDs PNP0b00 (active)
[ 0.114741] pnp 00:01: Plug and Play ACPI device, IDs PNP0303 PNP030b (active)
[ 0.115128] pnp 00:02: [dma 2]
[ 0.115525] pnp 00:02: Plug and Play ACPI device, IDs PNP0700 (active)
[ 0.116865] pnp 00:03: Plug and Play ACPI device, IDs PNP0501 (active)
[ 0.117850] pnp 00:04: Plug and Play ACPI device, IDs PNP0501 (active)
[ 0.119199] pnp 00:05: [dma 3]
[ 0.119619] pnp 00:05: Plug and Play ACPI device, IDs PNP0401 (active)
[ 0.120723] pnp 00:06: Plug and Play ACPI device, IDs PNPb02f (active)
[ 0.121592] pnp 00:07: Plug and Play ACPI device, IDs PNPb006 (active)
[ 0.122259] pnp: PnP ACPI: found 8 devices
[ 0.169656] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
[ 0.169936] clocksource: Switched to clocksource acpi_pm
[ 0.170097] pci 0000:02:01.0: can't claim BAR 6 [mem 0xfff00000-0xffffffff pref]: address conflict with Reserved [mem 0xfff80000-0xffffffff]
[ 0.170389] pci 0000:00:01.0: PCI bridge to [bus 01]
[ 0.170531] pci 0000:00:01.0: bridge window [mem 0xee900000-0xef9fffff]
[ 0.170671] pci 0000:00:01.0: bridge window [mem 0xe2600000-0xe66fffff pref]
[ 0.170931] pci 0000:02:01.0: BAR 6: assigned [mem 0xe6700000-0xe67fffff pref]
[ 0.171176] pci 0000:00:1e.0: PCI bridge to [bus 02]
[ 0.171311] pci 0000:00:1e.0: bridge window [io 0xa000-0xafff]
[ 0.171450] pci 0000:00:1e.0: bridge window [mem 0xefa00000-0xefefffff]
[ 0.171589] pci 0000:00:1e.0: bridge window [mem 0xe6700000-0xe67fffff pref]
[ 0.171842] pci_bus 0000:00: resource 4 [io 0x0000-0xffff]
[ 0.171848] pci_bus 0000:00: resource 5 [mem 0x00000000-0xffffffff]
[ 0.171854] pci_bus 0000:01: resource 1 [mem 0xee900000-0xef9fffff]
[ 0.171860] pci_bus 0000:01: resource 2 [mem 0xe2600000-0xe66fffff pref]
[ 0.171866] pci_bus 0000:02: resource 0 [io 0xa000-0xafff]
[ 0.171872] pci_bus 0000:02: resource 1 [mem 0xefa00000-0xefefffff]
[ 0.171878] pci_bus 0000:02: resource 2 [mem 0xe6700000-0xe67fffff pref]
[ 0.171883] pci_bus 0000:02: resource 4 [io 0x0000-0xffff]
[ 0.171888] pci_bus 0000:02: resource 5 [mem 0x00000000-0xffffffff]
[ 0.171888] NET: Registered protocol family 2
[ 0.171888] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.171888] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.171888] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.171888] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.171888] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.171987] NET: Registered protocol family 1
[ 0.172731] ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 9
[ 0.172872] PCI: setting IRQ 9 as level-triggered
[ 0.173274] ACPI: PCI Interrupt Link [LNKH] enabled at IRQ 9
[ 0.173529] pci 0000:01:00.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]
[ 0.173794] pci 0000:02:01.0: Firmware left e100 interrupts enabled; disabling
[ 0.174031] PCI: CLS 32 bytes, default 32
[ 0.176257] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[ 0.179295] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[ 0.179557] io scheduler noop registered
[ 0.179741] io scheduler cfq registered (default)
[ 0.180464] Serial: 8250/16550 driver, 16 ports, IRQ sharing disabled
[ 0.201299] 00:03: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[ 0.222345] 00:04: ttyS1 at I/O 0x2f8 (irq = 3, base_baud = 115200) is a 16550A
[ 0.225781] Non-volatile memory driver v1.3
[ 0.225936] Linux agpgart interface v0.103
[ 0.226155] agpgart-intel 0000:00:00.0: Intel i815 Chipset
[ 0.231696] agpgart-intel 0000:00:00.0: AGP aperture is 64M @ 0xe8000000
[ 0.232096] Hangcheck: starting hangcheck timer 0.9.1 (tick is 180 seconds, margin is 60 seconds).
[ 0.232809] Floppy drive(s): fd0 is 1.44M
[ 0.233189] ata_piix 0000:00:1f.1: version 2.13
[ 0.237903] scsi host0: ata_piix
[ 0.238492] scsi host1: ata_piix
[ 0.238753] ata1: PATA max UDMA/100 cmd 0x1f0 ctl 0x3f6 bmdma 0xff00 irq 14
[ 0.238892] ata2: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0xff08 irq 15
[ 0.239139] e100: Intel(R) PRO/100 Network Driver, 3.5.24-k2-NAPI
[ 0.239275] e100: Copyright(c) 1999-2006 Intel Corporation
[ 0.239971] ACPI: PCI Interrupt Link [LNKF] enabled at IRQ 11
[ 0.240673] PCI: setting IRQ 11 as level-triggered
[ 0.255563] FDC 0 is a post-1991 82077
[ 0.267686] e100 0000:02:01.0 eth0: addr 0xefeff000, irq 11, MAC addr 00:02:b3:09:1e:59
[ 0.268371] i8042: PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq 1
[ 0.268514] i8042: PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp
[ 0.269859] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 0.270716] mousedev: PS/2 mouse device common for all mice
[ 0.271388] rtc_cmos 00:00: RTC can wake from S4
[ 0.272314] rtc_cmos 00:00: rtc core: registered rtc_cmos as rtc0
[ 0.272502] rtc_cmos 00:00: alarms up to one month, 114 bytes nvram
[ 0.272885] hidraw: raw HID events driver (C) Jiri Kosina
[ 0.274142] NET: Registered protocol family 10
[ 0.275782] Segment Routing with IPv6
[ 0.275990] NET: Registered protocol family 17
[ 0.276471] Key type dns_resolver registered
[ 0.277125] microcode: sig=0x68a, pf=0x10, revision=0x1
[ 0.277438] microcode: Microcode Update Driver: v2.2.
[ 0.277450] Using IPI Shortcut mode
[ 0.277727] sched_clock: Marking stable (276158586, 0)->(429726569, -153567983)
[ 0.279175] Key type encrypted registered
[ 0.279730] console [netcon0] enabled
[ 0.279862] netconsole: network logging started
[ 0.280296] rtc_cmos 00:00: setting system clock to 2017-11-30 15:13:15 UTC (1512054795)
[ 0.292387] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
[ 0.404458] ata2.00: ATAPI: CDU5211, YYS2, max UDMA/33, CDB intr
[ 0.407119] ata2.00: configured for UDMA/33
[ 0.448501] ata1.00: ATA-7: ST380215A, 3.AAD, max UDMA/100
[ 0.448638] ata1.00: 156301488 sectors, multi 16: LBA48
[ 0.523353] ata1.00: configured for UDMA/100
[ 0.523807] scsi 0:0:0:0: Direct-Access ATA ST380215A D PQ: 0 ANSI: 5
[ 0.525048] sd 0:0:0:0: [sda] 156301488 512-byte logical blocks: (80.0 GB/74.5 GiB)
[ 0.525349] sd 0:0:0:0: [sda] Write Protect is off
[ 0.525485] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 0.525546] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 0.526557] scsi 1:0:0:0: CD-ROM SONY CDU5211 YYS2 PQ: 0 ANSI: 5
[ 0.594078] sda: sda1 sda2 < sda5 >
[ 0.595392] sd 0:0:0:0: [sda] Attached SCSI disk
[ 0.617455] EXT4-fs (sda1): couldn't mount as ext3 due to feature incompatibilities
[ 0.618157] EXT4-fs (sda1): couldn't mount as ext2 due to feature incompatibilities
[ 0.648202] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[ 0.648519] VFS: Mounted root (ext4 filesystem) readonly on device 259:524288.
[ 0.691192] devtmpfs: mounted
[ 0.692704] Freeing unused kernel memory: 432K
[ 0.693083] Write protecting the kernel text: 7292k
[ 0.693269] Write protecting the kernel read-only data: 1112k
[ 1.184123] tsc: Refined TSC clocksource calibration: 1003.910 MHz
[ 1.184285] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0xe7884ac595, max_idle_ns: 440795203728 ns
[ 2.210163] clocksource: Switched to clocksource tsc
[ 3.571292] tsc: Marking TSC unstable due to TSC halts in idle
[ 3.571577] TSC found unstable after boot, most likely due to broken BIOS. Use 'tsc=unstable'.
[ 3.571828] sched_clock: Marking unstable (3571496396, 78132)<-(3725142629, -153567983)
[ 3.576223] clocksource: Switched to clocksource acpi_pm
[ 3.635363] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input1
[ 3.635639] ACPI: Power Button [PWRB]
[ 3.636005] input: Sleep Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input2
[ 3.636343] ACPI: Sleep Button [SLPB]
[ 3.636632] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input3
[ 3.636880] ACPI: Power Button [PWRF]
[ 3.749183] ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 5
[ 3.749340] PCI: setting IRQ 5 as level-triggered
[ 3.749378] i801_smbus 0000:00:1f.3: SMBus using polling
[ 3.832593] intel_rng: FWH not detected
[ 3.845830] ACPI: bus type USB registered
[ 3.846066] usbcore: registered new interface driver usbfs
[ 3.846232] usbcore: registered new interface driver hub
[ 3.856297] usbcore: registered new device driver usb
[ 3.871548] gameport gameport0: NS558 PnP Gameport is pnp00:06/gameport0, io 0x201, speed 988kHz
[ 3.877041] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 3.887123] uhci_hcd: USB Universal Host Controller Interface driver
[ 3.887531] uhci_hcd 0000:00:1f.2: UHCI Host Controller
[ 3.896950] uhci_hcd 0000:00:1f.2: new USB bus registered, assigned bus number 1
[ 3.897272] uhci_hcd 0000:00:1f.2: irq 9, io base 0x0000d000
[ 3.900333] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
[ 3.900502] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.900762] usb usb1: Product: UHCI Host Controller
[ 3.904257] usb usb1: Manufacturer: Linux 4.14.0 uhci_hcd
[ 3.904411] usb usb1: SerialNumber: 0000:00:1f.2
[ 3.907330] hub 1-0:1.0: USB hub found
[ 3.907502] hub 1-0:1.0: 2 ports detected
[ 3.908311] uhci_hcd 0000:00:1f.4: UHCI Host Controller
[ 3.908476] uhci_hcd 0000:00:1f.4: new USB bus registered, assigned bus number 2
[ 3.908768] uhci_hcd 0000:00:1f.4: irq 9, io base 0x0000d400
[ 3.912322] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[ 3.912477] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.912722] usb usb2: Product: UHCI Host Controller
[ 3.912854] usb usb2: Manufacturer: Linux 4.14.0 uhci_hcd
[ 3.912988] usb usb2: SerialNumber: 0000:00:1f.4
[ 3.913533] hub 2-0:1.0: USB hub found
[ 3.914125] hub 2-0:1.0: 2 ports detected
[ 3.954612] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 3.955207] scsi 1:0:0:0: Attached scsi generic sg1 type 5
[ 3.961558] IT8712 SuperIO detected.
[ 3.961932] parport_pc 00:05: reported by Plug and Play ACPI
[ 3.962196] parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT,ECP,DMA]
[ 4.020542] sr 1:0:0:0: [sr0] scsi3-mmc drive: 52x/52x cd/rw xa/form2 cdda tray
[ 4.020810] cdrom: Uniform CD-ROM driver Revision: 3.20
[ 4.021343] sr 1:0:0:0: Attached scsi CD-ROM sr0
[ 4.026326] thermal LNXTHERM:00: registered as thermal_zone0
[ 4.026478] ACPI: Thermal Zone [THRM] (42 C)
[ 4.076547] input: PC Speaker as /devices/platform/pcspkr/input/input4
[ 4.091434] Error: Driver 'pcspkr' is already registered, aborting...
[ 4.404160] snd_intel8x0 0000:00:1f.5: intel8x0_measure_ac97_clock: measured 57998 usecs (2786 samples)
[ 4.404428] snd_intel8x0 0000:00:1f.5: clocking to 48000
[ 4.464318] random: crng init done
[ 5.988032] Adding 1005564k swap on /dev/sda5. Priority:-2 extents:1 across:1005564k
[ 6.107475] EXT4-fs (sda1): re-mounted. Opts: (null)
[ 6.347980] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[ 7.426761] loop: module loaded
[ 7.501739] it87: Found IT8712F chip at 0x290, revision 4
[ 7.501918] ACPI Warning: SystemIO range 0x0000000000000295-0x0000000000000296 conflicts with OpRegion 0x0000000000000295-0x0000000000000296 (\HWMI) (20170728/utaddress-247)
[ 7.502277] ACPI Warning: SystemIO range 0x0000000000000295-0x0000000000000296 conflicts with OpRegion 0x0000000000000295-0x0000000000000296 (\_TZ.I712) (20170728/utaddress-247)
[ 7.502634] ACPI Warning: SystemIO range 0x0000000000000295-0x0000000000000296 conflicts with OpRegion 0x0000000000000295-0x0000000000000296 (\_SB.PCI0.SBRG.HWMT) (20170728/utaddress-247)
[ 7.503000] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[ 9.300289] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 9.304421] e100 0000:02:01.0 eth0: NIC Link is Up 100 Mbps Full Duplex
[ 9.304747] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready


--
Meelis Roos ([email protected])


2018-01-10 11:52:32

by Thomas Gleixner

[permalink] [raw]
Subject: Re: lapic-related boot crash in 4.15-rc1

On Wed, 10 Jan 2018, Meelis Roos wrote:

> On 3 of my test computers, boot hangs with 4.15 git kernels. So far I
> have traced it down to 4.14.0 being good and 4.15-rc1 being bad (bisect
> is slow because the computers are somwehat remote). Also because of
> trying to find when it started, I have not tries newer than rc5
> kernels.

Please do so. We have fixes post rc5 in that area.

Thanks,

tglx

2018-01-10 15:07:48

by Meelis Roos

[permalink] [raw]
Subject: Re: lapic-related boot crash in 4.15-rc1

> > On 3 of my test computers, boot hangs with 4.15 git kernels. So far I
> > have traced it down to 4.14.0 being good and 4.15-rc1 being bad (bisect
> > is slow because the computers are somwehat remote). Also because of
> > trying to find when it started, I have not tries newer than rc5
> > kernels.
>
> Please do so. We have fixes post rc5 in that area.

P4 was the quickest to rebuild the kernel and it is still hanging like
before with todays 4.15-rc7-00102-gcf1fb158230e.

--
Meelis Roos ([email protected])

2018-01-10 15:10:09

by Thomas Gleixner

[permalink] [raw]
Subject: Re: lapic-related boot crash in 4.15-rc1

On Wed, 10 Jan 2018, Meelis Roos wrote:

> > > On 3 of my test computers, boot hangs with 4.15 git kernels. So far I
> > > have traced it down to 4.14.0 being good and 4.15-rc1 being bad (bisect
> > > is slow because the computers are somwehat remote). Also because of
> > > trying to find when it started, I have not tries newer than rc5
> > > kernels.
> >
> > Please do so. We have fixes post rc5 in that area.
>
> P4 was the quickest to rebuild the kernel and it is still hanging like
> before with todays 4.15-rc7-00102-gcf1fb158230e.

I try to find a time slot for this ...

2018-01-10 15:17:39

by Meelis Roos

[permalink] [raw]
Subject: Re: lapic-related boot crash in 4.15-rc1

> > P4 was the quickest to rebuild the kernel and it is still hanging like
> > before with todays 4.15-rc7-00102-gcf1fb158230e.
>
> I try to find a time slot for this ...

And I will try to bisect.

--
Meelis Roos ([email protected])

2018-01-10 18:34:24

by Thomas Gleixner

[permalink] [raw]
Subject: Re: lapic-related boot crash in 4.15-rc1

On Wed, 10 Jan 2018, Meelis Roos wrote:
> On 3 of my test computers, boot hangs with 4.15 git kernels. So far I
> have traced it down to 4.14.0 being good and 4.15-rc1 being bad (bisect
> is slow because the computers are somwehat remote). Also because of
> trying to find when it started, I have not tries newer than rc5
> kernels.
>
> The hang happens after Performance Events feature table has been printed
> but before APIC initialization messages normally appear ("Enabling APIC
> mode: Flat. Using 0 I/O APICs" or something like that).
>
> It happens on at least 3 distinct computers:
> * AMD Athlon with AMD 750 chipset
> * P3 1 GHz with i815 chipset
> * P4 1.7 GHz with SiS chipset
>
> They all have have "lapic" parameter because they were telling me that
> lapic has been disabled by BIOS and I re-enabled it with the parameter
> to get apic timer interrupts. This worked up until 4.14.
>
> None of the computers have IO-APICs.

Oh. Then it possibly falls into Dou's realm.

Dou?

Thanks,

tglx

2018-01-11 03:10:11

by Dou Liyang

[permalink] [raw]
Subject: Re: lapic-related boot crash in 4.15-rc1

Hi Thomas, Meelis

At 01/11/2018 02:34 AM, Thomas Gleixner wrote:
> On Wed, 10 Jan 2018, Meelis Roos wrote:
>> On 3 of my test computers, boot hangs with 4.15 git kernels. So far I
>> have traced it down to 4.14.0 being good and 4.15-rc1 being bad (bisect
>> is slow because the computers are somwehat remote). Also because of
>> trying to find when it started, I have not tries newer than rc5
>> kernels.
>>
>> The hang happens after Performance Events feature table has been printed
>> but before APIC initialization messages normally appear ("Enabling APIC
>> mode: Flat. Using 0 I/O APICs" or something like that).
>>
>> It happens on at least 3 distinct computers:
>> * AMD Athlon with AMD 750 chipset
>> * P3 1 GHz with i815 chipset
>> * P4 1.7 GHz with SiS chipset
>>
>> They all have have "lapic" parameter because they were telling me that
>> lapic has been disabled by BIOS and I re-enabled it with the parameter
>> to get apic timer interrupts. This worked up until 4.14.
>>
>> None of the computers have IO-APICs.
>
> Oh. Then it possibly falls into Dou's realm.
>
> Dou?
>

Ah, This problem looks like what Ville reported[1].

Revert the commit b371ae0d4a19 ("x86/apic: Remove init_bsp_APIC()") may
make it work again.

But, I don't know the true reason.

In Linux v4.15-rc1+, apic->setup_apic_routing() has been called earlier,
So, I guess kernel may hang in some early initcall fuctions. we can add
"initcall_debug" option in the kernel command line for tracing initcalls
as they are executed.

[1] https://marc.info/?l=linux-kernel&m=151188084018443&w=2

Thanks,
dou.
--------------------------->8-----------------------------------

From: Ville Syrjälä <[email protected]>

This reverts commit b371ae0d4a194b178817b0edfb6a7395c7aec37a.

Causes my P3 UP machine to hang at boot with "lapic".

Cc: Dou Liyang <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: Ingo Molnar <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Signed-off-by: Ville Syrjälä <[email protected]>
---
arch/x86/include/asm/apic.h | 1 +
arch/x86/kernel/apic/apic.c | 49
+++++++++++++++++++++++++++++++++++++++++++++
arch/x86/kernel/irqinit.c | 3 +++
3 files changed, 53 insertions(+)

diff --git a/arch/x86/include/asm/apic.h b/arch/x86/include/asm/apic.h
index a9e57f08bfa6..98722773391d 100644
--- a/arch/x86/include/asm/apic.h
+++ b/arch/x86/include/asm/apic.h
@@ -136,6 +136,7 @@ extern void disconnect_bsp_APIC(int virt_wire_setup);
extern void disable_local_APIC(void);
extern void lapic_shutdown(void);
extern void sync_Arb_IDs(void);
+extern void init_bsp_APIC(void);
extern void apic_intr_mode_init(void);
extern void setup_local_APIC(void);
extern void init_apic_mappings(void);
diff --git a/arch/x86/kernel/apic/apic.c b/arch/x86/kernel/apic/apic.c
index 6e272f3ea984..cec9aaea7f9d 100644
--- a/arch/x86/kernel/apic/apic.c
+++ b/arch/x86/kernel/apic/apic.c
@@ -1286,6 +1286,55 @@ static int __init apic_intr_mode_select(void)
return APIC_SYMMETRIC_IO;
}

+/*
+ * An initial setup of the virtual wire mode.
+ */
+void __init init_bsp_APIC(void)
+{
+ unsigned int value;
+
+ /*
+ * Don't do the setup now if we have a SMP BIOS as the
+ * through-I/O-APIC virtual wire mode might be active.
+ */
+ if (smp_found_config || !boot_cpu_has(X86_FEATURE_APIC))
+ return;
+
+ /*
+ * Do not trust the local APIC being empty at bootup.
+ */
+ clear_local_APIC();
+
+ /*
+ * Enable APIC.
+ */
+ value = apic_read(APIC_SPIV);
+ value &= ~APIC_VECTOR_MASK;
+ value |= APIC_SPIV_APIC_ENABLED;
+
+#ifdef CONFIG_X86_32
+ /* This bit is reserved on P4/Xeon and should be cleared */
+ if ((boot_cpu_data.x86_vendor == X86_VENDOR_INTEL) &&
+ (boot_cpu_data.x86 == 15))
+ value &= ~APIC_SPIV_FOCUS_DISABLED;
+ else
+#endif
+ value |= APIC_SPIV_FOCUS_DISABLED;
+ value |= SPURIOUS_APIC_VECTOR;
+ apic_write(APIC_SPIV, value);
+
+ /*
+ * Set up the virtual wire mode.
+ */
+ apic_write(APIC_LVT0, APIC_DM_EXTINT);
+ value = APIC_DM_NMI;
+ if (!lapic_is_integrated()) /* 82489DX */
+ value |= APIC_LVT_LEVEL_TRIGGER;
+ if (apic_extnmi == APIC_EXTNMI_NONE)
+ value |= APIC_LVT_MASKED;
+ apic_write(APIC_LVT1, value);
+}
+
/* Init the interrupt delivery mode for the BSP */
void __init apic_intr_mode_init(void)
{
diff --git a/arch/x86/kernel/irqinit.c b/arch/x86/kernel/irqinit.c
index 8da3e909e967..a539410c4ea9 100644
--- a/arch/x86/kernel/irqinit.c
+++ b/arch/x86/kernel/irqinit.c
@@ -61,6 +61,9 @@ void __init init_ISA_irqs(void)
struct irq_chip *chip = legacy_pic->chip;
int i;

+#if defined(CONFIG_X86_64) || defined(CONFIG_X86_LOCAL_APIC)
+ init_bsp_APIC();
+#endif
legacy_pic->init(0);

for (i = 0; i < nr_legacy_irqs(); i++)
--
> Thanks,
>
> tglx
>
>
>


2018-01-15 15:22:57

by Meelis Roos

[permalink] [raw]
Subject: Re: lapic-related boot crash in 4.15-rc1

On Wed, 10 Jan 2018, Thomas Gleixner wrote:

> On Wed, 10 Jan 2018, Meelis Roos wrote:
>
> > > > On 3 of my test computers, boot hangs with 4.15 git kernels. So far I
> > > > have traced it down to 4.14.0 being good and 4.15-rc1 being bad (bisect
> > > > is slow because the computers are somwehat remote). Also because of
> > > > trying to find when it started, I have not tries newer than rc5
> > > > kernels.
> > >
> > > Please do so. We have fixes post rc5 in that area.
> >
> > P4 was the quickest to rebuild the kernel and it is still hanging like
> > before with todays 4.15-rc7-00102-gcf1fb158230e.

So far I have bisected it to 4f45ed9f848f good, ae41a2a40ed4 bad. Will
continue tomorrow.

1be2172e96e3 bad
2cd83ba5bede bad
449fcf3ab0ba bad
43ff2f4db9d0 good
313144c1bcd6 good
b18d62891aaf bad
b24591e2fcf8 good
0696d059f23c bad
023a611748fd bad
ae41a2a40ed4 bad
4f45ed9f848f good

--
Meelis Roos ([email protected])

2018-01-15 16:21:27

by Thomas Gleixner

[permalink] [raw]
Subject: Re: lapic-related boot crash in 4.15-rc1

On Mon, 15 Jan 2018, Meelis Roos wrote:

> On Wed, 10 Jan 2018, Thomas Gleixner wrote:
>
> > On Wed, 10 Jan 2018, Meelis Roos wrote:
> >
> > > > > On 3 of my test computers, boot hangs with 4.15 git kernels. So far I
> > > > > have traced it down to 4.14.0 being good and 4.15-rc1 being bad (bisect
> > > > > is slow because the computers are somwehat remote). Also because of
> > > > > trying to find when it started, I have not tries newer than rc5
> > > > > kernels.
> > > >
> > > > Please do so. We have fixes post rc5 in that area.
> > >
> > > P4 was the quickest to rebuild the kernel and it is still hanging like
> > > before with todays 4.15-rc7-00102-gcf1fb158230e.
>
> So far I have bisected it to 4f45ed9f848f good, ae41a2a40ed4 bad. Will
> continue tomorrow.
>
> 1be2172e96e3 bad
> 2cd83ba5bede bad
> 449fcf3ab0ba bad
> 43ff2f4db9d0 good
> 313144c1bcd6 good
> b18d62891aaf bad
> b24591e2fcf8 good
> 0696d059f23c bad
> 023a611748fd bad
> ae41a2a40ed4 bad
> 4f45ed9f848f good

I've reverted the commit which Dou pointed out in rc8. Can you please confirm that
this fixes the issue for you?

Thanks,

tglx

2018-01-16 05:37:28

by Meelis Roos

[permalink] [raw]
Subject: Re: lapic-related boot crash in 4.15-rc1

> I've reverted the commit which Dou pointed out in rc8. Can you please confirm that
> this fixes the issue for you?

Tried rc8 on the P3, it still hangs.

--
Meelis Roos ([email protected])

2018-01-16 05:42:38

by Dou Liyang

[permalink] [raw]
Subject: Re: lapic-related boot crash in 4.15-rc1

Hi Thomas,

At 01/16/2018 12:21 AM, Thomas Gleixner wrote:
> On Mon, 15 Jan 2018, Meelis Roos wrote:
>
>> On Wed, 10 Jan 2018, Thomas Gleixner wrote:
>>
>>> On Wed, 10 Jan 2018, Meelis Roos wrote:
>>>
>>>>>> On 3 of my test computers, boot hangs with 4.15 git kernels. So far I
>>>>>> have traced it down to 4.14.0 being good and 4.15-rc1 being bad (bisect
>>>>>> is slow because the computers are somwehat remote). Also because of
>>>>>> trying to find when it started, I have not tries newer than rc5
>>>>>> kernels.
>>>>>
>>>>> Please do so. We have fixes post rc5 in that area.
>>>>
>>>> P4 was the quickest to rebuild the kernel and it is still hanging like
>>>> before with todays 4.15-rc7-00102-gcf1fb158230e.
>>
>> So far I have bisected it to 4f45ed9f848f good, ae41a2a40ed4 bad. Will
>> continue tomorrow.
>>
>> 1be2172e96e3 bad
>> 2cd83ba5bede bad
>> 449fcf3ab0ba bad
>> 43ff2f4db9d0 good
>> 313144c1bcd6 good
>> b18d62891aaf bad
>> b24591e2fcf8 good
>> 0696d059f23c bad
>> 023a611748fd bad
>> ae41a2a40ed4 bad
>> 4f45ed9f848f good
>
> I've reverted the commit which Dou pointed out in rc8. Can you please confirm that
> this fixes the issue for you?
>

Due to my email server error, it seems Meelis didn't receive my email.
Can you FWD this patch to him?

Thanks,
dou.
--------------------------->8-----------------------------------
From: Ville Syrjälä <[email protected]>

This reverts commit b371ae0d4a194b178817b0edfb6a7395c7aec37a.

Causes my P3 UP machine to hang at boot with "lapic".

Cc: Dou Liyang <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: Ingo Molnar <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Signed-off-by: Ville Syrjälä <[email protected]>
---
arch/x86/include/asm/apic.h | 1 +
arch/x86/kernel/apic/apic.c | 49
+++++++++++++++++++++++++++++++++++++++++++++
arch/x86/kernel/irqinit.c | 3 +++
3 files changed, 53 insertions(+)

diff --git a/arch/x86/include/asm/apic.h b/arch/x86/include/asm/apic.h
index a9e57f08bfa6..98722773391d 100644
--- a/arch/x86/include/asm/apic.h
+++ b/arch/x86/include/asm/apic.h
@@ -136,6 +136,7 @@ extern void disconnect_bsp_APIC(int virt_wire_setup);
extern void disable_local_APIC(void);
extern void lapic_shutdown(void);
extern void sync_Arb_IDs(void);
+extern void init_bsp_APIC(void);
extern void apic_intr_mode_init(void);
extern void setup_local_APIC(void);
extern void init_apic_mappings(void);
diff --git a/arch/x86/kernel/apic/apic.c b/arch/x86/kernel/apic/apic.c
index 6e272f3ea984..cec9aaea7f9d 100644
--- a/arch/x86/kernel/apic/apic.c
+++ b/arch/x86/kernel/apic/apic.c
@@ -1286,6 +1286,55 @@ static int __init apic_intr_mode_select(void)
return APIC_SYMMETRIC_IO;
}

+/*
+ * An initial setup of the virtual wire mode.
+ */
+void __init init_bsp_APIC(void)
+{
+ unsigned int value;
+
+ /*
+ * Don't do the setup now if we have a SMP BIOS as the
+ * through-I/O-APIC virtual wire mode might be active.
+ */
+ if (smp_found_config || !boot_cpu_has(X86_FEATURE_APIC))
+ return;
+
+ /*
+ * Do not trust the local APIC being empty at bootup.
+ */
+ clear_local_APIC();
+
+ /*
+ * Enable APIC.
+ */
+ value = apic_read(APIC_SPIV);
+ value &= ~APIC_VECTOR_MASK;
+ value |= APIC_SPIV_APIC_ENABLED;
+
+#ifdef CONFIG_X86_32
+ /* This bit is reserved on P4/Xeon and should be cleared */
+ if ((boot_cpu_data.x86_vendor == X86_VENDOR_INTEL) &&
+ (boot_cpu_data.x86 == 15))
+ value &= ~APIC_SPIV_FOCUS_DISABLED;
+ else
+#endif
+ value |= APIC_SPIV_FOCUS_DISABLED;
+ value |= SPURIOUS_APIC_VECTOR;
+ apic_write(APIC_SPIV, value);
+
+ /*
+ * Set up the virtual wire mode.
+ */
+ apic_write(APIC_LVT0, APIC_DM_EXTINT);
+ value = APIC_DM_NMI;
+ if (!lapic_is_integrated()) /* 82489DX */
+ value |= APIC_LVT_LEVEL_TRIGGER;
+ if (apic_extnmi == APIC_EXTNMI_NONE)
+ value |= APIC_LVT_MASKED;
+ apic_write(APIC_LVT1, value);
+}
+
/* Init the interrupt delivery mode for the BSP */
void __init apic_intr_mode_init(void)
{
diff --git a/arch/x86/kernel/irqinit.c b/arch/x86/kernel/irqinit.c
index 8da3e909e967..a539410c4ea9 100644
--- a/arch/x86/kernel/irqinit.c
+++ b/arch/x86/kernel/irqinit.c
@@ -61,6 +61,9 @@ void __init init_ISA_irqs(void)
struct irq_chip *chip = legacy_pic->chip;
int i;

+#if defined(CONFIG_X86_64) || defined(CONFIG_X86_LOCAL_APIC)
+ init_bsp_APIC();
+#endif
legacy_pic->init(0);

for (i = 0; i < nr_legacy_irqs(); i++)
---
> Thanks,
>
> tglx
>
>
>


2018-01-16 10:13:17

by Thomas Gleixner

[permalink] [raw]
Subject: Re: lapic-related boot crash in 4.15-rc1

On Tue, 16 Jan 2018, Meelis Roos wrote:

> > I've reverted the commit which Dou pointed out in rc8. Can you please confirm that
> > this fixes the issue for you?
>
> Tried rc8 on the P3, it still hangs.

Bah. I'm an idiot. I queued the revert in

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/urgent

and my melted down brain tricked me to assume it's already in Linus tree
and therefor rc8. You can simply pull that branch over Linus tree to test
it.

Thanks,

tglx

2018-01-16 12:35:32

by Meelis Roos

[permalink] [raw]
Subject: Re: lapic-related boot crash in 4.15-rc1

> I've reverted the commit which Dou pointed out in rc8. Can you please confirm that
> this fixes the issue for you?

I am compiling the x86/urgent pull that you suggested.

Meanwhile the bisect finished and it came to the exact same commit by
Dou Liyang <[email protected]> that he sent me for revert test.

Reverting this patch worked on 2 of the machines, 3rd one is compiling.

--
Meelis Roos ([email protected])

2018-01-16 15:04:06

by Thomas Gleixner

[permalink] [raw]
Subject: Re: lapic-related boot crash in 4.15-rc1

On Tue, 16 Jan 2018, Meelis Roos wrote:

> > I've reverted the commit which Dou pointed out in rc8. Can you please confirm that
> > this fixes the issue for you?
>
> I am compiling the x86/urgent pull that you suggested.
>
> Meanwhile the bisect finished and it came to the exact same commit by
> Dou Liyang <[email protected]> that he sent me for revert test.
>
> Reverting this patch worked on 2 of the machines, 3rd one is compiling.

Thanks for digging through all this!

2018-01-16 15:34:53

by Meelis Roos

[permalink] [raw]
Subject: Re: lapic-related boot crash in 4.15-rc1

> I am compiling the x86/urgent pull that you suggested.

And it works.

--
Meelis Roos ([email protected])