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 kernel does as expected - no problem with 
kldxref. However - after that I tried my own config again and today there 
are no problems. This is somewhat annoying - I forgot to disable the 
midnight src update. So I try to run this kernel and hope that the problem 
was solved between the 26. and 27 May.


Best regards,
 Martin Laabs

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


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/kernel: too many sections
kldxref: error while reading /boot/kernel/kernel: Bad address
su:/usr/src$

I tried to remove the /usr/obj and remake the kernel by make buildkernel 
again but the error remains.

I use 8.2-STABLE with a freshly updated RELENG_8 src.

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

However - I don't think this explains the misbehavior of kldxref.

Can anybody give me a hint where to search for the bug?

Best regards,
 Martin Laabs

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


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 the /usr/obj and remake the kernel by make buildkernel 
again but the error remains.

I use 8.2-STABLE with a freshly updated RELENG_8 src.

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?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


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 is an i386 kernel and I didn't either use -j for make nor I have 
such an entry in my make.conf. The kernel configuration I used also worked 
for at least two years (the time, the machine is up)


Best regards,
 Martin

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


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 can try it
myself


FreeBSD server.martinlaabs.de 8.2-STABLE FreeBSD 8.2-STABLE #3: Sat Dec 24 
01:21:34 CET 2011 
mar...@server.martinlaabs.de:/usr/obj/usr/src/sys/SERVER_KERNEL  i386


You can find my kernel config at
http://www.martinlaabs.de/tmp/SERVER_KERNEL

Thank you,
 Martin Laabs


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


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

2012-05-26 Thread Damien Fleuriot


On 26 May 2012, at 13:41, Martin Laabs mailingli...@martinlaabs.de wrote:

 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/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 with a generic kernel, just to  check if that fails as well.




 I tried to remove the /usr/obj and remake the kernel by make buildkernel 
 again but the error remains.
 I use 8.2-STABLE with a freshly updated RELENG_8 src.
 
 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
 
 However - I don't think this explains the misbehavior of kldxref.
 
 Can anybody give me a hint where to search for the bug?
 
 Best regards,
 Martin Laabs
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org