Owner: Kernel FAQs URL:http://www.kernelfaq.com Join Date: Fri, 25 Jan 2008 22:34:39 -0600 Rating:0 Site Description: Technical info on Unix, Linux, Apple Mac OS X, Solaris and other Unix variant operating systems, Kernels, Kernel Programming, Device Drivers, etc. Site statistics:Click here
Building Linux Kernel fast 2008-05-25 21:08:47 While building the Linux
Kernel in a multiprocessor environment, running "make" will enable single compiler to use single processor. Linux Kernel build system provides a way (through an option to the Makefile) which enable faster building by making use of multiple processors in a multiprocessor system.
Use the "-j" option along with a number specifying the number of parallel compilations. Choose Read more:Building
Why device driver unload can fail in Solaris? 2008-06-01 10:21:51 Under certain conditions on the Solaris
OS, a device driver cannot be unloaded. What are those conditions?
If a driver has no detach routine (nodev is specified in the driver's dev_ops(9S) for its detach routine).If EBUSY is returned from the driver's _fini() routine.If the driver has a positive number of references to it.If the driver has a bus_ops structure specified in its dev_ops structure,
Building modules within Linux Kernel 2008-05-31 22:38:59 Sometimes, it requires us to build only a module within
the Kernel. In that case, we wish to build only that module instead of the whole Kernel sources. The Linux
Kernel build system allows us to build a specific directory. Pass the directory path to make. To build the network drivers, run
make drivers/net
But to have module objects to be built, run
make M=drivers/net
[[ This is a content summ Read more:Building
Driver causing crash during boot 2008-06-02 22:46:47 If you keep driver file under /usr/kernel, that driver will be loaded during boot time. While testing an updated driver if you keep driver file under /usr/kernel and if that driver can cause system crash
during its load, that will result in system crash during boot and eventually result in system not getting into operational.
To get out of this issue, boot the system in interactive mode using b Read more:Driver
Developing a Kernel module for FreeBSD 2008-06-07 14:24:33 An article on how to develop Kernel modules for FreeBSD
.
Here are a first few lines from the article.
FreeBSD 7.0 has already been released. If you are a real hacker, the best way to jump in and learn it is hacking together an introductory kernel module. In this article I’ll implement a very basic module that prints a message when it is loaded, and another when it is unloaded. I’ll also cove
Integrating Subversion (SVN) with Nautilus 2008-06-08 20:19:39 Recently I switched from Windows to Ubuntu Linux. While using Windows, I was using Tortoise SVN as Subversion client. I was searching for an equivalent tool to use in Ubuntu. I found a page in www.willsimpson.org which explains how to integrate Subversion and Nautilus.
Nautilus is a file manager (like Explorer in Windows) in Ubuntu Linux using GNOME. One of the interesting feature of Nautilus is Read more:Integrating
Understanding Filesystem Table (fstab) 2008-06-15 21:26:15 I found this article in the Ubuntu Forums.
There are essentially 5 sections:
Introduction / Mount."fstab syntax" - Syntax and fstab options.How to label, FAT and Linux file systems.Examples, FAT and Linux native file systems.References
Scroll down to the section you need.
Introduction
/etc/fstab is a system configuration file and is used to tell the Linux kernel which partitions (file systems) Read more:Understanding
, Table
How I avoided higher CPU usage by Firefox 3.0.1 in Windows 2008-07-20 15:33:33 I use Firefox
as a primary browser. I always use the latest available version of Firefox, so the current installed version in my system is 3.0.1.
After updating Firefox to 3.0.1, it started to consume more than 95% CPU. That's very bad for any application. I used Process Explorer to get some details about firefox process.
I found that the firefox process started a thread "WINMM.dll!timeGetSystem Read more:Windows
Subversion Features 2008-07-20 12:10:34 Subversion provides many features similar to other SCM tools. Below is a list of features provided by Subversion.
Commits are true atomic operations. Interrupted commit operations do not cause repository inconsistency or corruption.Renamed/copied/moved/removed files retain full revision history.Directories, renames, and file metadata (but not timestamps) are versioned. Entire directory trees can
Subversion - A version control system 2008-07-20 12:03:27 Subversion
is one of the widely used source version controling system. It was initiated by CollabNet during 2000.
Subversion is available with major operating systems. In Unix/Linux environments, Subversion can be used through command "svn". To check for installation of svn in a system, you can use "which svn". If installed, "which" returns the path to svn binary.
Subversion source package can b
Building Linux Kernel from a read-only source 2008-08-04 08:37:59 It is possible to build Linux
Kernel using Kernel source in a read-only location like CD/DVD media, remote server which can only be read, etc.
To achieve this, pass as a parameter the location where the built Kernel image is to be placed.
make O=/home/mylogin/kernels/linux-2.6.26/
Make sure that you pass all other required parameters to Make while building Kernel.
[[ This is a content summary o Read more:Building
Applying patches to Solaris 2008-08-04 08:37:19 Use this procedure to download either a signed or an unsigned Solaris
patch and then apply it to your system.
If you want to apply signed patches
, you must first set up the package keystore.
Gain access to the system in one of the following ways:Log in to the system where you want to apply the patch.Download the patch and use the ftp command to copy the patch to the target system.
Start a web bro
Adding CD/DVD drives to a running Xen domainU guest 2008-08-03 19:37:16 Xen provides great flexibility in terms of dynamically adding block devices such as disk drives and CDROM/DVD drives to running
domainU guest systems.
This is achieved using the xm block-attach command, the syntax for which is as follows:
xm block-attach <Domain Id> <Backend Device> <Frontend Device> <Mode>
where:
* <Domain Id> is the id of the domainU to which the
Linux Kernel Cross-compilation 2008-08-10 17:55:01 Linux Kernel can be compiled in a machine for a different architecture. This is useful in fixing compilation
issues for different architectures without actually using them.
Using ARCH option, the target architecture can be specified. It is also possible to specify the cross-compile toolchain through CROSS_COMPILE and specific compiler using CC options.
Example:
To compile the kernel for a 64-bit Read more:Linux
, Cross