[99886] in RedHat Linux List
Re: module-info
daemon@ATHENA.MIT.EDU (John H Darrah)
Tue Nov 17 12:44:10 1998
Date: Tue, 17 Nov 1998 09:43:50 -0800 (PST)
From: John H Darrah <jhd@giddens.com>
To: redhat-list@redhat.com
In-Reply-To: <3651913A.C77F0867@dls.net>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
On Tue, 17 Nov 1998, David Morgan wrote:
> Does anyone know where the module-info files
> comes from, how to make a new one, and what it's
> really for?
>
===== FROM A PREVIOUS POSTING ====
Date: Thu, 8 Oct 1998 21:50:15 -0700 (PDT)
From: John H Darrah <jhd@homer.giddens.com>
To: RedHat Manhattan List <manhattan-list@redhat.com>
Subject: Re: How is the "module-info" file
created after a kernel/module compile?
Does anyone REALLY know?
On Thu, 8 Oct 1998, John H Darrah wrote:
> On Wed, 7 Oct 1998, Jose M. Sanchez wrote:
>
> > This file IS kernel related in that it is used
> > by RH's scripts for modules.
>
> Yes!
>
> >
> > This file is directly related and tied to any
> > new kernel's installed modules.
>
> No!
>
> This file has nothing to do with the kernel source
> distribution.
>
> Yes, this file was *hand* coded by the RedHat
> people as part of the kernelcfg script written in
> python.
>
> Look at the source from the following two files:
>
> /usr/lib/rhs/kernelcfg/kernelcfg.py
> /usr/lib/rhs/python/Conf.py
>
In addition to the above, the module-info file is
always supplied with the binary kernel rpm ( Not
the source rpm ) because the contents of the file
match the modules parameters for for that
particular rev level of the kernel.
If you want the latest "module-info" file,
download the latest "binary" kernel rpm and
execute the following command in a temp directory
( *NOT* as root, in case you make a mistake :)
rpm2cpio kernel-x.x.x.rpm | cpio --extract \
--verbose --no-absolute-filenames \
--make-directories '*/module-info*'
Then copy the "module-info-x.x.x" file to /boot
And a final note: This file is *Not* needed for
booting. It does *Not* have anything to do with
"depmod -a". A kernel compile does *Not* produce
this file.
--
John Darrah (u05192) | Dept: N/C Programming
Giddens Industries | Ph: (425) 353-0405 #229
PO box 3190 | Ph: (206) 767-4212 #229
Everett WA 98203 | Fx: (206) 764-9639
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com http://archive.redhat.com
To unsubscribe: mail redhat-list-request@redhat.com with
"unsubscribe" as the Subject.