[LUGSB] Compiling Kernel Modules (with Prebuilt Kernels)
Daniel Panzella
dpanzell at ic.sunysb.edu
Wed Oct 27 01:35:35 EDT 2004
Dave,
The first step would be to download the kernel sources from your distro for
the kernel your using, and make sure its been configured, I think most
distros package kernels with a valid .config file but if not there are
usually defaults in a subdir under /usr/src/linux-<version>. If its a 2.4
kernel you'll probably have to run a make dep. Also make sure there is a
symlink from /usr/src/linux -> /usr/src/linux-<version>.
I think thats the basic starting point. I cant be morespecific without
knowing what your compiling and what distro your running, also I run gentoo
so my kernel is custom so I'm not entirly versed in how distros package these
things.
Hope that helps,
Dan
On Wednesday 27 October 2004 12:23 am, David Turner wrote:
> Does anyone know how to compile kernel modules for
> pre-built kernels?
>
> Most references I find expect that you've already
> built a kernel before you compile kernel modules, but
> I would think there is a way to do it, but I'm not
> sure how.
>
> Dave
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - Helps protect you from nasty viruses.
> http://promotions.yahoo.com/new_mail
> _______________________________________________
> lugsb mailing list
> lugsb at fsl.cs.sunysb.edu
> http://www.fsl.cs.sunysb.edu/mailman/listinfo/lugsb
>From nhorvath at ic.sunysb.edu Wed Oct 27 01:45:07 2004
Received: from mail.ic.sunysb.edu (mail.ic.sunysb.edu [129.49.1.4])
i9R5j7Id025652
for <lugsb at fsl.cs.sunysb.edu>; Wed, 27 Oct 2004 01:45:07 -0400
Received: from postal.ic.sunysb.edu (mail [129.49.1.4])
by mail.ic.sunysb.edu (8.13.1/8.13.1) with SMTP id i9R5j616000938
for <lugsb at fsl.cs.sunysb.edu>; Wed, 27 Oct 2004 01:45:09 -0400 (EDT)
Received: from smtp.ic.sunysb.edu ([129.49.1.24])
by postal.ic.sunysb.edu (SMSSMTP 4.0.0.59) with SMTP id M2004102701450926377
for <lugsb at fsl.cs.sunysb.edu>; Wed, 27 Oct 2004 01:45:09 -0400
Received: from bluethunder (to196-064.resnet.stonybrook.edu [130.245.196.64])
by smtp.ic.sunysb.edu (8.13.1/8.13.1) with ESMTP id i9R5j6pm000914
for <lugsb at fsl.cs.sunysb.edu>; Wed, 27 Oct 2004 01:45:09 -0400 (EDT)
Message-Id: <200410270545.i9R5j6pm000914 at smtp.ic.sunysb.edu>
From: "Nick Horvath" <nhorvath at ic.sunysb.edu>
To: "'Linux Users Group at Stony Brook'" <lugsb at fsl.cs.sunysb.edu>
Subject: RE: [LUGSB] processes
Date: Wed, 27 Oct 2004 01:45:04 -0400
MIME-Version: 1.0
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook, Build 11.0.6353
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
Thread-Index: AcS74QWlb6coF42oR0mUIagdSSJEWQABjUuw
In-Reply-To: <BAY15-F18LYhE1E29R5000296bb at hotmail.com>
X-BeenThere: lugsb at fsl.cs.sunysb.edu
X-Mailman-Version: 2.1.1
Precedence: list
Reply-To: Linux Users Group at Stony Brook <lugsb at fsl.cs.sunysb.edu>
List-Id: Linux Users Group at Stony Brook <lugsb.fsl.cs.sunysb.edu>
List-Unsubscribe: <http://www.fsl.cs.sunysb.edu/mailman/listinfo/lugsb>,
<mailto:lugsb-request at fsl.cs.sunysb.edu?subject=unsubscribe>
List-Archive: <http://lists.fsl.cs.sunysb.edu/pipermail/lugsb>
List-Post: <mailto:lugsb at fsl.cs.sunysb.edu>
List-Help: <mailto:lugsb-request at fsl.cs.sunysb.edu?subject=help>
List-Subscribe: <http://www.fsl.cs.sunysb.edu/mailman/listinfo/lugsb>,
<mailto:lugsb-request at fsl.cs.sunysb.edu?subject=subscribe>
X-List-Received-Date: Wed, 27 Oct 2004 05:45:07 -0000
To simply kill a process you can just type kill and then the pid of the
process (can be found in top or other system monitor programs) to use kill
on processes you do not own you will need to become root and then kill them.
To solve your problem of these excess programs (which I assume start with
Red Hat 9) you are going to want to edit your /etc/rc.d/rc#.d directories
(the # is replaced with a number 0-6 which represents the runlevel). You can
go through these directories and remove the links that you are sure are
things you don't need. You should know what you are removing though because
if you remove the wrong things you can cause your system to lose
functionality or not boot altogether. You will need to remove things from
all the different runlevel directories. Let me know if you need more help.
-Nick
-----Original Message-----
From: lugsb-bounces at fsl.cs.sunysb.edu
[mailto:lugsb-bounces at fsl.cs.sunysb.edu] On Behalf Of Henry Lee
Sent: Wednesday, October 27, 2004 12:53 AM
To: lugsb at fsl.cs.sunysb.edu
Subject: [LUGSB] processes
does anyone know how to stop unnecessary processes in linux? i have red hat
linux 9 on a laptop, every time i start up red hat, it will have about 230MB
worth of processes running (i checked using system monitor) how do i kill
some processes to make the system more efficient?
thanks!
-henry
_________________________________________________________________
Get ready for school! Find articles, homework help and more in the Back to
School Guide! http://special.msn.com/network/04backtoschool.armx
_______________________________________________
lugsb mailing list
lugsb at fsl.cs.sunysb.edu
http://www.fsl.cs.sunysb.edu/mailman/listinfo/lugsb
More information about the lugsb
mailing list