RISCV QEMU kernel panic

297 views
Skip to first unread message

vysakh pillai

unread,
Jun 18, 2021, 8:42:43 AM6/18/21
to xvisor...@googlegroups.com
I am seeing a kernel panic when guest0 is kicked off using the following combination:
- Kernel: 5.4
- QEMU: 6.0.0
- Xvisor: HEAD of xvisor-next

Any idea how to fix this boot option issue?

[guest0/uart0] [    3.158806] VFS: Cannot open root device "ram" or unknown-block(1,0): error -6
[guest0/uart0] [    3.171279] Please append a correct "root=" boot option; here are the available partitions:
[guest0/uart0] [    3.186287] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)
[guest0/uart0] [    3.200054] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.4.0 #1
[guest0/uart0] [    3.209614] Call Trace:
[guest0/uart0] [    3.213703] [<ffffffe00003aac4>] walk_stackframe+0x0/0xa6
[guest0/uart0] [    3.222634] [<ffffffe00003ac3a>] show_stack+0x2a/0x34
[guest0/uart0] [    3.231026] [<ffffffe00063936e>] dump_stack+0x6e/0x88
[guest0/uart0] [    3.239389] [<ffffffe00003fb86>] panic+0xdc/0x246
[guest0/uart0] [    3.247428] [<ffffffe000000f7a>] mount_block_root+0x184/0x218
[guest0/uart0] [    3.255847] [<ffffffe00000111c>] mount_root+0x10e/0x124
[guest0/uart0] [    3.264384] [<ffffffe000001244>] prepare_namespace+0x112/0x15c
[guest0/uart0] [    3.273862] [<ffffffe000000c10>] kernel_init_freeable+0x188/0x1a4
[guest0/uart0] [    3.283560] [<ffffffe00064dc4a>] kernel_init+0x12/0xf0
[guest0/uart0] [    3.291978] [<ffffffe000039818>] ret_from_exception+0x0/0xc
[guest0/uart0] [    3.301682] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0) ]---
[guest0/uart0]

Thanks,
Vysakh P Pillai

Anup Patel

unread,
Jun 18, 2021, 12:00:02 PM6/18/21
to Xvisor Devel
Hi,

Can you share complete bootlog starting from Xvisor booting to the Linux crash??

Regards,
Anup

--
You received this message because you are subscribed to the Google Groups "Xvisor Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xvisor-devel...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/xvisor-devel/CAAFEQFFhex7XgDa%2BG1SN%3DZ6yPOUe7LEHFJrfCz%2BshZcivBGqJw%40mail.gmail.com.

vysakh pillai

unread,
Jun 19, 2021, 12:34:53 AM6/19/21
to xvisor...@googlegroups.com
Anup,
 This is the log from a later run (used latest kernel to try). But the error is the same.

OpenSBI v0.9-71-g79f9b42
   ____                    _____ ____ _____
  / __ \                  / ____|  _ \_   _|
 | |  | |_ __   ___ _ __ | (___ | |_) || |
 | |  | | '_ \ / _ \ '_ \ \___ \|  _ < | |
 | |__| | |_) |  __/ | | |____) | |_) || |_
  \____/| .__/ \___|_| |_|_____/|____/_____|
        | |
        |_|

Platform Name             : riscv-virtio,qemu
Platform Features         : mfdeleg
Platform HART Count       : 1
Platform IPI Device       : clint
Platform Timer Device     : clint
Platform Console Device   : uart8250
Platform HSM Device       : ---
Platform SysReset Device  : sifive_test
Firmware Base             : 0x80000000
Firmware Size             : 116 KB
Runtime SBI Version       : 0.3

Domain0 Name              : root
Domain0 Boot HART         : 0
Domain0 HARTs             : 0*
Domain0 Region00          : 0x0000000002000000-0x000000000200ffff (I)
Domain0 Region01          : 0x0000000080000000-0x000000008001ffff ()
Domain0 Region02          : 0x0000000000000000-0xffffffffffffffff (R,W,X)
Domain0 Next Address      : 0x0000000080200000
Domain0 Next Arg1         : 0x0000000082200000
Domain0 Next Mode         : S-mode
Domain0 SysReset          : yes

Boot HART ID              : 0
Boot HART Domain          : root
Boot HART ISA             : rv64imafdcsuh
Boot HART Features        : scounteren,mcounteren,time
Boot HART PMP Count       : 16
Boot HART PMP Granularity : 4
Boot HART PMP Address Bits: 54
Boot HART MHPM Count      : 0
Boot HART MHPM Count      : 0
Boot HART MIDELEG         : 0x0000000000000666
Boot HART MEDELEG         : 0x0000000000f0b509

Xvisor v0.3.0-205-gb106cbf (Jun 18 2021 12:19:54)

INIT: host address space
INIT: vapool: base=0x0000000010000000 size=33554432
INIT: vapool: hkbase=0x000000001014F000 hksize=131072
INIT: ram: bank0 phys=0x0000000080000000 size=536870912
INIT: ram: bank0 hkbase=0x000000001016F000 hksize=16384
INIT: ram_reserve: phys=0x0000000080200000 size=847872
INIT: ram_reserve: phys=0x000000008034F000 size=376832
INIT: ram_reserve: phys=0x00000000802CF000 size=524288
INIT: vapool_reserve: virt=0x0000000010000000 size=1748992
INIT: ram_reserve: phys=0x0000000082200000 size=8192
INIT: heap management
INIT: device tree
INIT: device tree reserved-memory
INIT: ram_reserve: phys=0x0000000080000000 size=131072
INIT: DMA heap management
INIT: CPU nascent
INIT: SBI specification v0.3 detected
INIT: SBI implementation ID=0x1 Version=0x9
INIT: SBI TIME extension detected
INIT: SBI IPI extension detected
INIT: SBI RFENCE extension detected
INIT: SBI SRST extension detected
INIT: board nascent
INIT: nascent funtions
INIT: page pool
INIT: exception table
INIT: discover secondary CPUs
INIT: using SBI SMP operations
INIT: per-CPU areas
INIT: CPU hotplug
INIT: host irq subsystem
INIT: plic: base=0x000000000C000000 size=2105344
INIT: plic: devices=54 contexts=1/2
INIT: CPU early
INIT: early_params: vmm.bootcmd="vfs mount initrd /;vfs run /boot.xscript;vfs cat /system/banner.txt"
INIT: board early
INIT: early funtions
INIT: standard I/O
INIT: clocksource manager
INIT: clockchip manager
INIT: hypervisor timer
INIT: hypervisor soft delay
INIT: hypervisor shared memory
INIT: hypervisor manager
INIT: synchronus inter-processor interrupts
INIT: hypervisor scheduler
INIT: asynchronus inter-processor interrupts
INIT: hypervisor threads
INIT: workqueue framework
INIT: wallclock subsystem
INIT: start secondary CPUs
INIT: command manager
INIT: device driver framework
INIT: device emulation framework
INIT: character device framework
INIT: iommu framework
INIT: hypervisor modules
INIT: block device framework
INIT: network switch framework
INIT: network port framework
initrd: RBD created at 0x88200000 - 0x8a200000
INIT: CPU final
INIT: board final
INIT: final functions
INIT: CPU0 online
INIT: brought-up 1 CPUs
INIT: freeing init memory 24K
INIT: change stdio device to uart@10000000
INIT: syncup wallclock using rtc@101000
INIT: bootcmd: vfs mount initrd /
Trying: cpio ext4
Mounted initrd using ext4 at /
INIT: bootcmd: vfs run /boot.xscript
Created default shared memory
guest0: Created
guest0: Parsing /images/riscv/virt64/nor_flash.list
guest0: Loading 0x0000000000000000 with file ./firmware.bin
guest0: Loaded 0x0000000000000000 with 73892 bytes
guest0: Loading 0x00000000000FF000 with file ./cmdlist
guest0: Loaded 0x00000000000FF000 with 167 bytes
guest0: Loading 0x0000000000100000 with file ./Image
guest0: Loaded 0x0000000000100000 with 19811328 bytes
guest0: Loading 0x0000000001F00000 with file ./virt64.dtb
guest0: Loaded 0x0000000001F00000 with 2122 bytes
guest0: Loading 0x0000000002000000 with file ./rootfs.img
guest0: Loaded 0x0000000002000000 with 1486336 bytes
INIT: bootcmd: vfs cat /system/banner.txt

ooooooo  ooooo oooooo     oooo ooooo  .oooooo..o   .oooooo.   ooooooooo.  
 `8888    d8'   `888.     .8'  `888' d8P'    `Y8  d8P'  `Y8b  `888   `Y88.
   Y888..8P      `888.   .8'    888  Y88bo.      888      888  888   .d88'
    `8888'        `888. .8'     888    `Y8888o.  888      888  888ooo88P'
   .8PY888.        `888.8'      888        `Y88b 888      888  888`88b.  
  d8'  `888b        `888'       888  oo     .d8P `88b    d88'  888  `88b.
o888o  o88888o       `8'       o888o 8''88888P'   `Y8bood8P'  o888o  o888o


XVisor# guest kick guest0
guest0: Kicked
XVisor# vserial bind guest0/uart0
[guest0/uart0] RISC-V Virt64 Basic Firmware
[guest0/uart0]
[guest0/uart0] autoboot: disabled
[guest0/uart0]
[guest0/uart0] basic# autoexec
[guest0/uart0] autoexec(copy 0x80200000 0x00100000 0x1E00000)
[guest0/uart0] copy took 83126 usecs for 0x1E00000 bytes
[guest0/uart0] autoexec(copy 0x83000000 0x01F00000 0x020000)
[guest0/uart0] copy took 359 usecs for 0x020000 bytes
[guest0/uart0] autoexec(copy 0x83100000 0x02000000 0x800000)
[guest0/uart0] copy took 17612 usecs for 0x800000 bytes
[guest0/uart0] autoexec(start_linux_fdt 0x80200000 0x83000000 0x83100000 0x800000)
[guest0/uart0] Trying to set new bootargs: root=/dev/ram rw console=ttyS0,115200 earlycon=uart8250,mmio,0x10000000 mem=256M
[guest0/uart0] Jumping into linux ...
[guest0/uart0] [    0.000000] Linux version 5.13.0-rc6-00089-g728a748b3ff7 (ssee...@bby-cbu-swbuild02.eng.microchip.com) (riscv64-unknown-linux-gnu-gcc (GCC) 10.2.0, GNU ld (GNU Binutils) 2[guest0/uart0] ri Jun 18 16:25:04 PDT 2021
[guest0/uart0] [    0.000000] OF: fdt: Ignoring memory range 0x80000000 - 0x80200000
[guest0/uart0] [    0.000000] Machine model: Virt64
[guest0/uart0] [    0.000000] earlycon: uart8250 at MMIO 0x0000000010000000 (options '')
[guest0/uart0] [    0.000000] printk: bootconsole [uart8250] enabled
[guest0/uart0] [    0.000000] efi: UEFI not found.
[guest0/uart0] [    0.000000] Reserved memory: created DMA memory pool at 0x0000000058000000, size 16 MiB
[guest0/uart0] [    0.000000] OF: reserved mem: initialized node shmem@58000000, compatible id shared-dma-pool
[guest0/uart0] [    0.000000] Zone ranges:
[guest0/uart0] [    0.000000]   DMA32    [mem 0x0000000080200000-0x000000008fffffff]
[guest0/uart0] [    0.000000]   Normal   empty
[guest0/uart0] [    0.000000] Movable zone start for each node
[guest0/uart0] [    0.000000] Early memory node ranges
[guest0/uart0] [    0.000000]   node   0: [mem 0x0000000080200000-0x000000008fffffff]
[guest0/uart0] [    0.000000] Initmem setup node 0 [mem 0x0000000080200000-0x000000008fffffff]
[guest0/uart0] [    0.000000] SBI specification v0.2 detected
[guest0/uart0] [    0.000000] SBI implementation ID=0x2 Version=0x3000
[guest0/uart0] [    0.000000] SBI TIME extension detected
[guest0/uart0] [    0.000000] SBI IPI extension detected
[guest0/uart0] [    0.000000] SBI RFENCE extension detected
[guest0/uart0] [    0.000000] software IO TLB: mapped [mem 0x000000008bc79000-0x000000008fc79000] (64MB)
[guest0/uart0] [    0.000000] SBI v0.2 HSM extension detected
[guest0/uart0] [    0.000000] riscv: ISA extensions acdfim
[guest0/uart0] [    0.000000] riscv: ELF capabilities acdfim
[guest0/uart0] [    0.000000] percpu: Embedded 18 pages/cpu s34664 r8192 d30872 u73728
[guest0/uart0] [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 64135
[guest0/uart0] [    0.000000] Kernel command line: root=/dev/ram rw console=ttyS0,115200 earlycon=uart8250,mmio,0x10000000 mem=256M
[guest0/uart0] [    0.000000] Dentry cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
[guest0/uart0] [    0.000000] Inode-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[guest0/uart0] [    0.000000] Sorting __ex_table...
[guest0/uart0] [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[guest0/uart0] [    0.000000] Virtual kernel memory layout:
[guest0/uart0] [    0.000000]       fixmap : 0xffffffcefee00000 - 0xffffffceff000000   (2048 kB)
[guest0/uart0] [    0.000000]       pci io : 0xffffffceff000000 - 0xffffffcf00000000   (  16 MB)
[guest0/uart0] [    0.000000]      vmemmap : 0xffffffcf00000000 - 0xffffffcfffffffff   (4095 MB)
[guest0/uart0] [    0.000000]      vmalloc : 0xffffffd000000000 - 0xffffffdfffffffff   (65535 MB)
[guest0/uart0] [    0.000000]       lowmem : 0xffffffe000000000 - 0xffffffe00fe00000   ( 254 MB)
[guest0/uart0] [    0.000000]       kernel : 0xffffffff80000000 - 0xffffffffffffffff   (2047 MB)
[guest0/uart0] [    0.000000] Memory: 160960K/260096K available (7344K kernel code, 4896K rwdata, 4096K rodata, 2162K init, 309K bss, 99136K reserved, 0K cma-reserved)
[guest0/uart0] [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[guest0/uart0] [    0.000000] rcu: Hierarchical RCU implementation.
[guest0/uart0] [    0.000000] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=2.
[guest0/uart0] [    0.000000] rcu: RCU debug extended QS entry/exit.
[guest0/uart0] [    0.000000] Tracing variant of Tasks RCU enabled.
[guest0/uart0] [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[guest0/uart0] [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[guest0/uart0] [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[guest0/uart0] [    0.000000] riscv-intc: 64 local interrupts mapped
[guest0/uart0] [    0.000000] plic: interrupt-controller@c000000: mapped 32 interrupts with 2 handlers for 4 contexts.
[guest0/uart0] [    0.000000] random: get_random_bytes called from start_kernel+0x3be/0x5a4 with crng_init=0
[guest0/uart0] [    0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0]
[guest0/uart0] [    0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns
[guest0/uart0] [    0.000083] sched_clock: 64 bits at 10MHz, resolution 100ns, wraps every 4398046511100ns
[guest0/uart0] [    0.009255] Console: colour dummy device 80x25
[guest0/uart0] [    0.017463] Calibrating delay loop (skipped), value calculated using timer frequency.. 20.00 BogoMIPS (lpj=40000)
[guest0/uart0] [    0.025815] pid_max: default: 32768 minimum: 301
[guest0/uart0] [    0.031259] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[guest0/uart0] [    0.037570] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[guest0/uart0] [    0.073230] ASID allocator using 16 bits (65536 entries)
[guest0/uart0] [    0.079022] rcu: Hierarchical SRCU implementation.
[guest0/uart0] [    0.084757] EFI services will not be available.
[guest0/uart0] [    0.091301] smp: Bringing up secondary CPUs ...
[guest0/uart0] [    0.104509] smp: Brought up 1 node, 2 CPUs
[guest0/uart0] [    0.123232] devtmpfs: initialized
[guest0/uart0] [    0.133699] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[guest0/uart0] [    0.143486] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[guest0/uart0] [    0.155209] NET: Registered protocol family 16
[guest0/uart0] [    0.201658] wait_for_initramfs() called before rootfs_initcalls
[guest0/uart0] [    0.232969] vgaarb: loaded
[guest0/uart0] [    0.237213] SCSI subsystem initialized
[guest0/uart0] [    0.243604] usbcore: registered new interface driver usbfs
[guest0/uart0] [    0.249003] usbcore: registered new interface driver hub
[guest0/uart0] [    0.254354] usbcore: registered new device driver usb
[guest0/uart0] [    0.294225] clocksource: Switched to clocksource riscv_clocksource
[guest0/uart0] [    0.303373] simple-framebuffer 50000000.simplefb: framebuffer at 0x50000000, 0x1000000 bytes
[guest0/uart0] [    0.312369] simple-framebuffer 50000000.simplefb: format=a8r8g8b8, mode=1600x900x32, linelength=6400
[guest0/uart0] [    0.345685] Console: switching to colour frame buffer device 200x56
[guest0/uart0] [    0.361991] simple-framebuffer 50000000.simplefb: fb0: simplefb registered!
[guest0/uart0] [    0.478914] NET: Registered protocol family 2
[guest0/uart0] [    0.484728] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[guest0/uart0] [    0.496426] tcp_listen_portaddr_hash hash table entries: 128 (order: 0, 5120 bytes, linear)
[guest0/uart0] [    0.504222] TCP established hash table entries: 2048 (order: 2, 16384 bytes, linear)
[guest0/uart0] [    0.511385] TCP bind hash table entries: 2048 (order: 4, 65536 bytes, linear)
[guest0/uart0] [    0.517834] TCP: Hash tables configured (established 2048 bind 2048)
[guest0/uart0] [    0.524903] UDP hash table entries: 256 (order: 2, 24576 bytes, linear)
[guest0/uart0] [    0.531279] UDP-Lite hash table entries: 256 (order: 2, 24576 bytes, linear)
[guest0/uart0] [    0.538574] NET: Registered protocol family 1
[guest0/uart0] [    0.548819] RPC: Registered named UNIX socket transport module.
[guest0/uart0] [    0.554144] RPC: Registered udp transport module.
[guest0/uart0] [    0.559261] RPC: Registered tcp transport module.
[guest0/uart0] [    0.563445] RPC: Registered tcp NFSv4.1 backchannel transport module.
[guest0/uart0] [    0.570124] PCI: CLS 0 bytes, default 64
[guest0/uart0] [    0.578492] Unpacking initramfs...
[guest0/uart0] [    0.623172] workingset: timestamp_bits=62 max_order=16 bucket_order=0
[guest0/uart0] [    0.662967] NFS: Registering the id_resolver key type
[guest0/uart0] [    0.668350] Key type id_resolver registered
[guest0/uart0] [    0.682329] Key type id_legacy registered
[guest0/uart0] [    0.686550] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[guest0/uart0] [    0.703050] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[guest0/uart0] [    0.721188] 9p: Installing v9fs 9p2000 file system support
[guest0/uart0] [    0.727377] NET: Registered protocol family 38
[guest0/uart0] [    0.742352] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[guest0/uart0] [    0.748957] io scheduler mq-deadline registered
[guest0/uart0] [    0.763244] io scheduler kyber registered
[guest0/uart0] [    0.943352] Freeing initrd memory: 8192K
[guest0/uart0] [    0.964326] virtio_rpmsg_bus virtio3: rpmsg host is online
[guest0/uart0] [    0.980549] input: Xvisor VirtIO Input as /devices/platform/smb/20004000.virtio_input/virtio4/input/input0
[guest0/uart0] [    1.078452] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[guest0/uart0] [    1.093057] printk: console [ttyS0] disabled
[guest0/uart0] [    1.099105] 10000000.uart: ttyS0 at MMIO 0x10000000 (irq = 1, base_baud = 230400) is a 16550A
[guest0/uart0] [    1.109572] printk: console [ttyS0] enabled
[guest0/uart0] [    1.109572] printk: console [ttyS0] enabled
[guest0/uart0] [    1.117370] printk: bootconsole [uart8250] disabled
[guest0/uart0] [    1.117370] printk: bootconsole [uart8250] disabled
[guest0/uart0] [    1.132954] [drm] radeon kernel modesetting enabled.
[guest0/uart0] [    1.159135] loop: module loaded
[guest0/uart0] [    1.165993] virtio_blk virtio1: [vda] 0 512-byte logical blocks (0 B/0 B)
[guest0/uart0] [    1.176685] libphy: Fixed MDIO Bus: probed
[guest0/uart0] [    1.192978] e1000e: Intel(R) PRO/1000 Network Driver
[guest0/uart0] [    1.197536] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[guest0/uart0] [    1.204337] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[guest0/uart0] [    1.210272] ehci-pci: EHCI PCI platform driver
[guest0/uart0] [    1.215343] ehci-platform: EHCI generic platform driver
[guest0/uart0] [    1.220573] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[guest0/uart0] [    1.226439] ohci-pci: OHCI PCI platform driver
[guest0/uart0] [    1.231049] ohci-platform: OHCI generic platform driver
[guest0/uart0] [    1.238617] usbcore: registered new interface driver uas
[guest0/uart0] [    1.244143] usbcore: registered new interface driver usb-storage
[guest0/uart0] [    1.251289] mousedev: PS/2 mouse device common for all mice
[guest0/uart0] [    1.261099] goldfish_rtc 10003000.rtc: registered as rtc0
[guest0/uart0] [    1.272059] goldfish_rtc 10003000.rtc: setting system clock to 2021-06-18T23:53:48 UTC (1624060428)
[guest0/uart0] [    1.280571] sdhci: Secure Digital Host Controller Interface driver
[guest0/uart0] [    1.286949] sdhci: Copyright(c) Pierre Ossman
[guest0/uart0] [    1.291300] sdhci-pltfm: SDHCI platform and OF driver helper
[guest0/uart0] [    1.298249] usbcore: registered new interface driver usbhid
[guest0/uart0] [    1.303258] usbhid: USB HID core driver
[guest0/uart0] [    1.309105] NET: Registered protocol family 10
[guest0/uart0] [    1.326142] Segment Routing with IPv6
[guest0/uart0] [    1.330125] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[guest0/uart0] [    1.338583] NET: Registered protocol family 17
[guest0/uart0] [    1.344651] 9pnet: Installing 9P2000 support
[guest0/uart0] [    1.348900] Key type dns_resolver registered
[guest0/uart0] [    1.355084] debug_vm_pgtable: [debug_vm_pgtable         ]: Validating architecture page table helpers
[guest0/uart0] [    1.426959] VFS: Cannot open root device "ram" or unknown-block(1,0): error -6
[guest0/uart0] [    1.433115] Please append a correct "root=" boot option; here are the available partitions:
[guest0/uart0] [    1.441207] DEBUG_BLOCK_EXT_DEVT is enabled, you need to specify explicit textual name for "root=" boot option.
[guest0/uart0] [    1.450204] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)
[guest0/uart0] [    1.457135] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.13.0-rc6-00089-g728a748b3ff7 #1
[guest0/uart0] [    1.464810] Hardware name: Virt64 (DT)
[guest0/uart0] [    1.468151] Call Trace:
[guest0/uart0] [    1.471246] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000890
[guest0/uart0] [    1.479058] Oops [#1]
[guest0/uart0] [    1.481725] Modules linked in:
[guest0/uart0] [    1.484876] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.13.0-rc6-00089-g728a748b3ff7 #1
[guest0/uart0] [    1.492368] Hardware name: Virt64 (DT)
[guest0/uart0] [    1.495633] epc : walk_stackframe+0xb0/0xc6
[guest0/uart0] [    1.499233]  ra : dump_backtrace+0x1c/0x24
[guest0/uart0] [    1.503342] epc : ffffffff80004926 ra : ffffffff80004958 sp : ffffffe001657bf0
[guest0/uart0] [    1.509666]  gp : ffffffff812e4430 tp : ffffffe001658000 t0 : ffffffff812f20df
[guest0/uart0] [    1.516484]  t1 : ffffffff812f20d0 t2 : 0000000000000000 s0 : ffffffe001657c40
[guest0/uart0] [    1.522992]  s1 : ffffffff80dba1f0 a0 : 0000000000001000 a1 : 0000000000000000
[guest0/uart0] [    1.529295]  a2 : ffffffff8071be7e a3 : ffffffff80dba1f0 a4 : 140eeb248474ee00
[guest0/uart0] [    1.536191]  a5 : 0000000000001000 a6 : 0000000000000030 a7 : ffffffffffffffff
[guest0/uart0] [    1.542137]  s2 : 0000000000000000 s3 : 0000000000000000 s4 : 0000000000000000
[guest0/uart0] [    1.548997]  s5 : ffffffff80dba1f0 s6 : ffffffff8071be7e s7 : fffffffffffffff3
[guest0/uart0] [    1.555781]  s8 : ffffffff80a004c8 s9 : ffffffffffffffea s10: ffffffff808000ac
[guest0/uart0] [    1.561660]  s11: 0000000000000000 t3 : 0000000000000043 t4 : ffffffffffffffff
[guest0/uart0] [    1.568337]  t5 : 0000000000000000 t6 : ffffffe0016579a8
[guest0/uart0] [    1.572700] status: 0000000000000100 badaddr: 0000000000000890 cause: 000000000000000d
[guest0/uart0] [    1.579957] [<ffffffff80004926>] walk_stackframe+0xb0/0xc6
[guest0/uart0] [    1.584597] [<ffffffff80004958>] dump_backtrace+0x1c/0x24
[guest0/uart0] [    1.589943] [<ffffffff8071bece>] show_stack+0x2c/0x38
[guest0/uart0] [    1.594152] [<ffffffff8071e9c4>] dump_stack+0x74/0x8e
[guest0/uart0] [    1.598885] [<ffffffff8071c0bc>] panic+0xfc/0x2b2
[guest0/uart0] [    1.603178] [<ffffffff808012b4>] mount_block_root+0x1c6/0x262
[guest0/uart0] [    1.608829] [<ffffffff80801464>] mount_root+0x114/0x13e
[guest0/uart0] [    1.613160] [<ffffffff808015d0>] prepare_namespace+0x142/0x184
[guest0/uart0] [    1.618489] [<ffffffff80800e8a>] kernel_init_freeable+0x208/0x224
[guest0/uart0] [    1.623829] [<ffffffff80726642>] kernel_init+0x12/0xf8
[guest0/uart0] [    1.629038] [<ffffffff80003312>] ret_from_exception+0x0/0xc
[guest0/uart0] [    1.634413] ---[ end trace 3c00a7661bc23939 ]---
[guest0/uart0] [    1.639899] note: swapper/0[1] exited with preempt_count 1
[guest0/uart0] [    1.644750] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[guest0/uart0] [    1.652221] SMP: stopping secondary CPUs
[guest0/uart0] [    1.669915] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b ]---
[guest0/uart0]


Vysakh P Pillai

Anup Patel

unread,
Jun 20, 2021, 5:01:31 AM6/20/21
to Xvisor Devel
Hi Vysakh,

I tried it at my end and Linux-5.13-rc6 booted fine for me. (see below log)

Can you share the size of your kernel and initrd ?

Regards,
Anup

anup@anup-ubuntu64-vm:~/Work/riscv-test$ qemu-system-riscv64 -cpu
rv64,x-h=true -M virt -m 512M -nographic -bios
opensbi/build/platform/generic/firmware/fw_jump.bin -kernel
../xvisor-next/build/vmm.bin -initrd rbd_v64.img -append
"vmm.bootcmd=\"vfs mount initrd /;vfs run /boot.xscript;vfs cat
/system/banner.txt\"" -smp 4

OpenSBI v0.9-89-gf207ae4
____ _____ ____ _____
/ __ \ / ____| _ \_ _|
| | | |_ __ ___ _ __ | (___ | |_) || |
| | | | '_ \ / _ \ '_ \ \___ \| _ < | |
| |__| | |_) | __/ | | |____) | |_) || |_
\____/| .__/ \___|_| |_|_____/|____/_____|
| |
|_|

Platform Name : riscv-virtio,qemu
Platform Features : mfdeleg
Platform HART Count : 4
Platform IPI Device : aclint-mswi
Platform Timer Device : aclint-mtimer
Platform Console Device : uart8250
Platform HSM Device : ---
Platform SysReset Device : sifive_test
Firmware Base : 0x80000000
Firmware Size : 148 KB
Runtime SBI Version : 0.3

Domain0 Name : root
Domain0 Boot HART : 2
Domain0 HARTs : 0*,1*,2*,3*
Domain0 Region00 : 0x0000000002000000-0x000000000200ffff (I)
Domain0 Region01 : 0x0000000080000000-0x000000008003ffff ()
Domain0 Region02 : 0x0000000000000000-0xffffffffffffffff (R,W,X)
Domain0 Next Address : 0x0000000080200000
Domain0 Next Arg1 : 0x0000000082200000
Domain0 Next Mode : S-mode
Domain0 SysReset : yes

Boot HART ID : 2
Boot HART Domain : root
Boot HART ISA : rv64imafdcsuh
Boot HART Features : scounteren,mcounteren,time
Boot HART PMP Count : 16
Boot HART PMP Granularity : 4
Boot HART PMP Address Bits: 54
Boot HART MHPM Count : 0
Boot HART MHPM Count : 0
Boot HART MIDELEG : 0x0000000000000666
Boot HART MEDELEG : 0x0000000000f0b509

Xvisor v0.3.0-205-gb106cbfd (Jun 20 2021 11:41:09)

INIT: host address space
INIT: vapool: base=0x0000000010000000 size=33554432
INIT: vapool: hkbase=0x0000000010154000 hksize=131072
INIT: ram: bank0 phys=0x0000000080000000 size=536870912
INIT: ram: bank0 hkbase=0x0000000010174000 hksize=16384
INIT: ram_reserve: phys=0x0000000080200000 size=868352
INIT: ram_reserve: phys=0x0000000080354000 size=376832
INIT: ram_reserve: phys=0x00000000802D4000 size=524288
INIT: vapool_reserve: virt=0x0000000010000000 size=1769472
INIT: ram_reserve: phys=0x0000000082200000 size=8192
INIT: heap management
INIT: device tree
INIT: device tree reserved-memory
INIT: ram_reserve: phys=0x0000000080000000 size=262144
INIT: DMA heap management
INIT: CPU nascent
INIT: SBI specification v0.3 detected
INIT: SBI implementation ID=0x1 Version=0x9
INIT: SBI TIME extension detected
INIT: SBI IPI extension detected
INIT: SBI RFENCE extension detected
INIT: SBI SRST extension detected
INIT: board nascent
INIT: nascent funtions
INIT: page pool
INIT: exception table
INIT: discover secondary CPUs
INIT: using SBI SMP operations
INIT: per-CPU areas
INIT: CPU hotplug
INIT: host irq subsystem
INIT: plic: base=0x000000000C000000 size=2129920
INIT: plic: devices=54 contexts=4/8
INIT: CPU1 online
INIT: CPU2 online
INIT: CPU3 online
INIT: brought-up 4 CPUs
INIT: freeing init memory 24K
INIT: change stdio device to uart@10000000
INIT: syncup wallclock using rtc@101000
INIT: bootcmd: vfs mount initrd /
Trying: cpio ext4
Mounted initrd using ext4 at /
INIT: bootcmd: vfs run /boot.xscript
Created default shared memory
guest0: Created
guest0: Parsing /images/riscv/virt64/nor_flash.list
guest0: Loading 0x0000000000000000 with file ./firmware.bin
guest0: Loaded 0x0000000000000000 with 73892 bytes
guest0: Loading 0x00000000000FF000 with file ./cmdlist
guest0: Loaded 0x00000000000FF000 with 167 bytes
guest0: Loading 0x0000000000100000 with file ./Image
guest0: Loaded 0x0000000000100000 with 19811328 bytes
guest0: Loading 0x0000000001F00000 with file ./virt64.dtb
guest0: Loaded 0x0000000001F00000 with 2122 bytes
guest0: Loading 0x0000000002000000 with file ./rootfs.img
guest0: Loaded 0x0000000002000000 with 3527168 bytes
INIT: bootcmd: vfs cat /system/banner.txt

ooooooo ooooo oooooo oooo ooooo .oooooo..o .oooooo. ooooooooo.
`8888 d8' `888. .8' `888' d8P' `Y8 d8P' `Y8b `888 `Y88.
Y888..8P `888. .8' 888 Y88bo. 888 888 888 .d88'
`8888' `888. .8' 888 `Y8888o. 888 888 888ooo88P'
.8PY888. `888.8' 888 `Y88b 888 888 888`88b.
d8' `888b `888' 888 oo .d8P `88b d88' 888 `88b.
o888o o88888o `8' o888o 8''88888P' `Y8bood8P' o888o o888o


XVisor# guest kick guest0; vserial bind guest0/uart0
guest0: Kicked
[guest0/uart0] RISC-V Virt64 Basic Firmware
[guest0/uart0]
[guest0/uart0] autoboot: disabled
[guest0/uart0]
[guest0/uart0] basic# timer
[guest0/uart0] Timer Information ...
[guest0/uart0] IRQ Count: 0x5F
[guest0/uart0] IRQ Delay: 0 nsecs
[guest0/uart0] Time Stamp: 0x2258BAAC0
[guest0/uart0] basic# timer
[guest0/uart0] Timer Information ...
[guest0/uart0] IRQ Count: 0xB0
[guest0/uart0] IRQ Delay: 10351534 nsecs
[guest0/uart0] Time Stamp: 0x257BA00DC
[guest0/uart0] basic# timer
[guest0/uart0] Timer Information ...
[guest0/uart0] IRQ Count: 0x102
[guest0/uart0] IRQ Delay: 10405485 nsecs
[guest0/uart0] Time Stamp: 0x28A3B86AC
[guest0/uart0] basic# autoexec
[guest0/uart0] autoexec(copy 0x80200000 0x00100000 0x1E00000)
[guest0/uart0] copy took 123874 usecs for 0x1E00000 bytes
[guest0/uart0] autoexec(copy 0x83000000 0x01F00000 0x020000)
[guest0/uart0] copy took 2734 usecs for 0x020000 bytes
[guest0/uart0] autoexec(copy 0x83100000 0x02000000 0x800000)
[guest0/uart0] copy took 33849 usecs for 0x800000 bytes
[guest0/uart0] autoexec(start_linux_fdt 0x80200000 0x83000000
0x83100000 0x800000)
[guest0/uart0] Trying to set new bootargs: root=/dev/ram rw
console=ttyS0,115200 earlycon=uart8250,mmio,0x10000000 mem=256M
[guest0/uart0] Jumping into linux ...
[guest0/uart0] [ 0.000000] Linux version
5.13.0-rc6-00013-g89111bc20991 (anup@anup-ubuntu64-vm)
(riscv64-unknown-linux-gnu-gcc (GCC) 9.2.0, GNU ld (GNU Binutils)
2.34) #1 SMP Sun Jun 20 [guest0/uart0] 21
[guest0/uart0] [ 0.000000] Memory: 160960K/260096K available (7196K
kernel code, 4896K rwdata, 4096K rodata, 2162K init, 309K bss, 99136K
reserved, 0K cma-reserved)
[guest0/uart0] [ 0.000000] SLUB: HWalign=64, Order=0-3,
MinObjects=0, CPUs=2, Nodes=1
[guest0/uart0] [ 0.000000] rcu: Hierarchical RCU implementation.
[guest0/uart0] [ 0.000000] rcu: RCU restricting CPUs from
NR_CPUS=8 to nr_cpu_ids=2.
[guest0/uart0] [ 0.000000] rcu: RCU debug extended QS entry/exit.
[guest0/uart0] [ 0.000000] Tracing variant of Tasks RCU enabled.
[guest0/uart0] [ 0.000000] rcu: RCU calculated value of
scheduler-enlistment delay is 25 jiffies.
[guest0/uart0] [ 0.000000] rcu: Adjusting geometry for
rcu_fanout_leaf=16, nr_cpu_ids=2
[guest0/uart0] [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[guest0/uart0] [ 0.000000] riscv-intc: 64 local interrupts mapped
[guest0/uart0] [ 0.000000] plic: interrupt-controller@c000000:
mapped 32 interrupts with 2 handlers for 4 contexts.
[guest0/uart0] [ 0.000000] riscv-sbi-ipi: registered IPI domain
[guest0/uart0] [ 0.000000] random: get_random_bytes called from
start_kernel+0x3b6/0x59c with crng_init=0
[guest0/uart0] [ 0.000000] riscv_timer_init_dt: Registering
clocksource cpuid [0] hartid [0]
[guest0/uart0] [ 0.000000] clocksource: riscv_clocksource: mask:
0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120
ns
[guest0/uart0] [ 0.000127] sched_clock: 64 bits at 10MHz,
resolution 100ns, wraps every 4398046511100ns
[guest0/uart0] [ 0.018700] Console: colour dummy device 80x25
[guest0/uart0] [ 0.030342] Calibrating delay loop (skipped), value
calculated using timer frequency.. 20.00 BogoMIPS (lpj=40000)
[guest0/uart0] [ 0.045445] pid_max: default: 32768 minimum: 301
[guest0/uart0] [ 0.053103] Mount-cache hash table entries: 512
(order: 0, 4096 bytes, linear)
[guest0/uart0] [ 0.062199] Mountpoint-cache hash table entries: 512
(order: 0, 4096 bytes, linear)
[guest0/uart0] [ 0.129966] ASID allocator using 16 bits (65536 entries)
[guest0/uart0] [ 0.138623] rcu: Hierarchical SRCU implementation.
[guest0/uart0] [ 0.150986] EFI services will not be available.
[guest0/uart0] [ 0.162179] smp: Bringing up secondary CPUs ...
[guest0/uart0] [ 0.182918] smp: Brought up 1 node, 2 CPUs
[guest0/uart0] [ 0.217631] devtmpfs: initialized
[guest0/uart0] [ 0.241242] clocksource: jiffies: mask: 0xffffffff
max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[guest0/uart0] [ 0.256707] futex hash table entries: 512 (order: 3,
32768 bytes, linear)
[guest0/uart0] [ 0.275015] NET: Registered protocol family 16
[guest0/uart0] [ 0.366391] wait_for_initramfs() called before
rootfs_initcalls
[guest0/uart0] [ 0.409837] vgaarb: loaded
[guest0/uart0] [ 0.415351] SCSI subsystem initialized
[guest0/uart0] [ 0.429589] usbcore: registered new interface driver usbfs
[guest0/uart0] [ 0.437911] usbcore: registered new interface driver hub
[guest0/uart0] [ 0.447302] usbcore: registered new device driver usb
[guest0/uart0] [ 0.476117] clocksource: Switched to clocksource
riscv_clocksource
[guest0/uart0] [ 0.494711] simple-framebuffer 50000000.simplefb:
framebuffer at 0x50000000, 0x1000000 bytes
[guest0/uart0] [ 0.515003] simple-framebuffer 50000000.simplefb:
format=a8r8g8b8, mode=1600x900x32, linelength=6400
[guest0/uart0] [ 0.576943] Console: switching to colour frame
buffer device 200x56
[guest0/uart0] [ 0.603695] simple-framebuffer 50000000.simplefb:
fb0: simplefb registered!
[guest0/uart0] [ 0.765693] NET: Registered protocol family 2
[guest0/uart0] [ 0.772844] IP idents hash table entries: 4096
(order: 3, 32768 bytes, linear)
[guest0/uart0] [ 0.787067] tcp_listen_portaddr_hash hash table
entries: 128 (order: 0, 5120 bytes, linear)
[guest0/uart0] [ 0.797305] TCP established hash table entries: 2048
(order: 2, 16384 bytes, linear)
[guest0/uart0] [ 0.806786] TCP bind hash table entries: 2048
(order: 4, 65536 bytes, linear)
[guest0/uart0] [ 0.815622] TCP: Hash tables configured (established
2048 bind 2048)
[guest0/uart0] [ 0.828710] UDP hash table entries: 256 (order: 2,
24576 bytes, linear)
[guest0/uart0] [ 0.837440] UDP-Lite hash table entries: 256 (order:
2, 24576 bytes, linear)
[guest0/uart0] [ 0.850237] NET: Registered protocol family 1
[guest0/uart0] [ 0.866548] RPC: Registered named UNIX socket
transport module.
[guest0/uart0] [ 0.875139] RPC: Registered udp transport module.
[guest0/uart0] [ 0.887775] RPC: Registered tcp transport module.
[guest0/uart0] [ 0.893970] RPC: Registered tcp NFSv4.1 backchannel
transport module.
[guest0/uart0] [ 0.902747] PCI: CLS 0 bytes, default 64
[guest0/uart0] [ 0.918765] workingset: timestamp_bits=62
max_order=16 bucket_order=0
[guest0/uart0] [ 0.920726] Unpacking initramfs...
[guest0/uart0] [ 0.966783] NFS: Registering the id_resolver key type
[guest0/uart0] [ 0.978989] Key type id_resolver registered
[guest0/uart0] [ 0.987149] Key type id_legacy registered
[guest0/uart0] [ 0.994427] nfs4filelayout_init: NFSv4 File Layout
Driver Registering...
[guest0/uart0] [ 1.010125] nfs4flexfilelayout_init: NFSv4 Flexfile
Layout Driver Registering...
[guest0/uart0] [ 1.029851] 9p: Installing v9fs 9p2000 file system support
[guest0/uart0] [ 1.044454] NET: Registered protocol family 38
[guest0/uart0] [ 1.051172] Block layer SCSI generic (bsg) driver
version 0.4 loaded (major 251)
[guest0/uart0] [ 1.061860] io scheduler mq-deadline registered
[guest0/uart0] [ 1.070807] io scheduler kyber registered
[guest0/uart0] [ 1.270859] Freeing initrd memory: 8192K
[guest0/uart0] [ 1.306223] virtio_rpmsg_bus virtio3: rpmsg host is online
[guest0/uart0] [ 1.332978] input: Xvisor VirtIO Input as
/devices/platform/smb/20004000.virtio_input/virtio4/input/input0
[guest0/uart0] [ 2.073555] Serial: 8250/16550 driver, 4 ports, IRQ
sharing disabled
[guest0/uart0] [ 2.092447] printk: console [ttyS0] disabled
[guest0/uart0] [ 2.098664] 10000000.uart: ttyS0 at MMIO 0x10000000
(irq = 68, base_baud = 230400) is a 16550A
[guest0/uart0] [ 2.112542] printk: console [ttyS0] enabled
[guest0/uart0] [ 2.112542] printk: console [ttyS0] enabled
[guest0/uart0] [ 2.124020] printk: bootconsole [uart8250] disabled
[guest0/uart0] [ 2.124020] printk: bootconsole [uart8250] disabled
[guest0/uart0] [ 2.147211] [drm] radeon kernel modesetting enabled.
[guest0/uart0] [ 2.209411] loop: module loaded
[guest0/uart0] [ 2.220958] virtio_blk virtio1: [vda] 0 512-byte
logical blocks (0 B/0 B)
[guest0/uart0] [ 2.242847] libphy: Fixed MDIO Bus: probed
[guest0/uart0] [ 2.279329] e1000e: Intel(R) PRO/1000 Network Driver
[guest0/uart0] [ 2.287988] e1000e: Copyright(c) 1999 - 2015 Intel
Corporation.
[guest0/uart0] [ 2.300950] ehci_hcd: USB 2.0 'Enhanced' Host
Controller (EHCI) Driver
[guest0/uart0] [ 2.311886] ehci-pci: EHCI PCI platform driver
[guest0/uart0] [ 2.322272] ehci-platform: EHCI generic platform driver
[guest0/uart0] [ 2.329787] ohci_hcd: USB 1.1 'Open' Host Controller
(OHCI) Driver
[guest0/uart0] [ 2.339126] ohci-pci: OHCI PCI platform driver
[guest0/uart0] [ 2.346359] ohci-platform: OHCI generic platform driver
[guest0/uart0] [ 2.361072] usbcore: registered new interface driver uas
[guest0/uart0] [ 2.370182] usbcore: registered new interface driver
usb-storage
[guest0/uart0] [ 2.389472] mousedev: PS/2 mouse device common for all mice
[guest0/uart0] [ 2.405702] goldfish_rtc 10003000.rtc: registered as rtc0
[guest0/uart0] [ 2.417469] goldfish_rtc 10003000.rtc: setting
system clock to 2021-06-20T06:12:21 UTC (1624169541)
[guest0/uart0] [ 2.432978] sdhci: Secure Digital Host Controller
Interface driver
[guest0/uart0] [ 2.442151] sdhci: Copyright(c) Pierre Ossman
[guest0/uart0] [ 2.451821] sdhci-pltfm: SDHCI platform and OF driver helper
[guest0/uart0] [ 2.461044] usbcore: registered new interface driver usbhid
[guest0/uart0] [ 2.469304] usbhid: USB HID core driver
[guest0/uart0] [ 2.485324] NET: Registered protocol family 10
[guest0/uart0] [ 2.518736] Segment Routing with IPv6
[guest0/uart0] [ 2.526217] sit: IPv6, IPv4 and MPLS over IPv4
tunneling driver
[guest0/uart0] [ 2.544771] NET: Registered protocol family 17
[guest0/uart0] [ 2.554173] 9pnet: Installing 9P2000 support
[guest0/uart0] [ 2.561936] Key type dns_resolver registered
[guest0/uart0] [ 2.578149] debug_vm_pgtable: [debug_vm_pgtable
]: Validating architecture page table helpers
[guest0/uart0] [ 2.671217] Freeing unused kernel memory: 2160K
[guest0/uart0] [ 2.681379] Run /init as init process
[guest0/uart0] _ _
[guest0/uart0] | ||_|
[guest0/uart0] | | _ ____ _ _ _ _
[guest0/uart0] | || | _ \| | | |\ \/ /
[guest0/uart0] | || | | | | |_| |/ \
[guest0/uart0] |_||_|_| |_|\____|\_/\_/
[guest0/uart0]
[guest0/uart0] Busybox Rootfs
[guest0/uart0]
[guest0/uart0] Please press Enter to activate this console.
[guest0/uart0] / # ls
[guest0/uart0] apps dev init proc sbin usr
[guest0/uart0] bin etc linuxrc root sys
[guest0/uart0] / # cat /proc/interrupts
[guest0/uart0] CPU0 CPU1
[guest0/uart0] 67: 399 421 RISC-V INTC 5 riscv-timer
[guest0/uart0] 68: 98 0 SiFive PLIC 10 ttyS0
[guest0/uart0] 69: 0 0 SiFive PLIC 11 10003000.rtc
[guest0/uart0] 70: 1 0 SiFive PLIC 1 virtio0
[guest0/uart0] 71: 0 0 SiFive PLIC 2 virtio1
[guest0/uart0] 72: 0 0 SiFive PLIC 3 virtio2
[guest0/uart0] 73: 0 0 SiFive PLIC 4 virtio3
[guest0/uart0] 74: 0 0 SiFive PLIC 5 virtio4
[guest0/uart0] IPI0: 7 23 Rescheduling interrupts
[guest0/uart0] IPI1: 751 697 Function call interrupts
[guest0/uart0] IPI2: 0 0 CPU stop interrupts
[guest0/uart0] IPI3: 0 0 IRQ work interrupts
[guest0/uart0] IPI4: 0 0 Timer broadcast interrupts
> --
> You received this message because you are subscribed to the Google Groups "Xvisor Development" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to xvisor-devel...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/xvisor-devel/CAAFEQFGrp-sfy3H5vf1NVfmo5JW7m6Fb_L5FJyub16D17u4Xaw%40mail.gmail.com.

vysakh pillai

unread,
Jun 21, 2021, 1:14:29 AM6/21/21
to xvisor...@googlegroups.com
Hi Anup,
 I dug in a bit further. My busybox was not getting compiled. It seems to be an issues with compiling busybox 1.33.1 with the latest toolchain (10.2.0).
 In GCC10, RPC is not compiled in by default. The current configuration has NFS mount util enabled and this includes 'rpc.h' which is missing in the latest toolchain. I will send in  a patch that disables NFS in the default busybox configuration.


Vysakh P Pillai

You received this message because you are subscribed to a topic in the Google Groups "Xvisor Development" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/xvisor-devel/Q0K-5lSDYgE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to xvisor-devel...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/xvisor-devel/CAAhSdy3psdHGefk_f%2B3NVRw_Y2v1ymykM6cxy5raQ7JVrPcm6A%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages