|
NetBSD General Other questions regarding NetBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
[Solved] compile a kernel
hello, I'm trying to compile a kernel but nothing happens as I want I can compile a new kernel but the installation fails, here is my script :
Code:
cd /usr cvs -z3 -d anoncvs@anoncvs.netbsd.org:/cvsroot checkout -P -rnetbsd-7 src cvs -d anoncvs@anoncvs.netbsd.org:/cvsroot co -P src mkdir -p /usr/obj cd src # cd / # tar zxf /path/to/syssrc.tgz $ cd /usr/src/sys/arch/i386/conf/ $ ls $ cp GENERIC MYKERNEL $ vi MYKERNEL $ config MYKERNEL $ cd ../compile/MYKERNEL $ make depend $ make $ cd /usr/src $ ./build.sh kernel=MYKERNEL Last edited by philo_neo71; 4th December 2017 at 10:09 PM. |
|
|||
Quote:
netbsd is the kernel. As root you can rename the old kernel, as a backup, and copy the new kernel into the root directory. # mv /netbsd /netbsd.old # cp /usr/src/sys/arch/i386/compile/MYKERNEL/netbsd /netbsd See Compiling the kernel |
|
|||
yes I see ! but where declare the number of CPUs and make the kernel more aggressive, I mean real time
|
|
|||
Quote:
You can strip unused drivers out of a Kernel but it only makes it boot faster. It does not make a process intensive task run any faster. It is possible to expand the amount of memory available, file descriptors in /etc/sysctl.conf https://wiki.netbsd.org/tutorials/tu...r_performance/ I'm wondering if the Video problem you had in another thread was due to custom kernel that did not have the radeomdrm module? |
|
|||
thanks you SHED !!
Thread/post SOLVED |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to cross-compile the kernel? | Skinny | OpenBSD General | 11 | 26th November 2012 05:38 PM |
Can't compile autoconf262 | Sunsawe | FreeBSD Ports and Packages | 2 | 26th August 2008 07:53 PM |
firefox3 will not compile | map7 | FreeBSD Ports and Packages | 8 | 14th July 2008 11:23 PM |
compile kernel error | mfaridi | FreeBSD Installation and Upgrading | 9 | 14th July 2008 02:26 AM |
gio-fam-backend will not compile | map7 | FreeBSD Ports and Packages | 0 | 2nd July 2008 01:59 AM |