*BSDThis forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
It should, assuming kernel.old is the previous one. Check this out for a bit more details: http://www.freebsd.org/doc/en_US.ISO...g-trouble.html
not much help now , but in the future I would save the kernel originally installed under a name you know means something to you.
Thanks. I actually checked the Handbook before posting here, but missed that bit.
Perhaps you will know the answer to a relate question. The kernel config file I was using didn't boot, so I went back to GENERIC. The modules igb and bce returned compile errors, so I commented them out. However, I don't know what module failed here:
Code:
/usr/src/sys/modules/netgraph/atm/uni/../../../../contrib/ngatm/netnatm/sig/sig_party.c: In function 'uni_sig_party':
/usr/src/sys/modules/netgraph/atm/uni/../../../../contrib/ngatm/netnatm/sig/sig_party.c:916: internal compiler error: in symbol_marked_for_renaming, at tree-into-ssa.c:548
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
*** Error code 1
Stop in /usr/src/sys/modules/netgraph/atm/uni.
*** Error code 1
Stop in /usr/src/sys/modules/netgraph/atm.
*** Error code 1
Stop in /usr/src/sys/modules/netgraph.
*** Error code 1
Stop in /usr/src/sys/modules.
*** Error code 1
I can't find either "netnatm", "netgraph", "atm", or "ngatmin" in GENERIC. Any ideas?
I built a custom kernel on my FreeBSD 8.2-RELEASE server and it failed to boot. I'd like to revert to the previous kernel.
Everytime You want to try a new kernel just type nextboot -k NEWKERNEL. This way if it does not boot, You system will boot the old working kernel on the next boot.
Quote:
Originally Posted by Kropotkin
I see the following directories in /boot:
Code:
kernel
kernel.OK
kernel.old
kernel.old1
If I simply copy kernel.OK to kernel will this be sufficient?
For the sake of clarity: I have figured out how to reboot the old kernel; now I would like to make the reversion permanent.
This would do:
Code:
cd /boot
mv kernel faulty
mv kernel.OK kernel
Also when building new kernel do it like that:
Code:
# make buildworld kernel KODIR=/boot/NEWONE
This way You will not 'mess' the old one to /boot/kernel.old directory.
... about Your conpilation error, try with this one:
Code:
# make buildworld kernel KODIR=/boot/NEWONE
Sometimes make buildworld is mandatory for make kernel | make buildkernel steps.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.