Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: atrpms: devel

kmdl macros? Re: RHEL4 and RHEL3 support

 

 

atrpms devel RSS feed   Index | Next | Previous | View Threaded


charlieb-atrpms-devel at budge

Apr 2, 2005, 12:14 AM

Post #1 of 7 (102 views)
Permalink
kmdl macros? Re: RHEL4 and RHEL3 support

On Fri, 1 Apr 2005, Axel Thimm wrote:

> First packages are now uploaded (I reverted the tctics of doing kmdl
> last, instead I did them first ...

I know that this is a FAQ, but I don't see a Frequently Given Answer - is
there somewhere I can get all the rpm macros needed to rebuild the SRPM
for kmdl packages?

Thanks

---
Charlie


Axel.Thimm at ATrpms

Apr 2, 2005, 12:29 AM

Post #2 of 7 (102 views)
Permalink
kmdl macros? Re: RHEL4 and RHEL3 support [In reply to]

On Fri, Apr 01, 2005 at 05:13:56PM -0500, Charlie Brady wrote:
>
> On Fri, 1 Apr 2005, Axel Thimm wrote:
>
> > First packages are now uploaded (I reverted the tctics of doing kmdl
> > last, instead I did them first ...
>
> I know that this is a FAQ, but I don't see a Frequently Given Answer

The FGA ;) is "macros alone are not enough. As long as the basic
infrastructure is missing, no end-user support is pretended".

As long as there is no proper way to build custom kernel rpms and have
configured and preped kernel sources for each custom kernel, the
macros are useless for 75% of all kmdl projects.

> - is there somewhere I can get all the rpm macros needed to rebuild
> the SRPM for kmdl packages?

The archives of this list? For instance

http://lists.atrpms.net/pipermail/atrpms-devel/2004-November/000467.html

See also the archives of this list and fedora-devel for the mentioned
issues with the infrastructure and for futile attempts to get fedora
kernel masters to provide the infrastructure. :(
--
Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.atrpms.net/pipermail/atrpms-devel/attachments/20050402/06fbe051/attachment.bin


jarod at wilsonet

Apr 2, 2005, 12:30 AM

Post #3 of 7 (101 views)
Permalink
kmdl macros? Re: RHEL4 and RHEL3 support [In reply to]

On Friday 01 April 2005 14:13, Charlie Brady wrote:
> On Fri, 1 Apr 2005, Axel Thimm wrote:
> > First packages are now uploaded (I reverted the tctics of doing kmdl
> > last, instead I did them first ...
>
> I know that this is a FAQ, but I don't see a Frequently Given Answer - is
> there somewhere I can get all the rpm macros needed to rebuild the SRPM
> for kmdl packages?

You can find most of them in the -devel list archive. One of these days, we'll
get the wiki set up... :-)

--
Jarod Wilson
jarod [at] wilsonet
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.atrpms.net/pipermail/atrpms-devel/attachments/20050401/e2fb9b5a/attachment.bin


charlieb-atrpms-devel at budge

Apr 2, 2005, 12:40 AM

Post #4 of 7 (102 views)
Permalink
kmdl macros? Re: RHEL4 and RHEL3 support [In reply to]

On Sat, 2 Apr 2005, Axel Thimm wrote:

> On Fri, Apr 01, 2005 at 05:13:56PM -0500, Charlie Brady wrote:
> >
> > On Fri, 1 Apr 2005, Axel Thimm wrote:
> >
> > > First packages are now uploaded (I reverted the tctics of doing kmdl
> > > last, instead I did them first ...
> >
> > I know that this is a FAQ, but I don't see a Frequently Given Answer
>
> The FGA ;) is "macros alone are not enough. As long as the basic
> infrastructure is missing, no end-user support is pretended".
>
> As long as there is no proper way to build custom kernel rpms and have
> configured and preped kernel sources for each custom kernel, the
> macros are useless for 75% of all kmdl projects.

How can I help to make what is required generally available? I know that
RedHat have made it increasingly difficult to build add-on modules (I have
no idea why!), but is it really impossible?

> > - is there somewhere I can get all the rpm macros needed to rebuild
> > the SRPM for kmdl packages?
>
> The archives of this list? For instance
>
> http://lists.atrpms.net/pipermail/atrpms-devel/2004-November/000467.html

Why would I think that nothing relevant would have changed since November?
:-)

> See also the archives of this list and fedora-devel for the mentioned
> issues with the infrastructure and for futile attempts to get fedora
> kernel masters to provide the infrastructure. :(

I've followed a few threads in archives - but there is a lot of reading to
do there. What's their reason for not providing all variants of configs
and mangled symbols (in one package or other)?

---
Charlie


Axel.Thimm at ATrpms

Apr 2, 2005, 12:50 AM

Post #5 of 7 (101 views)
Permalink
kmdl macros? Re: RHEL4 and RHEL3 support [In reply to]

On Fri, Apr 01, 2005 at 05:40:03PM -0500, Charlie Brady wrote:
> > As long as there is no proper way to build custom kernel rpms and have
> > configured and preped kernel sources for each custom kernel, the
> > macros are useless for 75% of all kmdl projects.
>
> How can I help to make what is required generally available? I know that
> RedHat have made it increasingly difficult to build add-on modules (I have
> no idea why!), but is it really impossible?

No, otherwise ATrpms wouldn't have any kmdl :)

Take the kernel source from RH, for RHEL3 there should still be
kernel-source (I hope ...). Clean up the sources (mrporper), place the
.config file of your (custom?) kernel into the sources, make
oldconfig twice, then make depend.

E.g. duplicate all steps required for building the kernel, but don't
do the build itself (doesn't hurt other than loosing CPU cycles).

> I've followed a few threads in archives - but there is a lot of reading to
> do there. What's their reason for not providing all variants of configs
> and mangled symbols (in one package or other)?

Stubborness? The kernel maintainer has been swaped since and the
current one is more open to these issues, so not all hope is lost ...
--
Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.atrpms.net/pipermail/atrpms-devel/attachments/20050402/14afa0b4/attachment.bin


charlieb-atrpms-devel at budge

Apr 2, 2005, 2:12 AM

Post #6 of 7 (102 views)
Permalink
kmdl macros? Re: RHEL4 and RHEL3 support [In reply to]

On Sat, 2 Apr 2005, Axel Thimm wrote:

> On Fri, Apr 01, 2005 at 05:40:03PM -0500, Charlie Brady wrote:
> > > As long as there is no proper way to build custom kernel rpms and have
> > > configured and preped kernel sources for each custom kernel, the
> > > macros are useless for 75% of all kmdl projects.
> >
> > How can I help to make what is required generally available? I know that
> > RedHat have made it increasingly difficult to build add-on modules (I have
> > no idea why!), but is it really impossible?
>
> No, otherwise ATrpms wouldn't have any kmdl :)
>
> Take the kernel source from RH, for RHEL3 there should still be
> kernel-source (I hope ...).

Yep (at least as distributed by CentOS).

> Clean up the sources (mrporper), place the
> .config file of your (custom?) kernel into the sources, make
> oldconfig twice, then make depend.
>
> E.g. duplicate all steps required for building the kernel, but don't
> do the build itself (doesn't hurt other than loosing CPU cycles).

Except for the problem that it won't work if you are non-root. And of
course you should be non-root when building RPMs.

And except for the problem that you dirty the source which you've
installed from RPM.

No, not an acceptable solution (I'm not blaming you).

I don't consider Matt Domsch's DKMS acceptable either.

> > I've followed a few threads in archives - but there is a lot of reading to
> > do there. What's their reason for not providing all variants of configs
> > and mangled symbols (in one package or other)?
>
> Stubborness?

Perhaps, but it's not a complete explanation. Doesn't explain changing
something which sort of worked into something that doesn't work at all.

> The kernel maintainer has been swaped since and the
> current one is more open to these issues, so not all hope is lost ...

Where do we talk to him/her?

Alternatively, perhaps we could show them how it should be done (and in
doing so, solve our problem ourselves). Could we not build one package
containing all the config files and mangled symbols headers (I vaguely
remember someone doing that), and have that as a BuildRequires package for
all the kmdl modules?

Thanks

---
Charlie


jarod at wilsonet

Apr 2, 2005, 3:47 AM

Post #7 of 7 (103 views)
Permalink
kmdl macros? Re: RHEL4 and RHEL3 support [In reply to]

On Friday 01 April 2005 16:11, Charlie Brady wrote:
> > Clean up the sources (mrporper), place the
> > .config file of your (custom?) ?kernel into the sources, make
> > oldconfig twice, then make depend.
> >
> > E.g. duplicate all steps required for building the kernel, but don't
> > do the build itself (doesn't hurt other than loosing CPU cycles).
>
> Except for the problem that it won't work if you are non-root. And of
> course you should be non-root when building RPMs.

The actual RPM building process doesn't require root, just the kernel source
tree prepping, and then only if you're using the default kernel source
location. Everything can be done as non-root if you put your kernel source
tree(s) in a place your non-root user has read/write, prep them, then build
your kernel modules, again as non-root, telling them where your kernel source
is.

--
Jarod Wilson
jarod [at] wilsonet
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.atrpms.net/pipermail/atrpms-devel/attachments/20050401/c624243c/attachment.bin

atrpms devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.