10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am not a newbie to Linux, i have been using Linux as my desktop for 4 years, but i am just an end user to Linux, no advanced knowledge to it.
I knew that, i can download generic linux kernel and compile it by myself, but how about Unix? how can i get an Unix kernel and compile it ? or no this... (5 Replies)
Discussion started by: wong.sie.ung
5 Replies
2. Ubuntu
Hi
I'm compiling a real-time kernel in linux, but after I type make bzImage things end with this:
(Things going well doing CC and things)....
CC arch/x86/kernel/kgdb.o
CC arch/x86/kernel/vm86_32.o
CC arch/x86/kernel/early_printk.o
CC arch/x86/kernel/ipipe.o... (2 Replies)
Discussion started by: mdop
2 Replies
3. Linux
Hi there,
I'm currently writing a program/module which makes use of the Linux Security Modules (LSM), which provide hooks for some security .
The bad thing about it is: The function to set the hook to the LSM is not exported. That means, I can't just write a loadable kernel module, but have to... (3 Replies)
Discussion started by: disaster
3 Replies
4. Linux
Has anyone configured OFED packages for a non running kernel? In my case, I need to integrate the OFED packages to a kernel which is built but not installed. (0 Replies)
Discussion started by: diptajeet
0 Replies
5. UNIX for Dummies Questions & Answers
Debian lenny uses the 2.6.26 kernel by default. Can I compile the most recent kernel from kernel.org and use it instead ? Will the new kernel be incompatible with other installed softwares ? (1 Reply)
Discussion started by: cyler
1 Replies
6. Slackware
My goal is to make the leanest Slackware kernel possible for my machine specifically. I'm not exactly a newbie to unix, but I'm not an expert.
I tried this tutorial Chapter*18.*Building a kernel , but I would like something in more depth to really make a lean slack machine. Where should I go? (2 Replies)
Discussion started by: darkstarxor
2 Replies
7. Linux
Dear experts,
How can compile the kernel as application mode?
Thanks in advance. (2 Replies)
Discussion started by: Zaxon
2 Replies
8. Linux
Hi All,
I try to compile new kernel in FC5.
New kernel version - 2.6.20.21
Operating System - Fedora 5
I have followed these steps,
make menuconfig
make
make modules
make modules_install
make install
Then i have changed the grub.cong and reboot the system with new kernel.
The... (0 Replies)
Discussion started by: viveksnv
0 Replies
9. UNIX for Dummies Questions & Answers
Hello,
Please let me know how to compile a linux kernel on redhat. I am relatively new in this area so please be a little patient with me. Here is the file I was consulting with the following details:
Compiling the Linux Kernel on Redhat 7.1
This page describes how to install... (2 Replies)
Discussion started by: bhattbonny
2 Replies
10. UNIX for Advanced & Expert Users
Hi all,
I need some help in compiling a new kernel. I am using RHEL 5 with kernel version 2.6.18.
I have downloaded a kernel from link http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.20.6.tar.bz2
1. cd /usr/src
2. wget -c http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.20.tar.bz2
3.... (1 Reply)
Discussion started by: vikas027
1 Replies
KASSERT(9) BSD Kernel Developer's Manual KASSERT(9)
NAME
KASSERT, KASSERTMSG, KDASSERT, KDASSERTMSG -- kernel expression verification macros
SYNOPSIS
void
KASSERT(expression);
void
KASSERTMSG(expression, format, ...);
void
KDASSERT(expression);
void
KDASSERTMSG(expression, format, ...);
DESCRIPTION
These machine independent assertion-checking macros cause a kernel panic(9) if the given expression evaluates to false. Two compile-time
options(4) define the behavior of the checks.
1. The KASSERT() and KASSERTMSG() tests are included only in kernels compiled with the DIAGNOSTIC configuration option. In a kernel that
does not have this configuration option, the macros are defined to be no-ops.
2. The KDASSERT() and KDASSERTMSG() tests are included only in kernels compiled with the DEBUG configuration option. The KDASSERT() and
KASSERT() macros are identical except for the controlling option (DEBUG vs DIAGNOSTIC). Basically, KASSERT() should be used for
light-weight checks and KDASSERT() should be used for heavier ones.
Callers should not rely on the side effects of expression because, depending on the kernel compile options mentioned above, expression might
not be evaluated at all.
The panic message will display the style of assertion (debugging vs. diagnostic), the expression that failed and the filename, and line num-
ber the failure happened on. The KASSERTMSG() and KDASSERTMSG() macros append to the panic(9) format string the message specified by format
and its subsequent arguments, similar to printf(9) functions.
SEE ALSO
config(1), options(4), CTASSERT(9), panic(9), printf(9)
AUTHORS
These macros were written by Chris G. Demetriou <cgd@netbsd.org>.
BSD
September 27, 2011 BSD