[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Hypervisor trap when dumping register





On 5/25/2016 2:37 AM, Julien Grall wrote:
Hello,

Again, please configure your e-mail client to quote properly. I.e using
'>' rather than tabulations.

Sorry, I was using gmail web client, now I switched to thunderbird.


On 25/05/16 02:18, Chenxiao Zhao wrote:


On Tue, May 24, 2016 at 12:20 PM Julien Grall <julien.grall@xxxxxxx
<mailto:julien.grall@xxxxxxx>> wrote:



    On 24/05/2016 05:00, Chenxiao Zhao wrote:
     > Hi

    Hello,

     > I'm playing xen on Hikey board which has octa-core with
    Cortex-A53. When
     > I am trying to dump core registers on xen console (press 'd'),
I got
     > Hypervisor trap error.
     >
     > Anyone can explain why it happen and how to fix it?
     >
     > Thanks.
     >
     > (XEN) 'd' pressed -> dumping registers
     > (XEN)
     > (XEN) *** Dumping CPU0 host state: ***
     > (XEN) ----[ Xen-4.7.0-rc  arm64  debug=y  Not tainted ]----
     > (XEN) CPU:    0
     > (XEN) PC:     0000000000245ed8Hypervisor Trap. HSR=0x96000007
EC=0x25

    EC=0x25 (see D7.2.27 in ARM DDI 0487A.i) is a data abort from the
    hypervisor. Can you please paste all the logs, give the rc you are
    using...


Hi, Julien

This is all the logs and the system get halt on the last line. I am
using 4.7.0-rc which is checked out from git repository master branch.

So you are saying there is no log before hand too?

Yes, there are logs before I was dumping register.

I'll paste all the logs I got from serial port below.

3h
Xen 4.7.0-rc (c/s Tue May 24 09:47:56 2016 +0800 git:babd09e-dirty) EFI loader
Using configuration file 'xen.cfg'
Parsing configuration file.
hi6220-hikey.dtb: 0x000000007ac95000-0x000000007aca0811
Using dtb file 'h'
Image: 0x0000000079fb8000-0x000000007ac87e00
 Xen 4.7.0-rc
(XEN) Xen version 4.7.0-rc (cxzhao@) (aarch64-linux-gnu-gcc (crosstool-NG linaro-1.13.1-4.9-2014.09 - Linaro GCC 4.9-2014.09) 4.9.2 20140904 (prerelease)) debug=y Wed May 25 18:31:14 CST 2016
(XEN) Latest ChangeSet: Tue May 24 09:47:56 2016 +0800 git:babd09e-dirty
(XEN) Console output is synchronous.
(XEN) Processor: 410fd033: "ARM Limited", variant: 0x0, part 0xd03, rev 0x3
(XEN) 64-bit Execution:
(XEN)   Processor Features: 0000000000002222 0000000000000000
(XEN)     Exception Levels: EL3:64+32 EL2:64+32 EL1:64+32 EL0:64+32
(XEN)     Extensions: FloatingPoint AdvancedSIMD
(XEN)   Debug Features: 0000000010305106 0000000000000000
(XEN)   Auxiliary Features: 0000000000000000 0000000000000000
(XEN)   Memory Model Features: 0000000000001122 0000000000000000
(XEN)   ISA Features:  0000000000011120 0000000000000000
(XEN) 32-bit Execution:
(XEN)   Processor Features: 00000131:00011011
(XEN)     Instruction Sets: AArch32 A32 Thumb Thumb-2 Jazelle
(XEN)     Extensions: GenericTimer Security
(XEN)   Debug Features: 03010066
(XEN)   Auxiliary Features: 00000000
(XEN)   Memory Model Features: 10101105 40000000 01260000 02102211
(XEN)  ISA Features: 02101110 13112111 21232042 01112131 00011142 00011121
(XEN) Using PSCI-1.0 for SMP bringup
(XEN) Generic Timer IRQ: phys=30 hyp=26 virt=27 Freq: 1200 KHz
(XEN) GICv2 initialization:
(XEN)         gic_dist_addr=00000000f6801000
(XEN)         gic_cpu_addr=00000000f6802000
(XEN)         gic_hyp_addr=00000000f6804000
(XEN)         gic_vcpu_addr=00000000f6806000
(XEN)         gic_maintenance_irq=25
(XEN) GICv2: 160 lines, 8 cpus, secure (IID 0200143b).
(XEN) Using scheduler: SMP Credit Scheduler (credit)
(XEN) Allocated console ring of 64 KiB.
(XEN) Bringing up CPU1
(XEN) CPU 1 booted.
(XEN) Bringing up CPU2
(XEN) CPU 2 booted.
(XEN) Bringing up CPU3
(XEN) CPU 3 booted.
(XEN) Bringing up CPU4
(XEN) CPU 4 booted.
(XEN) Bringing up CPU5
(XEN) CPU 5 booted.
(XEN) Bringing up CPU6
(XEN) CPU 6 booted.
(XEN) Bringing up CPU7
(XEN) CPU 7 booted.
(XEN) Brought up 8 CPUs
(XEN) P2M: 40-bit IPA with 40-bit PA
(XEN) P2M: 3 levels with order-1 root, VTCR 0x80023558
(XEN) I/O virtualisation disabled
(XEN) Patching kernel code
(XEN) *** LOADING DOMAIN 0 ***
(XEN) Loading kernel from boot module @ 0000000079fb8000
(XEN) Loading ramdisk from boot module @ 000000000ae00000
(XEN) Allocating 1:1 mappings totalling 1024MB for dom0:
(XEN) BANK[0] 0x00000020000000-0x00000030000000 (256MB)
(XEN) BANK[1] 0x00000040000000-0x00000070000000 (768MB)
(XEN) Grant table range: 0x00000005c00000-0x00000005c60000
(XEN) Loading zImage from 0000000079fb8000 to 0000000020080000-0000000020d4fe00 (XEN) Loading dom0 initrd from 000000000ae00000 to 0x0000000028200000-0x0000000028a00000
(XEN) Allocating PPI 16 for event channel interrupt
(XEN) Loading dom0 DTB to 0x0000000028000000-0x000000002800b19e
(XEN) Scrubbing Free RAM on 1 nodes using 8 CPUs
(XEN) ..done.
(XEN) Initial low memory virq threshold set at 0x4000 pages.
(XEN) Std. Loglevel: All
(XEN) Guest Loglevel: All
(XEN) **********************************************
(XEN) ******* WARNING: CONSOLE OUTPUT IS SYNCHRONOUS
(XEN) ******* This option is intended to aid debugging of Xen by ensuring
(XEN) ******* that all output is synchronously delivered on the serial line.
(XEN) ******* However it can introduce SIGNIFICANT latencies and affect
(XEN) ******* timekeeping. It is NOT recommended for production use!
(XEN) **********************************************
(XEN) 3... 2... 1...
(XEN) *** Serial input -> DOM0 (type 'CTRL-x' three times to switch input to Xen)
(XEN) Freed 292kB init memory.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 4.1.15+ (cxzhao@cxzhao-Lenovo-Product) (gcc version 4.9.2 20140904 (prerelease) (crosstool-NG linaro-1.13.1-4.9-2014.09 - Linaro GCC 4.9-2014.09) ) #33 SMP PREEMPT Wed May 18 10:48:04 CST 2016
[    0.000000] CPU: AArch64 Processor [410fd033] revision 3
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] alternatives: enabling workaround for ARM erratum 845719
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv0.2 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] PERCPU: Embedded 17 pages/cpu @ffffffc04ff24000 s30464 r8192 d30976 u69632 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 257796 [ 0.000000] Kernel command line: console=hvc root=/dev/mmcblk0p9 rootwait rw 3
[    0.000000] log_buf_len individual max cpu contribution: 4096 bytes
[    0.000000] log_buf_len total cpu_extra contributions: 28672 bytes
[    0.000000] log_buf_len min size: 16384 bytes
[    0.000000] log_buf_len: 65536 bytes
[    0.000000] early log buf free: 14704(89%)
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes) [ 0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes) [ 0.000000] software IO TLB [mem 0x69c00000-0x6dc00000] (64MB) mapped at [ffffffc049c00000-ffffffc04dbfffff] [ 0.000000] Memory: 924480K/1047552K available (8987K kernel code, 543K rwdata, 3216K rodata, 344K init, 442K bss, 123072K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[ 0.000000] vmalloc : 0xffffff8000000000 - 0xffffffbdbfff0000 ( 246 GB) [ 0.000000] vmemmap : 0xffffffbdc0000000 - 0xffffffbfc0000000 ( 8 GB maximum) [ 0.000000] 0xffffffbdc0800000 - 0xffffffbdc1c00000 ( 20 MB actual) [ 0.000000] fixed : 0xffffffbffabfd000 - 0xffffffbffac00000 ( 12 KB) [ 0.000000] PCI I/O : 0xffffffbffae00000 - 0xffffffbffbe00000 ( 16 MB) [ 0.000000] modules : 0xffffffbffc000000 - 0xffffffc000000000 ( 64 MB) [ 0.000000] memory : 0xffffffc000000000 - 0xffffffc050000000 ( 1280 MB) [ 0.000000] .init : 0xffffffc000c6d000 - 0xffffffc000cc3000 ( 344 KB) [ 0.000000] .text : 0xffffffc000080000 - 0xffffffc000c6cdc4 ( 12212 KB) [ 0.000000] .data : 0xffffffc000cc8000 - 0xffffffc000d4fe00 ( 544 KB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Additional per-CPU info printed with stalls.
[    0.000000]  RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=8.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=8
[    0.000000] NR_IRQS:64 nr_irqs:64 16
[    0.000000] SYSPLL: syspll PM status: 0x30007808
[    0.000000] SYSPLL: syspll is read: l: 0x8000, u: 0x46F5
[    0.000000] SYSPLL: syspll is read: 0x46F58000, 1190494208
[    0.000000] SYSPLL: set syspll medpll: 1190400000
[    0.000000] SYSPLL: modified fix_rate[8], id=9, f=1190400000
[    0.000000] SYSPLL: modified fix_rate[9], id=10, f=1190400000
[ 0.000000] clocksource arm,sp804: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 99544814920 ns [ 0.000004] sched_clock: 32 bits at 19MHz, resolution 52ns, wraps every 111848106981ns
[    0.000444] Architected cp15 timer(s) running at 1.20MHz (virt).
[ 0.000452] clocksource arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x11b661f8e, max_idle_ns: 1763180809113 ns
[    0.000850] Console: colour dummy device 80x25
[ 0.000868] Calibrating delay loop (skipped), value calculated using timer frequency.. 2.40 BogoMIPS (lpj=12000)
[    0.000878] pid_max: default: 32768 minimum: 301
[    0.000975] Security Framework initialized
[    0.000990] SELinux:  Initializing.
[    0.001083] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.001090] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes)
[    0.001585] Initializing cgroup subsys blkio
[    0.001597] Initializing cgroup subsys memory
[    0.001629] Initializing cgroup subsys devices
[    0.001639] Initializing cgroup subsys freezer
[    0.001648] Initializing cgroup subsys net_cls
[    0.001660] Initializing cgroup subsys perf_event
[    0.001669] Initializing cgroup subsys net_prio
[    0.001678] Initializing cgroup subsys hugetlb
[    0.001687] Initializing cgroup subsys debug
[ 0.002026] hw perfevents: enabled with arm/armv8-pmuv3 PMU driver, 1 counters available
[    0.002060] EFI services will not be available.
[ 0.002267] Xen 4.7 support found, events_irq=20 gnttab_frame=0x0000000005c00000
[    0.002386] xen:grant_table: Grant tables using version 1 layout
[    0.002413] Grant table initialized
[    0.002456] xen:events: Using FIFO-based ABI
[    0.002469] Xen: initializing cpu0
[    0.082811] CPU1: Booted secondary processor
[    0.082819] Detected VIPT I-cache on CPU1
[    0.082869] Xen: initializing cpu1
[    0.102773] CPU2: Booted secondary processor
[    0.102778] Detected VIPT I-cache on CPU2
[    0.102813] Xen: initializing cpu2
[    0.122904] CPU3: Booted secondary processor
[    0.122909] Detected VIPT I-cache on CPU3
[    0.122943] Xen: initializing cpu3
[    0.143045] CPU4: Booted secondary processor
[    0.143053] Detected VIPT I-cache on CPU4
[    0.143099] Xen: initializing cpu4
[    0.163118] CPU5: Booted secondary processor
[    0.163123] Detected VIPT I-cache on CPU5
[    0.163154] Xen: initializing cpu5
[    0.183233] CPU6: Booted secondary processor
[    0.183238] Detected VIPT I-cache on CPU6
[    0.183269] Xen: initializing cpu6
[    0.203357] CPU7: Booted secondary processor
[    0.203361] Detected VIPT I-cache on CPU7
[    0.203393] Xen: initializing cpu7
[    0.203497] Brought up 8 CPUs
[    0.203544] SMP: Total of 8 processors activated.
[    0.203550] CPU: All CPU(s) started at EL1
[    0.203630] alternatives: patching kernel code
[    0.204308] devtmpfs: initialized
[    0.212628] DMI not present or invalid.
[ 0.213008] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.213507] xor: measuring software checksum speed
[    0.311387]    8regs     :  2379.600 MB/sec
[    0.411457]    8regs_prefetch:  2174.400 MB/sec
[    0.511526]    32regs    :  2637.200 MB/sec
[    0.611593]    32regs_prefetch:  2363.600 MB/sec
[    0.611600] xor: using function: 32regs (2637.200 MB/sec)
[    0.611617] pinctrl core: initialized pinctrl subsystem
[    0.612843] NET: Registered protocol family 16
[ 0.614756] vdso: 2 pages (1 code @ ffffffc000ccd000, 1 data @ ffffffc000ccc000)
[    0.614842] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.615009] DMA: preallocated 256 KiB pool for atomic allocations
[ 0.627304] software IO TLB [mem 0x5c000000-0x60000000] (64MB) mapped at [ffffffc03c000000-ffffffc03fffffff]
[    0.627441] Serial: AMBA PL011 UART driver
[ 0.628536] uart-pl011 f7111000.uart: could not find pctldev for node /smb/pinmux@f7010000/uart1_pmx_func, deferring probe [ 0.628813] uart-pl011 f7112000.uart: could not find pctldev for node /smb/pinmux@f7010000/uart2_pmx_func, deferring probe [ 0.629077] uart-pl011 f7114000.uart: could not find pctldev for node /smb/pinmux@f7010000/uart4_pmx_func, deferring probe
[    0.852178] raid6: int64x1  gen()   467 MB/s
[    1.022270] raid6: int64x1  xor()   493 MB/s
[    1.192391] raid6: int64x2  gen()   691 MB/s
[    1.362563] raid6: int64x2  xor()   609 MB/s
[    1.532717] raid6: int64x4  gen()  1002 MB/s
[    1.702853] raid6: int64x4  xor()   744 MB/s
[    1.872968] raid6: int64x8  gen()  1038 MB/s
[    2.043115] raid6: int64x8  xor()   728 MB/s
[    2.213272] raid6: neonx1   gen()   751 MB/s
[    2.383400] raid6: neonx2   gen()  1162 MB/s
[    2.553576] raid6: neonx4   gen()  1537 MB/s
[    2.723693] raid6: neonx8   gen()  1537 MB/s
[    2.723699] raid6: using algorithm neonx4 gen() 1537 MB/s
[    2.723705] raid6: using intx1 recovery algorithm
[    2.723842] ACPI: Interpreter disabled.
[    2.723907] xen:balloon: Initialising balloon driver
[    2.724229] xen_balloon: Initialising balloon driver
[    2.725342] /iommu@f4210000: could not get #clock-cells for /sys_ctrl
[    2.725349] ERROR: could not get clock /iommu@f4210000:media-sc(1)
[    2.725367] /iommu@f4210000: could not get #clock-cells for /sys_ctrl
[    2.725372] ERROR: could not get clock /iommu@f4210000:smmu-peri(2)
[    2.725387] /iommu@f4210000: could not get #clock-cells for /sys_ctrl
[    2.725393] ERROR: could not get clock /iommu@f4210000:smmu(0)
[    2.725398] IOMMU: clk is not ready!
[    2.725419] smmu-hi6220: probe of f4210000.iommu failed with error -22
[    2.725715] vgaarb: loaded
[    2.726053] SCSI subsystem initialized
[ 2.726413] ssp-pl022 f7106000.spi: could not find pctldev for node /smb/pinmux@f7010000/spi0_pmx_func, deferring probe
[    2.726744] usbcore: registered new interface driver usbfs
[    2.726801] usbcore: registered new interface driver hub
[    2.726992] usbcore: registered new device driver usb
[ 2.727176] i2c_designware f7102000.i2c: could not find pctldev for node /smb/pinmux@f7010000/i2c2_pmx_func, deferring probe
[    2.727297] Linux video capture interface: v2.00
[    2.727709] hi6220-stub-clk stub_clock: failed get mailbox channel
[    2.727729] hi6220-stub-clk: probe of stub_clock failed with error -16
[    2.727865] Advanced Linux Sound Architecture Driver Initialized.
[    2.728379] Bluetooth: Core ver 2.20
[    2.728430] NET: Registered protocol family 31
[    2.728436] Bluetooth: HCI device and connection manager initialized
[    2.728447] Bluetooth: HCI socket layer initialized
[    2.728456] Bluetooth: L2CAP socket layer initialized
[    2.728487] Bluetooth: SCO socket layer initialized
[    2.728511] NetLabel: Initializing
[    2.728517] NetLabel:  domain hash size = 128
[    2.728522] NetLabel:  protocols = UNLABELED CIPSOv4
[    2.728566] NetLabel:  unlabeled traffic allowed by default
[    2.728830] Switched to clocksource arch_sys_counter
[    2.729184] pnp: PnP ACPI: disabled
[    2.739356] /thermal-zones/cls0/cooling-maps/map0: could not find phandle
[    2.739368] missing cooling_device property
[    2.739374] failed to build thermal zone cls0: -22
[    2.739786] NET: Registered protocol family 2
[ 2.740391] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[    2.740471] TCP bind hash table entries: 8192 (order: 5, 131072 bytes)
[    2.740613] TCP: Hash tables configured (established 8192 bind 8192)
[    2.740674] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    2.740700] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    2.741012] NET: Registered protocol family 1
[    2.741414] RPC: Registered named UNIX socket transport module.
[    2.741420] RPC: Registered udp transport module.
[    2.741425] RPC: Registered tcp transport module.
[    2.741430] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    2.741663] Trying to unpack rootfs image as initramfs...
[ 2.741848] rootfs image is not initramfs (junk in compressed archive); looks like an initrd [ 2.757952] Freeing initrd memory: 8192K (ffffffc008200000 - ffffffc008a00000)
[    2.758334] kvm [1]: HYP mode not available
[    2.762456] futex hash table entries: 2048 (order: 5, 131072 bytes)
[    2.762626] audit: initializing netlink subsys (disabled)
[    2.762675] audit: type=2000 audit(2.749:1): initialized
[    2.763222] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    2.763689] VFS: Disk quotas dquot_6.6.0
[ 2.763770] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    2.764361] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    2.764997] NFS: Registering the id_resolver key type
[    2.765039] Key type id_resolver registered
[    2.765044] Key type id_legacy registered
[    2.765263] fuse init (API version 7.23)
[    2.765646] SGI XFS with security attributes, no debug enabled
[    2.766484] 9p: Installing v9fs 9p2000 file system support
[    2.771692] io scheduler noop registered
[    2.771718] io scheduler cfq registered (default)
[ 2.772752] pinctrl-single f7010000.pinmux: 159 pins at pa ffffff80000b6000 size 636 [ 2.773188] pinctrl-single f7010800.pinmux: 163 pins at pa ffffff80000b8800 size 652 [ 2.773381] pinctrl-single f8001800.pinmux: 30 pins at pa ffffff80000ba800 size 120 [ 2.773924] pl061_gpio f8011000.gpio: PL061 GPIO chip @0x00000000f8011000 registered [ 2.774111] pl061_gpio f8012000.gpio: PL061 GPIO chip @0x00000000f8012000 registered [ 2.774289] pl061_gpio f8013000.gpio: PL061 GPIO chip @0x00000000f8013000 registered [ 2.774469] pl061_gpio f8014000.gpio: PL061 GPIO chip @0x00000000f8014000 registered [ 2.774650] pl061_gpio f7020000.gpio: PL061 GPIO chip @0x00000000f7020000 registered [ 2.774826] pl061_gpio f7021000.gpio: PL061 GPIO chip @0x00000000f7021000 registered [ 2.775008] pl061_gpio f7022000.gpio: PL061 GPIO chip @0x00000000f7022000 registered [ 2.775182] pl061_gpio f7023000.gpio: PL061 GPIO chip @0x00000000f7023000 registered [ 2.775376] pl061_gpio f7024000.gpio: PL061 GPIO chip @0x00000000f7024000 registered [ 2.775554] pl061_gpio f7025000.gpio: PL061 GPIO chip @0x00000000f7025000 registered [ 2.775788] pl061_gpio f7026000.gpio: PL061 GPIO chip @0x00000000f7026000 registered [ 2.775966] pl061_gpio f7027000.gpio: PL061 GPIO chip @0x00000000f7027000 registered [ 2.776151] pl061_gpio f7028000.gpio: PL061 GPIO chip @0x00000000f7028000 registered [ 2.776351] pl061_gpio f7029000.gpio: PL061 GPIO chip @0x00000000f7029000 registered [ 2.776529] pl061_gpio f702a000.gpio: PL061 GPIO chip @0x00000000f702a000 registered [ 2.776707] pl061_gpio f702b000.gpio: PL061 GPIO chip @0x00000000f702b000 registered [ 2.776892] pl061_gpio f702c000.gpio: PL061 GPIO chip @0x00000000f702c000 registered [ 2.777071] pl061_gpio f702d000.gpio: PL061 GPIO chip @0x00000000f702d000 registered [ 2.777261] pl061_gpio f702e000.gpio: PL061 GPIO chip @0x00000000f702e000 registered [ 2.777437] pl061_gpio f702f000.gpio: PL061 GPIO chip @0x00000000f702f000 registered
[    2.778613] xen:xen_evtchn: Event-channel device installed
[    4.318455] console [hvc0] enabled
[    4.322008] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    4.333200] [drm] Initialized drm 1.1.0 20060810
[    4.338895] [drm] Initialized hisi 1.0.0 20141224 on minor 0
[    4.351995] [drm] failed to find slave encoder i2c client
[    4.361212] Mali<2>: Inserting Mali v600 device driver.
[    4.366478] Mali<2>: Driver revision: -v3.19-rc7-26735-g9e74097
[    4.372473] Mali<2>: mali_module_init() registering driver
[ 4.378080] Mali<2>: mali_probe(): Called for platform device f4080000.mali [ 4.385470] Mali<2>: Broadcast: Creating Mali Broadcast unit: Mali_Broadcast [ 4.392426] Mali<4>: Broadcast: setting mask 0x00000000 + 0x00000000 (reset) [ 4.399530] Mali<6>: register_write for core Mali_Broadcast, relative addr=0x0000, val=0x00000000 [ 4.408452] Mali<6>: register_write for core Mali_Broadcast, relative addr=0x0004, val=0x00000000
[    4.417440] Mali: GPU version: CF070000
[ 4.421573] Mali<2>: Broadcast: Creating Mali Broadcast unit: Mali_Broadcast [ 4.428514] Mali<4>: Broadcast: setting mask 0x00000000 + 0x00000000 (reset) [ 4.435622] Mali<6>: register_write for core Mali_Broadcast, relative addr=0x0000, val=0x00000000 [ 4.444562] Mali<6>: register_write for core Mali_Broadcast, relative addr=0x0004, val=0x00000000 [ 4.454260] Mali<2>: mali_probe(): Successfully initialized driver for platform device f4080000.mali
[    4.466936] Mali: Mali device driver loaded
[    4.471296] Unable to detect cache hierarcy from DT for CPU 0
[    4.483605] brd: module loaded
[    4.490874] loop: module loaded
[    4.495747] ldo2: Operation of current configuration missing
[    4.505124] ldo7: Operation of current configuration missing
[    4.514478] ldo10: Operation of current configuration missing
[    4.523928] ldo13: Operation of current configuration missing
[    4.533388] ldo14: Operation of current configuration missing
[    4.542830] ldo15: Operation of current configuration missing
[    4.552287] ldo17: Operation of current configuration missing
[    4.561746] ldo19: Operation of current configuration missing
[ 4.571086] hi655x_regulator f8000000.pmic:regulator@a40: fake_of_get_regulator_init_data no consumer_supplies
[    4.581216] ldo21: Operation of current configuration missing
[    4.590715] ldo22: Operation of current configuration missing
[    4.604264] tun: Universal TUN/TAP device driver, 1.6
[    4.609223] tun: (C) 1999-2004 Max Krasnyansky <maxk@xxxxxxxxxxxx>
[    4.616017] PPP generic driver version 2.4.2
[    4.620368] PPP BSD Compression module registered
[    4.624971] PPP Deflate Compression module registered
[    4.630120] PPP MPPE Compression module registered
[    4.634943] xen_netfront: Initialising Xen virtual ethernet driver
[ 4.641341] pegasus: v0.9.3 (2013/04/25), Pegasus/Pegasus II USB Ethernet driver
[    4.648706] usbcore: registered new interface driver pegasus
[    4.654428] usbcore: registered new interface driver rtl8150
[    4.660146] usbcore: registered new interface driver r8152
[    4.665695] usbcore: registered new interface driver asix
[    4.671160] usbcore: registered new interface driver ax88179_178a
[    4.677307] usbcore: registered new interface driver cdc_ether
[    4.683216] usbcore: registered new interface driver dm9601
[    4.688861] usbcore: registered new interface driver CoreChips
[    4.694746] usbcore: registered new interface driver smsc75xx
[    4.700567] usbcore: registered new interface driver smsc95xx
[    4.706359] usbcore: registered new interface driver net1080
[    4.712090] usbcore: registered new interface driver plusb
[    4.717630] usbcore: registered new interface driver cdc_subset
[    4.723629] usbcore: registered new interface driver zaurus
[ 4.729263] usbcore: registered new interface driver MOSCHIP usb-ethernet driver
[    4.736740] usbcore: registered new interface driver cdc_ncm
[    5.599495] dwc2 f72c0000.usb: DWC OTG Controller
[ 5.604111] dwc2 f72c0000.usb: new USB bus registered, assigned bus number 1
[    5.611247] dwc2 f72c0000.usb: irq 56, io mem 0x00000000
[    5.617212] hub 1-0:1.0: USB hub found
[    5.620889] hub 1-0:1.0: 1 port detected
[    5.635639] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    5.642123] ehci-pci: EHCI PCI platform driver
[    5.646686] ehci-platform: EHCI generic platform driver
[    5.652086] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    5.658187] ohci-pci: OHCI PCI platform driver
[    5.662735] ohci-platform: OHCI generic platform driver
[    5.668135] usbcore: registered new interface driver cdc_acm
[ 5.673699] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    5.681840] usbcore: registered new interface driver usb-storage
[    5.688216] mousedev: PS/2 mouse device common for all mice
[    5.694622] rtc-pl031 f8003000.rtc: rtc core: registered pl031 as rtc0
[    5.704806] i2c /dev entries driver
[ 5.712642] device-mapper: ioctl: 4.31.0-ioctl (2015-3-12) initialised: dm-devel@xxxxxxxxxx
[    5.721134] Bluetooth: HCI UART driver ver 2.3
[    5.725476] Bluetooth: HCI UART protocol H4 registered
[    5.730984] cpu cpu0: failed to get cpu0 clock: -2
[    5.739333] cpufreq-dt: probe of cpufreq-dt.0 failed with error -2
[    5.745682] sdhci: Secure Digital Host Controller Interface driver
[    5.751809] sdhci: Copyright(c) Pierre Ossman
[    5.756269] Synopsys Designware Multimedia Card Interface Driver
[ 5.762885] dwmmc_k3 f723d000.dwmmc0: fifo-depth property not found, using value of FIFOTH register as default
[    5.772856] dwmmc_k3 f723d000.dwmmc0: IDMAC supports 32-bit address mode.
[    5.779655] dwmmc_k3 f723d000.dwmmc0: Using internal DMA controller.
[    5.786049] dwmmc_k3 f723d000.dwmmc0: Version ID is 250a
[ 5.791487] dwmmc_k3 f723d000.dwmmc0: DW MMC controller at irq 53, 32 bit host data width, 8 deep fifo
[    5.800900] dwmmc_k3 f723d000.dwmmc0: No vqmmc regulator found
[    5.806912] ldo19: invalid input voltage found
[    5.848943] dwmmc_k3 f723d000.dwmmc0: 1 slots initialized
[ 5.858058] dwmmc_k3 f723e000.dwmmc1: fifo-depth property not found, using value of FIFOTH register as default
[    5.868040] dwmmc_k3 f723e000.dwmmc1: IDMAC supports 32-bit address mode.
[    5.874855] dwmmc_k3 f723e000.dwmmc1: Using internal DMA controller.
[    5.881249] dwmmc_k3 f723e000.dwmmc1: Version ID is 250a
[ 5.886652] dwmmc_k3 f723e000.dwmmc1: DW MMC controller at irq 54, 32 bit host data width, 8 deep fifo
[    5.896147] dwmmc_k3 f723e000.dwmmc1: Got CD GPIO
[    5.900969] ldo10: invalid input voltage found
[    5.918913] ldo7: invalid input voltage found
[    5.939104] dwmmc_k3 f723e000.dwmmc1: 1 slots initialized
[ 5.948251] dwmmc_k3 f723f000.dwmmc2: fifo-depth property not found, using value of FIFOTH register as default
[    5.958221] dwmmc_k3 f723f000.dwmmc2: IDMAC supports 32-bit address mode.
[    5.965059] dwmmc_k3 f723f000.dwmmc2: Using internal DMA controller.
[    5.971438] dwmmc_k3 f723f000.dwmmc2: Version ID is 250a
[ 5.976837] dwmmc_k3 f723f000.dwmmc2: DW MMC controller at irq 55, 32 bit host data width, 128 deep fifo
[    5.990382] sdhci-pltfm: SDHCI platform and OF driver helper
[    6.000766] ledtrig-cpu: registered to indicate activity on CPUs
[    6.006908] usbcore: registered new interface driver usbhid
[    6.012433] usbhid: USB HID core driver
[    6.012448] mmc0: MAN_BKOPS_EN bit is not set
[    6.020792] u32 classifier
[    6.023488]     Actions configured
[    6.026969] Netfilter messages via NETLINK v0.30.
[ 6.027033] mmc_host mmc0: Bus speed (slot 0) = 51756521Hz (slot req 52000000Hz, actual 51756521HZ div = 0)
[    6.041738] nf_conntrack version 0.5.0 (7286 buckets, 29144 max)
[    6.048199] ctnetlink v0.93: registering with nfnetlink.
[    6.053477] mmc0: new high speed MMC card at address 0001
[    6.053838] xt_time: kernel timezone is -0000
[    6.063421] ip_tables: (C) 2000-2006 Netfilter Core Team
[    6.063756] mmcblk0: mmc0:0001 H8G1e 7.28 GiB
[    6.063924] mmcblk0boot0: mmc0:0001 H8G1e partition 1 4.00 MiB
[    6.064090] mmcblk0boot1: mmc0:0001 H8G1e partition 2 4.00 MiB
[    6.085432] arp_tables: (C) 2002 David S. Miller
[    6.090167] Initializing XFRM netlink socket
[    6.094640] NET: Registered protocol family 10
[    6.099998] mip6: Mobile IPv6
[    6.100943]  mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9
[    6.110906] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    6.116845] NET: Registered protocol family 17
[    6.121228] NET: Registered protocol family 15
[ 6.125728] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    6.138729] Bridge firewalling registered
[    6.142777] Bluetooth: RFCOMM TTY layer initialized
[    6.147583] Bluetooth: RFCOMM socket layer initialized
[    6.152810] Bluetooth: RFCOMM ver 1.11
[    6.156617] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 6.157989] mmc_host mmc1: Bus speed (slot 0) = 99200000Hz (slot req 100000000Hz, actual 99200000HZ div = 0)
[    6.158004] mmc1: new ultra high speed SDR50 SDHC card at address 59b4
[    6.158384] mmcblk1: mmc1:59b4       14.9 GiB
[ 6.165708] GPT:Primary header thinks Alt. header is not at the end of the disk.
[    6.165712] GPT:25165823 != 31275007
[    6.165715] GPT:Alternate GPT header not at the end of the disk.
[    6.165717] GPT:25165823 != 31275007
[    6.165720] GPT: Use GNU Parted to correct GPT errors.
[    6.165743]  mmcblk1: p1 p2 p3 p4
[    6.216273] Bluetooth: HIDP socket layer initialized
[    6.221355] 8021q: 802.1Q VLAN Support v1.8
[    6.225580] 9pnet: Installing 9P2000 support
[    6.229970] Key type dns_resolver registered
[    6.235045] registered taskstats version 1
[    6.240237] Btrfs loaded
[ 6.247591] f7111000.uart: ttyAMA1 at MMIO 0xf7111000 (irq = 22, base_baud = 0) is a PL011 rev2 [ 6.264354] f7112000.uart: ttyAMA2 at MMIO 0xf7112000 (irq = 23, base_baud = 0) is a PL011 rev2 [ 6.281128] uart-pl011 f7114000.uart: aliased and non-aliased serial devices
found in device tree. Serial port enumeration may be unpredictable.
[ 6.294149] f7114000.uart: ttyAMA0 at MMIO 0xf7114000 (irq = 24, base_baud = 0) is a PL011 rev2 [ 6.313842] ssp-pl022 f7106000.spi: ARM PL022 driver, device ID: 0x00041022 [ 6.320830] ssp-pl022 f7106000.spi: mapped registers from 0x00000000f7106000 to ffffff800025a000 [ 6.329662] ssp-pl022 f7106000.spi: Failed to work in dma mode, work without dma! [ 6.366626] dwmmc_k3 f723f000.dwmmc2: fifo-depth property not found, using value of FIFOTH register as default
[    6.376592] dwmmc_k3 f723f000.dwmmc2: IDMAC supports 32-bit address mode.
[    6.383407] dwmmc_k3 f723f000.dwmmc2: Using internal DMA controller.
[    6.389799] dwmmc_k3 f723f000.dwmmc2: Version ID is 250a
[ 6.395191] dwmmc_k3 f723f000.dwmmc2: DW MMC controller at irq 55, 32 bit host data width, 64 deep fifo
[    6.404732] dwmmc_k3 f723f000.dwmmc2: No vqmmc regulator found
[    6.528947] dwmmc_k3 f723f000.dwmmc2: 1 slots initialized
[ 6.537920] rtc-pl031 f8003000.rtc: setting system clock to 1970-01-01 00:00:29 UTC (29) [ 6.542137] dwmmc_k3 f723f000.dwmmc2: card claims to support voltages below defined range [ 6.551279] mmc_host mmc2: Bus speed (slot 0) = 24800000Hz (slot req 25000000Hz, actual 24800000HZ div = 0)
[    6.552528] mmc2: queuing unknown CIS tuple 0x91 (3 bytes)
[    6.553649] mmc2: new SDIO card at address 0001
[    6.585015] SOC_MED: disabling
[    6.588096] ALSA device list:
[    6.591042]   No soundcards found.
[    6.594915] RcAMDISK: Couldn'to find valid RAM mdisk image start2ing at 0
[ 6.604425] EXT4-fs (mmcblk0p9): couldn't mount as ext3 due to feature incompatibilities [ 6.616042] EXT4-fs (mmcblk0p9): couldn't mount as ext2 due to feature incompatibilities
[    6.637700] EXT4-fs (mmcblk0p9): recovery complete
[ 6.642671] EXT4-fs (mmcblk0p9): mounted filesystem with ordered data mode. Opts: (null)
[    6.650720] VFS: Mounted root (ext4 filesystem) on device 179:9.
[    6.660086] devtmpfs: mounted
[ 6.663156] Freeing unused kernel memory: 344K (ffffffc000c6d000 - ffffffc000cc3000) [ 6.670812] Freeing alternatives memory: 12K (ffffffc000cc3000 - ffffffc000cc6000) [ 6.799782] random: systemd urandom read with 12 bits of entropy available

Welcome to Debian GNU/Linux 8 (jessie)!

         Expecting device dev-hvc0.device...
[  OK  ] Reached target Remote File Systems (Pre).
[ OK ] Set up automount Arbitrary Executable File Formats F...utomount Point.
[  OK  ] Reached target Encrypted Volumes.
[  OK  ] Reached target Swap.
         Expecting device dev-disk-by\x2dpartlabel-boot.device...
[  OK  ] Created slice Root Slice.
[  OK  ] Created slice User and Session Slice.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Listening on Delayed Shutdown Socket.
[  OK  ] Listening on Journal Socket (/dev/log).
[  OK  ] Listening on udev Control Socket.
[  OK  ] Listening on udev Kernel Socket.
[  OK  ] Listening on Journal Socket.
[  OK  ] Created slice System Slice.
         Mounting Temporary Directory...
[  OK  ] Created slice system-getty.slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
         Starting Increase datagram queue length...
         Starting Nameserver information manager...
         Mounting Huge Pages File System...
         Mounting POSIX Message Queue File System...
         Mounting Debug File System...
         Starting Load Kernel Modules...
         Starting Create Static Device Nodes in /dev...
         Starting udev Coldplug all Devices...
[  OK  ] Reached target Slices.
[  OK  ] Mounted Debug File System.
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Mounted Huge Pages File System.
[  OK  ] Mounted Temporary Directory.
[  OK  ] Started Increase datagram queue length.
[  OK  ] Started Load Kernel Modules.
[  OK  ] Started Create Static Device Nodes in /dev.
[  OK  ] Started Nameserver information manager.
[  OK  ] Started udev Coldplug all Devices.
         Starting udev Kernel Device Manager...
         Mounting FUSE Control File System...
         Mounting Configuration File System...
[    7.285163] systemd-udevd[1725]: starting version 215
         Starting Apply Kernel Variables...
[  OK  ] Listening on Syslog Socket.
         Starting Journal Service...
[  OK  ] Started Journal Service.
[  OK  ] Mounted Configuration File System.
[  OK  ] Mounted FUSE Control File System.
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Started Apply Kernel Variables.
         Starting Copy rules generated while the root was ro...
         Starting LSB: Set preliminary keymap...
[  OK  ] Started Copy rules generated while the root was ro.
[  OK  ] Found device /dev/hvc0.
[    7.625604] random: nonblocking pool is initialized
[  OK  ] Found device /dev/disk/by-partlabel/boot.
[  OK  ] Started LSB: Set preliminary keymap.
         Starting Remount Root and Kernel File Systems...
[    7.915832] EXT4-fs (mmcblk0p9): re-mounted. Opts: errors=remount-ro
[  OK  ] Started Remount Root and Kernel File Systems.
         Starting Load/Save Random Seed...
[  OK  ] Reached target Local File Systems (Pre).
         Mounting /boot/efi...
[ 7.960245] FAT-fs (mmcblk0p6): Volume was not properly unmounted. Some data
may be corrupt. Please run fsck.
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Mounted /boot/efi.
[  OK  ] Reached target Local File Systems.
         Starting Tell Plymouth To Write Out Runtime Data...
         Starting Create Volatile Files and Directories...
[  OK  ] Reached target Remote File Systems.
         Starting Trigger Flushing of Journal to Persistent Storage...
         Starting LSB: Prepare console...
         Starting LSB: Raise network interfaces....
[  OK  ] Started Tell Plymouth To Write Out Runtime Data.
[  OK  ] Started Create Volatile Files and Directories.
[ 8.082520] systemd-journald[1740]: Received request to flush runtime journal
 from PID 1
         Starting Network Time Synchronization...
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Started Trigger Flushing of Journal to Persistent Storage.
[  OK  ] Started Network Time Synchronization.
[  OK  ] Reached target System Time Synchronized.
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Started LSB: Prepare console.
         Starting LSB: Set console font and keymap...
[  OK  ] Started LSB: Raise network interfaces..
[  OK  ] Started LSB: Set console font and keymap.
[  OK  ] Reached target System Initialization.
[  OK  ] Listening on OpenBSD Secure Shell server socket.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Timers.
[  OK  ] Listening on ACPID Listen Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Paths.
[  OK  ] Reached target Basic System.
         Starting User Mode Init Manager for TI shared transport...
         Starting Run anacron jobs...
[  OK  ] Started Run anacron jobs.
         Starting Initialize hardware monitoring sensors...
Starting Provide limited super user privileges to specific users...
         Starting WPA supplicant...
         Starting Login Service...
Starting LSB: Load kernel modules needed to enable cpufreq scaling...
         Starting Network Manager...
         Starting D-Bus System Message Bus...
[  OK  ] Started D-Bus System Message Bus.
[  OK  ] Started WPA supplicant.
         Starting Network Service...
         Starting System Logging Service...
         Starting ACPI event daemon...
[  OK  ] Started ACPI event daemon.
         Starting Permit User Sessions...
[  OK  ] Started User Mode Init Manager for TI shared transport.
[  OK  ] Started Provide limited super user privileges to specific users.
[  OK  ] Started Initialize hardware monitoring sensors.
[  OK  ] Started Permit User Sessions.
[  OK  ] Started LSB: Load kernel modules needed to enable cpufreq scaling.
[  OK  ] Started Network Service.
[  OK  ] Started Login Service.
[  OK  ] Reached target Network.
         Starting /etc/rc.local Compatibility...
         Starting Network Name Resolution...
         Starting LSB: set CPUFreq kernel parameters...
[  OK  ] Started /etc/rc.local Compatibility.
[  OK  ] Started System Logging Service.
[  OK  ] Started LSB: set CPUFreq kernel parameters.
         Starting Wait for Plymouth Boot Screen to Quit...
         Starting Terminate Plymouth Boot Screen...
[  OK  ] Started Wait for Plymouth Boot Screen to Quit.
[  OK  ] Started Network Name Resolution.
[  OK  ] Started Terminate Plymouth Boot Screen.
         Starting Getty on tty1...
[  OK  ] Started Getty on tty1.
         Starting Serial Getty on hvc0...
[  OK  ] Started Serial Getty on hvc0.
[  OK  ] Reached target Login Prompts.
Starting Authenticate and Authorize Users to Run Privileged Tasks...
[  OK  ] Started Authenticate and Authorize Users to Run Privileged Tasks.
[  OK  ] Started Network Manager.
         Starting Network Manager Wait Online...
[  OK  ] Started Network Manager Wait Online.
[  OK  ] Reached target Network is Online.
         Starting LSB: network benchmark...
         Starting LSB: Advanced IEEE 802.11 management daemon...
[  OK  ] Started LSB: Advanced IEEE 802.11 management daemon.
[  OK  ] Started LSB: network benchmark.
[  OK  ] Reached target Multi-User System.
         Starting Update UTMP about System Runlevel Changes...
[  OK  ] Started Update UTMP about System Runlevel Changes.

Debian GNU/Linux 8 linaro-alip hvc0

linaro-alip login: root (automatic login)

Last login: Thu Jul  3 18:46:23 UTC 2014 on hvc0
Linux linaro-alip 4.1.15+ #33 SMP PREEMPT Wed May 18 10:48:04 CST 2016 aarch64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
root@linaro-alip:~# (XEN) *** Serial input -> Xen (type 'CTRL-x' three times to
switch input to DOM0)
(XEN) 'd' pressed -> dumping registers
(XEN)
(XEN) *** Dumping CPU0 host state: ***
(XEN) ----[ Xen-4.7.0-rc  arm64  debug=y  Tainted:    C ]----
(XEN) CPU:    0
(XEN) PC: 0000000000245f10Hypervisor Trap. HSR=0x96000007 EC=0x25 IL=1 Syndrome=0x7
(XEN) CPU0: Unexpected Trap: Hypervisor
(XEN) ----[ Xen-4.7.0-rc  arm64  debug=y  Tainted:    C ]----
(XEN) CPU:    0
(XEN) PC: 0000000000231dc8Hypervisor Trap. HSR=0x96000007 EC=0x25 IL=1 Syndrome=0x7
(XEN) CPU0: Unexpected Trap: Hypervisor
(XEN) ----[ Xen-4.7.0-rc  arm64  debug=y  Tainted:    C ]----
(XEN) CPU:    0
(XEN) PC: 0000000000231dc8Hypervisor Trap. HSR=0x96000007 EC=0x25 IL=1 Syndrome=0x7
(XEN) CPU0: Unexpected Trap: Hypervisor
(XEN) ----[ Xen-4.7.0-rc  arm64  debug=y  Tainted:    C ]----
(XEN) CPU:    0
(XEN) PC: 0000000000231dc8Hypervisor Trap. HSR=0x96000007 EC=0x25 IL=1 Syndrome=0x7
(XEN) CPU0: Unexpected Trap: Hypervisor
(XEN) ----[ Xen-4.7.0-rc  arm64  debug=y  Tainted:    C ]----
(XEN) CPU:    0
(XEN) PC: 0000000000231dc8Hypervisor Trap. HSR=0x96000007 EC=0x25 IL=1 Syndrome=0x7
(XEN) CPU0: Unexpected Trap: Hypervisor
(XEN) ----[ Xen-4.7.0-rc  arm64  debug=y  Tainted:    C ]----
(XEN) CPU:    0
(XEN) PC: 0000000000231dc8Hypervisor Trap. HSR=0x96000007 EC=0x25 IL=1 Syndrome=0x7
(XEN) CPU0: Unexpected Trap: Hypervisor
(XEN) ----[ Xen-4.7.0-rc  arm64  debug=y  Tainted:    C ]----
(XEN) CPU:    0
(XEN) PC: 0000000000231dc8Hypervisor Trap. HSR=0x96000007 EC=0x25 IL=1 Syndrome=0x7
(XEN) CPU0: Unexpected Trap: Hypervisor
(XEN) ----[ Xen-4.7.0-rc  arm64  debug=y  Tainted:    C ]----
(XEN) CPU:    0
(XEN) PC: 0000000000231dc8Hypervisor Trap. HSR=0x96000007 EC=0x25 IL=1 Syndrome=0x7
(XEN) CPU0: Unexpected Trap: Hypervisor
(XEN) ----[ Xen-4.7.0-rc  arm64  debug=y  Tainted:    C ]----
(XEN) CPU:    0
(XEN) PC: 0000000000231dc8Hypervisor Trap. HSR=0x96000007 EC=0x25 IL=1 Syndrome=0x7
(XEN) CPU0: Unexpected Trap: Hypervisor
(XEN) ----[ Xen-4.7.0-rc  arm64  debug=y  Tainted:    C ]----
(XEN) CPU:    0
(XEN) PC: 0000000000231dc8Hypervisor Trap. HSR=0x96000007 EC=0x25 IL=1 Syndrome=0x7
(XEN) CPU0: Unexpected Trap: Hypervisor
(XEN) ----[ Xen-4.7.0-rc  arm64  debug=y  Tainted:    C ]----
(XEN) CPU:    0
(XEN) PC: 0000000000231dc8Hypervisor Trap. HSR=0x96000007 EC=0x25 IL=1 Syndrome=0x7
(XEN) CPU0: Unexpected Trap: Hypervisor
(XEN) ----[ Xen-4.7.0-rc  arm64  debug=y  Tainted:    C ]----
(XEN) CPU:    0
(XEN) PC: 0000000000231dc8Hypervisor Trap. HSR=0x96000007 EC=0x25 IL=1 Syndrome=0x7
(XEN) CPU0: Unexpected Trap: Hypervisor
(XEN) ----[ Xen-4.7.0-rc  arm64  debug=y  Tainted:    C ]----
(XEN) CPU:    0
(XEN) PC: 0000000000231dc8Hypervisor Trap. HSR=0x96000007 EC=0x25 IL=1 Syndrome=0x7
(XEN) CPU0: Unexpected Trap: Hypervisor
(XEN) ----[ Xen-4.7.0-rc  arm64  debug=y  Tainted:    C ]----
(XEN) CPU:    0
(XEN) PC: 0000000000231dc8Hypervisor Trap. HSR=0x96000007 EC=0x25 IL=1 Syndrome=0x7
(XEN) CPU0: Unexpected Trap: Hypervisor
(XEN) ----[ Xen-4.7.0-rc  arm64  debug=y  Tainted:    C ]----
(XEN) CPU:    0
(XEN) PC:     0000000000231dc8




I found it is caused by a printk in xen/arch/arm/trap.c where is trying
to print out symblo for PC with %pS in show_registers_64(). It will
finally call a vsnprintf to format the string.

When I comment out all the lines that has printk with %pS or changed the
%pS to %p, every thing works fine. So I guess this is maybe a bug on
arm64 with libc?

Xen does not use the libc.


I have tried several versions of linaro's latest gcc and still got no
luck.

Any advise?

Let first figure out why you do not get any log but the line you paste.
You can try to pass "sync_console" on the Xen commandline.

Hope the logs could help for your analysis.

Thanks.


Regards,


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.