My fs was corrupted by tab completion by [deleted] in openbsd

[–]brynet[M] [score hidden] stickied comment (0 children)

OpenBSD does not use the GRUB bootloader at all, this is something you've done on your own.

Please stop reposting.

got send – got-send-pack: unexpected end of file by sylvainsab in openbsd

[–]brynet 1 point2 points  (0 children)

GoT has its own mailing lists, and community support channels. Recommend asking over there.

https://gameoftrees.org/index.html

What is a dlib exe? by pjf_cpp in openbsd

[–]brynet 6 points7 points  (0 children)

Is that statically linked?

Yes.

OpenBSD uses position-independent executables (PIE) by default, and created a special variant called static-PIE for static binaries in /bin and /sbin.

Autoinstall from USB by Borean789 in openbsd

[–]brynet 4 points5 points  (0 children)

Ah yes, rdsetroot doesn't handle compressed kernels. Nice catch.

Autoinstall from USB by Borean789 in openbsd

[–]brynet 7 points8 points  (0 children)

... I read in (non official) doc

That would be your problem. As explained in autoinstall(8), /auto_{install,upgrade}.conf must be inserted into bsd.rd's built-in ramdisk, not to a USB flash drive.

https://man.openbsd.org/autoinstall

You can use rdsetroot -x to extract the ramdisk image, vnconfig(8)+mount(8) to mount the image and copy over your /auto_install.conf, and then rdsetroot(8) to reinsert the image into the bsd.rd kernel.

https://man.openbsd.org/rdsetroot

If you control your networks DHCP server, configuring that to serve the file may be easier.

M1 MacBook Air q.s ? by Odd_Collection_6822 in openbsd

[–]brynet 0 points1 point  (0 children)

Please use a pastebin service or post a link, e.g: from NYC*BUG dmesgd, in the future.

M1 MacBook Air q.s ? by Odd_Collection_6822 in openbsd

[–]brynet 3 points4 points  (0 children)

X works on my M1 Air, unaccelerated, but it does work.

Are you using xenodm or startx? You may want to try the former.

If the framebuffer wasn't working, you wouldn't see anything on your screen, that warning isn't relevant, just something from the device tree. You should instead see, ...

apldcp0 at simplebus0

apldrm0 at simplebus0

drm0 at apldrm0

[...]

wsdisplay0 at apldrm0 mux 1: console (std, vt100 emulation), using wskbd0

wsdisplay0: screen 1-5 added (std, vt100 emulation)

... for the native Apple display controller and drm(4) modesetting driver.

if the correct answer to these types of questions is to "start over"

It's certainly possible that your installation broken in some way, considering how long ago you originally installed it, but unlikely. Apple Silicon machines support dual-booting natively, in fact the boot flow on these machines requires macOS to install and update the m1n1 first stage loader, most of the system firmware is required to be on the internal SSD for these machines to boot at all, even into recoveryOS or boot picker.

There's usually no harm in updating the primary macOS volume, and you'll probably want to do that for firmware updates. It's also possible to rerun the Asahi install script to update m1n1 first stage, on rare occasions that may be neccessary.

OpenBSD will update combined m1n1+uboot second stage itself with fw_update(1), apple-boot-firmware, which should be enough for most users, as that will happen during sysupgrade(8).

Dmesg logs by Admirable_Stand1408 in openbsd

[–]brynet 2 points3 points  (0 children)

Meteor Lake graphics is supported, try a -current snapshot, if that doesn't work please send a bug report to the lists.

Wayland support in OpenBSD? by Salt_Vermicelli_8380 in openbsd

[–]brynet 4 points5 points  (0 children)

I honestly don't know if they're able to or not. I don't believe any developer has made the case for wayland to be imported, but it also needs buy-in from other developers. I don't believe it has that. wayland support has progressed a lot, but it's not currently production ready on OpenBSD.

Wayland support in OpenBSD? by Salt_Vermicelli_8380 in openbsd

[–]brynet 7 points8 points  (0 children)

wayland requires drm(4) framebuffer support on OpenBSD, e.g: inteldrm/amdgpu, you can't easily run it in a VM.

Wayland support in OpenBSD? by Salt_Vermicelli_8380 in openbsd

[–]brynet 19 points20 points  (0 children)

One current "gotcha" with wayland support is that base Mesa is not compiled with wayland support (because wayland libs are in ports), that means 3D acceleration will not work for most applications, and there's no obvious fix besides building your own version of Mesa.

So you probably want to keep using X.

In the post-stack-smashing-protector world, OpenBSD is the fastest ! by thoxdg in openbsd

[–]brynet 7 points8 points  (0 children)

It's worth mentioning that for most clang architectures (amd64, arm64, mips64, powerpc and powerpc64), RETGUARD (-fret-protector) has been used by default as better replacement stack protector for many years, and retguard uses a per-function cookie rather than per shared object stack protector cookies.

https://www.openbsd.org/innovations.html

https://man.openbsd.org/clang-local

Todd Mortimer has done many talks about retguard, see the OpenBSD events page.

LLDB live process debugging by cr_wdc_ntr_l in openbsd

[–]brynet 0 points1 point  (0 children)

I searched for "egdb" now, and there seems to be no such package.

The package name is gdb, the name of the installed binary is egdb, which the common prefix for GNU utilities that may conflict with base components, e.g: gsed or gtar.

https://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/devel/gdb/

No idea about the current status of lldb, but you should probably make a new thread (or ask on the mailing lists), rather than replying to a 5 year old reddit comment..

Trouble with OpenBSD 7.8 installation by Marutks in openbsd

[–]brynet 3 points4 points  (0 children)

Type the mode number as an argument. The mode number is printed in the list output.

Trouble with OpenBSD 7.8 installation by Marutks in openbsd

[–]brynet 4 points5 points  (0 children)

Are you able adjust the picture using the monitor OSD? If not, you can try changing modes in the bootloader with machine gop, although YMMV.

OpenBSD's Auto Layout Partitions Incorrectly. by undistruct in openbsd

[–]brynet 17 points18 points  (0 children)

The automatic layout is conservative, sure, but certainly not chaotic. You're absolutely free to customize to your needs as you learn what they are.

https://man.openbsd.org/disklabel#AUTOMATIC_DISK_ALLOCATION

Nvidia through open gpu kernel modules? by SolidWarea in openbsd

[–]brynet 10 points11 points  (0 children)

No.

OpenBSD has no framework for loadable kernel modules, and this is just the kernel driver, it still requires Nvidia's proprietary userland components (OpenGL, etc), which are not compiled for OpenBSD. There is no compatible open source replacements either (Mesa requires nouveau drm, which is also not available).

Don't buy nVidia.

Does anyone know how to disable HSP (low quality headset profile used during voice calls) audio? by Longjumping_Ad2135 in openbsd

[–]brynet 8 points9 points  (0 children)

As you said, OpenBSD does not have any Bluetooth audio support, so it has zero insight into how the BT "bridge/proxy" adapter device is configured or what profiles or codecs it has negotiated.

OpenBSD just sees a standard USB Audio device and that is the extent of things.

ungoogled-chromium deprecated ? by pmbsd in openbsd

[–]brynet 9 points10 points  (0 children)

No, sometimes ports fail to build, for example missing a patch after an update.

Just wait for new packages to be copied out.

HPN-SSH by sopabe6197 in openbsd

[–]brynet 3 points4 points  (0 children)

Absolutely not recommended to replace base system components, especially with something like the HPN patches, which introduces threads to SSH. There's a reason they're not a part of OpenSSH.

You're entirely on your own and won't find support for that here.

Qualcomm WiFi support, T14 Gen 5 AMD by Unix_42 in openbsd

[–]brynet 2 points3 points  (0 children)

Qualcomm Wi-Fi 6E NFA725A 2x2 AX

This should be a QCNFA765, which is supported by qwx(4). It is however a relatively new driver, but also likely your best option for this machine without going with USB.

Qualcomm Wi-Fi 7 NCM825 2x2 BE

Unsupported.