Hello, Xorg doesn't start anymore in a virtual e5500 QEMU KVM HV machine with the VirtIO GPU [1] since the RC7 of kernel 6.0. [2] Please find attached the kernel config. Thanks, Christian [1] qemu-system-ppc64 -M ppce500 -cpu e5500 -m 1024 -kernel uImage-6.0 -drive format=raw,file=void-live-powerpc-20220129.img,index=0,if=virtio -netdev user,id=mynet0 -device virtio-net,netdev=mynet0 -append "rw root=/dev/vda2" -device virtio-gpu -device virtio-mouse-pci -device virtio-keyboard-pci -device pci-ohci,id=newusb -audiodev id=sndbe,driver=pa,server=/run/user/1000/pulse/native -device usb-audio,bus=newusb.0 -enable-kvm -smp 4 -fsdev local,security_model=passthrough,id=fsdev0,path=/home/amigaone/Music -device virtio-9p-pci,id=fs0,fsdev=fsdev0,mount_tag=hostshare [2] Error messages in a virtual Void PPC machine: Activating Kernel Userspace Execution Prevention MMU: Supported page sizes          4 KB as direct       4096 KB as direct      16384 KB as direct      65536 KB as direct     262144 KB as direct    1048576 KB as direct MMU: Book3E HW tablewalk not supported Linux version 6.0.0-rc7_A-EON_X5000 (christian@ubuntu_22.04) (powerpc-linux-gnu-gcc (Ubuntu 11.2.0-17ubuntu1) 11.2.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #1 SMP Mon Sep 26 04:51:18 CEST 2022 Using QEMU e500 machine description printk: bootconsole [udbg0] enabled CPU maps initialized for 1 thread per core ----------------------------------------------------- phys_mem_size     = 0x40000000 dcache_bsize      = 0x40 icache_bsize      = 0x40 cpu_features      = 0x0000000300800194   possible        = 0x0000000300900394   always          = 0x0000000300800394 cpu_user_features = 0xcc008000 0x08000000 mmu_features      = 0x000a0010 firmware_features = 0x0000000000000000 ----------------------------------------------------- qemu_e500_setup_arch() barrier-nospec: using isync; sync as speculation barrier Zone ranges:   DMA      [mem 0x0000000000000000-0x000000003fffffff]   Normal   empty Movable zone start for each node Early memory node ranges   node   0: [mem 0x0000000000000000-0x000000003fffffff] Initmem setup node 0 [mem 0x0000000000000000-0x000000003fffffff] MMU: Allocated 2112 bytes of context maps for 255 contexts percpu: Embedded 17 pages/cpu s30800 r0 d38832 u262144 Built 1 zonelists, mobility grouping on.  Total pages: 258560 Kernel command line: rw root=/dev/vda2 Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear) Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear) mem auto-init: stack:off, heap alloc:off, heap free:off Memory: 1002724K/1048576K available (14460K kernel code, 1372K rwdata, 9724K rodata, 436K init, 697K bss, 45852K reserved, 0K cma-reserved) SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 rcu: Hierarchical RCU implementation. rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies. NR_IRQS: 512, nr_irqs: 512, preallocated irqs: 16 mpic: Setting up MPIC " OpenPIC  " version 1.2 at fe0040000, max 4 CPUs mpic: ISU size: 256, shift: 8, mask: ff mpic: Initializing for 256 sources rcu: srcu_init: Setting srcu_struct sizes based on contention. clocksource: timebase: mask: 0xffffffffffffffff max_cycles: 0xb8812736b, max_idle_ns: 440795202655 ns clocksource: timebase mult[14000000] shift[24] registered Console: colour dummy device 80x25 pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear) Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear) e500 family performance monitor hardware support registered rcu: Hierarchical SRCU implementation. rcu:     Max phase no-delay instances is 400. smp: Bringing up secondary CPUs ... smp: Brought up 1 node, 4 CPUs devtmpfs: initialized clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns futex hash table entries: 1024 (order: 4, 65536 bytes, linear) Machine: QEMU ppce500 SoC family: QorIQ SoC ID: svr:0x00000000, Revision: 0.0 NET: Registered PF_NETLINK/PF_ROUTE protocol family thermal_sys: Registered thermal governor 'step_wise' cpuidle: using governor ladder cpuidle: using governor menu Found FSL PCI host bridge at 0x0000000fe0008000. Firmware bus number: 0->255 PCI host bridge /pci@fe0008000 (primary) ranges:  MEM 0x0000000c00000000..0x0000000c1fffffff -> 0x00000000e0000000   IO 0x0000000fe1000000..0x0000000fe100ffff -> 0x0000000000000000 /pci@fe0008000: PCICSRBAR @ 0xdff00000 setup_pci_atmu: end of DRAM 40000000 PCI: Probing PCI hardware fsl-pci fe0008000.pci: PCI host bridge to bus 0000:00 pci_bus 0000:00: root bus resource [io 0xc000180000010000-0xc00018000001ffff] (bus address [0x0000-0xffff]) pci_bus 0000:00: root bus resource [mem 0xc00000000-0xc1fffffff] (bus address [0xe0000000-0xffffffff]) pci_bus 0000:00: root bus resource [bus 00-ff] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to ff pci 0000:00:00.0: [1957:0030] type 00 class 0x0b2000 pci 0000:00:00.0: reg 0x10: [mem 0xdff00000-0xdfffffff] pci 0000:00:01.0: [1af4:1000] type 00 class 0x020000 pci 0000:00:01.0: reg 0x10: [io 0xc000180000010000-0xc00018000001001f] pci 0000:00:01.0: reg 0x14: [mem 0x00000000-0x00000fff] pci 0000:00:01.0: reg 0x20: [mem 0x00000000-0x00003fff 64bit pref] pci 0000:00:01.0: reg 0x30: [mem 0x00000000-0x0003ffff pref] pci 0000:00:02.0: [1af4:1050] type 00 class 0x038000 pci 0000:00:02.0: reg 0x14: [mem 0x00000000-0x00000fff] pci 0000:00:02.0: reg 0x20: [mem 0x00000000-0x00003fff 64bit pref] pci 0000:00:03.0: [1af4:1052] type 00 class 0x090200 pci 0000:00:03.0: reg 0x14: [mem 0x00000000-0x00000fff] pci 0000:00:03.0: reg 0x20: [mem 0x00000000-0x00003fff 64bit pref] pci 0000:00:04.0: [1af4:1052] type 00 class 0x090000 pci 0000:00:04.0: reg 0x14: [mem 0x00000000-0x00000fff] pci 0000:00:04.0: reg 0x20: [mem 0x00000000-0x00003fff 64bit pref] pci 0000:00:05.0: [106b:003f] type 00 class 0x0c0310 pci 0000:00:05.0: reg 0x10: [mem 0x00000000-0x000000ff] pci 0000:00:06.0: [1af4:1009] type 00 class 0x000200 pci 0000:00:06.0: reg 0x10: [io 0xc000180000010000-0xc00018000001003f] pci 0000:00:06.0: reg 0x14: [mem 0x00000000-0x00000fff] pci 0000:00:06.0: reg 0x20: [mem 0x00000000-0x00003fff 64bit pref] pci 0000:00:07.0: [1af4:1001] type 00 class 0x010000 pci 0000:00:07.0: reg 0x10: [io 0xc000180000010000-0xc00018000001007f] pci 0000:00:07.0: reg 0x14: [mem 0x00000000-0x00000fff] pci 0000:00:07.0: reg 0x20: [mem 0x00000000-0x00003fff 64bit pref] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00 pci 0000:00:01.0: BAR 6: assigned [mem 0xc00000000-0xc0003ffff pref] pci 0000:00:01.0: BAR 4: assigned [mem 0xc00040000-0xc00043fff 64bit pref] pci 0000:00:02.0: BAR 4: assigned [mem 0xc00044000-0xc00047fff 64bit pref] pci 0000:00:03.0: BAR 4: assigned [mem 0xc00048000-0xc0004bfff 64bit pref] pci 0000:00:04.0: BAR 4: assigned [mem 0xc0004c000-0xc0004ffff 64bit pref] pci 0000:00:06.0: BAR 4: assigned [mem 0xc00050000-0xc00053fff 64bit pref] pci 0000:00:07.0: BAR 4: assigned [mem 0xc00054000-0xc00057fff 64bit pref] pci 0000:00:01.0: BAR 1: assigned [mem 0xc00058000-0xc00058fff] pci 0000:00:02.0: BAR 1: assigned [mem 0xc00059000-0xc00059fff] pci 0000:00:03.0: BAR 1: assigned [mem 0xc0005a000-0xc0005afff] pci 0000:00:04.0: BAR 1: assigned [mem 0xc0005b000-0xc0005bfff] pci 0000:00:06.0: BAR 1: assigned [mem 0xc0005c000-0xc0005cfff] pci 0000:00:07.0: BAR 1: assigned [mem 0xc0005d000-0xc0005dfff] pci 0000:00:05.0: BAR 0: assigned [mem 0xc0005e000-0xc0005e0ff] pci 0000:00:07.0: BAR 0: assigned [io 0xc000180000010000-0xc00018000001007f] pci 0000:00:06.0: BAR 0: assigned [io 0xc000180000010080-0xc0001800000100bf] pci 0000:00:01.0: BAR 0: assigned [io 0xc0001800000100c0-0xc0001800000100df] pci_bus 0000:00: resource 4 [io 0xc000180000010000-0xc00018000001ffff] pci_bus 0000:00: resource 5 [mem 0xc00000000-0xc1fffffff] raid6: int64x8  gen()  1040 MB/s raid6: int64x4  gen()  1224 MB/s raid6: int64x2  gen()  1971 MB/s raid6: int64x1  gen()  1456 MB/s raid6: using algorithm int64x2 gen() 1971 MB/s raid6: .... xor() 986 MB/s, rmw enabled raid6: using intx1 recovery algorithm Freescale Elo series DMA driver SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb pps_core: LinuxPPS API ver. 1 registered pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti PTP clock support registered EDAC MC: Ver: 3.0.0 Advanced Linux Sound Architecture Driver Initialized. NET: Registered PF_ATMPVC protocol family NET: Registered PF_ATMSVC protocol family vgaarb: loaded clocksource: Switched to clocksource timebase VFS: Disk quotas dquot_6.6.0 VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) FS-Cache: Loaded CacheFiles: Loaded NET: Registered PF_INET protocol family IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear) tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear) Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear) TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear) TCP: Hash tables configured (established 8192 bind 8192) UDP hash table entries: 512 (order: 2, 16384 bytes, linear) UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear) NET: Registered PF_UNIX/PF_LOCAL protocol family RPC: Registered named UNIX socket transport module. RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. pci 0000:00:05.0: enabling device (0000 -> 0002) PCI: CLS 0 bytes, default 64 Initialise system trusted keyrings workingset: timestamp_bits=62 max_order=18 bucket_order=0 zbud: loaded squashfs: version 4.0 (2009/01/31) Phillip Lougher NFS: Registering the id_resolver key type Key type id_resolver registered Key type id_legacy registered nfs4filelayout_init: NFSv4 File Layout Driver Registering... nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... Key type cifs.idmap registered ntfs: driver 2.1.32 [Flags: R/W]. ntfs3: Max link count 4000 ntfs3: Read-only LZX/Xpress compression included jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc. fuse: init (API version 7.36) SGI XFS with ACLs, security attributes, realtime, scrub, repair, quota, no debug enabled 9p: Installing v9fs 9p2000 file system support NET: Registered PF_ALG protocol family xor: measuring software checksum speed    8regs           :  4770 MB/sec    8regs_prefetch  :  3865 MB/sec    32regs          :  4957 MB/sec    32regs_prefetch :  3986 MB/sec xor: using function: 32regs (4957 MB/sec) Key type asymmetric registered Asymmetric key parser 'x509' registered Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248) io scheduler mq-deadline registered io scheduler kyber registered crc32: CRC_LE_BITS = 64, CRC_BE BITS = 64 crc32: self tests passed, processed 225944 bytes in 404840 nsec crc32c: CRC_LE_BITS = 64 crc32c: self tests passed, processed 112972 bytes in 202780 nsec crc32_combine: 8373 self tests passed crc32c_combine: 8373 self tests passed virtio-pci 0000:00:01.0: enabling device (0000 -> 0003) virtio-pci 0000:00:02.0: enabling device (0000 -> 0002) virtio-pci 0000:00:03.0: enabling device (0000 -> 0002) virtio-pci 0000:00:04.0: enabling device (0000 -> 0002) virtio-pci 0000:00:06.0: enabling device (0000 -> 0003) virtio-pci 0000:00:07.0: enabling device (0000 -> 0003) input: QEMU Virtio Mouse as /devices/platform/fe0008000.pci/pci0000:00/0000:00:03.0/virtio2/input/input0 input: QEMU Virtio Keyboard as /devices/platform/fe0008000.pci/pci0000:00/0000:00:04.0/virtio3/input/input1 Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled printk: console [ttyS0] disabled serial8250.0: ttyS0 at MMIO 0xfe0004500 (irq = 42, base_baud = 25000000) is a 16550A printk: console [ttyS0] enabled printk: console [ttyS0] enabled printk: bootconsole [udbg0] disabled printk: bootconsole [udbg0] disabled ePAPR hypervisor byte channel driver [drm] radeon kernel modesetting enabled. [drm] pci: virtio-gpu-pci detected at 0000:00:02.0 [drm] features: -virgl +edid -resource_blob -host_visible [drm] features: -context_init [drm] number of scanouts: 1 [drm] number of cap sets: 0 [drm] Initialized virtio_gpu 0.1.0 0 for virtio1 on minor 0 BUG: Kernel NULL pointer dereference on read at 0x00000000 Faulting instruction address: 0xc0000000000c9934 Oops: Kernel access of bad area, sig: 11 [#1] BE PAGE_SIZE=4K SMP NR_CPUS=4 QEMU e500 Modules linked in: CPU: 1 PID: 1 Comm: swapper/0 Not tainted 6.0.0-rc7_A-EON_X5000 #1 NIP:  c0000000000c9934 LR: c0000000000c9f58 CTR: 0000000000000000 REGS: c00000000208ab20 TRAP: 0300   Not tainted (6.0.0-rc7_A-EON_X5000) MSR:  0000000090029002   CR: 84008242  XER: 00000000 DEAR: 0000000000000000 ESR: 0000000000000000 IRQMASK: 0 GPR00: c0000000006f0060 c00000000208adc0 c000000001ac3500 c0000000025f0010 GPR04: 0000000000000000 0000000000000000 0000000000000000 c0000000019908b0 GPR08: 0000000000000105 0000000000000000 0000000000000000 0000000000000180 GPR12: 0000000024008242 c00000003fff9500 c000000000001384 0000000000000000 GPR16: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 GPR20: 0000000000000000 0000000000000000 c00000000169021f c00000000208b088 GPR24: 0000000000000000 c000000002336800 0000000000000000 0000000000000000 GPR28: c000000002a48000 c000000002336800 0000000000000000 c0000000025f0010 NIP [c0000000000c9934] .dma_map_direct+0x8/0x10 LR [c0000000000c9f58] .dma_max_mapping_size+0x24/0x78 Call Trace: [c00000000208adc0] [c00000000208ae80] 0xc00000000208ae80 (unreliable) [c00000000208ae40] [c0000000006f0060] .drm_prime_pages_to_sg+0xa0/0xb8 [c00000000208aed0] [c00000000070f96c] .drm_gem_shmem_get_sg_table+0x28/0x3c [c00000000208af40] [c000000000808c8c] .virtio_gpu_object_create+0x134/0x3a8 [c00000000208b010] [c000000000804c34] .virtio_gpu_mode_dumb_create+0xe4/0x15c [c00000000208b110] [c0000000006ff7f4] .drm_mode_create_dumb+0xcc/0xec [c00000000208b180] [c000000000707748] .drm_client_framebuffer_create+0x98/0x1f0 [c00000000208b260] [c00000000071fb6c] .drm_fb_helper_generic_probe+0x78/0x1a0 [c00000000208b320] [c00000000071ef08] .__drm_fb_helper_initial_config_and_unlock+0x428/0x54c [c00000000208b410] [c00000000071f9dc] .drm_fbdev_client_hotplug+0xec/0x128 [c00000000208b4a0] [c00000000071fdec] .drm_fbdev_generic_setup+0x158/0x198 [c00000000208b530] [c000000000803dc4] .virtio_gpu_probe+0x1ac/0x1e0 [c00000000208b5f0] [c00000000069e11c] .virtio_dev_probe+0x2d0/0x3d4 [c00000000208b690] [c000000000815f34] .really_probe+0x1a0/0x344 [c00000000208b720] [c0000000008161c8] .__driver_probe_device+0xf0/0x100 [c00000000208b7b0] [c00000000081620c] .driver_probe_device+0x34/0xac [c00000000208b840] [c000000000816774] .__driver_attach+0x124/0x134 [c00000000208b8d0] [c000000000813974] .bus_for_each_dev+0x8c/0xd0 [c00000000208b980] [c0000000008154a4] .driver_attach+0x24/0x38 [c00000000208b9f0] [c000000000814dd4] .bus_add_driver+0xd8/0x210 [c00000000208baa0] [c000000000816fd4] .driver_register+0xe0/0x134 [c00000000208bb20] [c00000000069d8a8] .register_virtio_driver+0x40/0x54 hrtimer: interrupt took 4631040 ns [c00000000208bb90] [c000000001954444] .virtio_gpu_driver_init+0x18/0x2c [c00000000208bc00] [c000000000001044] .do_one_initcall+0x7c/0x1c0 [c00000000208bce0] [c000000001925710] .kernel_init_freeable+0x23c/0x240 [c00000000208bd90] [c0000000000013ac] .kernel_init+0x28/0x14c [c00000000208be10] [c0000000000005a0] .ret_from_kernel_thread+0x58/0x60 Instruction dump: 39200001 7c23f840 38210080 7d20485e 792307e0 48d551d8 7c9f2378 4bffffdc 792307e0 4e800020 e92301f8 7c852378 4bffff7c 7c0802a6 28060003 ---[ end trace 0000000000000000 ]--- Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b Rebooting in 180 seconds..