DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
Old 1 Day Ago
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 6,782
Default

Install media is the RAMDISK kernel and its embedded userland, which does not run rc(8) and does not have kvm_mkdb(8) installed. There's a one-line dummy /etc/rc file for init(8).
Reply With Quote
Old 1 Day Ago
shep shep is online now
Real Name: Scott
Arp Constable
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,288
Default

I think problems don't start on init. /bsd.rd shows nothing abnormal on init. The first sign something has gone off the rails is after mkdev, it warns that it is unable redo the kernel (I can't recall: generate unique kernel vs relink kernel).
Reply With Quote
Old 1 Day Ago
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 6,782
Default

Quote:
Originally Posted by shep View Post
I can't recall...
KARL - Kernel Address Randomized Link - is used to create a GENERIC or GENERIC.MP kernel with unique entry points in advance of every boot.

  • During installation, the RAMDISK kernel install script should produce the following message:
    Code:
    Relinking to create unique kernel... done.
    If you don't get "done" after the ellipsis, write down the error message you receive instead, so that you will be able to create a useful error report.
  • During every standard GENERIC/GENERIC.MP boot, rc(8) will execute the script /usr/libexec/reorder_kernel. If kernel relinking succeeds, the console and /var/log/messages will show:
    Code:
    reorder_kernel: kernel relinking done
    If you don't get this message, note what error you do get. It is common to receive the following message, which will occur if the chain of SHA hashes has been broken, intentionally or not:
    Code:
    Failed to verify /bsd's checksum, therefore a randomly linked kernel (KARL)
    is not being built. KARL can be re-enabled for next boot by issuing as root:
    
    sha256 -h /var/db/kernel.SHA256 /bsd
    An intentional hash break will occur through the use of a custom kernel or a kernel altered with config(8).

Last edited by jggimi; 1 Day Ago at 03:52 PM. Reason: typo
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
segmentation fault daemonfowl OpenBSD General 14 21st September 2012 01:39 PM
a segmentation fault line daemonfowl OpenBSD General 3 16th June 2012 08:13 PM
Segmentation fault error139 delboy FreeBSD Ports and Packages 8 9th July 2009 06:32 PM
Segmentation fault (11) - Apache ijk FreeBSD Ports and Packages 16 15th July 2008 11:04 AM
Segmentation fault ccc FreeBSD General 8 28th June 2008 02:15 PM


All times are GMT. The time now is 11:15 PM.


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