On 19.01.22 10:40, Anmol wrote:
Hi,
I have tried to figure it and resolved the "PCI devices not showing",
and devices are showing now(`c` and `d`):
```
Activating hypervisor
[ 73.183592] pci-host-generic fc000000.pci: host bridge /pci@0 ranges:
[ 73.199132] pci-host-generic fc000000.pci: MEM
0xfc100000..0xfc103fff -> 0xfc100000
[ 73.208489] pci-host-generic fc000000.pci: ECAM at [mem
0xfc000000-0xfc0fffff] for [bus 00]
[ 73.218012] pci-host-generic fc000000.pci: PCI host bridge to bus 0001:00
[ 73.226675] pci_bus 0001:00: root bus resource [bus 00]
[ 73.233239] pci_bus 0001:00: root bus resource [mem
0xfc100000-0xfc103fff]
[ 73.245689] pci 0001:00:0c.0: [110a:4106] type 00 class 0xffc002
[ 73.255187] pci 0001:00:0c.0: reg 0x10: [mem 0x00000000-0x00000fff]
[ 73.268934] pci 0001:00:0d.0: [110a:4106] type 00 class 0xffc003
[ 73.275920] pci 0001:00:0d.0: reg 0x10: [mem 0x00000000-0x00000fff]
[ 73.333292] pci 0001:00:0c.0: BAR 0: assigned [mem 0xfc100000-0xfc100fff]
[ 73.350022] pci 0001:00:0d.0: BAR 0: assigned [mem 0xfc101000-0xfc101fff]
[ 73.365843] The Jailhouse is opening.
[ 73.379727] xilinx-dp-snd-card
fd4a0000.zynqmp-display:zynqmp_dp_snd_card: ASoC: failed to init link
xilinx-dp0: -517
```
but after doing this,
```
root:~# modprobe uio_ivshmem
root:~# echo "110a 4106 110a 4106 ffc002 ffffff" >
/sys/bus/pci/drivers/uio_ivshmem/new_id
[ 448.468251] uio_ivshmem 0001:00:0c.0: enabling device (0000 -> 0002)
[ 448.479735] uio_ivshmem 0001:00:0c.0: state_table at
0x0000000050400000, size 0x0000000000001000
[ 448.487710] uio_ivshmem 0001:00:0c.0: rw_section at
0x0000000050401000, size 0x00000000000df000
[ 448.504564] xilinx-dp-snd-card
fd4a0000.zynqmp-display:zynqmp_dp_snd_card: ASoC: failed to init link
xilinx-dp0: -517
root:~# ./virtio-ivshmem-block /dev/uio0 disk.img
./virtio-ivshmem-block: cannot open /sys/class/uio/uio0/maps/map2/size:
No such file or directory
```
It's still not able to detect the required device.
Did you check what is listed under /sys/class/uio/uio0, which element is
actually missing in that path?
Jan
--
You received this message because you are subscribed to the Google Groups
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jailhouse-dev/a7d42f4a-9491-9530-8892-121c31fef3f3%40web.de.