|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Booting dom0 on OMAP5432 board
>
> This is the point where you would normally start to see dom0 output.
>
> Have you enabled the XEN HVC driver in your kernel and passed
> console=hvc0 to the kernel?
>
> If you have then you could trying pressing CTRL-A three times to enable
> Xen debug keys, then try various keys to see if you can see if/where
> dom0 has crashed ('h' lists them, 'q' is a good one, there is also one
> to dump the dom0 state).
>
> After that I think it would be a case of adding calls to xen_raw_printk
> in the kernel and building a hypervisor with debuging enabled to get
> some kernel output -- which will hopefully show where things go wrong.
>
> Ian.
>
>
Thanks for the suggestions.
It looks like the HVC driver is enabled, and I've included the output
of both "q" and "0" below as well as my u-boot version and parameters.
It might be helpful if someone could chime in with the versions (Xen
and kernel) that have been shown to boot successfully. I bring this
up because the FTD patch didn't apply cleanly against any of the
kernels that I tried, so I ended up manually applying the patch.
best,
JP
u-boot parameters:
U-Boot 2013.01-gdc6238c (Mar 27 2013 - 14:33:47)
CPU : OMAP5432 ES2.0
Board: OMAP5430 EVM
I2C: ready
DRAM: 2 GiB
relocation Offset is: 7e101000
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
In: serial
Out: serial
Err: serial
Hit any key to stop autoboot: 0
OMAP5430 EVM # setenv dtb_addr_r 0x825f0000
OMAP5430 EVM # setenv xen_addr_r 0x90000000
OMAP5430 EVM # setenv kernel_addr_r 0xa0000000
OMAP5430 EVM # setenv xen_bootargs 'sync_console console=dtuart dtuart=serial2'
OMAP5430 EVM # setenv dom0_bootargs 'console=hvc0,115200n8
earlyprintk=xen debug ignore_loglevel root=/dev/mmcblk1p2 rw rootwait
fixrtc'
OMAP5430 EVM # fatload mmc 0:1 $dtb_addr_r omap5-xen.dtb
reading omap5-xen.dtb
18110 bytes read in 8 ms (2.2 MiB/s)
OMAP5430 EVM # fatload mmc 0:1 $xen_addr_r xen-uImage
reading xen-uImage
557904 bytes read in 41 ms (13 MiB/s)
OMAP5430 EVM # fatload mmc 0:1 $kernel_addr_r zImage
reading zImage
4103608 bytes read in 264 ms (14.8 MiB/s)
OMAP5430 EVM # fdt addr $dtb_addr_r
OMAP5430 EVM # fdt resize
OMAP5430 EVM # fdt set /chosen xen,xen-bootargs \"$xen_bootargs\"
OMAP5430 EVM # fdt resize
OMAP5430 EVM # fdt set /chosen xen,dom0-bootargs \"$dom0_bootargs\"
OMAP5430 EVM # fdt mknode /chosen modules
OMAP5430 EVM # fdt set /chosen/modules '#address-cells' <1>
OMAP5430 EVM # fdt set /chosen/modules '#size-cells' <1>
OMAP5430 EVM # fdt mknode /chosen/modules module@0
OMAP5430 EVM # fdt set /chosen/modules/module@0 compatible
xen,linux-zimage xen,multiboot-module
OMAP5430 EVM # fdt set /chosen/modules/module@0 reg <$kernel_addr_r 0xa00000>
OMAP5430 EVM # bootm $xen_addr_r - $dtb_addr_r
Hitting Q
(XEN) 'q' pressed -> dumping domain info (now=0x2:68CCD7AF)
(XEN) General information for domain 0:
(XEN) refcnt=3 dying=0 pause_count=0
(XEN) nr_pages=32768 xenheap_pages=2 shared_pages=0 paged_pages=0
dirty_cpus={} max_pages=4294967295
(XEN) handle=00000000-0000-0000-0000-000000000000 vm_assist=00000000
(XEN) GICH_LRs (vcpu 0) mask=0
(XEN) VCPU_LR[0]=0
(XEN) VCPU_LR[1]=0
(XEN) VCPU_LR[2]=0
(XEN) VCPU_LR[3]=0
(XEN) GICH_LRs (vcpu 1) mask=0
(XEN) VCPU_LR[0]=0
(XEN) VCPU_LR[1]=0
(XEN) VCPU_LR[2]=0
(XEN) VCPU_LR[3]=0
(XEN) Rangesets belonging to domain 0:
(XEN) Interrupts { }
(XEN) I/O Memory { }
(XEN) NODE affinity for domain 0: [0]
(XEN) VCPU information and callbacks for domain 0:
(XEN) VCPU0: CPU0 [has=F] poll=0 upcall_pend = 00, upcall_mask =
00 dirty_cpus={} cpu_affinity={0-127}
(XEN) pause_count=0 pause_flags=0
(XEN) No periodic timer
(XEN) VCPU1: CPU1 [has=F] poll=0 upcall_pend = 00, upcall_mask =
00 dirty_cpus={} cpu_affinity={0-127}
(XEN) pause_count=0 pause_flags=2
(XEN) No periodic timer
(XEN) Notifying guest 0:0 (virq 1, port 0)
(XEN) Notifying guest 0:1 (virq 1, port 0)
Hitting 0
(XEN) '0' pressed -> dumping Dom0's registers
(XEN) *** Dumping Dom0 vcpu#0 state: ***
(XEN) ----[ Xen-4.4.0 arm32 debug=n Tainted: C ]----
(XEN) CPU: 0
(XEN) PC: c02c52e8
(XEN) CPSR: 20000153 MODE:32-bit Guest SVC
(XEN) R0: 000000db R1: ffffffff R2: 00000004 R3: c02c52b8
(XEN) R4: 00000025 R5: c07d61f4 R6: 27b7dca8 R7: 27b7dd70
(XEN) R8: 00000000 R9: c0803e00 R10:c07a5cb0 R11:c0802e84 R12:c079a008
(XEN) USR: SP: 00000000 LR: 00000000
(XEN) SVC: SP: c079bd38 LR: c051dc88 SPSR:000001d3
(XEN) ABT: SP: c0802dcc LR: c0526de0 SPSR:a00001d3
(XEN) UND: SP: c0802dd8 LR: c0802dd8 SPSR:00000000
(XEN) IRQ: SP: c0802dc0 LR: c0802dc0 SPSR:00000000
(XEN) FIQ: SP: 00000000 LR: 00000000 SPSR:00000000
(XEN) FIQ: R8: 00000000 R9: 00000000 R10:00000000 R11:00000000 R12:00000000
(XEN)
(XEN) SCTLR: 10c53c7d
(XEN) TCR: 00000000
(XEN) TTBR0: 00000000a800406a
(XEN) TTBR1: 00000000a800406a
(XEN) IFAR: 00000000, IFSR: 00000000
(XEN) DFAR: fc009300, DFSR: 00000002
(XEN)
(XEN) VTCR_EL2: 80002558
(XEN) VTTBR_EL2: 00010000825fc000
(XEN)
(XEN) SCTLR_EL2: 30cd187f
(XEN) HCR_EL2: 0000000000282835
(XEN) TTBR0_EL2: 00000000feec6000
(XEN)
(XEN) ESR_EL2: 93800007
(XEN) HPFAR_EL2: 00000000004a0090
(XEN) HDFAR: fc009300
(XEN) HIFAR: 00000000
(XEN)
(XEN) Guest stack trace from sp=c079bd38:
(XEN) Failed to convert stack to physical address
(XEN) *** Dumping Dom0 vcpu#1 state: ***
(XEN) ----[ Xen-4.4.0 arm32 debug=n Tainted: C ]----
(XEN) CPU: 0
(XEN) PC: 00646564
(XEN) CPSR: 00848e08 MODE:Unknown
(XEN) R0: 00000000 R1: 63207325 R2: 74276e61 R3: 20656220
(XEN) R4: 6f636564 R5: 00646564 R6: 00848fc0 R7: b6ed49e0
(XEN) R8: 00000013 R9: ffffffff R10:00000000 R11:63207325 R12:74276e61
(XEN) USR: SP: 00000010 LR: 6f636e65
(XEN) SVC: SP: 45545942 LR: 4c554d5f SPSR:00000000
(XEN) ABT: SP: 4c504954 LR: 53524549 SPSR:00000000
(XEN) UND: SP: 00000000 LR: 00848f20 SPSR:00000000
(XEN) IRQ: SP: 0e7839f7 LR: 00000001 SPSR:00000000
(XEN) FIQ: SP: 79656b5f LR: 67726f5f SPSR:00000000
(XEN) FIQ: R8: b6ed49e0 R9: 0000000c R10:83bd957d R11:00000001 R12:00000001
(XEN)
(XEN) SCTLR: 00c50078
(XEN) TCR: 00000000
(XEN) TTBR0: 0000000000000000
(XEN) TTBR1: 0000000000000000
(XEN) IFAR: 00000000, IFSR: 00000000
(XEN) DFAR: 00000000, DFSR: 00000000
(XEN)
(XEN) VTCR_EL2: 80002558
(XEN) VTTBR_EL2: 00010000825fc000
(XEN)
(XEN) SCTLR_EL2: 30cd187f
(XEN) HCR_EL2: 0000000000282835
(XEN) TTBR0_EL2: 00000000feec6000
(XEN)
(XEN) ESR_EL2: 93800007
(XEN) HPFAR_EL2: 00000000004a0090
(XEN) HDFAR: fc009300
(XEN) HIFAR: 00000000
(XEN)
(XEN) No stack trace, VCPU offline
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |