10-21-2002
First hint:
Read the file called README!
Run through it on a test machine before trying this with something important. It's very common to try to have to recompile several times before you get a good clean kernel the way you want it - if you really screw up, you can't boot the kernel at all (I once inadventantly left out support for my hard drive! Do'h!).
My favorite way is:
cd /usr/src/linux
make menuconfig
make dep
make bzImage
make modules
make modules_install
cp the kernel to it's final location, reconfigure LILO or GRUB or whatever, and reboot.
Make sure to leave a few hours open if this is a slower machine.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello.
I'm installing Oracle8i on Red Hat Linux Server 7.0. The Oracle documentation has some preinstallation request to be carried before installing the Oracle software. It asks to modify some SEMAPHORE & SHARED MEMORY values in to a specified file. And finally after updating this values it... (2 Replies)
Discussion started by: S.Vishwanath
2 Replies
2. UNIX for Advanced & Expert Users
i really have an issue with the otherwise outstading FreeBSD Handbook when it comes to kernel building. information on the proper steps to take is really confusing. i think that chapters 9 and 21 need to be combined to give a very concise format on how best to deal with kernel building/rebuidling... (1 Reply)
Discussion started by: xyyz
1 Replies
3. UNIX for Advanced & Expert Users
Hi!!!
I installed the patch: DUV40F16-C0040500-10245-Manual-20010328 to avoid a reboot problem in my server, AlphaServer 4100 with Tru64 4.0F.
When the patch instalation finished I rebuild the kernel like this:
# duconfig -c ORACLE-TEST
Start de rebuild and a few minutes after appear... (0 Replies)
Discussion started by: irasela
0 Replies
4. UNIX for Dummies Questions & Answers
I am trying to Install RHEL AS 4 on x86 pc, through VNC and got the below error, Am not pretty sure as how to resolve this. Can some one guide me through the process, or what might be missing....
Have Installed RHEL, many a times but cudnt find this out...
Wud appreciate an early reply ......... (0 Replies)
Discussion started by: Crazy_murli
0 Replies
5. Programming
My name for this post may be a bit off but basically I would like to take go though the same proses that kernel developers went though to build other kernels that are based on UNIX such as Linux,
And do it from scratch IE. starting with the base UNIX and building on to it.
So I in theory could... (0 Replies)
Discussion started by: DevSer2279
0 Replies
6. UNIX for Dummies Questions & Answers
During installation of one of driver i needed to
Remove any earlier version drivers using
make clean -r command.
Where i m getting following error.
# make clean -r
Kernel source is not installed
make: *** Error 1
My kernel version
# uname -r
2.6.18-128.2.1.4.9.el5xen
Where... (4 Replies)
Discussion started by: pinga123
4 Replies
7. Red Hat
Hello and thank you for looking into my question.
Well my question is quite straight forward. I am trying to install the latest kernel ( from kernel.org under mainline directory ). But strange error messages are coming up. Can someone please guide me through steps how did you install kernel in... (2 Replies)
Discussion started by: lynxys
2 Replies
8. UNIX for Dummies Questions & Answers
hi,
system operation: unix sco 3.2.4
Kernel not rebuild, do not remove or update tcp/ip e3H0 driver.
messages:
cat:cannot open../sdevice.d/5
line:5.1 32 -1
fatal error:mdevice:wrong number of fields
idmaster:device do not exist in therefore can not be update
idinstall: cannot... (0 Replies)
Discussion started by: milen
0 Replies
9. Red Hat
Hi expert,
I goes to
# pwd
/usr/src/kernels/2.6.32-279.el6.x86_64
then I make bzImage I meet error
# make
CHK include/linux/version.h
CHK include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-x86
make: *** No rule to make target `missing-syscalls'. Stop.
make:... (1 Reply)
Discussion started by: yanglei_fage
1 Replies
10. Debian
Hello all,
I would like to install Debian Jessie on my i386
When I boot from the installiso I see the menu and pick 'install'. The bios beeps once immediately and I get the following output:
I 've tried 3 cd's already...(md5 sum=ok) this computer always ran... (13 Replies)
Discussion started by: drum159
13 Replies
LEARN ABOUT OSF1
unix_master
unix_master(9r) unix_master(9r)
NAME
unix_master - General: Forces execution onto the master CPU
SYNOPSIS
void unix_master(
void );
ARGUMENTS
None
DESCRIPTION
The unix_master routine forces execution of the kernel thread onto the master CPU (also called the boot CPU). In other words, unix_master
binds the kernel thread to the master CPU. To release the kernel thread from the bind to the master CPU, call the unix_release routine. You
can make recursive calls to unix_master as long as you make an equal number of calls to unix_release.
The unix_master routine provides another way besides the simple and complex lock routines to make a kernel module symmetric multiprocessing
(SMP) safe. Although calling unix_master is not optimal for performance on an SMP CPU, it does provide third-party kernel module writers
with an easy way to make their modules SMP safe without using the lock routines.
NOTES
Device drivers should not directly call the unix_master and unix_release routines. One exception to this recommendation is when you want a
device driver's kernel threads to run only on the master CPU. This situation occurs when your driver creates and starts its own kernel
threads and you set the d_funnel member of the associated dsent structure to the value DEV_FUNNEL. In this case, each kernel thread must
call unix_master once to ensure that the kernel thread runs only on the master CPU. Remember to make a corresponding call to unix_release.
CAUTIONS
To avoid deadlock, do not call the unix_master routine under the following circumstances: When holding a simple lock In the driver's inter-
rupt service routine
RETURN VALUES
None
SEE ALSO
routines: unix_release(9r)
unix_master(9r)