Re: installer: amd64 EFI: default to GPT

2023-05-03 Thread Andrew Daugherity
On Sun, Apr 30, 2023 at 1:43 AM Klemens Nanni wrote: > > Installing to a wiped disk on EFI machines suggests MBR not GPT when chosing > (E)dit because MBR vs. GPT in this manual case is picked based on existing > data on the disk, not whether it has EFI. > > Fix that so users get correct instructi

Re: [patch] Don't require a working efifb when probing for EFI/GPT

2020-10-02 Thread Andrew Daugherity
On Tue, Sep 15, 2020 at 1:48 PM Andrew Daugherity wrote: > With a headless machine, the installer always uses MBR mode. I selected GPT > and ignored the warning "An EFI/GPT disk may not boot. Proceed?"; it boots > fine, of course (and MBR mode would not boot, unless I m

[patch] Don't require a working efifb when probing for EFI/GPT

2020-09-15 Thread Andrew Daugherity
I successfully installed OpenBSD under xhyve, although there were a few issues, mostly xhyve's fault [1]. One which seems to be an issue with OpenBSD itself rather than xhyve is that with a headless machine, the installer always uses MBR mode. I selected GPT and ignored the warning "An EFI/GPT di

Re: diff: init efifb even if VGA is probed.

2020-03-12 Thread Andrew Daugherity
On Mon, Mar 9, 2020 at 9:24 AM YASUOKA Masahiko wrote: > > Hi, > > Thank you for your test and feedback. > > I see, first diff didn't fix the problem on your machine. > > > I haven't tried any of the later diffs as I'm not sure which are still > > recommended. > > The last diff should fix the prob

Re: diff: init efifb even if VGA is probed.

2020-03-06 Thread Andrew Daugherity
On Sun, Mar 1, 2020 at 10:41 PM YASUOKA Masahiko wrote: > > Hi, > > The problems you are pointing seem to be the same problem. > > > I'll try to test this diff next week if I can schedule some downtime. > > Test is appreciated. > > Also I'd like to know the result of > > hexdump -C /var/db/acpi/

Re: diff: init efifb even if VGA is probed.

2020-02-21 Thread Andrew Daugherity
On Thu, Feb 20, 2020 at 11:10 PM YASUOKA Masahiko wrote: > Hello, > > I am testing a new hardware, HPE DL20 Gen10. > > When efiboot starts the kernel, the video display becomes distorted > and never recovered until CPU reset. > [...] > On HPE DL20 Gen10, probing vga is succeeded on first trial, th

perldoc: fix man output & formatting

2019-05-02 Thread Andrew Daugherity
After upgrading to 6.5 and thus perl 5.28, the man pages displayed by perldoc (e.g. 'perldoc Digest') or via Perl scripts making use of pod2usage lack formatting such as bold and underlining. In fact, text which used to be underlined is now wrapped in *asterisks* (bold text is just displayed as no

efiboot: typo in memprobe addr check

2018-10-10 Thread Andrew Daugherity
In efi_memprobe_internal(), there's this bit working around the 640kB - 1MB memory hole: for (bm = bios_memmap; bm->type != BIOS_MAP_END; bm++) { if (bm->addr < 0x0a) /* Below memory hole */ cnvmem = max(cnvmem, (bm->addr + bm->size) / 1024); if (bm->addr >= 0x1 /* Above th

Add PCI ID for VirtualBox NVMe

2018-07-19 Thread Andrew Daugherity
This is strictly a cosmetic change, as it already gets bound to nvme(4) and works properly, but is currently identified as an unknown product. diff --git a/sys/dev/pci/pcidevs b/sys/dev/pci/pcidevs index f9ab4d1c535..e50b8d1a1a7 100644 --- a/sys/dev/pci/pcidevs +++ b/sys/dev/pci/pcidevs @@ -2

[patch] openchrome(4): fix Xorg startup crash with CLE266

2017-10-05 Thread Andrew Daugherity
On a system with VIA CLE266 graphics, X immediately crashes upon startup. I fixed it by cherry-picking some commits from upstream xf86-video-openchrome; the crash and the fix apply to both 6.1 and a recent snaphost. The crash: root@precious:~# startx X.Org X Server 1.18.4 Release Date: 2016-07

Re: efiboot: Restore GOP mode on SetMode() failure

2017-10-03 Thread Andrew Daugherity
From: Klemens Nanni Date: 2017-09-16 13:58:21 Message-ID: <20170916135821.4245umgvha23b...@x230.example.com> >Updated diff introducing efi_gop_setmode() as helper to reduce duplicate >code and enhance readability. > >This code continues to work on three different UEFI implementations >

Possible logic error in 'ioapic0: misconfigured as apic' fix?

2017-08-28 Thread Andrew Daugherity
I was looking at post-6.0 commits to sys/arch/i386/i386 to see if there was anything obvious that would explain why 6.1 won't boot on a 486 while 6.0 does. Nothing jumped out, but I did a double-take at this unrelated commit: Stop printing the "ioapic0: misconfigured as apic..." messages. Ba

uslcom(4): add ID for Netgear M7100

2015-06-15 Thread Andrew Daugherity
This particular 10Gb switch from Netgear has both a standard DB9 serial port for its console, and a mini-USB port, selectable via switch. The mini-USB is apparently connected to an internal CP2102 serial/USB adapter (0846:1100). Comes with Windows drivers on CD; worked out-of-the-box (with 'cp210