[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Pass-through Networking in DomU not working
Hi,
I found this video https://www.youtube.com/watch?v=UfiP9eAV0WA and tried to boot a DomU with a network device assigned in a xilinx zcu106 using XEN and petalinux. Unfortunately, even though I think that i followed all the right steps it outputs this error when it boots. (this is a DomU created through xl command the same way just to see the code clearly). Thank you for the help. [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034] [ 0.000000] Linux version 5.15.36-xilinx-v2022.2 (oe-user@oe-host) (aarch64-xilinx-linux-gcc (GCC) 11.2.0, GNU ld (GNU Binutils) 2.37.20212 [ 0.000000] Machine model: XENVM-4.16 [ 0.000000] Xen 4.16 support found [ 0.000000] efi: UEFI not found. [ 0.000000] Zone ranges: [ 0.000000] DMA32 [mem 0x0000000040000000-0x000000007fffffff] [ 0.000000] Normal empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000040000000-0x000000007fffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000007fffffff] [ 0.000000] cma: Reserved 256 MiB at 0x000000006ec00000 [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv1.1 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: Trusted OS migration not required [ 0.000000] psci: SMC Calling Convention v1.1 [ 0.000000] percpu: Embedded 18 pages/cpu s34776 r8192 d30760 u73728 [ 0.000000] Detected VIPT I-cache on CPU0 [ 0.000000] CPU features: detected: ARM erratum 845719 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 258048 [ 0.000000] Kernel command line: root=/dev/xvda rw console=hvc0 [ 0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear) [ 0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear) [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 744668K/1048576K available (13888K kernel code, 990K rwdata, 3916K rodata, 2176K init, 573K bss, 41764K reserved, 2621) [ 0.000000] rcu: Hierarchical RCU implementation. [ 0.000000] rcu: RCU event tracing is enabled. [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=16 to nr_cpu_ids=1. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies. [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1 [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 [ 0.000000] Root IRQ handler: gic_handle_irq [ 0.000000] random: get_random_bytes called from start_kernel+0x474/0x6d8 with crng_init=0 [ 0.000000] arch_timer: cp15 timer(s) running at 99.99MHz (virt). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x170f8de2d3, max_idle_ns: 440795206112 ns [ 0.000000] sched_clock: 56 bits at 99MHz, resolution 10ns, wraps every 4398046511101ns [ 0.000225] Console: colour dummy device 80x25 [ 0.000741] printk: console [hvc0] enabled [ 0.000774] Calibrating delay loop (skipped), value calculated using timer frequency.. 199.98 BogoMIPS (lpj=399960) [ 0.000805] pid_max: default: 32768 minimum: 301 [ 0.001007] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear) [ 0.001036] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear) [ 0.002536] xen:grant_table: Grant tables using version 1 layout [ 0.002574] Grant table initialized [ 0.002606] xen:events: Using FIFO-based ABI [ 0.002633] Xen: initializing cpu0 [ 0.002729] rcu: Hierarchical SRCU implementation. [ 0.002860] EFI services will not be available. [ 0.002934] smp: Bringing up secondary CPUs ... [ 0.002950] smp: Brought up 1 node, 1 CPU [ 0.002964] SMP: Total of 1 processors activated. [ 0.002980] CPU features: detected: 32-bit EL0 Support [ 0.002996] CPU features: detected: CRC32 instructions [ 0.003050] CPU: All CPU(s) started at EL1 [ 0.003069] alternatives: patching kernel code [ 0.003782] devtmpfs: initialized [ 0.004814] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.004845] futex hash table entries: 256 (order: 2, 16384 bytes, linear) [ 0.011071] pinctrl core: initialized pinctrl subsystem [ 0.011542] DMI not present or invalid. [ 0.011826] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 0.012786] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations [ 0.012885] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations [ 0.012947] audit: initializing netlink subsys (disabled) [ 0.013399] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.013456] ASID allocator initialised with 65536 entries [ 0.013572] Serial: AMBA PL011 UART driver [ 0.020614] audit: type=2000 audit(0.012:1): state=initialized audit_enabled=0 res=1 [ 0.020823] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages [ 0.020845] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages [ 0.020863] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages [ 0.020880] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages [ 1.092781] cryptd: max_cpu_qlen set to 1000 [ 1.116157] DRBG: Continuing without Jitter RNG [ 1.217942] raid6: neonx8 gen() 2126 MB/s [ 1.286049] raid6: neonx8 xor() 1586 MB/s [ 1.354159] raid6: neonx4 gen() 2175 MB/s [ 1.422271] raid6: neonx4 xor() 1552 MB/s [ 1.490383] raid6: neonx2 gen() 2065 MB/s [ 1.558493] raid6: neonx2 xor() 1407 MB/s [ 1.626603] raid6: neonx1 gen() 1760 MB/s [ 1.694712] raid6: neonx1 xor() 1212 MB/s [ 1.762825] raid6: int64x8 gen() 1357 MB/s [ 1.830938] raid6: int64x8 xor() 773 MB/s [ 1.899045] raid6: int64x4 gen() 1597 MB/s [ 1.967149] raid6: int64x4 xor() 849 MB/s [ 2.035269] raid6: int64x2 gen() 1396 MB/s [ 2.103367] raid6: int64x2 xor() 749 MB/s [ 2.171506] raid6: int64x1 gen() 1032 MB/s [ 2.239597] raid6: int64x1 xor() 517 MB/s [ 2.239615] raid6: using algorithm neonx4 gen() 2175 MB/s [ 2.239629] raid6: .... xor() 1552 MB/s, rmw enabled [ 2.239644] raid6: using neon recovery algorithm [ 2.239826] xen:balloon: Initialising balloon driver [ 2.240246] iommu: Default domain type: Translated [ 2.240264] iommu: DMA domain TLB invalidation policy: strict mode [ 2.240488] SCSI subsystem initialized [ 2.240644] usbcore: registered new interface driver usbfs [ 2.240686] usbcore: registered new interface driver hub [ 2.240718] usbcore: registered new device driver usb [ 2.240798] mc: Linux media interface: v0.10 [ 2.240829] videodev: Linux video capture interface: v2.00 [ 2.240876] pps_core: LinuxPPS API ver. 1 registered [ 2.240891] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@xxxxxxxx> [ 2.240919] PTP clock support registered [ 2.240956] EDAC MC: Ver: 3.0.0 [ 2.241203] FPGA manager framework [ 2.241275] Advanced Linux Sound Architecture Driver Initialized. [ 2.241601] Bluetooth: Core ver 2.22 [ 2.241634] NET: Registered PF_BLUETOOTH protocol family [ 2.241649] Bluetooth: HCI device and connection manager initialized [ 2.241669] Bluetooth: HCI socket layer initialized [ 2.241686] Bluetooth: L2CAP socket layer initialized [ 2.241706] Bluetooth: SCO socket layer initialized [ 2.242016] clocksource: Switched to clocksource arch_sys_counter [ 2.242154] VFS: Disk quotas dquot_6.6.0 [ 2.242200] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 2.246351] NET: Registered PF_INET protocol family [ 2.246441] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear) [ 2.247034] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear) [ 2.247071] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear) [ 2.247144] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear) [ 2.247262] TCP: Hash tables configured (established 8192 bind 8192) [ 2.247329] UDP hash table entries: 512 (order: 2, 16384 bytes, linear) [ 2.247369] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear) [ 2.253799] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 2.254201] RPC: Registered named UNIX socket transport module. [ 2.254223] RPC: Registered udp transport module. [ 2.254237] RPC: Registered tcp transport module. [ 2.254251] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 2.254270] PCI: CLS 0 bytes, default 64 [ 2.279555] Initialise system trusted keyrings [ 2.279665] workingset: timestamp_bits=46 max_order=18 bucket_order=0 [ 2.280283] NFS: Registering the id_resolver key type [ 2.280310] Key type id_resolver registered [ 2.280323] Key type id_legacy registered [ 2.280350] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 2.280368] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... [ 2.280400] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. [ 2.317136] NET: Registered PF_ALG protocol family [ 2.317161] xor: measuring software checksum speed [ 2.321368] 8regs : 2363 MB/sec [ 2.324911] 32regs : 2798 MB/sec [ 2.329450] arm64_neon : 2181 MB/sec [ 2.329466] xor: using function: 32regs (2798 MB/sec) [ 2.329483] Key type asymmetric registered [ 2.329495] Asymmetric key parser 'x509' registered [ 2.329546] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244) [ 2.329568] io(XEN) traps.c:2059:d2v0 HSR=0x00000093800045 pc=0xffff800008871a8c gva=0xffff800009575000 gpa=0x000000ff0e0000 scheduler mq-deadline registered [ 2.329583] io scheduler kyber registered [ 2.456243] xen:xen_evtchn: Event-channel device installed [ 2.456451] Initialising Xen pvcalls frontend driver [ 2.481664] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled [ 2.482500] Serial: AMBA driver [ 2.482850] cacheinfo: Unable to detect cache hierarchy for CPU 0 [ 2.487104] brd: module loaded [ 2.489937] loop: module loaded [ 2.489955] Invalid max_queues (4), will use default max: 1. [ 2.546723] mtdoops: mtd device (mtddev=name/number) must be supplied [ 2.549283] tun: Universal TUN/TAP device driver, 1.6 [ 2.549381] CAN device driver interface [ 2.566945] Unhandled fault at 0xffff800009575000 [ 2.566962] Mem abort info: [ 2.566972] ESR = 0x96000000 [ 2.566983] EC = 0x25: DABT (current EL), IL = 32 bits [ 2.566999] SET = 0, FnV = 0 [ 2.567010] EA = 0, S1PTW = 0 [ 2.567022] FSC = 0x00: ttbr address size fault [ 2.567036] Data abort info: [ 2.567046] ISV = 0, ISS = 0x00000000 [ 2.567057] CM = 0, WnR = 0 [ 2.567069] swapper pgtable: 4k pages, 48-bit VAs, pgdp=0000000041178000 [ 2.567088] [ffff800009575000] pgd=100000007ffff003, p4d=100000007ffff003, pud=100000007fffe003, pmd=100000007fff9003, pte=00680000ff0e0713 [ 2.567129] Internal error: ttbr address size fault: 96000000 [#1] SMP [ 2.567147] Modules linked in: [ 2.567161] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.15.36-xilinx-v2022.2 #1 [ 2.567183] Hardware name: XENVM-4.16 (DT) [ 2.567195] pstate: 80000005 (Nzcv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 2.567216] pc : macb_probe+0x14c/0xa84 [ 2.567237] lr : macb_probe+0x148/0xa84 [ 2.567253] sp : ffff80000955bb10 [ 2.567265] x29: ffff80000955bb10 x28: 0000000000000000 x27: ffff800008e86c10 [ 2.567291] x26: ffff800008872a00 x25: ffff0000018c4c10 x24: ffff00003fdfd5a0 [ 2.567317] x23: 0000000000000000 x22: ffff800009575000 x21: ffff0000018c4c00 [ 2.567342] x20: 0000000000000000 x19: 0000000000000000 x18: ffffffffffffffff [ 2.567368] x17: 0000000000000003 x16: 00000000deadbeef x15: ffff00000246cd8a [ 2.567393] x14: ffffffffffffffff x13: 0000000000000018 x12: 0101010101010101 [ 2.567419] x11: 0000000000000004 x10: 0101010101010101 x9 : 7f7f7f7f7f7f7f7f [ 2.567444] x8 : 7f7f7f7f7f7f7f7f x7 : 0000000000000000 x6 : 000000001ef8d0c0 [ 2.567469] x5 : 00ffffffffffffff x4 : 00202fbee6d3b9a0 x3 : 0000000000000018 [ 2.567494] x2 : 000000000a00417d x1 : ffff0000018c4cf4 x0 : 0000000000000002 [ 2.578446] Call trace: [ 2.578458] macb_probe+0x14c/0xa84 [ 2.578476] platform_probe+0x68/0xe0 [ 2.578495] really_probe.part.0+0x9c/0x30c [ 2.578515] __driver_probe_device+0x98/0x144 [ 2.578536] driver_probe_device+0x44/0x11c [ 2.578555] __driver_attach+0xf8/0x190 [ 2.578573] bus_for_each_dev+0x70/0xd0 [ 2.578593] driver_attach+0x24/0x30 [ 2.578611] bus_add_driver+0x104/0x1ec [ 2.578629] driver_register+0x78/0x130 [ 2.578647] __platform_driver_register+0x28/0x34 [ 2.578666] macb_driver_init+0x1c/0x28 [ 2.578686] do_one_initcall+0x50/0x1b0 [ 2.578704] kernel_init_freeable+0x22c/0x294 [ 2.578726] kernel_init+0x28/0x130 [ 2.578744] ret_from_fork+0x10/0x20 [ 2.578768] Code: 97fbd2a9 aa1903e0 97fbce1c 52800040 (b90002c0) [ 2.578794] ---[ end trace 982d1d106c2de1ae ]--- [ 2.578839] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b [ 2.578863] Kernel Offset: disabled [ 2.578874] CPU features: 0x00002001,00000842 [ 2.578889] Memory Limit: none [ 2.578903] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b ]---
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |