|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
||||
Henning Brauer takes up the cudgels for kernel cUst0mIz0rz =)
From misc@, 060708:
Quote:
__________________
BSD, Eggdrop and the random Blah |
|
|||
I'll never understand why people insist on tinkering with their kernel... it's like a person rewiring their new cars electrical system an hour after purchasing it.
If you want a slightly faster boot time, use instead config(8), Any performance gains from customizing GENERIC will be *very* negligible. Also, don't mess with the CFLAGS, while it's common practise for Linux users to add "optimizations", they're unnecessary and often *dangerous* when messed with. |
|
|||
Quote:
It might depend on their background as to why some rebuild their kernel. Some, like myself, may have come from FreeBSD (early releases) where the first thing you did was rebuild your kernel to enable/disable items you needed. IIRC, even pcm was disabled in GENERIC kernel. I would have to double-check my 3.x, 4.x cd's to verify, but the basic GENERIC kernel was very basic I think the OpenBSD kernel would be similar to the older FreeBSD LINT kernel (hope I got the name right). A person copied needed items from that to a new kernel and rebuilt it. Perhaps that's why some want to tinker. I had to build quite a few linux kernels in the earlier days so that even nowadays, the habit is strong enough to think of before I realize that I'm using OpenBSD and all I need to do is use "config -ef /bsd" to get what I want/need Perhaps on the faq webpage, for the link to customizing a kernel, there should be a link to a page that just says "NO, DON'T, use config instead" and leave it at that |
|
|||
I can agree with Henning but i remember also an (for me) interesting thread that solves my problem with soekris and hifn (read the complete thread).
http://readlist.com/lists/openbsd.or.../12/61303.html If i remember the card worked for me with 3.7/3.8, some trouble with 3.9 but was broken in 4.0/4,1 and the standart answer was 'it is the buggy hifn chip' |
|
|||
Quote:
The fact that there are non-BSD projects which promote compile happy mantras declaring "Compiler option tweaking is as good as flossing!" does everyone a disservice. The truth is that responsible tweaking requires understanding the ramifications of the decisions made, & this only comes from significant experience with studying the code. As has been stated in the same thread on misc@, shaving drivers doesn't really reduce the kernel's size by appreciable amounts. Even tools like dmassage aren't that useful today as it only hunts through the output of dmesg(8) for "not configured" driver messages. So the point on misc@ is that the developers are very jaded about efforts attempting to run the kernel in 1k as they have seen people dig themselves into very deep holes. While the code is available for anyone to do anything, just don't come crying when it has been broken. |
|
|||
I have watched /read Hennings' rants over the years..
He is like a Theo "light" |
|
|||
usually it's best to stick with a generic kernel and default userland, but personally i always tweak little things here and there... i'd even say it is desirable in some situations (eg., low memory or slow and little boot media)
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
kernel file from 6.3 to 7.2 | l2fl2f | FreeBSD Installation and Upgrading | 3 | 14th September 2009 06:53 PM |
kernel version 0?? | Stellar | OpenBSD General | 5 | 30th August 2009 11:07 PM |
Poul-Henning Kamp (FreeBSD developer) sues Lenovo ;) | vermaden | FreeBSD General | 9 | 17th August 2009 07:23 PM |
kernel modules | Mr-Biscuit | FreeBSD General | 0 | 2nd March 2009 06:18 AM |
Do I need to Upgrade my Kernel yet | Marred | FreeBSD Ports and Packages | 10 | 19th June 2008 05:33 PM |