kernel-hardening.lists.openwall.com archive mirror
 help / color / mirror / Atom feed
From: Daniel Axtens <dja@axtens.net>
To: Jason Yan <yanaijie@huawei.com>,
	mpe@ellerman.id.au, linuxppc-dev@lists.ozlabs.org,
	diana.craciun@nxp.com, christophe.leroy@c-s.fr,
	benh@kernel.crashing.org, paulus@samba.org, npiggin@gmail.com,
	keescook@chromium.org, kernel-hardening@lists.openwall.com,
	oss@buserror.net
Cc: linux-kernel@vger.kernel.org, zhaohongjiang@huawei.com
Subject: Re: [PATCH v5 0/6] implement KASLR for powerpc/fsl_booke/64
Date: Mon, 27 Apr 2020 23:34:19 +1000	[thread overview]
Message-ID: <87zhaxrr1g.fsf@dja-thinkpad.axtens.net> (raw)
In-Reply-To: <7362ac94-8f3a-1eed-4445-10772eebea38@huawei.com>

[-- Attachment #1: Type: text/plain, Size: 157 bytes --]

Hi Jason,

> Thanks for the test. Can you send me the full log which may contain the 
> system info such as the following:

It's attached.

Regards,
Daniel


[-- Attachment #2: fail-log --]
[-- Type: application/octet-stream, Size: 40438 bytes --]

[    0.000000] KASLR: No safe seed for randomizing the kernel base.
[    0.000000] MMU: Supported page sizes
[    0.000000]          4 KB as direct
[    0.000000]       2048 KB as direct & indirect
[    0.000000]       4096 KB as direct
[    0.000000]      16384 KB as direct
[    0.000000]      65536 KB as direct
[    0.000000]     262144 KB as direct
[    0.000000]    1048576 KB as direct
[    0.000000] MMU: Book3E HW tablewalk enabled
[    0.000000] Linux version 5.7.0-rc2-00865-gf55c3370c485 (dja@dja-thinkpad) (gcc version 9.2.1 20191008 (Ubuntu 9.2.1-9ubuntu1), GNU ld (GNU Binutils for Ubuntu) 2.33) #326 SMP Mon Apr 27 23:26:22 AEST 2020
[    0.000000] Argh, can't find dcache properties !
[    0.000000] Argh, can't find icache properties !
[    0.000000] Using CoreNet Generic machine description
[    0.000000] Found legacy serial port 0 for /soc@ffe000000/serial@11c500
[    0.000000]   mem=ffe11c500, taddr=ffe11c500, irq=0, clk=366666663, speed=0
[    0.000000] Found legacy serial port 1 for /soc@ffe000000/serial@11c600
[    0.000000]   mem=ffe11c600, taddr=ffe11c600, irq=0, clk=366666663, speed=0
[    0.000000] Found legacy serial port 2 for /soc@ffe000000/serial@11d500
[    0.000000]   mem=ffe11d500, taddr=ffe11d500, irq=0, clk=366666663, speed=0
[    0.000000] Found legacy serial port 3 for /soc@ffe000000/serial@11d600
[    0.000000]   mem=ffe11d600, taddr=ffe11d600, irq=0, clk=366666663, speed=0
[    0.000000] ioremap() called early from .find_legacy_serial_ports+0x6d0/0x7c0. Use early_ioremap() instead
[    0.000000] printk: bootconsole [udbg0] enabled
[    0.000000] CPU maps initialized for 2 threads per core
[    0.000000]  (thread shift is 1)
[    0.000000] Allocated 1984 bytes for 24 pacas
[    0.000000] -----------------------------------------------------
[    0.000000] phys_mem_size     = 0x180000000
[    0.000000] dcache_bsize      = 0x40
[    0.000000] icache_bsize      = 0x40
[    0.000000] cpu_features      = 0x00000003009003b6
[    0.000000]   possible        = 0x00000003009003b6
[    0.000000]   always          = 0x00000003008003b4
[    0.000000] cpu_user_features = 0xdc008000 0x08000000
[    0.000000] mmu_features      = 0x000a0010
[    0.000000] firmware_features = 0x0000000000000000
[    0.000000] physical_start    = 0x10080000
[    0.000000] -----------------------------------------------------
[    0.000000] CoreNet Generic board
[    0.000000] barrier-nospec: using isync; sync as speculation barrier
[    0.000000] barrier-nospec: patched 395 locations
[    0.000000] Top of RAM: 0x180000000, Total RAM: 0x180000000
[    0.000000] Memory hole size: 0MB
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000000000-0x000000007fffffff]
[    0.000000]   Normal   [mem 0x0000000080000000-0x000000017fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000017fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000017fffffff]
[    0.000000] On node 0 totalpages: 1572864
[    0.000000]   DMA zone: 8192 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 524288 pages, LIFO batch:63
[    0.000000]   Normal zone: 16384 pages used for memmap
[    0.000000]   Normal zone: 1048576 pages, LIFO batch:63
[    0.000000] MMU: Allocated 2112 bytes of context maps for 255 contexts
[    0.000000] percpu: Embedded 32 pages/cpu s91736 r0 d39336 u131072
[    0.000000] pcpu-alloc: s91736 r0 d39336 u131072 alloc=1*1048576
[    0.000000] pcpu-alloc: [0] 00 01 02 03 04 05 06 07 [0] 08 09 10 11 12 13 14 15 
[    0.000000] pcpu-alloc: [0] 16 17 18 19 20 21 22 23 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1548288
[    0.000000] Kernel command line: root=/dev/nfs rw nfsroot=10.1.2.1:/srv/sid-ppc64 ip=10.1.2.2:10.1.2.1:10.1.1.1:255.255.0.0:t4240rdb:eth0:off console=ttyS0,115200
[    0.000000] printk: log_buf_len individual max cpu contribution: 16384 bytes
[    0.000000] printk: log_buf_len total cpu_extra contributions: 376832 bytes
[    0.000000] printk: log_buf_len min size: 131072 bytes
[    0.000000] printk: log_buf_len: 524288 bytes
[    0.000000] printk: early log buf free: 126824(96%)
[    0.000000] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
[    0.000000] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 6004108K/6291456K available (10468K kernel code, 1988K rwdata, 3396K rodata, 4112K init, 355K bss, 287348K reserved, 0K cma-reserved)
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu: 	RCU event tracing is enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] NR_IRQS: 512, nr_irqs: 512, preallocated irqs: 16
[    0.000000] mpic: Setting up MPIC " OpenPIC  " version 1.2 at ffe040000, max 24 CPUs
[    0.000000] mpic: ISU size: 512, shift: 9, mask: 1ff
[    0.000000] mpic: Initializing for 512 sources
[    0.000000] random: get_random_u64 called from .start_kernel+0x734/0x964 with crng_init=0
[    0.000000] time_init: decrementer frequency = 45.833333 MHz
[    0.000000] time_init: processor frequency   = 1666.666650 MHz
[    0.000003] clocksource: timebase: mask: 0xffffffffffffffff max_cycles: 0xa9210e89c, max_idle_ns: 440795203878 ns
[    0.008944] clocksource: timebase mult[15d17460] shift[24] registered
[    0.014079] clockevent: decrementer mult[bbbbbba] shift[32] cpu[0]
[    0.018750] Console: colour dummy device 80x25
[    0.021832] pid_max: default: 32768 minimum: 301
[    0.025363] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.031553] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.039224] e6500 family performance monitor hardware support registered
[    0.044587] rcu: Hierarchical SRCU implementation.
[    0.048540] smp: Bringing up secondary CPUs ...
[    4.961490] Processor 2 is stuck.
[    9.872983] Processor 3 is stuck.
[   14.784302] Processor 4 is stuck.
[   19.695729] Processor 5 is stuck.
[   24.607059] Processor 6 is stuck.
[   29.518496] Processor 7 is stuck.
[   34.429831] Processor 8 is stuck.
[   39.341233] Processor 9 is stuck.
[   44.252586] Processor 10 is stuck.
[   49.164063] Processor 11 is stuck.
[   54.075512] Processor 12 is stuck.
[   58.986907] Processor 13 is stuck.
[   63.898321] Processor 14 is stuck.
[   68.809721] Processor 15 is stuck.
[   73.721128] Processor 16 is stuck.
[   78.632517] Processor 17 is stuck.
[   83.543916] Processor 18 is stuck.
[   88.455324] Processor 19 is stuck.
[   93.366712] Processor 20 is stuck.
[   98.278111] Processor 21 is stuck.
[  103.189490] Processor 22 is stuck.
[  108.100890] Processor 23 is stuck.
[  108.102924] smp: Brought up 1 node, 2 CPUs
[  108.105671] Using standard scheduler topology
[  108.109270] devtmpfs: initialized
[  108.118401] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[  108.126769] futex hash table entries: 8192 (order: 7, 524288 bytes, linear)
[  108.132956] NET: Registered protocol family 16
[  108.136218] audit: initializing netlink subsys (disabled)
[  108.140280] audit: type=2000 audit(108.036:1): state=initialized audit_enabled=0 res=1
[  108.166744] Machine: fsl,T4240RDB
[  108.168666] SoC family: QorIQ T4240
[  108.170832] SoC ID: svr:0x82480020, Revision: 2.0
[  108.177249] OF: Can't handle multiple dma-ranges with different offsets on node(/pcie@ffe240000)
[  108.184647] OF: Can't handle multiple dma-ranges with different offsets on node(/pcie@ffe240000)
[  108.192110] fsl-pci ffe240000.pcie: Invalid size 0xfffff9 for dma-range
[  108.197445] Found FSL PCI host bridge at 0x0000000ffe240000. Firmware bus number: 0->1
[  108.204005] PCI host bridge /pcie@ffe240000  ranges:
[  108.207652]  MEM 0x0000000c00000000..0x0000000c1fffffff -> 0x00000000e0000000 
[  108.213558]   IO 0x0000000ff8000000..0x0000000ff800ffff -> 0x0000000000000000
[  108.219436] /pcie@ffe240000: PCICSRBAR @ 0xdf000007
[  108.222930] setup_pci_atmu: end of DRAM 180000000
[  108.226328] /pcie@ffe240000: Setup 64-bit PCI DMA window
[  108.230313] /pcie@ffe240000: DMA window size is 0xdf000007
[  108.234723] OF: Can't handle multiple dma-ranges with different offsets on node(/pcie@ffe260000)
[  108.242117] OF: Can't handle multiple dma-ranges with different offsets on node(/pcie@ffe260000)
[  108.249582] fsl-pci ffe260000.pcie: Invalid size 0xfffff9 for dma-range
[  108.254908] Found FSL PCI host bridge at 0x0000000ffe260000. Firmware bus number: 0->0
[  108.261479] PCI host bridge /pcie@ffe260000  ranges:
[  108.265126]  MEM 0x0000000c40000000..0x0000000c5fffffff -> 0x00000000e0000000 
[  108.271031]   IO 0x0000000ff8020000..0x0000000ff802ffff -> 0x0000000000000000
[  108.276867] /pcie@ffe260000: PCICSRBAR @ 0xdf000007
[  108.280404] setup_pci_atmu: end of DRAM 180000000
[  108.283804] /pcie@ffe260000: Setup 64-bit PCI DMA window
[  108.287786] /pcie@ffe260000: DMA window size is 0xdf000007
[  108.292195] OF: Can't handle multiple dma-ranges with different offsets on node(/pcie@ffe270000)
[  108.299589] OF: Can't handle multiple dma-ranges with different offsets on node(/pcie@ffe270000)
[  108.307053] fsl-pci ffe270000.pcie: Invalid size 0xfffff9 for dma-range
[  108.312381] Found FSL PCI host bridge at 0x0000000ffe270000. Firmware bus number: 0->0
[  108.318950] PCI host bridge /pcie@ffe270000  ranges:
[  108.322597]  MEM 0x0000000c60000000..0x0000000c7fffffff -> 0x00000000e0000000 
[  108.328503]   IO 0x0000000ff8030000..0x0000000ff803ffff -> 0x0000000000000000
[  108.334339] /pcie@ffe270000: PCICSRBAR @ 0xdf000007
[  108.337875] setup_pci_atmu: end of DRAM 180000000
[  108.341273] /pcie@ffe270000: Setup 64-bit PCI DMA window
[  108.345258] /pcie@ffe270000: DMA window size is 0xdf000007
[  108.351988] platform ff6000000.qman-portal: Adding to iommu group 0
[  108.356886] platform ff6004000.qman-portal: Adding to iommu group 1
[  108.361828] platform ff6008000.qman-portal: Adding to iommu group 2
[  108.366779] platform ff600c000.qman-portal: Adding to iommu group 3
[  108.371727] platform ff6010000.qman-portal: Adding to iommu group 4
[  108.376675] platform ff6014000.qman-portal: Adding to iommu group 5
[  108.381624] platform ff6018000.qman-portal: Adding to iommu group 6
[  108.386577] platform ff601c000.qman-portal: Adding to iommu group 7
[  108.391527] platform ff6020000.qman-portal: Adding to iommu group 8
[  108.396474] platform ff6024000.qman-portal: Adding to iommu group 9
[  108.401424] platform ff6028000.qman-portal: Adding to iommu group 10
[  108.406460] platform ff602c000.qman-portal: Adding to iommu group 11
[  108.411499] platform ff6030000.qman-portal: Adding to iommu group 12
[  108.416537] platform ff6034000.qman-portal: Adding to iommu group 13
[  108.421570] platform ff6038000.qman-portal: Adding to iommu group 14
[  108.426606] platform ff603c000.qman-portal: Adding to iommu group 15
[  108.431645] platform ff6040000.qman-portal: Adding to iommu group 16
[  108.436681] platform ff6044000.qman-portal: Adding to iommu group 17
[  108.441715] platform ff6048000.qman-portal: Adding to iommu group 18
[  108.446752] platform ff604c000.qman-portal: Adding to iommu group 19
[  108.451791] platform ff6050000.qman-portal: Adding to iommu group 20
[  108.456826] platform ff6054000.qman-portal: Adding to iommu group 21
[  108.461861] platform ff6058000.qman-portal: Adding to iommu group 22
[  108.466899] platform ff605c000.qman-portal: Adding to iommu group 23
[  108.471939] platform ff6060000.qman-portal: Adding to iommu group 24
[  108.476971] platform ff6064000.qman-portal: Adding to iommu group 25
[  108.482008] platform ff6068000.qman-portal: Adding to iommu group 26
[  108.487046] platform ff606c000.qman-portal: Adding to iommu group 27
[  108.492083] platform ff6070000.qman-portal: Adding to iommu group 28
[  108.497118] platform ff6074000.qman-portal: Adding to iommu group 29
[  108.502156] platform ff6078000.qman-portal: Adding to iommu group 30
[  108.507191] platform ff607c000.qman-portal: Adding to iommu group 31
[  108.512229] platform ff6080000.qman-portal: Adding to iommu group 32
[  108.517265] platform ff6084000.qman-portal: Adding to iommu group 33
[  108.522301] platform ff6088000.qman-portal: Adding to iommu group 34
[  108.527337] platform ff608c000.qman-portal: Adding to iommu group 35
[  108.532375] platform ff6090000.qman-portal: Adding to iommu group 36
[  108.537410] platform ff6094000.qman-portal: Adding to iommu group 37
[  108.542446] platform ff6098000.qman-portal: Adding to iommu group 38
[  108.547483] platform ff609c000.qman-portal: Adding to iommu group 39
[  108.552521] platform ff60a0000.qman-portal: Adding to iommu group 40
[  108.557555] platform ff60a4000.qman-portal: Adding to iommu group 41
[  108.562592] platform ff60a8000.qman-portal: Adding to iommu group 42
[  108.567629] platform ff60ac000.qman-portal: Adding to iommu group 43
[  108.572669] platform ff60b0000.qman-portal: Adding to iommu group 44
[  108.577702] platform ff60b4000.qman-portal: Adding to iommu group 45
[  108.582738] platform ff60b8000.qman-portal: Adding to iommu group 46
[  108.587777] platform ff60bc000.qman-portal: Adding to iommu group 47
[  108.592813] platform ff60c0000.qman-portal: Adding to iommu group 48
[  108.597849] platform ff60c4000.qman-portal: Adding to iommu group 49
[  108.602920] platform ffe488000.port: Adding to iommu group 50
[  108.607318] platform ffe489000.port: Adding to iommu group 51
[  108.611746] platform ffe48a000.port: Adding to iommu group 52
[  108.616173] platform ffe48b000.port: Adding to iommu group 53
[  108.620602] platform ffe48c000.port: Adding to iommu group 54
[  108.625030] platform ffe48d000.port: Adding to iommu group 55
[  108.629460] platform ffe490000.port: Adding to iommu group 56
[  108.633887] platform ffe491000.port: Adding to iommu group 57
[  108.638343] platform ffe588000.port: Adding to iommu group 58
[  108.642745] platform ffe589000.port: Adding to iommu group 59
[  108.647174] platform ffe58a000.port: Adding to iommu group 60
[  108.651602] platform ffe58b000.port: Adding to iommu group 61
[  108.656032] platform ffe58c000.port: Adding to iommu group 62
[  108.660459] platform ffe58d000.port: Adding to iommu group 63
[  108.664890] platform ffe590000.port: Adding to iommu group 64
[  108.669319] platform ffe591000.port: Adding to iommu group 65
[  108.673744] platform ffe114000.sdhc: Adding to iommu group 66
[  108.678191] platform ffe100300.dma: Adding to iommu group 67
[  108.682515] platform ffe101300.dma: Adding to iommu group 68
[  108.686868] platform ffe210000.usb: Adding to iommu group 69
[  108.691199] platform ffe211000.usb: Adding to iommu group 70
[  108.695538] platform ffe220000.sata: Adding to iommu group 71
[  108.699968] platform ffe221000.sata: Adding to iommu group 72
[  108.704400] platform ffe316000.pme: Adding to iommu group 73
[  108.708737] platform ffe318000.qman: Adding to iommu group 74
[  108.713167] platform ffe31a000.bman: Adding to iommu group 75
[  108.717600] fsl-pci ffe240000.pcie: Adding to iommu group 76
[  108.721938] fsl-pci ffe260000.pcie: Adding to iommu group 77
[  108.726279] fsl-pci ffe270000.pcie: Adding to iommu group 78
[  108.764910] software IO TLB: mapped [mem 0x1145a000-0x1545a000] (64MB)
[  108.770049] PCI: Probing PCI hardware
[  108.772447] fsl-pci ffe240000.pcie: PCI host bridge to bus 0000:00
[  108.777256] pci_bus 0000:00: root bus resource [io  0x8000080000010000-0x800008000001ffff] (bus address [0x0000-0xffff])
[  108.786806] pci_bus 0000:00: root bus resource [mem 0xc00000000-0xc1fffffff] (bus address [0xe0000000-0xffffffff])
[  108.795836] pci_bus 0000:00: root bus resource [bus 00-01]
[  108.800004] pci_bus 0000:00: busn_res: [bus 00-01] end is updated to ff
[  108.805319] pci 0000:00:00.0: [1957:0440] type 01 class 0x0b2000
[  108.810014] pci 0000:00:00.0: reg 0x10: [io  0xdf000004-0xdf000007]
[  108.814948] pci 0000:00:00.0: reg 0x38: [mem 0xc00000000-0xc00ffffff pref]
[  108.820560] pci 0000:00:00.0: supports D1 D2
[  108.823445] pci 0000:00:00.0: PME# supported from D0 D1 D2 D3hot
[  108.828237] fsl-pci ffe240000.pcie: Removing from iommu group 76
[  108.832868] pci 0000:00:00.0: Adding to iommu group 79
[  108.841338] pci 0000:01:00.0: [8086:10d3] type 00 class 0x020000
[  108.845992] pci 0000:01:00.0: reg 0x10: [mem 0xc01000000-0xc0101ffff]
[  108.851086] pci 0000:01:00.0: reg 0x14: [mem 0xc01080000-0xc010fffff]
[  108.856209] pci 0000:01:00.0: reg 0x18: [io  0x8000080000011000-0x800008000001101f]
[  108.862548] pci 0000:01:00.0: reg 0x1c: [mem 0xc01100000-0xc01103fff]
[  108.867704] pci 0000:01:00.0: reg 0x30: [mem 0xc01140000-0xc0117ffff pref]
[  108.873343] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[  108.878165] pci 0000:01:00.0: Adding to iommu group 79
[  108.898576] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[  108.902408] pci 0000:00:00.0:   bridge window [io  0x8000080000011000-0x8000080000011fff]
[  108.909268] pci 0000:00:00.0:   bridge window [mem 0xc00000000-0xc011fffff]
[  108.914919] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[  108.920209] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 01
[  108.925555] fsl-pci ffe260000.pcie: PCI host bridge to bus 0001:00
[  108.930369] pci_bus 0001:00: root bus resource [io  0x8000080000021000-0x8000080000030fff] (bus address [0x0000-0xffff])
[  108.939924] pci_bus 0001:00: root bus resource [mem 0xc40000000-0xc5fffffff] (bus address [0xe0000000-0xffffffff])
[  108.948951] pci_bus 0001:00: root bus resource [bus 00]
[  108.952855] pci_bus 0001:00: busn_res: [bus 00] end is updated to ff
[  108.957910] pci 0001:00:00.0: [1957:0440] type 01 class 0x0b2000
[  108.962599] pci 0001:00:00.0: reg 0x10: [io  0xdf000004-0xdf000007]
[  108.967542] pci 0001:00:00.0: reg 0x38: [mem 0x00000000-0x00ffffff pref]
[  108.972964] pci 0001:00:00.0: supports D1 D2
[  108.975866] pci 0001:00:00.0: PME# supported from D0 D1 D2 D3hot
[  108.980635] fsl-pci ffe260000.pcie: Removing from iommu group 77
[  108.985263] pci 0001:00:00.0: Adding to iommu group 76
[  108.993609] pci 0001:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[  109.004762] pci 0001:00:00.0: PCI bridge to [bus 01-ff]
[  109.008596] pci 0001:00:00.0:   bridge window [io  0x8000080000021000-0x8000080000021fff]
[  109.015454] pci 0001:00:00.0:   bridge window [mem 0x00000000-0x000fffff]
[  109.020926] pci 0001:00:00.0:   bridge window [mem 0x00000000-0x000fffff 64bit pref]
[  109.027357] pci_bus 0001:01: busn_res: [bus 01-ff] end is updated to 01
[  109.032647] pci_bus 0001:00: busn_res: [bus 00-ff] end is updated to 01
[  109.037991] fsl-pci ffe270000.pcie: PCI host bridge to bus 0002:00
[  109.042807] pci_bus 0002:00: root bus resource [io  0x8000080000032000-0x8000080000041fff] (bus address [0x0000-0xffff])
[  109.052359] pci_bus 0002:00: root bus resource [mem 0xc60000000-0xc7fffffff] (bus address [0xe0000000-0xffffffff])
[  109.061388] pci_bus 0002:00: root bus resource [bus 00]
[  109.065293] pci_bus 0002:00: busn_res: [bus 00] end is updated to ff
[  109.070345] pci 0002:00:00.0: [1957:0440] type 01 class 0x0b2000
[  109.075037] pci 0002:00:00.0: reg 0x10: [io  0xdf000004-0xdf000007]
[  109.079980] pci 0002:00:00.0: reg 0x38: [mem 0x00000000-0x00ffffff pref]
[  109.085402] pci 0002:00:00.0: supports D1 D2
[  109.088304] pci 0002:00:00.0: PME# supported from D0 D1 D2 D3hot
[  109.093075] fsl-pci ffe270000.pcie: Removing from iommu group 78
[  109.097702] pci 0002:00:00.0: Adding to iommu group 77
[  109.106035] pci 0002:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[  109.117184] pci 0002:00:00.0: PCI bridge to [bus 01-ff]
[  109.121017] pci 0002:00:00.0:   bridge window [io  0x8000080000032000-0x8000080000032fff]
[  109.127876] pci 0002:00:00.0:   bridge window [mem 0x00000000-0x000fffff]
[  109.133348] pci 0002:00:00.0:   bridge window [mem 0x00000000-0x000fffff 64bit pref]
[  109.139779] pci_bus 0002:01: busn_res: [bus 01-ff] end is updated to 01
[  109.145069] pci_bus 0002:00: busn_res: [bus 00-ff] end is updated to 01
[  109.150369] PCI: Cannot allocate resource region 0 of device 0000:00:00.0, will remap
[  109.156876] PCI: Cannot allocate resource region 6 of device 0000:00:00.0, will remap
[  109.163397] PCI: Cannot allocate resource region 0 of device 0001:00:00.0, will remap
[  109.169904] PCI: Cannot allocate resource region 0 of device 0002:00:00.0, will remap
[  109.176424] PCI 0000:00 Cannot reserve Legacy IO [io  0x8000080000010000-0x10fff]
[  109.176427] PCI 0001:00 Cannot reserve Legacy IO [io  0x8000080000021000-0x21fff]
[  109.176429] PCI 0002:00 Cannot reserve Legacy IO [io  0x8000080000032000-0x32fff]
[  109.176440] pci 0000:00:00.0: BAR 6: no space for [mem size 0x01000000 pref]
[  109.182147] pci 0000:00:00.0: BAR 6: failed to assign [mem size 0x01000000 pref]
[  109.188226] pci 0000:00:00.0: BAR 0: no space for [io  size 0x0004]
[  109.193176] pci 0000:00:00.0: BAR 0: failed to assign [io  size 0x0004]
[  109.198473] pci 0000:00:00.0: PCI bridge to [bus 01]
[  109.202117] pci 0000:00:00.0:   bridge window [io  0x8000080000010000-0x800008000001ffff]
[  109.208981] pci 0000:00:00.0:   bridge window [mem 0xc00000000-0xc1fffffff]
[  109.214625] pci_bus 0000:00: Some PCI device resources are unassigned, try booting with pci=realloc
[  109.222352] pci_bus 0000:00: resource 4 [io  0x8000080000010000-0x800008000001ffff]
[  109.228691] pci_bus 0000:00: resource 5 [mem 0xc00000000-0xc1fffffff]
[  109.233814] pci_bus 0000:01: resource 0 [io  0x8000080000010000-0x800008000001ffff]
[  109.240153] pci_bus 0000:01: resource 1 [mem 0xc00000000-0xc1fffffff]
[  109.245279] pci 0001:00:00.0: BAR 6: no space for [mem size 0x01000000 pref]
[  109.251008] pci 0001:00:00.0: BAR 6: failed to assign [mem size 0x01000000 pref]
[  109.257087] pci 0001:00:00.0: BAR 0: no space for [io  size 0x0004]
[  109.262036] pci 0001:00:00.0: BAR 0: failed to assign [io  size 0x0004]
[  109.267333] pci 0001:00:00.0: PCI bridge to [bus 01]
[  109.270978] pci 0001:00:00.0:   bridge window [io  0x8000080000021000-0x8000080000030fff]
[  109.277842] pci 0001:00:00.0:   bridge window [mem 0xc40000000-0xc5fffffff]
[  109.283486] pci_bus 0001:00: Some PCI device resources are unassigned, try booting with pci=realloc
[  109.291214] pci_bus 0001:00: resource 4 [io  0x8000080000021000-0x8000080000030fff]
[  109.297554] pci_bus 0001:00: resource 5 [mem 0xc40000000-0xc5fffffff]
[  109.302676] pci_bus 0001:01: resource 0 [io  0x8000080000021000-0x8000080000030fff]
[  109.309015] pci_bus 0001:01: resource 1 [mem 0xc40000000-0xc5fffffff]
[  109.314140] pci 0002:00:00.0: BAR 6: no space for [mem size 0x01000000 pref]
[  109.319869] pci 0002:00:00.0: BAR 6: failed to assign [mem size 0x01000000 pref]
[  109.325948] pci 0002:00:00.0: BAR 0: no space for [io  size 0x0004]
[  109.330897] pci 0002:00:00.0: BAR 0: failed to assign [io  size 0x0004]
[  109.336195] pci 0002:00:00.0: PCI bridge to [bus 01]
[  109.339838] pci 0002:00:00.0:   bridge window [io  0x8000080000032000-0x8000080000041fff]
[  109.346703] pci 0002:00:00.0:   bridge window [mem 0xc60000000-0xc7fffffff]
[  109.352348] pci_bus 0002:00: Some PCI device resources are unassigned, try booting with pci=realloc
[  109.360074] pci_bus 0002:00: resource 4 [io  0x8000080000032000-0x8000080000041fff]
[  109.366413] pci_bus 0002:00: resource 5 [mem 0xc60000000-0xc7fffffff]
[  109.371537] pci_bus 0002:01: resource 0 [io  0x8000080000032000-0x8000080000041fff]
[  109.377876] pci_bus 0002:01: resource 1 [mem 0xc60000000-0xc7fffffff]
[  109.383056] PCI: Probing PCI hardware done
[  109.383569] Setting up Freescale MSI support
[  109.383936] Setting up Freescale MSI support
[  109.384295] Setting up Freescale MSI support
[  109.384660] Setting up Freescale MSI support
[  109.393666] HugeTLB registered 4.00 MiB page size, pre-allocated 0 pages
[  109.398983] HugeTLB registered 16.0 MiB page size, pre-allocated 0 pages
[  109.404365] HugeTLB registered 64.0 MiB page size, pre-allocated 0 pages
[  109.409742] HugeTLB registered 256 MiB page size, pre-allocated 0 pages
[  109.415039] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[  109.424164] iommu: Default domain type: Translated 
[  109.427708] vgaarb: loaded
[  109.429148] SCSI subsystem initialized
[  109.431659] libata version 3.00 loaded.
[  109.431785] usbcore: registered new interface driver usbfs
[  109.435898] usbcore: registered new interface driver hub
[  109.439955] usbcore: registered new device driver usb
[  109.443658] pps_core: LinuxPPS API ver. 1 registered
[  109.447258] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[  109.455082] PTP clock support registered
[  109.457851] EDAC MC: Ver: 3.0.0
[  109.460700] clocksource: Switched to clocksource timebase
[  109.710567] NET: Registered protocol family 2
[  109.713985] tcp_listen_portaddr_hash hash table entries: 4096 (order: 4, 65536 bytes, linear)
[  109.721183] TCP established hash table entries: 65536 (order: 7, 524288 bytes, linear)
[  109.727979] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes, linear)
[  109.734380] TCP: Hash tables configured (established 65536 bind 65536)
[  109.739615] UDP hash table entries: 4096 (order: 5, 131072 bytes, linear)
[  109.745090] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes, linear)
[  109.751134] NET: Registered protocol family 1
[  109.754303] RPC: Registered named UNIX socket transport module.
[  109.758831] RPC: Registered udp transport module.
[  109.762214] RPC: Registered tcp transport module.
[  109.765602] RPC: Registered tcp NFSv4.1 backchannel transport module.
[  109.770760] pci 0000:01:00.0: CLS mismatch (32 != 64), using 64 bytes
[  109.777400] workingset: timestamp_bits=46 max_order=21 bucket_order=0
[  109.783109] NFS: Registering the id_resolver key type
[  109.786778] Key type id_resolver registered
[  109.789630] Key type id_legacy registered
[  109.792332] ntfs: driver 2.1.32 [Flags: R/O].
[  109.795394] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[  109.815523] io scheduler mq-deadline registered
[  109.818662] io scheduler kyber registered
[  109.821456] OF: Can't handle multiple dma-ranges with different offsets on node(/pcie@ffe240000)
[  109.828855] OF: Can't handle multiple dma-ranges with different offsets on node(/pcie@ffe240000)
[  109.836319] pcieport 0000:00:00.0: Invalid size 0xfffff9 for dma-range
[  109.841688] pcieport 0000:00:00.0: AER: enabled with IRQ 20
[  109.845986] OF: Can't handle multiple dma-ranges with different offsets on node(/pcie@ffe260000)
[  109.853382] OF: Can't handle multiple dma-ranges with different offsets on node(/pcie@ffe260000)
[  109.860845] pcieport 0001:00:00.0: Invalid size 0xfffff9 for dma-range
[  109.866203] pcieport 0001:00:00.0: AER: enabled with IRQ 22
[  109.870485] OF: Can't handle multiple dma-ranges with different offsets on node(/pcie@ffe270000)
[  109.877880] OF: Can't handle multiple dma-ranges with different offsets on node(/pcie@ffe270000)
[  109.885343] pcieport 0002:00:00.0: Invalid size 0xfffff9 for dma-range
[  109.890696] pcieport 0002:00:00.0: AER: enabled with IRQ 23
[  109.895997] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[  109.901344] printk: console [ttyS0] disabled
[  109.904233] serial8250.0: ttyS0 at MMIO 0xffe11c500 (irq = 36, base_baud = 22916666) is a 16550A
[  109.911704] printk: console [ttyS0] enabled
[  109.917421] printk: bootconsole [udbg0] disabled
[  109.924167] serial8250.0: ttyS1 at MMIO 0xffe11c600 (irq = 36, base_baud = 22916666) is a 16550A
[  109.931796] serial8250.0: ttyS2 at MMIO 0xffe11d500 (irq = 37, base_baud = 22916666) is a 16550A
[  109.939427] serial8250.0: ttyS3 at MMIO 0xffe11d600 (irq = 37, base_baud = 22916666) is a 16550A
[  109.947077] ePAPR hypervisor byte channel driver
[  109.954200] brd: module loaded
[  109.962388] loop: module loaded
[  109.964250] st: Version 20160209, fixed bufsize 32768, s/g segs 256
[  109.969931] fsl-sata ffe220000.sata: Sata FSL Platform/CSB Driver init
[  109.975448] scsi host0: sata_fsl
[  109.977470] ata1: SATA max UDMA/133 irq 68
[  109.980307] fsl-sata ffe221000.sata: Sata FSL Platform/CSB Driver init
[  109.985759] scsi host1: sata_fsl
[  109.987745] ata2: SATA max UDMA/133 irq 69
[  109.991308] fsl_espi ffe110000.spi: cs=0, init_csmode=0x100008
[  109.996085] spi-nor spi0.0: unrecognized JEDEC id bytes: ff ff ff ff ff ff
[  110.001666] fsl_espi ffe110000.spi: at 0x(____ptrval____) (irq = 53)
[  110.007869] libphy: Fixed MDIO Bus: probed
[  110.011211] libphy: Freescale XGMAC MDIO Bus: probed
[  110.015080] libphy: Freescale XGMAC MDIO Bus: probed
[  110.018943] libphy: Freescale XGMAC MDIO Bus: probed
[  110.022812] libphy: Freescale XGMAC MDIO Bus: probed
[  110.026678] libphy: Freescale XGMAC MDIO Bus: probed
[  110.030548] libphy: Freescale XGMAC MDIO Bus: probed
[  110.034415] libphy: Freescale XGMAC MDIO Bus: probed
[  110.038272] libphy: Freescale XGMAC MDIO Bus: probed
[  110.042130] libphy: Freescale XGMAC MDIO Bus: probed
[  110.048770] libphy: Freescale XGMAC MDIO Bus: probed
[  110.058922] libphy: Freescale XGMAC MDIO Bus: probed
[  110.062781] libphy: Freescale XGMAC MDIO Bus: probed
[  110.066639] libphy: Freescale XGMAC MDIO Bus: probed
[  110.070499] libphy: Freescale XGMAC MDIO Bus: probed
[  110.074355] libphy: Freescale XGMAC MDIO Bus: probed
[  110.078212] libphy: Freescale XGMAC MDIO Bus: probed
[  110.082073] libphy: Freescale XGMAC MDIO Bus: probed
[  110.085943] libphy: Freescale XGMAC MDIO Bus: probed
[  110.089719] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[  110.094244] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[  110.098881] OF: Can't handle multiple dma-ranges with different offsets on node(/pcie@ffe240000)
[  110.106364] OF: Can't handle multiple dma-ranges with different offsets on node(/pcie@ffe240000)
[  110.113844] e1000e 0000:01:00.0: Invalid size 0xfffff9 for dma-range
[  110.119049] e1000e 0000:01:00.0: Interrupt Throttling Rate (ints/sec) set to dynamic conservative mode
[  110.173151] e1000e 0000:01:00.0 0000:01:00.0 (uninitialized): registered PHC clock
[  110.230696] e1000e 0000:01:00.0 eth0: (PCI Express:2.5GT/s:Width x1) 68:05:ca:2e:24:a8
[  110.237311] e1000e 0000:01:00.0 eth0: Intel(R) PRO/1000 Network Connection
[  110.242892] e1000e 0000:01:00.0 eth0: MAC: 3, PHY: 8, PBA No: E46981-008
[  110.248350] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[  110.253892] ehci-pci: EHCI PCI platform driver
[  110.257475] ehci-fsl: Freescale EHCI Host controller driver
[  110.261834] fsl-ehci fsl-ehci.0: Freescale On-Chip EHCI Host Controller
[  110.267153] fsl-ehci fsl-ehci.0: new USB bus registered, assigned bus number 1
[  110.282931] fsl-ehci fsl-ehci.0: irq 44, io mem 0xffe210000
[  110.300705] fsl-ehci fsl-ehci.0: USB 2.0 started, EHCI 1.00
[  110.305249] hub 1-0:1.0: USB hub found
[  110.307702] hub 1-0:1.0: 1 port detected
[  110.310464] fsl-ehci fsl-ehci.1: Freescale On-Chip EHCI Host Controller
[  110.315783] fsl-ehci fsl-ehci.1: new USB bus registered, assigned bus number 2
[  110.331547] fsl-ehci fsl-ehci.1: irq 45, io mem 0xffe211000
[  110.348699] fsl-ehci fsl-ehci.1: USB 2.0 started, EHCI 1.00
[  110.353215] hub 2-0:1.0: USB hub found
[  110.355667] hub 2-0:1.0: 1 port detected
[  110.358489] usbcore: registered new interface driver usb-storage
[  110.364395] i2c /dev entries driver
[  110.366998] mpc-i2c ffe118000.i2c: timeout 1000000 us
[  110.375814] rtc-ds1374 0-0068: registered as rtc0
[  110.379883] rtc-ds1374 0-0068: setting system clock to 1970-01-01T00:04:57 UTC (297)
[  110.386680] mpc-i2c ffe118100.i2c: timeout 1000000 us
[  110.390570] mpc-i2c ffe119000.i2c: timeout 1000000 us
[  110.394452] mpc-i2c ffe119100.i2c: timeout 1000000 us
[  110.402034] hwmon_vid: Unknown VRM version of your CPU
[  110.406051] w83793 0-002f: hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info().
[  110.418175] w83793 0-002f: Registered watchdog chardev major 10, minor: 130
[  110.423944] Freescale(R) MPC85xx EDAC driver, (C) 2006 Montavista Software
[  110.430923] EDAC MC0: Giving out device to module fsl_ddr_edac controller fsl_mc_err: DEV fsl_mc_err (INTERRUPT)
[  110.439809] fsl_ddr_edac acquired irq 490 for MC
[  110.443117] fsl_ddr_edac MC err registered
[  110.446008] EDAC MC1: Giving out device to module fsl_ddr_edac controller fsl_mc_err: DEV fsl_mc_err (INTERRUPT)
[  110.454893] fsl_ddr_edac acquired irq 489 for MC
[  110.458201] fsl_ddr_edac MC err registered
[  110.461091] EDAC MC2: Giving out device to module fsl_ddr_edac controller fsl_mc_err: DEV fsl_mc_err (INTERRUPT)
[  110.469976] fsl_ddr_edac acquired irq 488 for MC
[  110.473286] fsl_ddr_edac MC err registered
[  110.477997] EDAC PCI0: Giving out device to module MPC85xx_edac controller mpc85xx_pci_err: DEV mpc85xx-pci-edac.0.auto (INTERRUPT)
[  110.480814] ata1: No Device OR PHYRDY change,Hstatus = 0xa0000000
[  110.488525] MPC85xx_edac acquired irq 20 for PCI Err
[  110.493309] ata1: SATA link down (SStatus 10 SControl 300)
[  110.496955] MPC85xx_edac PCI err registered
[  110.501150] ata2: No Device OR PHYRDY change,Hstatus = 0xa0000000
[  110.504041] EDAC PCI1: Giving out device to module MPC85xx_edac controller mpc85xx_pci_err: DEV mpc85xx-pci-edac.1.auto (INTERRUPT)
[  110.508791] ata2: SATA link down (SStatus 10 SControl 300)
[  110.519308] MPC85xx_edac acquired irq 22 for PCI Err
[  110.527127] MPC85xx_edac PCI err registered
[  110.530046] EDAC PCI2: Giving out device to module MPC85xx_edac controller mpc85xx_pci_err: DEV mpc85xx-pci-edac.2.auto (INTERRUPT)
[  110.540574] MPC85xx_edac acquired irq 23 for PCI Err
[  110.544230] MPC85xx_edac PCI err registered
[  110.547545] sdhci: Secure Digital Host Controller Interface driver
[  110.552417] sdhci: Copyright(c) Pierre Ossman
[  110.555464] sdhci-pltfm: SDHCI platform and OF driver helper
[  110.585880] mmc0: SDHCI controller on ffe114000.sdhc [ffe114000.sdhc] using ADMA
[  110.592744] caam ffe300000.crypto: RNG4 SH0 was previously instantiated without prediction resistance. Tearing it down
[  110.602143] caam ffe300000.crypto: Deinstantiated RNG4 SH0
[  110.606326] caam ffe300000.crypto: Instantiated RNG4 SH0
[  110.628202] caam ffe300000.crypto: Instantiated RNG4 SH1
[  110.632209] caam ffe300000.crypto: device ID = 0x0a1c020000000000 (Era 6)
[  110.637690] caam ffe300000.crypto: job rings = 4, qi = 1
[  110.641822] platform ffe301000.jr: Adding to iommu group 78
[  110.646261] platform ffe302000.jr: Adding to iommu group 80
[  110.650681] platform ffe303000.jr: Adding to iommu group 81
[  110.655102] platform ffe304000.jr: Adding to iommu group 82
[  110.670179] caam algorithms registered in /proc/crypto
[  110.675861] caam ffe300000.crypto: caam pkc algorithms registered in /proc/crypto
[  110.682046] caam ffe300000.crypto: registering rng-caam
[  110.686575] usbcore: registered new interface driver usbhid
[  110.690851] usbhid: USB HID core driver
[  110.693378] Freescale hypervisor management driver
[  110.696865] fsl-hv: no hypervisor found
[  110.699548] ipip: IPv4 and MPLS over IPv4 tunneling driver
[  110.703975] Initializing XFRM netlink socket
[  110.707032] NET: Registered protocol family 10
[  110.710655] Segment Routing with IPv6
[  110.713521] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[  110.718383] NET: Registered protocol family 17
[  110.721525] NET: Registered protocol family 15
[  110.724675] 8021q: 802.1Q VLAN Support v1.8
[  110.727566] Key type dns_resolver registered
[  110.730593] drmem: No dynamic reconfiguration memory found
[  110.773502] random: fast init done
[  110.802913] 8021q: adding VLAN 0 to HW filter on device eth0
[  110.817272] random: crng init done
[  113.993688] e1000e 0000:01:00.0 eth0: NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx
[  114.008711] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[  114.028706] IP-Config: Complete:
[  114.030624]      device=eth0, hwaddr=68:05:ca:2e:24:a8, ipaddr=10.1.2.2, mask=255.255.0.0, gw=10.1.1.1
[  114.038628]      host=t4240rdb, domain=, nis-domain=(none)
[  114.042805]      bootserver=10.1.2.1, rootserver=10.1.2.1, rootpath=
[  114.048141] md: Skipping autodetection of RAID arrays. (raid=autodetect will force)
[  114.060967] VFS: Mounted root (nfs filesystem) on device 0:18.
[  114.065743] devtmpfs: mounted
[  114.068395] Freeing unused kernel memory: 4112K
[  114.071661] This architecture does not have kernel memory protection.
[  114.076794] Run /sbin/init as init process
[  114.079577]   with arguments:
[  114.079578]     /sbin/init
[  114.079579]   with environment:
[  114.079580]     HOME=/
[  114.079581]     TERM=linux
[  115.315377] systemd[1]: System time before build time, advancing clock.
[  115.350215] systemd[1]: Failed to lookup module alias 'autofs4': Function not implemented
[  115.380593] systemd[1]: systemd 240 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
[  115.401073] systemd[1]: Detected architecture ppc64.
[  115.429616] systemd[1]: Set hostname to <t4240rdb>.
[  115.455850] systemd[1]: Failed to bump fs.file-max, ignoring: Invalid argument
[  115.861866] systemd[1]: File /lib/systemd/system/systemd-journald.service:12 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
[  115.877607] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
[  116.029117] systemd[1]: /lib/systemd/system/fancontrol.service:9: PIDFile= references path below legacy directory /var/run/, updating /var/run/fancontrol.pid → /run/fancontrol.pid; please update the unit file accordingly.
[  116.080232] systemd[1]: Created slice system-serial\x2dgetty.slice.
[  116.100793] systemd[1]: Reached target Remote File Systems.
[  116.120751] systemd[1]: Reached target Swap.
[  116.774505] systemd-journald[1440]: Received request to flush runtime journal from PID 1
[  117.323688] pcieport 0000:00:00.0: AER: Corrected error received: 0000:01:00.0
[  117.329694] e1000e 0000:01:00.0: AER: PCIe Bus Error: severity=Corrected, type=Data Link Layer, (Transmitter ID)
[  117.338582] e1000e 0000:01:00.0: AER:   device [8086:10d3] error status/mask=00001000/00002000
[  117.345919] e1000e 0000:01:00.0: AER:    [12] Timeout               
[  119.035056] pcieport 0000:00:00.0: AER: Corrected error received: 0000:01:00.0
[  119.042196] e1000e 0000:01:00.0: AER: PCIe Bus Error: severity=Corrected, type=Data Link Layer, (Transmitter ID)
[  119.052409] e1000e 0000:01:00.0: AER:   device [8086:10d3] error status/mask=00001000/00002000
[  119.061092] e1000e 0000:01:00.0: AER:    [12] Timeout               
[  119.066684] pcieport 0000:00:00.0: AER: Corrected error received: 0000:01:00.0
[  119.262731] pcieport 0000:00:00.0: AER: Corrected error received: 0000:01:00.0
[  119.268724] e1000e 0000:01:00.0: AER: PCIe Bus Error: severity=Corrected, type=Data Link Layer, (Transmitter ID)
[  119.277619] e1000e 0000:01:00.0: AER:   device [8086:10d3] error status/mask=00001000/00002000
[  119.284953] e1000e 0000:01:00.0: AER:    [12] Timeout               
[  119.486153] pcieport 0000:00:00.0: AER: Corrected error received: 0000:01:00.0
[  119.492124] e1000e 0000:01:00.0: AER: PCIe Bus Error: severity=Corrected, type=Data Link Layer, (Transmitter ID)
[  119.501054] e1000e 0000:01:00.0: AER:   device [8086:10d3] error status/mask=00001000/00002000
[  119.508399] e1000e 0000:01:00.0: AER:    [12] Timeout               
[  142.345527] pcieport 0000:00:00.0: AER: Corrected error received: 0000:01:00.0
[  142.351469] e1000e 0000:01:00.0: AER: PCIe Bus Error: severity=Corrected, type=Data Link Layer, (Transmitter ID)
[  142.360359] e1000e 0000:01:00.0: AER:   device [8086:10d3] error status/mask=00001000/00002000
[  142.367684] e1000e 0000:01:00.0: AER:    [12] Timeout               

[-- Attachment #3: Type: text/plain, Size: 8062 bytes --]



>
> -----------------------------------------------------
> phys_mem_size     = 0x200000000
> dcache_bsize      = 0x20
> icache_bsize      = 0x20
> cpu_features      = 0x00000003008003b6
>    possible        = 0x00000003009003b6
>    always          = 0x00000003008003b4
> cpu_user_features = 0xdc008000 0x08000000
> mmu_features      = 0x000a0010
> firmware_features = 0x0000000000000000
> physical_start    = 0x20000000
> -----------------------------------------------------
> barrier-nospec: using isync; sync as speculation barrier
> Zone ranges:
>    DMA      [mem 0x0000000000000000-0x000000007fffffff]
>    Normal   [mem 0x0000000080000000-0x00000001ffffffff]
> Movable zone start for each node
> Early memory node ranges
>    node   0: [mem 0x0000000000000000-0x00000001ffffffff]
> Initmem setup node 0 [mem 0x0000000000000000-0x00000001ffffffff]
> MMU: Allocated 2112 bytes of context maps for 255 contexts
> percpu: Embedded 32 pages/cpu s91736 r0 d39336 u131072
> Built 1 zonelists, mobility grouping on.  Total pages: 2064384
> Kernel command line: console=ttyS0 root=/dev/ram0
> printk: log_buf_len individual max cpu contribution: 16384 bytes
> printk: log_buf_len total cpu_extra contributions: 376832 bytes
> printk: log_buf_len min size: 131072 bytes
> printk: log_buf_len: 524288 bytes
> printk: early log buf free: 127460(97%)
> Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
> Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
> mem auto-init: stack:off, heap alloc:off, heap free:off
> Memory: 8135632K/8388608K available (10572K kernel code, 2000K rwdata, 
> 3396K rodata, 4124K init, 358K bss, 252976K reserved, 0K cma-reserved)
> rcu: Hierarchical RCU implementation.
> rcu:    RCU event tracing is enabled.
> rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
> NR_IRQS: 512, nr_irqs: 512, preallocated irqs: 16
> mpic: Setting up MPIC " OpenPIC  " version 1.2 at fe0040000, max 24 CPUs
> mpic: ISU size: 256, shift: 8, mask: ff
> mpic: Initializing for 256 sources
> random: get_random_u64 called from .start_kernel+0x724/0x954 with 
> crng_init=0
> clocksource: timebase: mask: 0xffffffffffffffff max_cycles: 
> 0x5c4093a7d1, max_idle_ns: 440795210635 ns
> clocksource: timebase mult[2800000] shift[24] registered
> Console: colour dummy device 80x25
> pid_max: default: 32768 minimum: 301
> Mount-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
> Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
> e6500 family performance monitor hardware support registered
> rcu: Hierarchical SRCU implementation.
> smp: Bringing up secondary CPUs ...
> smp: Brought up 1 node, 24 CPUs
>
>
>
> 在 2020/4/25 1:17, Daniel Axtens 写道:
>> Hi Jason,
>> 
>> Apologies for the delay in testing.
>> 
>> I'm seeing this problem when I try to boot on a t4240rdb:
>> 
>> random: get_random_u64 called from .start_kernel+0x734/0x964 with crng_init=0                               [8/973]
>> clocksource: timebase: mask: 0xffffffffffffffff max_cycles: 0xa9210e89c, max_idle_ns: 440795203878 ns
>> clocksource: timebase mult[15d17460] shift[24] registered
>> Console: colour dummy device 80x25
>> pid_max: default: 32768 minimum: 301
>> Mount-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
>> Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
>> e6500 family performance monitor hardware support registered
>> rcu: Hierarchical SRCU implementation.
>> smp: Bringing up secondary CPUs ...
>> Processor 2 is stuck.
>> Processor 3 is stuck.
>> Processor 4 is stuck.
>> Processor 5 is stuck.
>> Processor 6 is stuck.
>> Processor 7 is stuck.
>> Processor 8 is stuck.
>> Processor 9 is stuck.
>> Processor 10 is stuck.
>> Processor 11 is stuck.
>> Processor 12 is stuck.
>> Processor 13 is stuck.
>> Processor 14 is stuck.
>> ...
>> Processor 22 is stuck.
>> Processor 23 is stuck.
>> smp: Brought up 1 node, 2 CPUs
>> Using standard scheduler topology
>> devtmpfs: initialized
>> clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
>> futex hash table entries: 8192 (order: 7, 524288 bytes, linear)
>> NET: Registered protocol family 16
>> audit: initializing netlink subsys (disabled)
>> audit: type=2000 audit(108.032:1): state=initialized audit_enabled=0 res=1
>> Machine: fsl,T4240RDB
>> SoC family: QorIQ T4240
>> SoC ID: svr:0x82480020, Revision: 2.0
>> ... boot continues ...
>> 
>> 
>> If I boot with nokaslr, all the CPUs come up with no issue.
>> 
>> This is on top of powerpc/merge at
>> 8299da600ad05b8aa0f15ec0f5f03bd40e37d6f0. If you'd like me to test any
>> debug patches I can do that.
>> 
>> I've attached my .config.
>> 
>> Regards,
>> Daniel
>> 
>> 
>> 
>>> This is a try to implement KASLR for Freescale BookE64 which is based on
>>> my earlier implementation for Freescale BookE32:
>>> https://patchwork.ozlabs.org/project/linuxppc-dev/list/?series=131718&state=*
>>>
>>> The implementation for Freescale BookE64 is similar as BookE32. One
>>> difference is that Freescale BookE64 set up a TLB mapping of 1G during
>>> booting. Another difference is that ppc64 needs the kernel to be
>>> 64K-aligned. So we can randomize the kernel in this 1G mapping and make
>>> it 64K-aligned. This can save some code to creat another TLB map at
>>> early boot. The disadvantage is that we only have about 1G/64K = 16384
>>> slots to put the kernel in.
>>>
>>>      KERNELBASE
>>>
>>>            64K                     |--> kernel <--|
>>>             |                      |              |
>>>          +--+--+--+    +--+--+--+--+--+--+--+--+--+    +--+--+
>>>          |  |  |  |....|  |  |  |  |  |  |  |  |  |....|  |  |
>>>          +--+--+--+    +--+--+--+--+--+--+--+--+--+    +--+--+
>>>          |                         |                        1G
>>>          |----->   offset    <-----|
>>>
>>>                                kernstart_virt_addr
>>>
>>> I'm not sure if the slot numbers is enough or the design has any
>>> defects. If you have some better ideas, I would be happy to hear that.
>>>
>>> Thank you all.
>>>
>>> v4->v5:
>>>    Fix "-Werror=maybe-uninitialized" compile error.
>>>    Fix typo "similar as" -> "similar to".
>>> v3->v4:
>>>    Do not define __kaslr_offset as a fixed symbol. Reference __run_at_load and
>>>      __kaslr_offset by symbol instead of magic offsets.
>>>    Use IS_ENABLED(CONFIG_PPC32) instead of #ifdef CONFIG_PPC32.
>>>    Change kaslr-booke32 to kaslr-booke in index.rst
>>>    Switch some instructions to 64-bit.
>>> v2->v3:
>>>    Fix build error when KASLR is disabled.
>>> v1->v2:
>>>    Add __kaslr_offset for the secondary cpu boot up.
>>>
>>> Jason Yan (6):
>>>    powerpc/fsl_booke/kaslr: refactor kaslr_legal_offset() and
>>>      kaslr_early_init()
>>>    powerpc/fsl_booke/64: introduce reloc_kernel_entry() helper
>>>    powerpc/fsl_booke/64: implement KASLR for fsl_booke64
>>>    powerpc/fsl_booke/64: do not clear the BSS for the second pass
>>>    powerpc/fsl_booke/64: clear the original kernel if randomized
>>>    powerpc/fsl_booke/kaslr: rename kaslr-booke32.rst to kaslr-booke.rst
>>>      and add 64bit part
>>>
>>>   Documentation/powerpc/index.rst               |  2 +-
>>>   .../{kaslr-booke32.rst => kaslr-booke.rst}    | 35 ++++++-
>>>   arch/powerpc/Kconfig                          |  2 +-
>>>   arch/powerpc/kernel/exceptions-64e.S          | 23 +++++
>>>   arch/powerpc/kernel/head_64.S                 | 13 +++
>>>   arch/powerpc/kernel/setup_64.c                |  3 +
>>>   arch/powerpc/mm/mmu_decl.h                    | 23 +++--
>>>   arch/powerpc/mm/nohash/kaslr_booke.c          | 91 +++++++++++++------
>>>   8 files changed, 147 insertions(+), 45 deletions(-)
>>>   rename Documentation/powerpc/{kaslr-booke32.rst => kaslr-booke.rst} (59%)
>>>
>>> -- 
>>> 2.17.2

      reply	other threads:[~2020-04-27 13:34 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-30  2:20 [PATCH v5 0/6] implement KASLR for powerpc/fsl_booke/64 Jason Yan
2020-03-30  2:20 ` [PATCH v5 1/6] powerpc/fsl_booke/kaslr: refactor kaslr_legal_offset() and kaslr_early_init() Jason Yan
2020-03-30  2:20 ` [PATCH v5 2/6] powerpc/fsl_booke/64: introduce reloc_kernel_entry() helper Jason Yan
2020-03-30  2:20 ` [PATCH v5 3/6] powerpc/fsl_booke/64: implement KASLR for fsl_booke64 Jason Yan
2020-03-30  2:20 ` [PATCH v5 4/6] powerpc/fsl_booke/64: do not clear the BSS for the second pass Jason Yan
2020-03-30  2:20 ` [PATCH v5 5/6] powerpc/fsl_booke/64: clear the original kernel if randomized Jason Yan
2020-03-30  2:20 ` [PATCH v5 6/6] powerpc/fsl_booke/kaslr: rename kaslr-booke32.rst to kaslr-booke.rst and add 64bit part Jason Yan
2020-04-13  1:23 ` [PATCH v5 0/6] implement KASLR for powerpc/fsl_booke/64 Jason Yan
2020-04-15 19:31 ` Scott Wood
2020-04-23  1:11 ` Jason Yan
2020-04-24 17:17 ` Daniel Axtens
2020-04-26  3:56   ` Jason Yan
2020-04-27 13:34     ` Daniel Axtens [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zhaxrr1g.fsf@dja-thinkpad.axtens.net \
    --to=dja@axtens.net \
    --cc=benh@kernel.crashing.org \
    --cc=christophe.leroy@c-s.fr \
    --cc=diana.craciun@nxp.com \
    --cc=keescook@chromium.org \
    --cc=kernel-hardening@lists.openwall.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=mpe@ellerman.id.au \
    --cc=npiggin@gmail.com \
    --cc=oss@buserror.net \
    --cc=paulus@samba.org \
    --cc=yanaijie@huawei.com \
    --cc=zhaohongjiang@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).