On 30/06/2020 16:13, Connor McLaughlan wrote: > On Tue, Jun 30, 2020 at 5:07 PM Adrian Davey <adr...@beth2.org> wrote: >>> Now it crashes after some VGA init: >>> >>> [ 84.672537] [drm] Found bochs VGA, ID 0xb0c5. >>> [ 84.673255][drm] Framebuffer size 16384 kB @ 0x1ff22000000, mmio @ >>> 0x1ff23000000. >>> [ 84.711815] [TTM] Zone kernel: Available graphics memory: 2067220 KiB >>> [ 84.712821] [TTM] Initializing pool allocator >>> qemu: fatal: Trap 0x0032 while trap level (5) >= MAXTL (5), Error state >>> pc: 0000000000405618 npc: 000000000040561c >>> ... >>> pstate: 00000015 ccr: 00 (icc: ---- xcc: ----) asi: 11 tl: 5 pil: 0 >>> gl: 2 tbr: 0000000000420000 hpstate: 0000000000000000 htba: >>> 0000000000000000 cansave: 5 canrestore: 1 otherwin: 0 wstate: 8 >>> cleanwin: 7 cwp: 7 fsr: 0000000000000000 y: 0000000000000000 fprs: >>> 0000000000000000 Aborted >>> >>> I guess i will have to try some framebuffer kernel settings and stuff. >>> >>> Regards, >>> Connor >> >> >> Hi Connor, >> >> Taken from https://wiki.debian.org/Sparc64Qemu >> >> Create/edit /etc/modprobe.d/drm-blacklist.conf >> >> # blacklist of DRM modules that do not load on qemu-system-sparc64 sun4u >> blacklist drm >> blacklist bochs-drm >> blacklist ttm >> >> >> May help you here. >> >> Cheers, >> >> Adrian > > > I ended up passing the additional kernel parameter > "modprobe.blacklist=bochs_drm" > System is up and running in text mode as expected. > > Thank you!
That's annoying as I submitted a patch a couple of years ago to fix this, and it was working (see https://github.com/torvalds/linux/commit/931e8c661a2d85e6bdfe145cfc52dffaf4a60516). What version of the kernel are you using? Did someone manage to break it again? ATB, Mark.