Sponsored Content
Full Discussion: Kernel Problems
Operating Systems BSD Kernel Problems Post 74665 by ShadowLight on Saturday 11th of June 2005 04:39:14 PM
Old 06-11-2005
For the Kernel problem,

I invite you to read the handbook on http://www.freebsd.org/handbook

search for kernel

read the doc about how to compile your kernel, i suggest you to start with the generic just to understand how it works after you could easily edit the generic and compile it. if something goes wrong you know it's because of your change.

to fix your corruption problem i suggest you to do :

cd /usr/src
make clean

cd /usr/src/i386/sys/conf/
edit your kernel

mkdir /root/kernel
mv yourkernel /root/kernel/
ln -s /root/kernel/yourkernel /usr/src/i386/sys/conf/
(this will create a link to your kernel file this way you just have to edit the file in your root directory to get it edit in the src directory. The compile system will follow the symlink and all will be fine) (tricks to make administration easier).


after taht just compile your kernel.
i think it could be a good idea too to do a make clean in your /usr/src/i386/sys/conf/ just to be sure the clean will not affect only the os source but the kernel source too.

The make clean just clean up the compile process (it doesn't touch the source file) it just delete the last compile binary or what we name build source. You will just start again from scratch as if you never did a make buildkernel before Smilie



One more thing : when you begin do not try to delete anything from generic kernel file, you don't know what is necessary, just add don't delete stuff. You will get your life better. Deleting stuff doesn't get you any better performance anyway (or not anything that you can see or not enought for all the problem you will get trying to delete stuff). The generic is kinda already a minimal kernel for normal operation.



ShadowLight
Unix Administrator Syrius-Network
shadowlight@syrs.com
www.linu-z.net
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

2.4.9 Linux Kernel & PCMCIA Wireless Problems

We are installing a PrismII chipset wireless PCMCIA card with a new 2.4.9 linux kernel. The card is a D-Link DWL-650. The 2.4.9 kernel uses the orinoco_cs.o driver. Anyone running this configuration? The 2.4.9 Linux kernel has built in PCMCIA support and the README says it supports the... (1 Reply)
Discussion started by: Neo
1 Replies

2. Linux

Kernel panic - not syncing: cannot execute a PAE-enabled kernel on PAE-less CPU

ok so I just installed fedora core 6 on my dell inspiron 700m and I go to boot into linux and I get this error. Has anyone seen this before? I also had XP Pro and Vista installed on this pc prior to putting fedora core 6 on the machine. I'm trying to setup a triple boot system. Please Help... (2 Replies)
Discussion started by: dave043
2 Replies

3. Programming

kernel-kernel call communication

hi all! i have developed a mechanism in system.c to count how many times each kernel call is called. The results are held in an array in system.c . What i want to do is to create a new kernel call which will print this array. I need help in passing the array from system.c to the new kernel call. ... (5 Replies)
Discussion started by: aureliano
5 Replies

4. SuSE

max number of slabs per kernel module (kernel 2.6.17, suse)

Hi All, Is there a max number of slabs that can be used per kernel module? I'm having a tough time finding out that kind of information, but the array 'node_zonelists' (mmzone.h) has a size of 5. I just want to avoid buffer overruns and other bad stuff. Cheers, Brendan (4 Replies)
Discussion started by: Brendan Kennedy
4 Replies

5. Linux

Supermicro(dual core) server getting rebooted after "decompressing the kernel;booting the kernel" me

supermicro(dual core) server getting rebooted after "decompressing the kernel;booting the kernel" message comes. I tried giving acpi=off to the kernel command line but same problem.It shows everything ok and no problem with memory and processors and power supplies.Wt could be the reason? It has... (1 Reply)
Discussion started by: pankajd
1 Replies

6. Solaris

Which file is read by kernel to set its default system kernel parameters values?

Hi gurus Could anybody tell me which file is read by kernel to set its default system kernal parameters values in solaris. Here I am not taking about /etc/system file which is used to load kernal modules or to change any default system kernal parameter value Is it /dev/kmem file or something... (1 Reply)
Discussion started by: girish.batra
1 Replies

7. SuSE

Problem compiling the kernel and linking problems in OpenSuse 12.3

Hi everyone I installed OpenSuse 12.3 and many development tools but when i propose build the kernel from the source (the first step make menuconfig) i saw this: HOSTLD scripts/kconfig/mconf /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld: warning: libdl.so.2,... (2 Replies)
Discussion started by: bacesado
2 Replies

8. Linux

Unload kernel module at boot time (Debian Wheezy 7.2, 3.2.0-4-686-pae kernel)

Hi everyone, I am trying to prevent the ehci_hcd kernel module to load at boot time. Here's what I've tried so far: 1) Add the following line to /etc/modprobe.d/blacklist.conf (as suggested here): 2) Blacklisted the module by adding the following string to 3) Tried to blacklist the module... (0 Replies)
Discussion started by: gacanepa
0 Replies

9. Red Hat

Problems with kernel patches

Three RH7 servers patched through a satellite and rebooted Sunday. Two of the three experienced issues with kernel 123.20.1 and were reporting logind and systemd errors, org.freedesktop subscription failure. Users ssh'ing into the two servers had to wait 30 seconds to get the password prompt.... (2 Replies)
Discussion started by: cjhilinski
2 Replies
STREAMS(4)                                               BSD/i386 Kernel Interfaces Manual                                              STREAMS(4)

NAME
streams -- System V STREAMS networking ABI support SYNOPSIS
To compile support for this ABI into the kernel, place the following line in your kernel configuration file: device streams Alternatively, to load the ABI as a module at boot time, place the following line in loader.conf(5): streams_load="YES" DESCRIPTION
The streams module provides limited System V Release 4 STREAMS interprocess communication ABI (application binary interface) compatibility for userland applications. Internally, streams provides STREAMS handles by using socket creation kernel routines, and adding state-tracking information to the socket to permit manipulation by STREAMS emulation code in svr4(4). Hence, opening a stream device produces a result similar to what would be obtained by calling socket(2). Applications should never use this interface directly: STREAMS emulation is only provided as a service to support ABI requirements in the SVR4 environment which svr4(4) needs to present to client binaries. SEE ALSO
svr4(4) HISTORY
System V Release 4 ABI support first appeared in FreeBSD 4.0. The ABI was ported from an equivalent facility present in NetBSD 1.3 written by Christos Zoulas. BUGS
This whole interface is a crude hack to produce STREAMS semantics through emulation over sockets. Programmers who hope to be able to use this interface to provide SVR4 STREAMS services to BSD applications will be sorely disappointed. BSD March 17, 2008 BSD
All times are GMT -4. The time now is 09:20 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy