Skip to content

Instantly share code, notes, and snippets.

@kev009
Created November 6, 2018 09:41
Show Gist options
  • Save kev009/9732bc8edf17efb407051b47d1fc3646 to your computer and use it in GitHub Desktop.
Save kev009/9732bc8edf17efb407051b47d1fc3646 to your computer and use it in GitHub Desktop.
kev-ws-aurora% qemu-system-powernv -M powernv -m 2G -nographic -vga none -cpu power9_v2.0 -kernel vmlinux -smp 4
pnv_pec_class_init
PNV: Creating PEC 0
PNV: Creating PEC 1
PNV: Creating PEC 2
-> pnv_chip_power9_realize
PNV: Initializing PEC 0
pnv_pec_realize: PEC0 creating 1 stacks
pnv_pec_stk_realize realizing stack 0
PNV: Initializing PEC 1
pnv_pec_realize: PEC1 creating 2 stacks
pnv_pec_stk_realize realizing stack 0
pnv_pec_stk_realize realizing stack 1
PNV: Initializing PEC 2
pnv_pec_realize: PEC2 creating 3 stacks
pnv_pec_stk_realize realizing stack 0
pnv_pec_stk_realize realizing stack 1
pnv_pec_stk_realize realizing stack 2
<- pnv_chip_power9_realize
pnv_pec_dt_xscom chip 0 pec 0
pnv_pec_dt_xscom chip 0 pec 1
pnv_pec_dt_xscom chip 0 pec 2
qemu-system-powernv: unknown isa device aspeed.sio@i2e
[ 0.028731645,5] OPAL v6.1-153-g132fac73 starting...
[ 0.030073666,7] initial console log level: memory 7, driver 5
[ 0.030304107,6] CPU: P9 generation processor (max 4 threads/core)
[ 0.030452399,7] CPU: Boot CPU PIR is 0x0000 PVR is 0x004e1200
[ 0.030855408,7] OPAL table: 0x30118930 .. 0x30118f10, branch table: 0x30002000
[ 0.031332109,7] Assigning physical memory map table for nimbus
[ 0.031740837,7] FDT: Parsing fdt @0x1000000
[ 0.047679586,5] CHIP: Detected Qemu simulator
[ 0.048208600,6] CHIP: Initialised chip 0 from xscom@603fc00000000
[ 0.049133521,6] P9 DD2.00 detected
[ 0.049224887,5] CHIP: Chip ID 0000 type: P9N DD2.00
[ 0.049328463,7] XSCOM: Base address: 0x603fc00000000
[ 0.049532183,7] XSTOP: ibm,sw-checkstop-fir prop not found
[ 0.049718794,6] MFSI 0:0: Initialized
[ 0.049798525,6] MFSI 0:2: Initialized
[ 0.049875072,6] MFSI 0:1: Initialized
[ 0.051642878,6] LPC: LPC[000]: Initialized
[ 0.051725732,7] LPC: access via MMIO @0x6030000000000
[ 0.052040417,7] LPC: Default bus on chip 0x0
[ 0.052283177,7] CPU: New max PIR set to 0x3
[ 0.053599742,7] MEM: parsing reserved memory from reserved-names/-ranges properties
[ 0.053842854,7] CPU: decrementer bits 56
[ 0.054132220,6] CPU: CPU from DT PIR=0x0000 Server#=0x0 State=3
[ 0.054400898,6] CPU: 1 secondary threads
[ 0.058240119,7] UART: Using LPC IRQ 4
[ 0.070217716,5] PLAT: Detected Qemu platform
[ 3.218602560,5] CPU: All 1 processors called in...
[ 3.219878447,3] SBE: Master chip ID not found.
[ 3.256235244,3] FFS: Reading the flash has returned all 0xFF.
[ 3.256820529,3] Are you reading erased flash?
[ 3.257322602,3] Is something else using the flash controller?
[ 3.257960023,4] FLASH: No ffs info; using raw device only
[ 3.260638083,2] NVRAM: Failed to load
[ 3.261263922,2] NVRAM: Failed to load
[ 3.261766484,5] STB: secure boot not supported
[ 3.262357727,5] STB: trusted boot not supported
[ 3.263211855,4] FLASH: Can't load resource id:3. No system flash found
[ 3.264444920,2] NVRAM: Failed to load
[ 3.265254743,7] LPC: Routing irq 4, policy: 0 (r=1)
[ 3.265433015,7] LPC: SerIRQ 4 using route 0 targetted at OPAL
[ 3.266934037,3] SLW: HOMER base not set 0
[ 3.267461139,3] ELOG: Error getting buffer to log error
[ 3.268470173,2] NVRAM: Failed to load
[ 3.269570187,3] OCC: No HOMER detected, assuming no pstates
[ 3.270375754,3] ELOG: Error getting buffer to log error
[ 3.271070947,2] NVRAM: Failed to load
[ 3.272615869,4] FLASH: Can't load resource id:2. No system flash found
[ 3.273576371,4] FLASH: Can't load resource id:0. No system flash found
[ 3.274390035,4] FLASH: Can't load resource id:1. No system flash found
[ 3.277926917,3] IMC: IMC Catalog load failed
[ 3.280277161,2] NVRAM: Failed to load
[ 3.280858758,2] NVRAM: Failed to load
[ 3.281380965,2] NVRAM: Failed to load
[ 3.281909560,2] NVRAM: Failed to load
[ 3.300746367,3] XSCOM: write error gcid=0x0 pcb_addr=0xd010900 stat=0x0
[ 3.301308822,3] ELOG: Error getting buffer to log error
[ 3.301494761,3] XSCOM: Write failed, ret = -6
[ 3.302964965,3] PHB#0000[0:0]: XSCOM error addressing register 0x800
[ 3.303640583,3] PHB#0000[0:0]: Failed to read version, PHB appears broken
[ 3.305754485,3] XSCOM: write error gcid=0x0 pcb_addr=0xe010900 stat=0x0
[ 3.306281337,3] ELOG: Error getting buffer to log error
[ 3.306357917,3] XSCOM: Write failed, ret = -6
[ 3.307711701,3] PHB#0001[0:1]: XSCOM error addressing register 0x800
[ 3.308310100,3] PHB#0001[0:1]: Failed to read version, PHB appears broken
[ 3.310364879,3] XSCOM: write error gcid=0x0 pcb_addr=0xe010940 stat=0x0
[ 3.310888419,3] ELOG: Error getting buffer to log error
[ 3.310964090,3] XSCOM: Write failed, ret = -6
[ 3.312316764,3] PHB#0002[0:2]: XSCOM error addressing register 0x800
[ 3.312924098,3] PHB#0002[0:2]: Failed to read version, PHB appears broken
[ 3.314983945,3] XSCOM: write error gcid=0x0 pcb_addr=0xf010900 stat=0x0
[ 3.315508029,3] ELOG: Error getting buffer to log error
[ 3.315583970,3] XSCOM: Write failed, ret = -6
[ 3.316980903,3] PHB#0003[0:3]: XSCOM error addressing register 0x800
[ 3.317609408,3] PHB#0003[0:3]: Failed to read version, PHB appears broken
[ 3.319774033,3] XSCOM: write error gcid=0x0 pcb_addr=0xf010940 stat=0x0
[ 3.320320629,3] ELOG: Error getting buffer to log error
[ 3.320419084,3] XSCOM: Write failed, ret = -6
[ 3.322543868,3] PHB#0004[0:4]: XSCOM error addressing register 0x800
[ 3.323410012,3] PHB#0004[0:4]: Failed to read version, PHB appears broken
[ 3.325587381,3] XSCOM: write error gcid=0x0 pcb_addr=0xf010980 stat=0x0
[ 3.326145147,3] ELOG: Error getting buffer to log error
[ 3.326224337,3] XSCOM: Write failed, ret = -6
[ 3.327790403,3] PHB#0005[0:5]: XSCOM error addressing register 0x800
[ 3.328416364,3] PHB#0005[0:5]: Failed to read version, PHB appears broken
[ 3.330728303,2] NVRAM: Failed to load
[ 3.342058222,5] PCI: Resetting PHBs and training links...
[ 9.447687074,5] PCI: Probing slots...
[ 9.449931005,5] PCI Summary:
[ 10.341201634,5] INIT: Waiting for kernel...
[ 10.341707707,5] INIT: platform wait for kernel load failed
[ 10.342282594,5] INIT: Assuming kernel at 0x20000000
[ 10.342976240,5] INIT: 64-bit LE kernel discovered
[ 10.343794859,3] OCC: Unassigned OCC Common Area. No sensors found
[ 10.345330718,2] NVRAM: Failed to load
[ 10.501749566,5] INIT: Starting kernel at 0x20010000, fdt at 0x304e0248 16962 bytes
[ 11.501409938,5] OPAL: Switch to little-endian OS
[ 0.000000] dt-cpu-ftrs: setup for ISA 3000
[ 0.000000] dt-cpu-ftrs: not enabling: system-call-vectored (disabled or unsupported by kernel)
[ 0.000000] dt-cpu-ftrs: final cpu/mmu features = 0x0000c06f8f5fb1a7 0x3c006041
[ 0.000000] radix-mmu: Initializing Radix MMU
[ 0.000000] radix-mmu: Partition table (____ptrval____)
[ 0.000000] radix-mmu: Mapped 0x0000000000000000-0x0000000080000000 with 64.0 KiB pages
[ 0.000000] radix-mmu: Process table (____ptrval____) and radix root for kernel: (____ptrval____)
[ 0.000000] Linux version 4.18.0-10-generic (buildd@bos02-ppc64el-002) (gcc version 8.2.0 (Ubuntu 8.2.0-7ubuntu1)) #11-Ubuntu SMP Thu Oct 11 15:06:33 UTC 2018 (Ubuntu 4.18.0-10.11-generic 4.18.12)
[ 0.000000] Using PowerNV machine description
[ 0.000000] bootconsole [udbg0] enabled
[ 0.000000] CPU maps initialized for 1 thread per core
[ 0.000000] -----------------------------------------------------
[ 0.000000] ppc64_pft_size = 0x0
[ 0.000000] phys_mem_size = 0x80000000
[ 0.000000] dcache_bsize = 0x80
[ 0.000000] icache_bsize = 0x80
[ 0.000000] cpu_features = 0x0000c06f8f4fb1a7
[ 0.000000] possible = 0x0000ffffcf5fb1a7
[ 0.000000] always = 0x00000003800081a1
[ 0.000000] cpu_user_features = 0xdc0065c2 0xaee00000
[ 0.000000] mmu_features = 0x3c006041
[ 0.000000] firmware_features = 0x0000000110000000
[ 0.000000] -----------------------------------------------------
[ 0.000000] cma: Reserved 112 MiB at 0x0000000073000000
[ 0.000000] numa: NODE_DATA [mem 0x7bfabc80-0x7bfb7fff]
[ 0.000000] rfi-flush: fallback displacement flush available
[ 0.000000] barrier-nospec: using ORI speculation barrier
[ 0.000000] stf-barrier: eieio barrier available
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000000000000-0x000000007fffffff]
[ 0.000000] DMA32 empty
[ 0.000000] Normal empty
[ 0.000000] Device empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x000000007fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000007fffffff]
[ 0.000000] percpu: Embedded 4 pages/cpu @(____ptrval____) s172440 r0 d89704 u262144
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32736
[ 0.000000] Policy zone: DMA
[ 0.000000] Kernel command line:
[ 0.000000] Memory: 1826176K/2097152K available (13760K kernel code, 2112K rwdata, 3712K rodata, 4928K init, 3013K bss, 156288K reserved, 114688K cma-reserved)
[ 0.000000] random: get_random_u64 called from kmem_cache_open+0x50/0x630 with crng_init=0
[ 0.000000] SLUB: HWalign=128, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] ftrace: allocating 35865 entries in 14 pages
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] RCU restricting CPUs from NR_CPUS=2048 to nr_cpu_ids=1.
[ 0.000000] Tasks RCU enabled.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[ 0.000000] NR_IRQS: 512, nr_irqs: 512, preallocated irqs: 16
[ 0.000000] xive: Interrupt handling initialized with native backend
[ 0.000000] xive: Using priority 7 for all interrupts
[ 0.000000] xive: Using 64kB queues
[ 0.000312] time_init: 56 bit decrementer (max: 7fffffffffffff)
[ 0.005966] clocksource: timebase: mask: 0xffffffffffffffff max_cycles: 0x761537d007, max_idle_ns: 440795202126 ns
[ 0.017883] clocksource: timebase mult[1f40000] shift[24] registered
[ 0.034631] Console: colour dummy device 80x25
[ 0.037195] console [hvc0] enabled
[ 0.037195] console [hvc0] enabled
[ 0.038953] bootconsole [udbg0] disabled
[ 0.038953] bootconsole [udbg0] disabled
[ 0.046154] pid_max: default: 32768 minimum: 301
[ 0.048723] Security Framework initialized
[ 0.049272] Yama: becoming mindful.
[ 0.053658] AppArmor: AppArmor initialized
[ 0.060229] Dentry cache hash table entries: 262144 (order: 5, 2097152 bytes)
[ 0.063321] Inode-cache hash table entries: 131072 (order: 4, 1048576 bytes)
[ 0.064692] Mount-cache hash table entries: 8192 (order: 0, 65536 bytes)
[ 0.065430] Mountpoint-cache hash table entries: 8192 (order: 0, 65536 bytes)
[ 0.127040] EEH: PowerNV platform initialized
[ 0.127985] POWER9 performance monitor hardware support registered
[ 0.130731] Hierarchical SRCU implementation.
[ 0.153722] smp: Bringing up secondary CPUs ...
[ 0.154286] smp: Brought up 1 node, 1 CPU
[ 0.154891] numa: Node 0 CPUs: 0
[ 0.155742] Using standard scheduler topology
[ 0.175464] devtmpfs: initialized
[ 0.210055] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.211278] futex hash table entries: 256 (order: -1, 32768 bytes)
[ 0.220981] pinctrl core: initialized pinctrl subsystem
[ 0.245259] NET: Registered protocol family 16
[ 0.249171] EEH: No capable adapters found
[ 0.252989] audit: initializing netlink subsys (disabled)
[ 0.258605] audit: type=2000 audit(1541497140.200:1): state=initialized audit_enabled=0 res=1
[ 0.262818] cpuidle: using governor ladder
[ 0.263392] cpuidle: using governor menu
[ 0.265348] nvram: No room to create lnx,oops-log partition, deleting any obsolete OS partitions...
[ 0.266239] nvram: Failed to find or create lnx,oops-log partition, err -28
[ 0.267142] nvram: Failed to initialize oops partition!
[ 0.286492] PCI: Probing PCI hardware
[ 0.301079] cpuidle-powernv: Default stop: psscr = 0x0000000000000330,mask=0x00000000003003ff
[ 0.301896] cpuidle-powernv: Deepest stop: psscr = 0x0000000000300331,mask=0x00000000003003ff
[ 0.302832] cpuidle-powernv: Requested Level (RL) value of first deep stop = 0xf
[ 0.304936] powernv-rng: Unable to use DARN for get_random_seed()
[ 0.376083] SCSI subsystem initialized
[ 0.385157] vgaarb: loaded
[ 0.387592] usbcore: registered new interface driver usbfs
[ 0.388668] usbcore: registered new interface driver hub
[ 0.389645] usbcore: registered new device driver usb
[ 0.391284] pps_core: LinuxPPS API ver. 1 registered
[ 0.391795] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]>
[ 0.392757] PTP clock support registered
[ 0.394645] EDAC MC: Ver: 3.0.0
[ 0.413095] NetLabel: Initializing
[ 0.413447] NetLabel: domain hash size = 128
[ 0.413840] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO
[ 0.417199] NetLabel: unlabeled traffic allowed by default
[ 0.422518] clocksource: Switched to clocksource timebase
[ 0.849215] VFS: Disk quotas dquot_6.6.0
[ 0.850173] VFS: Dquot-cache hash table entries: 8192 (order 0, 65536 bytes)
[ 0.853993] hugetlbfs: disabling because there are no supported hugepage sizes
[ 0.860799] AppArmor: AppArmor Filesystem Enabled
[ 0.914676] NET: Registered protocol family 2
[ 0.924570] tcp_listen_portaddr_hash hash table entries: 4096 (order: 0, 65536 bytes)
[ 0.925525] TCP established hash table entries: 16384 (order: 1, 131072 bytes)
[ 0.927350] TCP bind hash table entries: 16384 (order: 2, 262144 bytes)
[ 0.928394] TCP: Hash tables configured (established 16384 bind 16384)
[ 0.930617] UDP hash table entries: 2048 (order: 0, 65536 bytes)
[ 0.931554] UDP-Lite hash table entries: 2048 (order: 0, 65536 bytes)
[ 0.935351] NET: Registered protocol family 1
[ 0.936250] NET: Registered protocol family 44
[ 0.963563] Initialise system trusted keyrings
[ 0.966459] Key type blacklist registered
[ 0.968186] workingset: timestamp_bits=38 max_order=15 bucket_order=0
[ 1.021503] zbud: loaded
[ 1.036462] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 1.044196] fuse init (API version 7.27)
[ 1.047446] pstore: using deflate compression
[ 1.099718] Key type asymmetric registered
[ 1.100230] Asymmetric key parser 'x509' registered
[ 1.101693] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
[ 1.104429] io scheduler noop registered
[ 1.104883] io scheduler deadline registered
[ 1.106904] io scheduler cfq registered (default)
[ 1.119634] hvc0: raw protocol on /ibm,opal/consoles/serial@0 (boot console)
[ 1.120398] hvc0: No interrupts property, using OPAL event
[ 1.127776] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled
[ 1.194264] Linux agpgart interface v0.103
[ 1.243836] loop: module loaded
[ 1.251484] libphy: Fixed MDIO Bus: probed
[ 1.251979] tun: Universal TUN/TAP device driver, 1.6
[ 1.253566] PPP generic driver version 2.4.2
[ 1.257860] VFIO - User Level meta-driver version: 0.3
[ 1.262234] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.263675] ehci-pci: EHCI PCI platform driver
[ 1.264501] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.265205] ohci-pci: OHCI PCI platform driver
[ 1.265977] uhci_hcd: USB Universal Host Controller Interface driver
[ 1.270746] mousedev: PS/2 mouse device common for all mice
[ 1.276653] rtc-opal opal-rtc: rtc core: registered rtc-opal as rtc0
[ 1.278290] i2c /dev entries driver
[ 1.283932] device-mapper: uevent: version 1.0.3
[ 1.286885] device-mapper: ioctl: 4.39.0-ioctl (2018-04-03) initialised: [email protected]
[ 1.287871] powernv-cpufreq: ibm,pstate-min node not found
[ 1.288342] powernv-cpufreq: Platform driver disabled. System does not support PState control
[ 1.292234] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.297885] NET: Registered protocol family 10
[ 1.324847] Segment Routing with IPv6
[ 1.326509] NET: Registered protocol family 17
[ 1.329867] Key type dns_resolver registered
[ 1.332794] drmem: No dynamic reconfiguration memory found
[ 1.337815] registered taskstats version 1
[ 1.339040] Loading compiled-in X.509 certificates
[ 1.361759] Loaded X.509 cert 'Build time autogenerated kernel key: 8a7af807e0aebf39925c372e8dcb5e569056fb13'
[ 1.364781] zswap: loaded using pool lzo/zbud
[ 1.377663] Key type big_key registered
[ 1.378157] Key type trusted registered
[ 1.381879] Key type encrypted registered
[ 1.382678] AppArmor: AppArmor sha1 policy hashing enabled
[ 1.383987] ima: No TPM chip found, activating TPM-bypass! (rc=-19)
[ 1.384732] ima: Allocated hash algorithm: sha256
[ 1.388434] evm: Initialising EVM extended attributes:
[ 1.388914] evm: security.selinux
[ 1.389250] evm: security.SMACK64
[ 1.389552] evm: security.SMACK64EXEC
[ 1.389871] evm: security.SMACK64TRANSMUTE
[ 1.390217] evm: security.SMACK64MMAP
[ 1.390897] evm: security.apparmor
[ 1.391217] evm: security.ima
[ 1.391496] evm: security.capability
[ 1.391876] evm: HMAC attrs: 0x1
[ 1.395891] rtc-opal opal-rtc: setting system clock to 2018-11-06 09:39:01 UTC (1541497141)
[ 1.409907] md: Waiting for all devices to be available before autodetect
[ 1.410759] md: If you don't use raid, use raid=noautodetect
[ 1.418959] md: Autodetecting RAID arrays.
[ 1.419474] md: autorun ...
[ 1.419747] md: ... autorun DONE.
[ 1.422914] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[ 1.423625] Please append a correct "root=" boot option; here are the available partitions:
[ 1.424648] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 1.425825] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.18.0-10-generic #11-Ubuntu
[ 1.427386] Call Trace:
[ 1.427992] [c000000072717af0] [c000000000d419fc] dump_stack+0xb0/0xf4 (unreliable)
[ 1.429340] [c000000072717b30] [c000000000111abc] panic+0x144/0x318
[ 1.430380] [c000000072717bd0] [c000000001124cb8] mount_block_root+0x2e8/0x3cc
[ 1.431069] [c000000072717c90] [c000000001125008] prepare_namespace+0x1ac/0x280
[ 1.431691] [c000000072717d00] [c0000000011246b4] kernel_init_freeable+0x410/0x450
[ 1.432376] [c000000072717dc0] [c00000000000deb4] kernel_init+0x24/0x150
[ 1.433041] [c000000072717e30] [c00000000000b65c] ret_from_kernel_thread+0x5c/0x80
[ 1.435824] Rebooting in 10 seconds..
QEMU: Terminated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment