i‘m in linux 5.10 ,and in non root cell echo "Your message" | tee /dev/kmsg root cell virtio-ivshmem-console can see : [ 761.955026] Your message 在2023年10月8日星期日 UTC+8 15:46:01<z ws> 写道:
> non root cell start with console=hvc0 > > 在2023年10月8日星期日 UTC+8 15:25:28<z ws> 写道: > >> Hi,all >> >> when i use virtio console, i ran into a problem. >> in root cell : insmod uio_ivshmem.ko >> echo "110a 4106 110a 4106 ffc003 ffffff" > >> /sys/bus/pci/drivers/uio_ivshmem/new_id >> then ./virtio-ivshmem-console /dev/uio0 >> then i start non root cell linux >> (CONFIG_VIRTIO_CONSOLE=y/CONFIG_VIRTTIO_IVSHMEM=y),but i can not use it >> like a serial console. The virtio-ivshmem-console print some status,and >> then there has no input and output. >> >> this is the virtio-ivshmem-console output: >> Starting virtio device >> device_status: 0x0 >> device_status: 0x1 >> device_status: 0x3 >> device_features_sel: 1 >> device_features_sel: 0 >> driver_features_sel: 1 >> driver_features[1]: 0x13 >> driver_features_sel: 0 >> driver_features[0]: 0x1 >> device_status: 0xb >> queue_sel: 0 >> queue size: 8 >> queue driver vector: 0 >> queue desc: 0x200 >> queue driver: 0x280 >> queue device: 0x2c0 >> queue enable: 1 >> queue_sel: 1 >> queue size: 8 >> queue driver vector: 0 >> queue desc: 0x400 >> queue driver: 0x480 >> queue device: 0x4c0 >> queue enable: 1 >> device_status: 0xf >> >> queue driver vector: 0 is different with demo, Where do I start >> troubleshooting? >> > -- 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/fcde5e93-afba-4903-8c71-76cf965f7c5an%40googlegroups.com.
