Re: make installkernel doesn't work?
I don't have physical access to the server at the moment to try the loader prompt but... I tried mv /boot/kernel /root/ mv /boot/kernel.old /root/ make installkernel the folder and its files reappear in /boot but a reboot still shows the custom config. I also tried shutting down the server and powering it back up incase it wasn't actually rebooting --- same result. the output of make installkernel shows it is installing generic to / boot/kernel cd /usr/obj/usr/src/sys/GENERIC; MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=amd64 MACHINE=amd64 snip install -p -m 555 -o root -g wheel kernel /boot/kernel Full output of make (about 2.6MB) http://www.fanart-central.net/files/make_kernel.txt On 13-Mar-06, at 1:47 AM, Glenn Dawson wrote: At 12:41 AM 3/13/2006, Cstdenis wrote: Nope %grep ident /usr/src/sys/amd64/conf/GENERIC ident GENERIC and its more than that. After reinstalling the kernel I still have SMP support. What's in /boot/loader.conf ? Also, verify that the kernel you built is actually in /boot/kernel/ kernel. Assuming it's there, what happens if you stop the boot at the loader prompt and manually load the kernel you want? -Glenn - Original Message - From: [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Sent: Sunday, March 12, 2006 11:53 PM Subject: Re: make installkernel doesn't work? Maybe you set your ident to something else: $ grep ident /usr/src/sys/i386/conf/GENERIC or whatever your arch is. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: make installkernel doesn't work?
Nope %grep ident /usr/src/sys/amd64/conf/GENERIC ident GENERIC and its more than that. After reinstalling the kernel I still have SMP support. - Original Message - From: [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Sent: Sunday, March 12, 2006 11:53 PM Subject: Re: make installkernel doesn't work? Maybe you set your ident to something else: $ grep ident /usr/src/sys/i386/conf/GENERIC or whatever your arch is. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: make installkernel doesn't work?
At 12:41 AM 3/13/2006, Cstdenis wrote: Nope %grep ident /usr/src/sys/amd64/conf/GENERIC ident GENERIC and its more than that. After reinstalling the kernel I still have SMP support. What's in /boot/loader.conf ? Also, verify that the kernel you built is actually in /boot/kernel/kernel. Assuming it's there, what happens if you stop the boot at the loader prompt and manually load the kernel you want? -Glenn - Original Message - From: [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Sent: Sunday, March 12, 2006 11:53 PM Subject: Re: make installkernel doesn't work? Maybe you set your ident to something else: $ grep ident /usr/src/sys/i386/conf/GENERIC or whatever your arch is. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: make installkernel doesn't work?
On Mar 12, 2006, at 8:55 PM, Cstdenis wrote: I don't get it. I'm trying to switch from a custom kernel named SERVER to a generic kernel. %uname -imrs FreeBSD 6.0-RELEASE-p4 amd64 SERVER cd /usr/src make clean rm -rf /usr/obj make buildkernel make installkernel reboot %sysctl kern.ident kern.ident: SERVER Why isn't the GENERIC kernel taking effect? The make installkernel does say generic. -- Installing kernel -- cd /usr/obj/usr/src/sys/GENERIC; MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=amd64 MACHINE=amd64 CPUTYPE= GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/ legacy/usr/bi n:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/ sbin:/usr/o bj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/ usr/sbin:/ usr/bin make KERNEL=kernel install thiskernel=`sysctl -n kern.bootfile` ; if [ ! `dirname $thiskernel` -ef /boot/kernel ] ; then chflags -R noschg /boot/kernel ; rm -rf / boot/kernel ; else if [ -d /boot/kernel.old ] ; then chflags -R noschg /boot/kernel.old ; rm -rf /boot/kernel.old ; fi ; mv /boot/kernel /boot/kernel.old ; sysctl kern.bootfile=/boot/kernel.old/`basename $thiskernel` ; fi kern.bootfile: /boot/kernel/kernel - /boot/kernel.old/kernel mkdir -p /boot/kernel install -p -m 555 -o root -g wheel kernel /boot/kernel cd /usr/src/sys/modules; MAKEOBJDIRPREFIX=/usr/obj/usr/src/sys/GENERIC/modules KMODDIR=/boot/ kernel DEBUG_FLAGS=-g MACHINE=amd64 KERNBUILDDIR=/usr/obj/usr/src/sys/ GENERIC make install ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] grep KERNCONF /etc/make.conf yields what? Also, are you making your kernel via a script? -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: make installkernel doesn't work?
(Resending, didn't get the mailing list in the last copy) No script, just running those commands manually. %grep KERNCONF /etc/make.conf % All make.conf contains is a few WITH_ and WITHOUT_ switches for some ports and the perl stuff. I commented out the optimization stuff a few tries ago. %env | grep KERNCONF % I don't think its a KERNCONF issue because the Installing kernel output starts with cd /usr/obj/usr/src/sys/GENERIC Full output of make (about 2.6MB) http://www.fanart-central.net/files/make_kernel.txt - Original Message - From: Garrett Cooper [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Sent: Sunday, March 12, 2006 9:38 PM Subject: Re: make installkernel doesn't work? On Mar 12, 2006, at 8:55 PM, Cstdenis wrote: I don't get it. I'm trying to switch from a custom kernel named SERVER to a generic kernel. %uname -imrs FreeBSD 6.0-RELEASE-p4 amd64 SERVER cd /usr/src make clean rm -rf /usr/obj make buildkernel make installkernel reboot %sysctl kern.ident kern.ident: SERVER Why isn't the GENERIC kernel taking effect? The make installkernel does say generic. -- Installing kernel -- cd /usr/obj/usr/src/sys/GENERIC; MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=amd64 MACHINE=amd64 CPUTYPE= GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/ legacy/usr/bi n:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/ sbin:/usr/o bj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/ usr/sbin:/ usr/bin make KERNEL=kernel install thiskernel=`sysctl -n kern.bootfile` ; if [ ! `dirname $thiskernel` -ef /boot/kernel ] ; then chflags -R noschg /boot/kernel ; rm -rf / boot/kernel ; else if [ -d /boot/kernel.old ] ; then chflags -R noschg /boot/kernel.old ; rm -rf /boot/kernel.old ; fi ; mv /boot/kernel /boot/kernel.old ; sysctl kern.bootfile=/boot/kernel.old/`basename $thiskernel` ; fi kern.bootfile: /boot/kernel/kernel - /boot/kernel.old/kernel mkdir -p /boot/kernel install -p -m 555 -o root -g wheel kernel /boot/kernel cd /usr/src/sys/modules; MAKEOBJDIRPREFIX=/usr/obj/usr/src/sys/GENERIC/modules KMODDIR=/boot/ kernel DEBUG_FLAGS=-g MACHINE=amd64 KERNBUILDDIR=/usr/obj/usr/src/sys/ GENERIC make install ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] grep KERNCONF /etc/make.conf yields what? Also, are you making your kernel via a script? -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: make installkernel doesn't work?
Maybe you set your ident to something else: $ grep ident /usr/src/sys/i386/conf/GENERIC or whatever your arch is. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]