freebsd-update patches custom /boot/kernel/kernel which it should not

2013-01-02 Thread andreas scherrer
-RELEASE-p4 and freebsd-update recommends to update to p5. It states: - The following files will be updated as part of updating to 9.0-RELEASE-p5: /boot/kernel/kernel snip - And from experience this is what it will do: replace /boot/kernel/kernel which is my custom kernel with a GENERIC

Re: freebsd-update patches custom /boot/kernel/kernel which it should not

2013-01-02 Thread Paul Schmehl
to the problem in that thread (or I cannot see it). I am running currently running 9.0-RELEASE-p4 and freebsd-update recommends to update to p5. It states: - The following files will be updated as part of updating to 9.0-RELEASE-p5: /boot/kernel/kernel snip - And from experience this is what

Re: freebsd-update patches custom /boot/kernel/kernel which it should not

2013-01-02 Thread Michael Sierchio
The confusion comes from the fact that the original behavior of freebsd-update was NOT to update the kernel binaries if a custom kernel was detected. FYI my /etc/freebsd-update.conf has # Components of the base system which should be kept updated. #Components src world kernel Components src

Re: freebsd-update patches custom /boot/kernel/kernel which it should not

2013-01-02 Thread andreas scherrer
on 2.1.13 19:15 Paul Schmehl said the following: --On January 2, 2013 6:45:50 PM +0100 andreas scherrer And from experience this is what it will do: replace /boot/kernel/kernel which is my custom kernel with a GENERIC kernel. As it seems that freebsd-update works by comparing a hash

Re: freebsd-update patches custom /boot/kernel/kernel which it should not

2013-01-02 Thread Michael Sierchio
On Wed, Jan 2, 2013 at 11:18 AM, andreas scherrer ascher...@gmail.comwrote: This is no longer true, though it was true at the time that was written... - However, freebsd-update will detect and update the GENERIC kernel in /boot/GENERIC (if it exists), even if it is not the current

Re: freebsd-update patches custom /boot/kernel/kernel which it should not

2013-01-02 Thread Paul Schmehl
--On January 2, 2013 8:18:38 PM +0100 andreas scherrer ascher...@gmail.com wrote: on 2.1.13 19:15 Paul Schmehl said the following: --On January 2, 2013 6:45:50 PM +0100 andreas scherrer And from experience this is what it will do: replace /boot/kernel/kernel which is my custom kernel

Re: freebsd-update patches custom /boot/kernel/kernel which it should not

2013-01-02 Thread Paul Schmehl
this is what it will do: replace /boot/kernel/kernel which is my custom kernel with a GENERIC kernel. As it seems that freebsd-update works by comparing a hash of /boot/kernel/kernel with the GENERIC kernel's hash I checked the md5 and sha1 hash of /boot/kernel/kernel and /boot/GENERIC/kernel

Re: freebsd-update patches custom /boot/kernel/kernel which it should not

2013-01-02 Thread Matthew Seaman
On 02/01/2013 20:55, Paul Schmehl wrote: I wasn't thinking when I wrote this. Freebsd-update pulls *binary* copies of files, so you're not ever going to get the src files to rebuild your kernel from freebsd-update. You need to pull those in using svn. Not so. Take a look at

Re: kldxref: /boot/kernel/kernel: too many sections

2012-05-27 Thread Martin Laabs
Hello, On 05/27/12 05:31, Damien Fleuriot wrote: [...] Hold on a sec you run install*world* and it tries to install a kernel ? Looks fishy to me. Sorry - I ran make installkernel of cause. Also, try with a generic kernel, just to check if that fails as well. Interesting - the GENERIC

kldxref: /boot/kernel/kernel: too many sections

2012-05-26 Thread Martin Laabs
Hello, while updating my system I got the following error message while make installworld: === syscons/green (install) install -o root -g wheel -m 555 green_saver.ko /boot/kernel install -o root -g wheel -m 555 green_saver.ko.symbols /boot/kernel kldxref /boot/kernel kldxref: /boot/kernel

Re: kldxref: /boot/kernel/kernel: too many sections

2012-05-26 Thread Wojciech Puchar
install -o root -g wheel -m 555 green_saver.ko /boot/kernel install -o root -g wheel -m 555 green_saver.ko.symbols /boot/kernel kldxref /boot/kernel kldxref: /boot/kernel/kernel: too many sections kldxref: error while reading /boot/kernel/kernel: Bad address su:/usr/src$ I tried to remove

Re: kldxref: /boot/kernel/kernel: too many sections

2012-05-26 Thread Martin Laabs
Hi, On 05/26/12 15:46, Wojciech Puchar wrote: [...] I do not build all kernel modules so I have the following in my make.conf MODULES_OVERRIDE = nfsserver linux linprocfs geom/geom_bde syscons/green is it i386/amd64? strange didn't you set -j option to make when doing install? Sorry - it

Re: kldxref: /boot/kernel/kernel: too many sections

2012-05-26 Thread Martin Laabs
Hello, On 05/26/12 16:33, Wojciech Puchar wrote: how do you compile kernel cd /usr/src/sys/i386/conf ee SERVER_KERNEL cd /usr/src make buildkernel make installkernel with the following line in make.conf: KERNCONF=SERVER_KERNEL something much get f...d up. what version of FreeBSD is it. i

Re: kldxref: /boot/kernel/kernel: too many sections

2012-05-26 Thread Damien Fleuriot
555 green_saver.ko.symbols /boot/kernel kldxref /boot/kernel kldxref: /boot/kernel/kernel: too many sections kldxref: error while reading /boot/kernel/kernel: Bad address su:/usr/src$ Hold on a sec you run install*world* and it tries to install a kernel ? Looks fishy to me. Also, try

No /boot/kernel/kernel

2008-12-04 Thread FuLLBLaSTstorm
,a)/boot/kernel/kernel boot: No /boot/kernel/kernel the same reappeared after i typed /boot/kernel.old/kernel. WHAT DID WENT WRONG??? Any ideas? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions