DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Installation and Upgrading

OpenBSD Installation and Upgrading Installing and upgrading OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 4th May 2023
Letni Letni is offline
New User
 
Join Date: Mar 2023
Posts: 4
Default OpenBSD hangs on login

Hello,

OpenBSD 7.3 hangs at the login on my intel C3758 based custom board. On every power-up, OpenBSD runs without problem up to the login, but, after 2 second hangs problem begins here.

Code:
starting network
sysctl: net.inet6.ip6.soiikey: hex string L�苉L3$UH��ASAVH��tI光���H: invalid
reordering: ld.so libc libcrypto sshd.
starting early daemons: syslogd pflogd ntpd.
starting RPC daemons:.
savecore: no core dump
checking quotas: done.
clearing /tmp
kern.securelevel: 0 -> 1
creating runtime link editor directory cache.
preserving editor files.
starting network daemons: sshd(failed) smtpd sndiod.
starting local daemons: cron.
Sat Mar 25 17:55:23 +03 2023

OpenBSD/amd64 (Anda.Intel) (tty00)

login: roo        <--- trying to login as root, after 2 sec it hangs.
I tried to upgrade OpenBSD version 7.2 to 7.3, the problem is same. I thought the problem might be from the version update and tried to download and install the new version directly. Nothing has changed, the problem persists.

I tested both legacy BIOS and UEFI but same in both. I don't have such a problem in version 7.2. What do you think could be the problem?
Reply With Quote
  #2   (View Single Post)  
Old 4th May 2023
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

I've never seen that soiikey warning before. So, while it may not be related to your issue, I recommend checking sysctl.conf(5) for a possible provisioning error.


Edited to add: check for /etc/soii.key, per this fragment from netstart(8):
Code:
# Load key material for the generation of IPv6 Semantically Opaque Interface
# Identifiers (SOII) used for SLAAC addresses.
if $IP6KERNEL && ! $PRINT_ONLY; then
        [[ -f /etc/soii.key ]] &&
                sysctl -q "net.inet6.ip6.soiikey=$(</etc/soii.key)"
fi

Last edited by jggimi; 4th May 2023 at 10:19 AM.
Reply With Quote
  #3   (View Single Post)  
Old 4th May 2023
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

It seems that /etc/soii.key is built by rc(8) when making keys (first boot):
Code:
        if [[ ! -f /etc/soii.key ]]; then
                openssl rand -hex 16 > /etc/soii.key &&
                    chmod 600 /etc/soii.key && sysctl -q \
                    "net.inet6.ip6.soiikey=$(</etc/soii.key)"
        fi
It can be recreated easily.
Reply With Quote
  #4   (View Single Post)  
Old 8th May 2023
Letni Letni is offline
New User
 
Join Date: Mar 2023
Posts: 4
Default

I have never seen that soiikey warning before,too. The problem is that; I can't login at all. So I can't access the source directories. I think there is an incompatibility with the Intel c3000 architecture in the new version.
Reply With Quote
  #5   (View Single Post)  
Old 8th May 2023
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

At the `boot>` prompt, use "-s" to boot in single-user mode. Then, from the shell, use # mount -a to mount all filesystems.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenBSD 7.3 hangs during upgrade TCH OpenBSD Installation and Upgrading 19 24th April 2023 01:31 AM
Cannot login after yp binding OpenBSD 5.7 chipc OpenBSD General 4 14th October 2015 03:29 PM
Gnome 3.8 + OpenBSD 5.4 - error on login (GDM) harishankar OpenBSD Packages and Ports 10 7th December 2013 05:42 PM
OpenBSD 4.6 i386 boot hangs with old gateway system - resolved comet--berkeley OpenBSD Installation and Upgrading 6 22nd July 2011 08:15 AM
openbsd hangs momentarily at boot bogd OpenBSD General 11 9th January 2009 02:53 PM


All times are GMT. The time now is 03:39 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick