So tonight I walked through compiling my kernel from 4.9-STABLE to 4.10-STABLE. Compiling it went really well and all looked good until I reboot. When I rebooted All seemed to go ok for a bit... but then commands started to hang and disconnecting from SSH would leave my SSH session hung. I reboot back into my kernel.old and most everything is relatively happy again. But now my question. How do I make this the default kernel again? I obviously don't want to use the new kernel because it has problems. Can someone help me with this? For reference sake I only used the GENERIC config and the only like I added to it was the options line to add user quotas. THanks Geoff Sweet
Heya, To remove the old kernel just delete /kernel and rename /kernel.old to /kernel. But note that you need to build the whole world (cd /usr/src/ && make buildworld && make installworld) before the kernel will be in sync with the rest of the system. If the kernel version is not in sync with the version of the 'world' (ie the user-land applications such as SSH, etc) then problems can occur. The FreeBSD manual has more information on the correct prodecure for upgrading a FreeBSD box. Regards, James On 7/10/2004, at 5:56 PM, lists@whootis.com wrote:> So tonight I walked through compiling my kernel from 4.9-STABLE to > 4.10-STABLE. > Compiling it went really well and all looked good until I reboot. > When I > rebooted All seemed to go ok for a bit... but then commands started to > hang and > disconnecting from SSH would leave my SSH session hung. I reboot back > into my > kernel.old and most everything is relatively happy again. > > But now my question. How do I make this the default kernel again? I > obviously > don't want to use the new kernel because it has problems. Can someone > help me > with this? > > For reference sake I only used the GENERIC config and the only like I > added to > it was the options line to add user quotas. > > THanks > Geoff Sweet > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to > "freebsd-stable-unsubscribe@freebsd.org" >
Alrighty so I am back up and running on my kernel.GENERIC.I started to read through the docs for doing a build world, and I don't think I am ready for that step yet. Mostly because this is a co-lo box that I only have SSH access to. Anyway now I want to make my changes to my GENERIC kernel so that I don't have to do the world thing. So I already CVSup'ed the /usr/src directory to 4.10, so that is bad for me. Can I whack the /usr/src directory and use sysinstall to load on the /usr/src files? If I tell it to go get it from ftp.freebsd.org, is it going to retrieve the latest (so 4.10) source or will it retrieve my default 4.9 source? I am trying to get a cd stuck in my box so that I can just do this off the CD, but thier tech support is a bit slow... HA. Thanks! Geoff Sweet On Wed, 2004-10-06 at 21:56, lists@whootis.com wrote:> So tonight I walked through compiling my kernel from 4.9-STABLE to 4.10-STABLE. > Compiling it went really well and all looked good until I reboot. When I > rebooted All seemed to go ok for a bit... but then commands started to hang and > disconnecting from SSH would leave my SSH session hung. I reboot back into my > kernel.old and most everything is relatively happy again. > > But now my question. How do I make this the default kernel again? I obviously > don't want to use the new kernel because it has problems. Can someone help me > with this? > > For reference sake I only used the GENERIC config and the only like I added to > it was the options line to add user quotas. > > THanks > Geoff Sweet > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"