Re: My home router, running OpenBSD 7.1, won't boot headlessly

2022-09-26 Thread Crystal Kolipe
On Sun, Sep 25, 2022 at 08:12:51AM -0400, Z. Charles Dziura wrote:
> it won't boot up properly unless I have a monitor plugged into
> one of the display ports.

On Sun, Sep 25, 2022 at 06:52:16PM +0200, Ronan Viel wrote:
> I had the same kind of issue with an Intel NUC some years ago and
> solved it with a fit-Headless HDMI dongle

On Sun, Sep 25, 2022 at 02:21:00PM -0700, Kastus Shchuka wrote:
> Seems you need a dummy HDMI plug

Although a dummy HDMI plug is the quick and easy fix, if this is
caused by a software problem in OpenBSD, (rather than being
caused by the BIOS, for example), then if everybody just 'fixes'
it by buying extra hardware, the real problem will never get
identified and fixed.  So _everybody_ ends up having to buy an
extra piece of hardware.

Even if you don't have a serial console to interact with the
machine and debug the issue, you could at least see if the
boot process is getting to and beyond the bootloader by
observing the amount of disk accesses.

It could be that simply as disabling the DRM driver in the
kernel will allow the machine to boot.

In any case, a dmesg from the affected machine so that we can
see exactly what hardware is in it would be useful.



Re: My home router, running OpenBSD 7.1, won't boot headlessly

2022-09-26 Thread Lars Noodén

On 9/26/22 00:21, Kastus Shchuka wrote:

On Sun, Sep 25, 2022 at 08:12:51AM -0400, Z. Charles Dziura wrote:

[snip]

except for one glaring flaw: it won't boot up properly unless I have a
monitor plugged into one of the display ports. Of course, this makes things
a bit difficult to debug.

[snip]

Seems you need a dummy HDMI plug, similar to what was described in this thread:
https://marc.info/?l=openbsd-misc=165192618008143=2


I had a similar problem with a Mac Mini, a long time ago, and taped some
resistors in place so that OpenBSD would boot unattended and without a
display attached.  The resistors have to be in the right range to work,
but there is some flexibility as to the specs:

https://rumorscity.com/2013/12/06/how-to-create-dummy-plugs-for-your-graphics-cards/

Though a form dummy HDMI plug might be the best approach if it's likely
to get jostled or moved.

/Lars







Re: My home router, running OpenBSD 7.1, won't boot headlessly

2022-09-25 Thread Ronan Viel
Hi, 

I had the same kind of issue with an Intel NUC some years ago and solved it 
with a fit-Headless HDMI dongle: 
https://www.fit-pc.com/web/products/fit-headless/ 


Regards,
Ronan

> Le 25 sept. 2022 à 14:12, Z. Charles Dziura  a écrit :
> 
> Hello everybody,
> 
> A couple of months ago, I decided to build my own custom router for my home 
> network by following this[1] guide. The machine itself works quite well, 
> except for one glaring flaw: it won't boot up properly unless I have a 
> monitor plugged into one of the display ports. Of course, this makes things a 
> bit difficult to debug.
> 
> I'm curious if anyone else has encountered such a bug in the past; and if so, 
> how did you fix it? Below are the relevant specs of my router.
> 
> Specs:
> - Motherboard: ASUS PRIME H610I-PLUS D4-CSM
> - CPU: Intel Celeron ‎G6900
> - RAM: Patriot Viper Steel DDR4 2x8G
> - SSD: WD Green 240GB
> - NIC: Intel I340-T4
> 
> Any and all help will be gratly appreciated!
> 
> - Zachary
> 
> Sources:
> [1]: https://openbsdrouterguide.net/
> 
> 



Re: My home router, running OpenBSD 7.1, won't boot headlessly

2022-09-25 Thread Kastus Shchuka
On Sun, Sep 25, 2022 at 08:12:51AM -0400, Z. Charles Dziura wrote:
> Hello everybody,
> 
> A couple of months ago, I decided to build my own custom router for my home
> network by following this[1] guide. The machine itself works quite well,
> except for one glaring flaw: it won't boot up properly unless I have a
> monitor plugged into one of the display ports. Of course, this makes things
> a bit difficult to debug.
> 
> I'm curious if anyone else has encountered such a bug in the past; and if
> so, how did you fix it? Below are the relevant specs of my router.
> 
> Specs:
> - Motherboard: ASUS PRIME H610I-PLUS D4-CSM
> - CPU: Intel Celeron ‎G6900
> - RAM: Patriot Viper Steel DDR4 2x8G
> - SSD: WD Green 240GB
> - NIC: Intel I340-T4
> 

Seems you need a dummy HDMI plug, similar to what was described in this thread:
https://marc.info/?l=openbsd-misc=165192618008143=2