sparc64: WITNESS broken

2020-05-16 Thread Klemens Nanni
sparc64 (and arm mem.c) are the only architectures/places where RWLOCK_INITIALIZER() is used with static function variables, all other (mem.c) usages place it into the global scope. sparc64 WITNESS enabled builds fail with: /sys/arch/sparc64/sparc64/mem.c:93: error: initializer element is not con

ksh: failing eval stops execution even when in OR-list

2020-05-16 Thread Leah Neukirchen
>Synopsis: ksh: failing eval stops execution even when in OR-list >Category: user >Environment: System : OpenBSD 6.6 Details : OpenBSD 6.6 (GENERIC.MP) #3: Thu Nov 21 03:20:01 MST 2019 r...@syspatch-66-amd64.openbsd.org:/usr/src/sys/arch

Re: Corrupted text background color on VirtualBox

2020-05-16 Thread Stuart Henderson
Nice find! This change also fixes vga1 at pci3 dev 0 function 0 "ASPEED Technology AST2000" rev 0x30 as seen on many server boards from smaller manufacturers (especially common on Supermicro).

Re: Corrupted text background color on VirtualBox

2020-05-16 Thread Matthieu Herrb
On Sat, May 16, 2020 at 05:59:06PM +1000, Jonathan Gray wrote: > That fixes the console background issue for me on a KVM / virt-manager virtual machine. > Index: vga.c > === > RCS file: /cvs/src/sys/dev/ic/vga.c,v > retrieving revisi

Re: Corrupted text background color on VirtualBox

2020-05-16 Thread Jonathan Gray
On Fri, May 15, 2020 at 10:02:22PM -0700, jo...@armadilloaerospace.com wrote: > Ok, new theory: > > VirtualBox ignores the pas bit, so writes to the attribute data register > after vga_enable() is called go ahead and modify the attribute palette > index 0, but on a real vga the write is ignored. >