/var/db/kernel.SHA256 - kernel relinking

2023-04-10 Thread Heppler, J. Scott
On a new amd64 install w/ install73.img there was a shutdown message about kernel relinking failing. A manual sha256 -h /var/db/KERNEL.SHA256 /bsd also failed - no such file. My /var/db had kernel.SHA256 but no KERNEL.SHA256. I'm not the only one: https://daemonforums.org/showthread.

Re: Should 80MB of RAM be enough for kernel relinking on i386?

2021-09-23 Thread Joerg Sonnenberger
On Thu, Sep 23, 2021 at 09:21:46PM +0100, Stuart Henderson wrote: > (the extra register used by PIE > hurts i386 mode a lot more than amd64 > mode with its extra registers), Just for the sake of correctness: it hurts much less on x86_64, because there is IP-relative addressing for code *and* data.

Re: Should 80MB of RAM be enough for kernel relinking on i386?

2021-09-23 Thread Theo de Raadt
You've made a pretty big assumption there. When we see something we don't think is important, we delete the email and carry on with more important things. You think hand-tuning this one paragraph is going to reduce the amount of mail we delete because it doesn't matter? It won't. A large numbe

Re: Should 80MB of RAM be enough for kernel relinking on i386?

2021-09-23 Thread Patrick Harper
Because you might not wish to deal with people like me posting dmesg's of absurdly deficient hardware on the lists. Putting minimum values up means you can cast off everything you don't want to bother trying to support as 'not worth your time', without anyone else having to discover that it was

Re: Should 80MB of RAM be enough for kernel relinking on i386?

2021-09-23 Thread Theo de Raadt
Stuart Henderson wrote: > Nobody should really by using i386 for new systems. The advantages > of running amd64-compatible hardware are too big to ignore. Lower power > consumption, much faster in most cases (the extra register used by PIE > hurts i386 mode a lot more than amd64 mode with its ext

Re: Should 80MB of RAM be enough for kernel relinking on i386?

2021-09-23 Thread Stuart Henderson
Nobody should really by using i386 for new systems. The advantages of running amd64-compatible hardware are too big to ignore. Lower power consumption, much faster in most cases (the extra register used by PIE hurts i386 mode a lot more than amd64 mode with its extra registers), more address space

Re: Should 80MB of RAM be enough for kernel relinking on i386?

2021-09-23 Thread Solène Rapenne
Le Thu, 23 Sep 2021 14:37:12 +0200, Janne Johansson a écrit : > Den tors 23 sep. 2021 kl 14:27 skrev Patrick Harper : > > > > If there will continue to be a minimum disk value then 600MB wouldn't > > be nearly enough for swap, maybe 2GB for a whole disk? > > Could this handwaving please stop?

Re: Should 80MB of RAM be enough for kernel relinking on i386?

2021-09-23 Thread Kenneth Gober
On Thu, Sep 23, 2021 at 8:37 AM Janne Johansson wrote: > Could this handwaving please stop? If anyone wants, make a i386 VM and > do a binary search and record the minimums. > I have done this exercise, but not for kernel relinking -- it was for doing full system rebuilds. Starting

Re: Should 80MB of RAM be enough for kernel relinking on i386?

2021-09-23 Thread Janne Johansson
Den tors 23 sep. 2021 kl 14:27 skrev Patrick Harper : > > If there will continue to be a minimum disk value then 600MB wouldn't > be nearly enough for swap, maybe 2GB for a whole disk? Could this handwaving please stop? If anyone wants, make a i386 VM and do a binary search and record the minimums

Re: Should 80MB of RAM be enough for kernel relinking on i386?

2021-09-23 Thread Patrick Harper
If there will continue to be a minimum disk value then 600MB wouldn't be nearly enough for swap, maybe 2GB for a whole disk? -- Patrick Harper paia...@fastmail.com On Thu, 23 Sep 2021, at 11:29, Zé Loff wrote: > IMHO, stating minimum disk space requirements might be useful for > determining

Re: Should 80MB of RAM be enough for kernel relinking on i386?

2021-09-23 Thread Zé Loff
On Thu, Sep 23, 2021 at 11:29:53AM +0100, Zé Loff wrote: > On Wed, Sep 22, 2021 at 05:27:30PM +0100, Patrick Harper wrote: > > If the situation isn't going to change anytime soon then I have some > > diffs for INSTALL.i386 and INSTALL.amd64. The latter has not specified > > disk requirements, I g

Re: Should 80MB of RAM be enough for kernel relinking on i386?

2021-09-23 Thread Zé Loff
On Wed, Sep 22, 2021 at 05:27:30PM +0100, Patrick Harper wrote: > If the situation isn't going to change anytime soon then I have some > diffs for INSTALL.i386 and INSTALL.amd64. The latter has not specified > disk requirements, I guess since anyone who owns an amd64 system will > very likely be

Re: Should 80MB of RAM be enough for kernel relinking on i386?

2021-09-22 Thread Patrick Harper
If the situation isn't going to change anytime soon then I have some diffs for INSTALL.i386 and INSTALL.amd64. The latter has not specified disk requirements, I guess since anyone who owns an amd64 system will very likely be using a disk big enough for X, so I figured that the same would apply

Re: kernel relinking depending on ctfstrip

2017-08-20 Thread Theo de Raadt
> Does it make sense to move ctfstrip and ctfconv to base? Yes, they should be in base.

Re: kernel relinking depending on ctfstrip

2017-08-20 Thread Björn Ketelaars
On Sun 20/08/2017 14:20, Björn Ketelaars wrote: > I just upgraded my machine to a newer snapshot. Unfortunately the kernel > relinking bit failed. Root cause is that strip has been replaced by ctfstrip, > which is part of the comp set, which I have not installed. > > The exact same

kernel relinking depending on ctfstrip

2017-08-20 Thread Björn Ketelaars
I just upgraded my machine to a newer snapshot. Unfortunately the kernel relinking bit failed. Root cause is that strip has been replaced by ctfstrip, which is part of the comp set, which I have not installed. The exact same thing happened when strip was part of the comp set. Solution then was

Re: /etc/rc: kernel relinking failed

2017-07-18 Thread Theo Buehler
eeing this log. > >> > >> Jul 18 22:47:36 x3550m4 /etc/rc: kernel relinking failed; see > >> /usr/share/compile/GENERIC.MP/relink.log > > Sorry, this is my mistake. I completely forgot to make a current.html > > entry. > > > > You need to build and

Re: /etc/rc: kernel relinking failed

2017-07-18 Thread Hrvoje Popovski
On 18.7.2017. 22:59, Theo Buehler wrote: > On Tue, Jul 18, 2017 at 10:55:59PM +0200, Hrvoje Popovski wrote: >> Hi all, >> >> i have checkout cvs tree few minutes ago and i'm seeing this log. >> >> Jul 18 22:47:36 x3550m4 /etc/rc: kernel relinking failed

Re: /etc/rc: kernel relinking failed

2017-07-18 Thread Theo Buehler
On Tue, Jul 18, 2017 at 10:55:59PM +0200, Hrvoje Popovski wrote: > Hi all, > > i have checkout cvs tree few minutes ago and i'm seeing this log. > > Jul 18 22:47:36 x3550m4 /etc/rc: kernel relinking failed; see > /usr/share/compile/GENERIC.MP/relink.log Sorry, this is m

/etc/rc: kernel relinking failed

2017-07-18 Thread Hrvoje Popovski
Hi all, i have checkout cvs tree few minutes ago and i'm seeing this log. Jul 18 22:47:36 x3550m4 /etc/rc: kernel relinking failed; see /usr/share/compile/GENERIC.MP/relink.log here it is: http://kosjenka.srce.hr/~hrvoje/zaprocvat/relink.log OpenBSD 6.1-current (GENERIC.MP) #8: Tue J

Re: kernel relinking

2017-07-01 Thread Ax0n
I haven't been paying attention to mail on these LDOMs. Thanks for the heads up. Output looks good. >From r...@puffyfive.ldom.openbsd.local Sat Jul 1 14:07:05 2017 Delivered-To: r...@puffyfive.ldom.openbsd.local From: Charlie Root To: r...@puffyfive.ldom.openbsd.local Subject: puffyfive.ldom.ope

Re: kernel relinking

2017-07-01 Thread Theo de Raadt
> I've put the snapshot LDOM through some paces with each snapshot: high CPU > load, networking, and heavy filesystem utilization. It's every bit as solid > as the other LDOMs. I have only seen the "relinking" message at the end of > snapshot upgrades, but due to /bsd changing upon each reboot, I b

Re: kernel relinking

2017-07-01 Thread Ax0n
sparc64 snapshots, run inside an LDOM. Primary domain and the other 6 LDOMs are 6.1-STABLE. I've put the snapshot LDOM through some paces with each snapshot: high CPU load, networking, and heavy filesystem utilization. It's every bit as solid as the other LDOMs. I have only seen the "relinking" me

kernel relinking

2017-06-30 Thread Theo de Raadt
5 weeks ago at d2k17 I started work on randomized kernels. I've been having conversations with other developers for nearly 5 years on the topic... but never got off to a good start, probably because I was trying to pawn the work off on others. Having done this, I really had no idea we'd end up wh

Re: kernel relinking at install/upgrade time

2017-06-30 Thread Robert Peichaer
On Mon, Jun 26, 2017 at 02:35:55PM -0600, Theo de Raadt wrote: > There is a diff in snapshots which does kernel relinking during > install or upgrade. > > Really amazing... This is now committed to the tree. -- -=[rpe]=-

Re: kernel relinking at install/upgrade time

2017-06-28 Thread Sebastien Marie
On Wed, Jun 28, 2017 at 08:58:13AM +0200, Sebastien Marie wrote: > > - should /$MODE.site to ran after "generating sha256 from /bsd" and > before "relinking to create an unique kernel" ? it should let "make > newbsd" detect /bsd modification, and not relinking the kernel. small correcti

Re: kernel relinking at install/upgrade time

2017-06-27 Thread Sebastien Marie
On Mon, Jun 26, 2017 at 02:35:55PM -0600, Theo de Raadt wrote: > There is a diff in snapshots which does kernel relinking during > install or upgrade. > > Really amazing... > I have an issue regarding kernel relinking during upgrade. Not a big chunk, but I prefer to report it to

Re: kernel relinking at install/upgrade time

2017-06-26 Thread Theo de Raadt
> On Mon 26/06/2017 14:35, Theo de Raadt wrote: > > There is a diff in snapshots which does kernel relinking during > > install or upgrade. > > > > Really amazing... > > Works as advertised, assuming that compXX is installed. The relinking bit uses >

Re: kernel relinking at install/upgrade time

2017-06-26 Thread Leighton Sheppard
On Mon, Jun 26, 2017 at 02:35:55PM -0600, Theo de Raadt wrote: > There is a diff in snapshots which does kernel relinking during > install or upgrade. > > Really amazing... > This does sound amazing! Upgrade time

Re: kernel relinking at install/upgrade time

2017-06-26 Thread Björn Ketelaars
On Mon 26/06/2017 14:35, Theo de Raadt wrote: > There is a diff in snapshots which does kernel relinking during > install or upgrade. > > Really amazing... Works as advertised, assuming that compXX is installed. The relinking bit uses strip, which is part of the compiler collecti

kernel relinking at install/upgrade time

2017-06-26 Thread Theo de Raadt
There is a diff in snapshots which does kernel relinking during install or upgrade. Really amazing...