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

Re: [Xen-users] Booting Xen on ARM Juno r0



I've made some progress by rolling back to an earlier firmware and
kernel version.  It looks like I'm now able to fully boot Xen along
with all 6 cores and Dom0 starts booting.  Now, on waiting for the
root device to become available, USB enumeration fails.  Since Juno
relies on USB for the root disk, this prevents booting.  I've
confirmed that the same kernel boots fine outside of Xen.  The boot
messages in question are, with the full boot log below:

[    1.539278] usb 1-1: new high-speed USB device number 2 using ehci-h20ahb
[    1.659215] usb 1-1: device descriptor read/64, error -32
[    1.889213] usb 1-1: device descriptor read/64, error -32
[    2.119216] usb 1-1: new high-speed USB device number 3 using ehci-h20ahb
[    2.239213] usb 1-1: device descriptor read/64, error -32
[    2.469249] usb 1-1: device descriptor read/64, error -32
[    2.699252] usb 1-1: new high-speed USB device number 4 using ehci-h20ahb
[    3.119197] usb 1-1: device not accepting address 4, error -32
[    3.239219] usb 1-1: new high-speed USB device number 5 using ehci-h20ahb
[    3.659181] usb 1-1: device not accepting address 5, error -32
[    3.664987] hub 1-0:1.0: unable to enumerate USB device on port 1

So I have a couple of questions.  Has anyone run into this USB issue
before?  If not, can someone point me to the firmware/kernel versions
that were known to successfully boot Xen on the Juno board?


ARM V2M-Juno Boot loader v1.0.0
HBI0262 build 1156

ARM V2M_Juno Firmware v1.2.7
Build Date: Oct  3 2014

Time :  17:23:54
Date :  17:07:2015

Cmd>
Powering up system...

Switching on ATXPSU...
PMIC RAM configuration (pms_v103.bin)...
MBtemp   : 37 degC

Configuring motherboard (rev B, var B)...
IOFPGA image \MB\HBI0262B\io_b115.bit
IOFPGA  config: PASSED
OSC CLK config: PASSED

Configuring SCC registers...
Writing SCC 0x00000054 with 0x0007FFFE
Writing SCC 0x0000005C with 0x00FE001E
Writing SCC 0x00000100 with 0x003F1000
Writing SCC 0x00000104 with 0x0001F300
Writing SCC 0x00000108 with 0x00371000
Writing SCC 0x0000010C with 0x0001B300
Writing SCC 0x00000118 with 0x003F1000
Writing SCC 0x0000011C with 0x0001F100
Writing SCC 0x000000F8 with 0x0BEC0000
Writing SCC 0x0000000C with 0x000000C2
Writing SCC 0x00000010 with 0x000000C2

Peripheral ID0:0x000000AD
Peripheral ID1:0x000000B0
Peripheral ID2:0x0000000B
Peripheral ID3:0x00000000
Peripheral ID4:0x0000000D
Peripheral ID5:0x000000F0
Peripheral ID6:0x00000005
Peripheral ID7:0x000000B1

Programming NOR Flash
PCIE clock configured...

Testing motherboard interfaces (FPGA build 115)...
SRAM 32MB test: PASSED
LAN9118   test: PASSED
KMI1/2    test: PASSED
MMC       test: PASSED
PB/LEDs   test: PASSED
FPGA UART test: PASSED
PCIe init test: PASSED
MAC addrs test: PASSED

Setting HDMI0 mode for SVGA.
Setting HDMI1 mode for SVGA.

SoC SMB clock enabled.

Testing SMB clock...
SMB clock running
Releasing system resets...

UART0 set to SoC UART0
UART1 set to SoC UART1

NOTICE:  Booting Trusted Firmware
NOTICE:  BL1: v1.0(release):14b6608
NOTICE:  BL1: Built : 14:15:51, Sep  1 2014
NOTICE:  BL1: Booting BL2
NOTICE:  BL2: v1.0(release):14b6608
NOTICE:  BL2: Built : 14:15:51, Sep  1 2014
NOTICE:  BL1: Booting BL3-1
NOTICE:  BL3-1: v1.0(release):14b6608
NOTICE:  BL3-1: Built : 14:15:53, Sep  1 2014
UEFI firmware (version v2.1 built at 14:41:56 on Oct 23 2014)
3h3h3h3h3h3hThe default boot selection will start in  10
seconds^H^H^H^H^H^H^H^H^H^H^H  9 seconds
[1] Linux from NOR Flash
[2] Debian ARMv8
[3] KVM
[4] Xen from NOR Flash
[5] Shell
[6] Boot Manager
Start: 5
UEFI Interactive Shell v2.1
EDK II
UEFI v2.40 (ARM Juno EFI Oct 23 2014 14:42:29, 0x00000000)
Mapping table
      FS2: Alias(s):F10:;BLK1:
          VenHw(E7223039-5836-41E1-B542-D7EC736C5E59)
      FS0: Alias(s):F3:
          MemoryMapped(0xB,0xE0000000,0xE00EFFFF)
      FS1: Alias(s):F4:
          MemoryMapped(0xB,0xFEBEE000,0xFEDDC0BF)
     BLK0: Alias(s):
          VenHw(02118005-9DA7-443A-92D5-781F022AEDBB)
Press ESC in 5 seconds to skip startup.nsh or any other key to
continue.Press ESC in 4 seconds to skip startup.nsh or any other key
to continue.Press ESC in 3 seconds to skip startup.nsh or any other
key to continue.Press ESC in 2 seconds to skip startup.nsh or any
other key to continue.Press ESC in 1 seconds to skip startup.nsh or
any other key to continue.
Shell> fs2:
FS2:\> xen -cfg=cfg
3hXen 4.5-unstable (c/s Mon Oct 20 20:55:25 2014 -0700 git:91086d0) EFI loader
juno.dtb: 0x00000009fac99000-0x00000009fac9bfc9
Image: 0x00000009fa27b000-0x00000009fac938a8
- UART enabled -
- CPU 00000100 booting -
- Current EL 00000008 -
- Xen starting at EL2 -
- Zero BSS -
- Setting up control registers -
- Turning on paging -
- Ready -
(XEN) Checking for initrd in /chosen
(XEN) RAM: 0000000080000000 - 00000000dfffffff
(XEN) RAM: 00000000e00f0000 - 00000000febd1fff
(XEN) RAM: 00000000febd9000 - 00000000feffffff
(XEN) RAM: 0000000880000000 - 00000009fa27afff
(XEN) RAM: 00000009fac99000 - 00000009fac9afff
(XEN) RAM: 00000009fae8c000 - 00000009faf6efff
(XEN) RAM: 00000009fafaa000 - 00000009fec2cfff
(XEN) RAM: 00000009fec2d000 - 00000009ff1bbfff
(XEN) RAM: 00000009ff1bc000 - 00000009ff1c1fff
(XEN) RAM: 00000009ff1c2000 - 00000009ffb73fff
(XEN) RAM: 00000009ffb74000 - 00000009ffb77fff
(XEN) RAM: 00000009ffb78000 - 00000009ffdddfff
(XEN) RAM: 00000009ffdde000 - 00000009ffe75fff
(XEN) RAM: 00000009ffe76000 - 00000009fff6dfff
(XEN) RAM: 00000009fffff000 - 00000009ffffffff
(XEN)
(XEN) MODULE[0]: 00000009fac94000 - 00000009fac99000 Device Tree
(XEN) MODULE[1]: 00000009fa27b000 - 00000009fac938a8 Kernel
console=hvc0 earlycon=pl011,0x7ff80000 rootwait root=/dev/sda3
(XEN)
(XEN) Command line: xen console=dtuart dtuart=serial0 conswitch=x
(XEN) Placing Xen at 0x00000000dfe00000-0x00000000e0000000
(XEN) Update BOOTMOD_XEN from 00000009fac9e000-00000009fada8d81 =>
00000000dfe00000-00000000dff0ad81
(XEN) PFN compression on bits 21...22
(XEN) Domain heap initialised
(XEN) Looking for UART console serial0
 Xen 4.5-unstable
(XEN) Xen version 4.5-unstable (root@xxxxxxxxxxxxxxxxx) (gcc
(Debian/Linaro 4.9.2-20) 4.9.2) debug=y Wed Jul 15 21:18:51 UTC 2015
(XEN) Latest ChangeSet: Mon Oct 20 20:55:25 2014 -0700 git:91086d0
(XEN) Processor: 410fd030: "ARM Limited", variant: 0x0, part 0xd03, rev 0x0
(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) Platform: VERSATILE EXPRESS
(XEN) Using PSCI-0.1 for SMP bringup
(XEN) Generic Timer IRQ: phys=30 hyp=26 virt=27
(XEN) Using generic timer at 50000 KHz
(XEN) GICv2 initialization:
(XEN)         gic_dist_addr=000000002c010000
(XEN)         gic_cpu_addr=000000002c02f000
(XEN)         gic_hyp_addr=000000002c04f000
(XEN)         gic_vcpu_addr=000000002c06f000
(XEN)         gic_maintenance_irq=25
(XEN) GICv2: 352 lines, 6 cpus, secure (IID 0200143b).
(XEN) Using scheduler: SMP Credit Scheduler (credit)
(XEN) I/O virtualisation disabled
(XEN) Allocated console ring of 64 KiB.
(XEN) Bringing up CPU1
- CPU 00000101 booting -
- Current EL 00000008 -
- Xen starting at EL2 -
- Setting up control registers -
- Turning on paging -
- Ready -
(XEN) CPU 1 booted.
(XEN) Bringing up CPU2
- CPU 00000102 booting -
- Current EL 00000008 -
- Xen starting at EL2 -
- Setting up control registers -
- Turning on paging -
- Ready -
(XEN) CPU 2 booted.
(XEN) Bringing up CPU3
- CPU 00000103 booting -
- Current EL 00000008 -
- Xen starting at EL2 -
- Setting up control registers -
- Turning on paging -
- Ready -
(XEN) CPU 3 booted.
(XEN) Bringing up CPU4
- CPU 00000000 booting -
- Current EL 00000008 -
- Xen starting at EL2 -
- Setting up control registers -
- Turning on paging -
- Ready -
(XEN) CPU 4 booted.
(XEN) Bringing up CPU5
- CPU 00000001 booting -
- Current EL 00000008 -
- Xen starting at EL2 -
- Setting up control registers -
- Turning on paging -
- Ready -
(XEN) CPU 5 booted.
(XEN) Brought up 6 CPUs
(XEN) P2M: 40-bit IPA with 40-bit PA
(XEN) P2M: 3 levels with order-1 root, VTCR 0x80023558
(XEN) *** LOADING DOMAIN 0 ***
(XEN) Loading kernel from boot module @ 00000009fa27b000
(XEN) Allocating 1:1 mappings totalling 128MB for dom0:
(XEN) BANK[0] 0x000000d0000000-0x000000d8000000 (128MB)
(XEN) Loading zImage from 00000009fa27b000 to 00000000d0080000-00000000d0a988a8
(XEN) Loading dom0 DTB to 0x00000000d7e00000-0x00000000d7e02954
(XEN) Scrubbing Free RAM on 1 nodes using 6 CPUs
(XEN) ...........done.
(XEN) Initial low memory virq threshold set at 0x4000 pages.
(XEN) Std. Loglevel: All
(XEN) Guest Loglevel: All
(XEN) *** Serial input -> DOM0 (type 'CTRL-x' three times to switch
input to Xen)
(XEN) Freed 288kB init memory.
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.15.0-rc8JP+ (root@arm64) (gcc version
4.9.2 (Debian/Linaro 4.9.2-20) ) #1 SMP PREEMPT Thu Jul 16 16:54:26
UTC 2015
[    0.000000] CPU: AArch64 Processor [410fd030] revision 0
[    0.000000] cma: CMA: reserved 32 MiB at d5c00000
[    0.000000] psci: probing function IDs from device-tree
[    0.000000] PERCPU: Embedded 12 pages/cpu @ffffffc007fa2000 s19200
r8192 d21760 u49152
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.
Total pages: 32256
[    0.000000] Kernel command line: console=hvc0
earlycon=pl011,0x7ff80000 rootwait root=/dev/sda3
[    0.000000] PID hash table entries: 512 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.000000] Memory: 70524K/131072K available (6641K kernel code,
582K rwdata, 2588K rodata, 518K init, 460K bss, 60548K reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vmalloc : 0xffffff8000000000 - 0xffffffbbffff0000
(245759 MB)
[    0.000000]     vmemmap : 0xffffffbc03400000 - 0xffffffbc03600000
(     2 MB)
[    0.000000]     modules : 0xffffffbffc000000 - 0xffffffc000000000
(    64 MB)
[    0.000000]     memory  : 0xffffffc000000000 - 0xffffffc008000000
(   128 MB)
[    0.000000]       .init : 0xffffffc000985000 - 0xffffffc000a06b00
(   519 kB)
[    0.000000]       .text : 0xffffffc000080000 - 0xffffffc0009847a4
(  9234 kB)
[    0.000000]       .data : 0xffffffc000a07000 - 0xffffffc000a988a8
(   583 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=6, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=6.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=6
[    0.000000] NR_IRQS:64 nr_irqs:64 0
[    0.000000] Architected cp15 and mmio timer(s) running at 50.00MHz
(virt/phys).
[    0.000005] sched_clock: 56 bits at 50MHz, resolution 20ns, wraps
every 2748779069440ns
[    0.000227] Console: colour dummy device 80x25
[    0.001265] allocated 4194304 bytes of page_cgroup
[    0.001273] please try 'cgroup_disable=memory' option if you don't
want memory cgroups
[    0.001287] Calibrating delay loop (skipped), value calculated
using timer frequency.. 100.00 BogoMIPS (lpj=500000)
[    0.001300] pid_max: default: 32768 minimum: 301
[    0.001423] Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
[    0.001435] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes)
[    0.002055] Initializing cgroup subsys debug
[    0.002070] Initializing cgroup subsys memory
[    0.002090] Initializing cgroup subsys devices
[    0.002100] Initializing cgroup subsys freezer
[    0.002109] Initializing cgroup subsys blkio
[    0.002118] Initializing cgroup subsys perf_event
[    0.002149] ftrace: allocating 23435 entries in 92 pages
[    0.053959] /cpus/cpu@0: Missing clock-frequency property
[    0.053995] /cpus/cpu@1: Missing clock-frequency property
[    0.054024] /cpus/cpu@2: Missing clock-frequency property
[    0.054055] /cpus/cpu@3: Missing clock-frequency property
[    0.054089] /cpus/cpu@4: Missing clock-frequency property
[    0.054126] /cpus/cpu@5: Missing clock-frequency property
[    0.054152] hw perfevents: enabled with arm/armv8-pmuv3 PMU driver,
1 counters available
[    0.054262] Xen 4.5 support found, events_irq=31
gnttab_frame=0x00000000b0000000
[    0.054387] xen:grant_table: Grant tables using version 1 layout
[    0.054430] Grant table initialized
[    0.054474] xen:events: Using FIFO-based ABI
[    0.054496] Xen: initializing cpu0
[    0.114225] CPU1: Booted secondary processor
[    0.114282] Xen: initializing cpu1
[    0.134271] CPU2: Booted secondary processor
[    0.134320] Xen: initializing cpu2
[    0.154303] CPU3: Booted secondary processor
[    0.154351] Xen: initializing cpu3
[    0.174372] CPU4: Booted secondary processor
[    0.174429] Xen: initializing cpu4
[    0.194398] CPU5: Booted secondary processor
[    0.194446] Xen: initializing cpu5
[    0.194634] Brought up 6 CPUs
[    0.194684] SMP: Total of 6 processors activated.
[    0.195818] devtmpfs: initialized
[    0.213972] sched: registering cpufreq notifiers for scale-invariant loads
[    0.215643] atomic64 test passed
[    0.216195] regulator-dummy: no parameters
[    0.221431] NET: Registered protocol family 16
[    0.222781] vdso: 2 pages (1 code, 1 data) at base ffffffc000a0d000
[    0.222862] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.224599] software IO TLB [mem 0xd3c00000-0xd4000000] (4MB)
mapped at [ffffffc003c00000-ffffffc003ffffff]
[    0.226178] DMA: preallocated 256 KiB pool for atomic allocations
[    0.227769] software IO TLB [mem 0xd3800000-0xd3c00000] (4MB)
mapped at [ffffffc003800000-ffffffc003bfffff]
[    0.227843] Serial: AMBA PL011 UART driver
[    0.252564] xen:balloon: Initialising balloon driver
[    0.252950] xen_balloon: Initialising balloon driver
[    0.253666] 3V3: 3300 mV
[    0.254396] SCSI subsystem initialized
[    0.255136] usbcore: registered new interface driver usbfs
[    0.255236] usbcore: registered new interface driver hub
[    0.255429] usbcore: registered new device driver usb
[    0.258155] Advanced Linux Sound Architecture Driver Initialized.
[    0.259140] Switched to clocksource arch_sys_counter
[    0.326068] NET: Registered protocol family 2
[    0.326688] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.326729] TCP bind hash table entries: 1024 (order: 2, 16384 bytes)
[    0.326768] TCP: Hash tables configured (established 1024 bind 1024)
[    0.326839] TCP: reno registered
[    0.326854] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.326886] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.327134] NET: Registered protocol family 1
[    0.327663] RPC: Registered named UNIX socket transport module.
[    0.327673] RPC: Registered udp transport module.
[    0.327681] RPC: Registered tcp transport module.
[    0.327689] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.328296] kvm [1]: HYP mode not available
[    0.330205] futex hash table entries: 2048 (order: 5, 131072 bytes)
[    0.331333] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    0.353140] NFS: Registering the id_resolver key type
[    0.353184] Key type id_resolver registered
[    0.353196] Key type id_legacy registered
[    0.353221] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.353543] fuse init (API version 7.23)
[    0.354641] msgmni has been set to 201
[    0.356566] io scheduler noop registered
[    0.356876] io scheduler cfq registered (default)
[    0.359006] dma-pl330 7ff00000.dma: Loaded driver for PL330 DMAC-341330
[    0.359025] dma-pl330 7ff00000.dma:  DBUFF-1024x16bytes Num_Chans-8
Num_Peri-8 Num_Events-8
[    0.360142] xen:xen_evtchn: Event-channel device installed
[    1.002919] console [hvc0] enabled
[    1.006436] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.015155] [drm] Initialized drm 1.1.0 20060810
[    1.032004] brd: module loaded
[    1.041132] loop: module loaded
[    1.046906] libphy: smsc911x-mdio: probed
[    1.129307] smsc911x 18000000.ethernet eth0: attached PHY driver
[Generic PHY] (mii_bus:phy_addr=18000000.etherne:01, irq=-1)
[    1.140762] smsc911x 18000000.ethernet eth0: MAC Address: 00:02:f7:00:59:cd
[    1.147699] xen_netfront: Initialising Xen virtual ethernet driver
[    1.153991] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.160562] ehci-h20ahb: H20AHB-EHCI Host Controller driver
[    1.166347] ehci-h20ahb 7ffc0000.ehci: EHCI Host Controller
[    1.171886] ehci-h20ahb 7ffc0000.ehci: new USB bus registered,
assigned bus number 1
[    1.179917] ehci-h20ahb 7ffc0000.ehci: irq 149, io mem 0x7ffc0000
[    1.185935] ehci-h20ahb 7ffc0000.ehci: enabled 64bit DMA
[    1.209177] ehci-h20ahb 7ffc0000.ehci: USB 2.0 started, EHCI 1.00
[    1.216518] hub 1-0:1.0: USB hub found
[    1.220247] hub 1-0:1.0: 1 port detected
[    1.224761] ULPI transceiver vendor/product ID 0x0424/0x0009
[    1.230360] Found SMSC USB334x ULPI transceiver.
[    1.235041] ULPI integrity check: passed.
[    1.239369] usbcore: registered new interface driver usb-storage
[    1.245623] mousedev: PS/2 mouse device common for all mice
[    1.252106] rtc-pl031 1c170000.rtc: rtc core: registered pl031 as rtc0
[    1.258629] i2c /dev entries driver
[    1.263461] usbcore: registered new interface driver usbhid
[    1.268954] usbhid: USB HID core driver
[    1.277165] ion_chunk_heap_create: base 3535798272 size 4194304 align 16384
[    1.285299] ashmem: initialized
[    1.288713] logger: created 256K log 'log_main'
[    1.293548] logger: created 256K log 'log_events'
[    1.298515] logger: created 256K log 'log_radio'
[    1.303445] logger: created 256K log 'log_system'
[    1.308667] Channel(mhu_ctlr:cpu_to_scp_low) not found!
[    1.313854] scpi_clocks clocks.2: failed to register clock 'vbig'
[    1.320050] platform clocks.2: Driver scpi_clocks requests probe deferral
[    1.327117] mhu_ctlr_drv 2b1f0000.mhu: registered mailbox controller mhu_ctlr
[    1.337090] platform sound.14: Driver asoc-simple-card requests
probe deferral
[    1.344453] ERROR: could not get clock /i2s@7ff90000:i2sclk(0)
[    1.350253] platform 7ff90000.i2s: Driver designware-i2s requests
probe deferral
[    1.357954] ip_tables: (C) 2000-2006 Netfilter Core Team
[    1.363833] arp_tables: (C) 2002 David S. Miller
[    1.368503] TCP: cubic registered
[    1.372857] NET: Registered protocol family 10
[    1.378750] mip6: Mobile IPv6
[    1.381690] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    1.387754] sit: IPv6 over IPv4 tunneling driver
[    1.393221] NET: Registered protocol family 17
[    1.397704] Key type dns_resolver registered
[    1.489370] platform sound.14: Driver asoc-simple-card requests
probe deferral
[    1.496743] platform sound.14: Driver asoc-simple-card requests
probe deferral
[    1.504023] rtc-pl031 1c170000.rtc: setting system clock to
2015-07-17 17:24:37 UTC (1437153877)
[    1.514005] ALSA device list:
[    1.516898]   No soundcards found.
[    1.520950] Waiting for root device /dev/sda3...
[    1.539278] usb 1-1: new high-speed USB device number 2 using ehci-h20ahb
[    1.659215] usb 1-1: device descriptor read/64, error -32
[    1.889213] usb 1-1: device descriptor read/64, error -32
[    2.119216] usb 1-1: new high-speed USB device number 3 using ehci-h20ahb
[    2.239213] usb 1-1: device descriptor read/64, error -32
[    2.469249] usb 1-1: device descriptor read/64, error -32
[    2.699252] usb 1-1: new high-speed USB device number 4 using ehci-h20ahb
[    3.119197] usb 1-1: device not accepting address 4, error -32
[    3.239219] usb 1-1: new high-speed USB device number 5 using ehci-h20ahb
[    3.659181] usb 1-1: device not accepting address 5, error -32
[    3.664987] hub 1-0:1.0: unable to enumerate USB device on port 1

On Wed, Jul 15, 2015 at 4:41 PM, John Paul Walters <jpnwalters@xxxxxxxxx> wrote:
> I've included the output of building xen with debug=y and
> CONFIG_EARLY_PRINTK=juno.  It's not obvious to me why the additional
> CPUs aren't coming up, but I noticed an error message early in the Xen
> output:
>
> (XEN) Error: PSCI version 0x10000 is not supported.
>
> Then the dom0 kernel appears to crash inside of some PSCI initialization:
>
> (XEN) DOM0: [<ffffffc00008be20>] __invoke_psci_fn_smc+0x0/0x10
> (XEN) DOM0: [<ffffffc000817ea8>] psci_init+0x2c/0x40
> (XEN) DOM0: [<ffffffc000817870>] setup_arch+0x420/0x5ac
> (XEN) DOM0: [<ffffffc00081566c>] start_kernel+0xa0/0x3a4
>
> Any suggestions would be welcome.
>
> thanks,
> JP
>
> FS2:\> xen -cfg=cfg
> 3hXen 4.5.1 (c/s Mon Jun 22 14:12:56 2015 +0100 git:6e865a4-dirty) EFI loader
> junoX: 0x00000009faf87000-0x00000009faf89b89
> ImageX: 0x00000009fa3be000-0x00000009fabf7000
> - UART enabled -
> - CPU 00000100 booting -
> - Current EL 00000008 -
> - Xen starting at EL2 -
> - Zero BSS -
> - Setting up control registers -
> - Turning on paging -
> - Ready -
> (XEN) Checking for initrd in /chosen
> (XEN) RAM: 0000000080000000 - 00000000dfffffff
> (XEN) RAM: 00000000e00f0000 - 00000000feb2ffff
> (XEN) RAM: 00000000feba0000 - 00000000febabfff
> (XEN) RAM: 00000000febac000 - 00000000feffffff
> (XEN) RAM: 0000000880000000 - 00000009fa3bdfff
> (XEN) RAM: 00000009fade9000 - 00000009faecffff
> (XEN) RAM: 00000009faf80000 - 00000009faf82fff
> (XEN) RAM: 00000009faf87000 - 00000009faf8afff
> (XEN) RAM: 00000009faf8c000 - 00000009febe3fff
> (XEN) RAM: 00000009febe4000 - 00000009ff142fff
> (XEN) RAM: 00000009ff143000 - 00000009ff144fff
> (XEN) RAM: 00000009ff145000 - 00000009ff16dfff
> (XEN) RAM: 00000009ff16e000 - 00000009ff170fff
> (XEN) RAM: 00000009ff171000 - 00000009ffdbffff
> (XEN) RAM: 00000009ffdc0000 - 00000009ffe44fff
> (XEN) RAM: 00000009ffe45000 - 00000009fff4ffff
> (XEN) RAM: 00000009fff90000 - 00000009fff9ffff
> (XEN) RAM: 00000009ffff0000 - 00000009ffffefff
> (XEN) RAM: 00000009fffff000 - 00000009ffffffff
> (XEN)
> (XEN) MODULE[0]: 00000009faf83000 - 00000009faf87000 Device Tree
> (XEN) MODULE[1]: 00000009fa3be000 - 00000009fabf7000 Kernel
> console=hvc0 earlycon=pl011,0x7ff80000 rootwait root=/dev/sda3
> (XEN)
> (XEN) Command line: xen console=dtuart dtuart=serial0 conswitch=x
> (XEN) Placing Xen at 0x00000000dfe00000-0x00000000e0000000
> (XEN) Update BOOTMOD_XEN from 00000009fabf7000-00000009fad01d81 =>
> 00000000dfe00000-00000000dff0ad81
> (XEN) PFN compression on bits 21...22
> (XEN) Domain heap initialised
> (XEN) Looking for UART console serial0
>  Xen 4.5.1
> (XEN) Xen version 4.5.1 (root@xxxxxxxxxxxxxxxxx) (gcc (Debian/Linaro
> 4.9.2-20) 4.9.2) debug=y Wed Jul 15 20:13:08 UTC 2015
> (XEN) Latest ChangeSet: Mon Jun 22 14:12:56 2015 +0100 git:6e865a4-dirty
> (XEN) Processor: 410fd030: "ARM Limited", variant: 0x0, part 0xd03, rev 0x0
> (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) Platform: VERSATILE EXPRESS
> (XEN) Error: PSCI version 0x10000 is not supported.
> (XEN) Generic Timer IRQ: phys=30 hyp=26 virt=27
> (XEN) Using generic timer at 50000 KHz
> (XEN) GICv2 initialization:
> (XEN)         gic_dist_addr=000000002c010000
> (XEN)         gic_cpu_addr=000000002c02f000
> (XEN)         gic_hyp_addr=000000002c04f000
> (XEN)         gic_vcpu_addr=000000002c06f000
> (XEN)         gic_maintenance_irq=25
> (XEN) GICv2: 352 lines, 6 cpus, secure (IID 0200143b).
> (XEN) Using scheduler: SMP Credit Scheduler (credit)
> (XEN) I/O virtualisation disabled
> (XEN) Allocated console ring of 64 KiB.
> (XEN) Bringing up CPU1
> (XEN) Failed to bring up CPU1
> (XEN) Failed to bring up CPU 1 (error -1)
> (XEN) Bringing up CPU2
> (XEN) Failed to bring up CPU2
> (XEN) Failed to bring up CPU 2 (error -1)
> (XEN) Bringing up CPU3
> (XEN) Failed to bring up CPU3
> (XEN) Failed to bring up CPU 3 (error -1)
> (XEN) Bringing up CPU4
> (XEN) Failed to bring up CPU4
> (XEN) Failed to bring up CPU 4 (error -1)
> (XEN) Bringing up CPU5
> (XEN) Failed to bring up CPU5
> (XEN) Failed to bring up CPU 5 (error -1)
> (XEN) Brought up 1 CPUs
> (XEN) P2M: 40-bit IPA with 40-bit PA
> (XEN) P2M: 3 levels with order-1 root, VTCR 0x80023558
> (XEN) *** LOADING DOMAIN 0 ***
> (XEN) Loading kernel from boot module @ 00000009fa3be000
> (XEN) Allocating 1:1 mappings totalling 128MB for dom0:
> (XEN) BANK[0] 0x000000d0000000-0x000000d8000000 (128MB)
> (XEN) Loading zImage from 00000009fa3be000 to 
> 00000000d0080000-00000000d08b9000
> (XEN) Loading dom0 DTB to 0x00000000d7e00000-0x00000000d7e0204f
> (XEN) Scrubbing Free RAM on 1 nodes using 1 CPUs
> (XEN) ................................................................done.
> (XEN) Initial low memory virq threshold set at 0x4000 pages.
> (XEN) Std. Loglevel: All
> (XEN) Guest Loglevel: All
> (XEN) *** Serial input -> DOM0 (type 'CTRL-x' three times to switch
> input to Xen)
> (XEN) Freed 284kB init memory.
> (XEN) DOM0: Booting Linux on physical CPU 0x0
> (XEN) DOM0: Initializing cgroup subsys cpu
> (XEN) DOM0: Linux version 4.0.0Xen+ (root@arm64) (gcc version 4.9.2
> (Debian/Linaro 4.9.2-20) ) #1 SMP PREEMPT Tue Jul 14 18:10:53 UTC 2015
> (XEN) DOM0:
> (XEN) DOM0: CPU: AArch64 Processor [410fd030] revision 0
> (XEN) DOM0: Detected VIPT I-cache on CPU0
> (XEN) DOM0: alternatives: enabling workaround for ARM errata 826319,
> 827319, 824069
> (XEN) DOM0: Early serial console at MMIO 0x7ff80000 (options '')
> (XEN) DOM0: bootconsole [uart0] enabled
> (XEN) DOM0: efi: Getting EFI parameters from FDT:
> (XEN) DOM0: efi: UEFI not found.
> (XEN) DOM0: cma: Reserved 64 MiB at 0x00000000d3c00000
> (XEN) DOM0: psci: probing for conduit method from DT.
> (XEN) DOM0: swapper[0]: undefined instruction: pc=ffffffc00008be20
> (XEN) DOM0: Code: d4000002 d65f03c0 d503201f d503201f (d4000003)
> (XEN) DOM0: Internal error: Oops - undefined instruction: 0 [#1] PREEMPT SMP
> (XEN) DOM0: Modules linked in:
> (XEN) DOM0: CPU: 0 PID: 0 Comm: swapper Not tainted 4.0.0Xen+ #1
> (XEN) DOM0: Hardware name: ARM Juno development board (r0) (DT)
> (XEN) DOM0: task: ffffffc00086d2b0 ti: ffffffc000860000 task.ti:
> ffffffc000860000
> (XEN) DOM0: PC is at __invoke_psci_fn_smc+0x0/0x10
> (XEN) DOM0: LR is at psci_0_2_init+0x3c/0x170
> (XEN) DOM0: pc : [<ffffffc00008be20>] lr : [<ffffffc000817c30>] pstate: 
> 400000c5
> (XEN) DOM0: sp : ffffffc000863ee0
> (XEN) DOM0: x29: ffffffc000863ee0 x28: 00000040d0000000
> (XEN) DOM0: x27: ffffffc000081230 x26: ffffffc0008cb9a0
> (XEN) DOM0: x25: 0000000080000200 x24: ffffffc00076b100
> (XEN) DOM0: x23: ffffffc000866000 x22: ffffffc00087b000
> (XEN) DOM0: x21: ffffffc00086e000 x20: ffffffc0008bc000
> (XEN) DOM0: x19: 0000000000000000 x18: 0000000000000409
> (XEN) DOM0: x17: 0000000000001000 x16: 0000000000000000
> (XEN) DOM0: x15: 664e321b1f041800 x14: ffffffffffffffff
> (XEN) DOM0: x13: 0000000000000018 x12: 0101010101010101
> (XEN) DOM0: x11: 0000000000000018 x10: 0101010101010101
> (XEN) DOM0: x9 : 7f7f7f7f7f7f7f7f x8 : 7f7f7f7f7f7f7f7f
> (XEN) DOM0: x7 : fefefefeff626c72 x6 : 0000008080808082
> (XEN) DOM0: x5 : 0200000000000000 x4 : ffffffc00008be20
> (XEN) DOM0: x3 : 0000000000000000 x2 : 0000000000000000
> (XEN) DOM0: x1 : 0000000000000000 x0 : 0000000084000000
> (XEN) DOM0:
> (XEN) DOM0: Process swapper (pid: 0, stack limit = 0xffffffc000860028)
> (XEN) DOM0: Stack: (0xffffffc000863ee0 to 0xffffffc000864000)
> (XEN) DOM0: 3ee0: 00863f10 ffffffc0 00817eac ffffffc0 00000000
> 00000000 008bc000 ffffffc0
> (XEN) DOM0: 3f00: 0086e000 ffffffc0 0087b000 ffffffc0 00863f30
> ffffffc0 00817874 ffffffc0
> (XEN) DOM0: 3f20: 07ffd2c0 ffffffc0 0084cfc0 ffffffc0 00863fa0
> ffffffc0 00815670 ffffffc0
> (XEN) DOM0: 3f40: 00844738 ffffffc0 008bc000 ffffffc0 008bc000
> ffffffc0 00866000 ffffffc0
> (XEN) DOM0: 3f60: d086ea10 00000000 d0000000 00000000 d08ee000
> 00000000 d08f0000 00000000
> (XEN) DOM0: 3f80: 00000000 00000000 00000000 80000000 00000080
> 00000000 64667467 ff616b73
> (XEN) DOM0: 3fa0: 00000000 00000000 d0082700 00000000 00000000
> 00000000 00000e11 00000000
> (XEN) DOM0: 3fc0: d7e00000 00000000 410fd030 00000000 d086ea10
> 00000000 d0000000 00000000
> (XEN) DOM0: 3fe0: 00000000 00000000 00844738 ffffffc0 00000000
> 00000000 00000000 00000000
> (XEN) DOM0: Call trace:
> (XEN) DOM0: [<ffffffc00008be20>] __invoke_psci_fn_smc+0x0/0x10
> (XEN) DOM0: [<ffffffc000817ea8>] psci_init+0x2c/0x40
> (XEN) DOM0: [<ffffffc000817870>] setup_arch+0x420/0x5ac
> (XEN) DOM0: [<ffffffc00081566c>] start_kernel+0xa0/0x3a4
> (XEN) DOM0: Code: d4000002 d65f03c0 d503201f d503201f (d4000003)
> (XEN) DOM0: ---[ end trace cb88537fdc8fa200 ]---
> (XEN) DOM0: Kernel panic - not syncing: Attempted to kill the idle task!
> (XEN) DOM0: ---[ end Kernel panic - not syncing: Attempted to kill the
> idle task!
>
> On Wed, Jul 15, 2015 at 11:54 AM, John Paul Walters
> <jpnwalters@xxxxxxxxx> wrote:
>> Hi Ian,
>>
>>>
>>> Building Xen with CONFIG_EARLY_PRINTK=juno might get some useful extra
>>> info. It would also be useful to see your file "cfg", in particular the
>>> various command lines which it will contain.
>>>
>> I'll follow up with an update after enabling CONFIG_EARLY_PRINTK, but
>> to answer your other questions, my cfg file:
>>
>>         [global]
>>         default=default
>>
>>         [default]
>>         options=console=dtuart dtuart=serial0 conswitch=x
>>         kernel=ImageX console=hvc0 earlycon=pl011,0x7ff80000 rootwait
>> root=/dev/sda3
>>         dtb=junoX
>>
>> I copied that from the link I referenced earlier, I believe.  The only
>> differences are that I differentiated my default kernel and dtb from
>> the Xen ones by calling the Xen kernel and dtb ImageX and junoX.  My
>> root device is indeed /dev/sda3.
>>
>>
>>
>>> I take it your dom0 kernel binary boot successfully with all CPUs
>>> natively?
>>
>> Yes, my dom0 kernel boots all CPUs successfully.  I didn't really
>> exercise them, but I can see all six of them.
>>
>>>
>>>>
>>>> thanks,
>>>> JP
>>>>
>>
>>
>>
>>
>>
>>>> UEFI firmware (version v3.0-rc0 built at 21:19:44 on Apr  8 2015)
>>>> [1] Linux from NOR Flash
>>>> [2] Debian ARMv8
>>>> [3] KVM
>>>> [4] Xen from NOR Flash
>>>> [5] Shell
>>>> [6] Boot Manager
>>>> Start: 5
>>>> UEFI Interactive Shell v2.1
>>>> EDK II
>>>> UEFI v2.40 (ARM Juno EFI Apr  8 2015 21:19:51, 0x00000000)
>>>> Mapping table
>>>>       FS2: Alias(s):F10:;BLK1:
>>>>           VenHw(E7223039-5836-41E1-B542-D7EC736C5E59)
>>>>       FS0: Alias(s):F3:
>>>>           MemoryMapped(0xB,0xE0000000,0xE00EFFFF)
>>>>       FS1: Alias(s):F4:
>>>>           MemoryMapped(0xB,0xFEBC2000,0xFEDC693F)
>>>>      BLK0: Alias(s):
>>>>           VenHw(02118005-9DA7-443A-92D5-781F022AEDBB)
>>>> Shell> fs2:
>>>> FS2:\> xen -cfg=cfg
>>>> 3hXen 4.5.1 (c/s Mon Jun 22 14:12:56 2015 +0100 git:6e865a4) EFI loader
>>>> junoX: 0x00000009faf87000-0x00000009faf89b89
>>>> ImageX: 0x00000009fa3ce000-0x00000009fac07000
>>>>  Xen 4.5.1
>>>> (XEN) Xen version 4.5.1 (root@xxxxxxxxxxxxxxxxx) (gcc (Debian/Linaro
>>>> 4.9.2-20) 4.9.2) debug=n Tue Jul 14 18:20:46 UTC 2015
>>>> (XEN) Latest ChangeSet: Mon Jun 22 14:12:56 2015 +0100 git:6e865a4
>>>> (XEN) Processor: 410fd030: "ARM Limited", variant: 0x0, part 0xd03, rev 0x0
>>>> (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) Error: PSCI version 0x10000 is not supported.
>>>> (XEN) Generic Timer IRQ: phys=30 hyp=26 virt=27
>>>> (XEN) Using generic timer at 50000 KHz
>>>> (XEN) GICv2 initialization:
>>>> (XEN)         gic_dist_addr=000000002c010000
>>>> (XEN)         gic_cpu_addr=000000002c02f000
>>>> (XEN)         gic_hyp_addr=000000002c04f000
>>>> (XEN)         gic_vcpu_addr=000000002c06f000
>>>> (XEN)         gic_maintenance_irq=25
>>>> (XEN) GICv2: 352 lines, 6 cpus, secure (IID 0200143b).
>>>> (XEN) Using scheduler: SMP Credit Scheduler (credit)
>>>> (XEN) I/O virtualisation disabled
>>>> (XEN) Allocated console ring of 16 KiB.
>>>> (XEN) Bringing up CPU1
>>>> (XEN) Failed to bring up CPU1
>>>> (XEN) Failed to bring up CPU 1 (error -1)
>>>> (XEN) Bringing up CPU2
>>>> (XEN) Failed to bring up CPU2
>>>> (XEN) Failed to bring up CPU 2 (error -1)
>>>> (XEN) Bringing up CPU3
>>>> (XEN) Failed to bring up CPU3
>>>> (XEN) Failed to bring up CPU 3 (error -1)
>>>> (XEN) Bringing up CPU4
>>>> (XEN) Failed to bring up CPU4
>>>> (XEN) Failed to bring up CPU 4 (error -1)
>>>> (XEN) Bringing up CPU5
>>>> (XEN) Failed to bring up CPU5
>>>> (XEN) Failed to bring up CPU 5 (error -1)
>>>> (XEN) Brought up 1 CPUs
>>>> (XEN) P2M: 40-bit IPA with 40-bit PA
>>>> (XEN) P2M: 3 levels with order-1 root, VTCR 0x80023558
>>>> (XEN) *** LOADING DOMAIN 0 ***
>>>> (XEN) Loading kernel from boot module @ 00000009fa3ce000
>>>> (XEN) Allocating 1:1 mappings totalling 128MB for dom0:
>>>> (XEN) BANK[0] 0x000000d0000000-0x000000d8000000 (128MB)
>>>> (XEN) Loading zImage from 00000009fa3ce000 to 
>>>> 00000000d0080000-00000000d08b9000
>>>> (XEN) Loading dom0 DTB to 0x00000000d7e00000-0x00000000d7e0204f
>>>> (XEN) Scrubbing Free RAM on 1 nodes using 1 CPUs
>>>> (XEN) ................................................................done.
>>>> (XEN) Initial low memory virq threshold set at 0x4000 pages.
>>>> (XEN) Std. Loglevel: Errors and warnings
>>>> (XEN) Guest Loglevel: Nothing (Rate-limited: Errors and warnings)
>>>> (XEN) *** Serial input -> DOM0 (type 'CTRL-x' three times to switch
>>>> input to Xen)
>>>> (XEN) Freed 280kB init memory.
>>>> (XEN) *** Serial input -> Xen (type 'CTRL-x' three times to switch
>>>> input to DOM0)
>>>>
>>>> _______________________________________________
>>>> Xen-users mailing list
>>>> Xen-users@xxxxxxxxxxxxx
>>>> http://lists.xen.org/xen-users
>>>
>>>

_______________________________________________
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®.