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

Mailing List Archive: atrpms: users

kernel modules for 2.6.22.14-72.fc6

 

 

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


mo.ucina at gmail

Dec 12, 2007, 2:25 AM

Post #1 of 9 (934 views)
Permalink
kernel modules for 2.6.22.14-72.fc6

Hello Axel.

Any plans for kernel modules for this one ? Just the regular ones :

alsa-kmdl-2.6.22.14-72.fc6 i686
ivtv-kmdl-2.6.22.14-72.fc6 i686
lirc-kmdl-2.6.22.14-72.fc6 i686
nvidia-graphics100.14.19-kmdl-2.6.22.14-72.fc6 i686
video4linux-kmdl-2.6.22.14-72.fc6 i686
wis-go7007-linux-kmdl-2.6.22.14-72.fc6 i686

Best Regards
Milorad

_______________________________________________
atrpms-users mailing list
atrpms-users [at] atrpms
http://lists.atrpms.net/mailman/listinfo/atrpms-users


Axel.Thimm at ATrpms

Dec 12, 2007, 3:44 AM

Post #2 of 9 (912 views)
Permalink
Re: kernel modules for 2.6.22.14-72.fc6 [In reply to]

Hi,

On Wed, Dec 12, 2007 at 09:25:23PM +1100, O&M Ugarcina wrote:
> Any plans for kernel modules for this one ? Just the regular ones :

this kernel was puplished after FC6 went EOL, I have already torn down
all my FC6 builders. :/

But you can pick the src.rpm and rpmbuild --rebuild --define
"kmdl_userland 0" ...

You need to have atrpms-rpm-config and the matching kernel-header
installed (sometimes the whole kernel source, but try with
kernel-header first).
--
Axel.Thimm at ATrpms.net


Pierre.Rochefort at uhn

Dec 12, 2007, 5:23 AM

Post #3 of 9 (912 views)
Permalink
Re: kernel modules for 2.6.22.14-72.fc6 [In reply to]

Hi,

Can someone point me in the right direction for instructions on building the
modules myself?
Thank you

Pierre

-----Original Message-----
From: atrpms-users-bounces [at] atrpms
[mailto:atrpms-users-bounces [at] atrpms]On Behalf Of Axel Thimm
Sent: Wednesday, December 12, 2007 6:45 AM
To: O&M Ugarcina
Cc: ATrpms Users List
Subject: Re: [ATrpms-users] kernel modules for 2.6.22.14-72.fc6


Hi,

On Wed, Dec 12, 2007 at 09:25:23PM +1100, O&M Ugarcina wrote:
> Any plans for kernel modules for this one ? Just the regular ones :

this kernel was puplished after FC6 went EOL, I have already torn down
all my FC6 builders. :/

But you can pick the src.rpm and rpmbuild --rebuild --define
"kmdl_userland 0" ...

You need to have atrpms-rpm-config and the matching kernel-header
installed (sometimes the whole kernel source, but try with
kernel-header first).
--
Axel.Thimm at ATrpms.net

This e-mail may contain confidential and/or privileged information for the sole use of the intended recipient. Any review or distribution by anyone other than the person for whom it was originally intended is strictly prohibited. If you have received this e-mail in error, please contact the sender and delete all copies. Opinions, conclusions or other information contained in this e-mail may not be that of the organization.


_______________________________________________
atrpms-users mailing list
atrpms-users [at] atrpms
http://lists.atrpms.net/mailman/listinfo/atrpms-users


Axel.Thimm at ATrpms

Dec 12, 2007, 6:53 AM

Post #4 of 9 (913 views)
Permalink
Re: kernel modules for 2.6.22.14-72.fc6 [In reply to]

On Wed, Dec 12, 2007 at 08:23:57AM -0500, Rochefort, Pierre wrote:
> Hi,
>
> Can someone point me in the right direction for instructions on building the
> modules myself?

Actually the message you replied already contained them in a condensed
form, but you're probably after the long version:

http://people.atrpms.net/~pcavalcanti/LCG_kernel_modules.html

Thanks to Paulo for maintaining this howto.

But still note that FC6 is out of maintenance from Red Hat
itself. Which means that if a kernel vulnerability comes up in say two
weeks you will even need to build your own kernel rpms (or live with
the security problem).

So perhaps the time invested to build kmdls would be better spent
upgrading the system from FC6 to F8? I did that on several systems and
nothing bad came up. Cou can also sidegrade to RHEL5/CentOS5 which is
FC6-based if you want to avoid fully upgrading every year
(RHEL5/CentOS5 will be supported for 7 years).

> Thank you
>
> Pierre
>
> -----Original Message-----
> From: atrpms-users-bounces [at] atrpms
> [mailto:atrpms-users-bounces [at] atrpms]On Behalf Of Axel Thimm
> Sent: Wednesday, December 12, 2007 6:45 AM
> To: O&M Ugarcina
> Cc: ATrpms Users List
> Subject: Re: [ATrpms-users] kernel modules for 2.6.22.14-72.fc6
>
>
> Hi,
>
> On Wed, Dec 12, 2007 at 09:25:23PM +1100, O&M Ugarcina wrote:
> > Any plans for kernel modules for this one ? Just the regular ones :
>
> this kernel was puplished after FC6 went EOL, I have already torn down
> all my FC6 builders. :/
>
> But you can pick the src.rpm and rpmbuild --rebuild --define
> "kmdl_userland 0" ...
>
> You need to have atrpms-rpm-config and the matching kernel-header
> installed (sometimes the whole kernel source, but try with
> kernel-header first).

--
Axel.Thimm at ATrpms.net


cummings at kjchome

Dec 12, 2007, 11:32 PM

Post #5 of 9 (904 views)
Permalink
Re: kernel modules for 2.6.22.14-72.fc6 [In reply to]

Axel Thimm wrote:
> Hi,
>
> On Wed, Dec 12, 2007 at 09:25:23PM +1100, O&M Ugarcina wrote:
>> Any plans for kernel modules for this one ? Just the regular ones :
>
> this kernel was puplished after FC6 went EOL, I have already torn down
> all my FC6 builders. :/

Ouch, seems a bit early. I saw an announcement on the
Fedora-announce-list when FC5 officially went EOL, and just before it
did, they released a final kernel. IIRC (and I don't always these days)
they officially retired FC5 a couple of days *after* they said they
would. I don't remember seeing a similar email about FC6 (did I miss
it?) In any event, my needs are slightly different. The cubbi_suspend2
version of this kernel just got released today and that's what I run on
my laptop (until I get around to upgrading to F8), so I was kinda hoping
that there would be ipw3945-1.2.2/mac80211/ieee80211 kmdls for the
suspend2 kernel built by atrpms. B^(

> But you can pick the src.rpm and rpmbuild --rebuild --define
> "kmdl_userland 0" ...

I am able to build the fglrx-kmod stuff from livna, but I was never able
to get your build environment to work for me. [.Its probably my fault,
but I can't find the proper documentation that makes it just work for me.]

> You need to have atrpms-rpm-config and the matching kernel-header
> installed (sometimes the whole kernel source, but try with
> kernel-header first).

(hmm, I don't seem to have atrpms-rpm-config installed....)
I'll give it a try tomorrow and report back.

--
Kevin J. Cummings
kjchome [at] rcn
cummings [at] kjchome
cummings [at] kjc386
Registered Linux User #1232 (http://counter.li.org)

_______________________________________________
atrpms-users mailing list
atrpms-users [at] atrpms
http://lists.atrpms.net/mailman/listinfo/atrpms-users


Axel.Thimm at ATrpms

Dec 13, 2007, 8:57 AM

Post #6 of 9 (907 views)
Permalink
Re: kernel modules for 2.6.22.14-72.fc6 [In reply to]

On Thu, Dec 13, 2007 at 02:32:36AM -0500, Kevin J. Cummings wrote:
> Axel Thimm wrote:
> > Hi,
> >
> > On Wed, Dec 12, 2007 at 09:25:23PM +1100, O&M Ugarcina wrote:
> >> Any plans for kernel modules for this one ? Just the regular ones :
> >
> > this kernel was puplished after FC6 went EOL, I have already torn down
> > all my FC6 builders. :/
>
> Ouch, seems a bit early. I saw an announcement on the
> Fedora-announce-list when FC5 officially went EOL, and just before it
> did, they released a final kernel. IIRC (and I don't always these days)
> they officially retired FC5 a couple of days *after* they said they
> would. I don't remember seeing a similar email about FC6 (did I miss
> it?)

It was perhaps shadowed by F8 announcements but EOL was
Fri. Dec. 7th. And just on this day the last kernel was announced.

> In any event, my needs are slightly different. The cubbi_suspend2
> version of this kernel just got released today and that's what I run on
> my laptop (until I get around to upgrading to F8), so I was kinda hoping
> that there would be ipw3945-1.2.2/mac80211/ieee80211 kmdls for the
> suspend2 kernel built by atrpms. B^(
>
> > But you can pick the src.rpm and rpmbuild --rebuild --define
> > "kmdl_userland 0" ...
>
> I am able to build the fglrx-kmod stuff from livna, but I was never able
> to get your build environment to work for me. [.Its probably my fault,
> but I can't find the proper documentation that makes it just work
> for me.]

Paulo did a lot of work here:

http://people.atrpms.net/~pcavalcanti/LCG_kernel_modules.html

> > You need to have atrpms-rpm-config and the matching kernel-header
> > installed (sometimes the whole kernel source, but try with
> > kernel-header first).
>
> (hmm, I don't seem to have atrpms-rpm-config installed....)
> I'll give it a try tomorrow and report back.

Well, you need at the very least atrpms-rpm-config and
kernel-header. For some kmdls you need a full kernel source tree which
is outlined in Paulo's docs. But try first with kernel-headers.
--
Axel.Thimm at ATrpms.net


cummings at kjchome

Dec 13, 2007, 9:19 AM

Post #7 of 9 (909 views)
Permalink
Re: kernel modules for 2.6.22.14-72.fc6 [In reply to]

Axel Thimm wrote:
> Paulo did a lot of work here:
>
> http://people.atrpms.net/~pcavalcanti/LCG_kernel_modules.html

Thanks I'll check it out!

>>> You need to have atrpms-rpm-config and the matching kernel-header
>>> installed (sometimes the whole kernel source, but try with
>>> kernel-header first).
>> (hmm, I don't seem to have atrpms-rpm-config installed....)
>> I'll give it a try tomorrow and report back.
>
> Well, you need at the very least atrpms-rpm-config and
> kernel-header. For some kmdls you need a full kernel source tree which
> is outlined in Paulo's docs. But try first with kernel-headers.

Already done by now. I just gotta figure out how to build the modules
for a kernel that's installed but not yet running. I'll RTFM and give
it a try.

--
Kevin J. Cummings
kjchome [at] rcn
cummings [at] kjchome
cummings [at] kjc386
Registered Linux User #1232 (http://counter.li.org)

_______________________________________________
atrpms-users mailing list
atrpms-users [at] atrpms
http://lists.atrpms.net/mailman/listinfo/atrpms-users


Axel.Thimm at ATrpms

Dec 13, 2007, 11:02 AM

Post #8 of 9 (908 views)
Permalink
Re: kernel modules for 2.6.22.14-72.fc6 [In reply to]

On Thu, Dec 13, 2007 at 12:19:25PM -0500, Kevin J. Cummings wrote:
> Axel Thimm wrote:
> > Paulo did a lot of work here:
> >
> > http://people.atrpms.net/~pcavalcanti/LCG_kernel_modules.html
>
> Thanks I'll check it out!
>
> >>> You need to have atrpms-rpm-config and the matching kernel-header
> >>> installed (sometimes the whole kernel source, but try with
> >>> kernel-header first).
> >> (hmm, I don't seem to have atrpms-rpm-config installed....)
> >> I'll give it a try tomorrow and report back.
> >
> > Well, you need at the very least atrpms-rpm-config and
> > kernel-header. For some kmdls you need a full kernel source tree which
> > is outlined in Paulo's docs. But try first with kernel-headers.
>
> Already done by now. I just gotta figure out how to build the modules
> for a kernel that's installed but not yet running. I'll RTFM and give
> it a try.

Read /etc/rpm/macros.kmdl, you need to use

--define '_kernel 2.6.foo-bar'

and *maybe* also

--define 'kmdl_kernelsrcdir /where/I/put/my/sources'

(you don't need it if /lib/modules/_kernel/build already points to the
right place.)
--
Axel.Thimm at ATrpms.net


cummings at kjchome

Dec 13, 2007, 11:36 AM

Post #9 of 9 (907 views)
Permalink
Re: kernel modules for 2.6.22.14-72.fc6 [In reply to]

Axel Thimm wrote:
>>> Well, you need at the very least atrpms-rpm-config and
>>> kernel-header. For some kmdls you need a full kernel source tree which
>>> is outlined in Paulo's docs. But try first with kernel-headers.
>> Already done by now. I just gotta figure out how to build the modules
>> for a kernel that's installed but not yet running. I'll RTFM and give
>> it a try.
>
> Read /etc/rpm/macros.kmdl, you need to use
>
> --define '_kernel 2.6.foo-bar'
>
> and *maybe* also
>
> --define 'kmdl_kernelsrcdir /where/I/put/my/sources'
>
> (you don't need it if /lib/modules/_kernel/build already points to the
> right place.)

OK, I was able to build ieee80211 and mac80211 via the following command
lines:

> rpmbuild ieee80211-1.2.18-20.src.rpm --rebuild --target i686 --define "kmdl_userland 0" --define "_kernel 2.6.22.14-72_1.cubbi_suspend2.fc6"
> rpmbuild mac80211-9.0.4-15.src.rpm --rebuild --target i686 --define "kmdl_userland 0" --define "_kernel 2.6.22.14-72_1.cubbi_suspend2.fc6"

using rpm to install the resulting kmdls went OK, except that
mac80211-kmdl complained about:

> WARNING: /lib/modules/2.6.22.14-72_1.cubbi_suspend2.fc6/updates/net/mac80211/mac80211.ko needs unknown symbol ieee80211_led_rx
> WARNING: /lib/modules/2.6.22.14-72_1.cubbi_suspend2.fc6/updates/net/mac80211/mac80211.ko needs unknown symbol ieee80211_led_exit
> WARNING: /lib/modules/2.6.22.14-72_1.cubbi_suspend2.fc6/updates/net/mac80211/mac80211.ko needs unknown symbol ieee80211_led_init
> WARNING: /lib/modules/2.6.22.14-72_1.cubbi_suspend2.fc6/updates/net/mac80211/mac80211.ko needs unknown symbol ieee80211_led_tx

However, I can't:

> rpmbuild ipw3945-1.2.2-21.src.rpm --rebuild --target i686 --define "kmdl_userland 0" --define "_kernel 2.6.22.14-72_1.cubbi_suspend2.fc6"

here are the important lines from the build output:

> + make KSRC=/lib/modules/2.6.22.14-72_1.cubbi_suspend2.fc6/build IEEE80211_INC=/usr/include/ieee80211 'CC=gcc -I/usr/include/ieee80211'
>
> WARNING: Your kernel contains ieee80211 symbol definitions and you
> are not using the kernel's default ieee80211 subsystem. (Perhaps you
> used the out-of-tree ieee80211 subsystem's 'make install' or have
> provided a path to the ieee80211 subsystem via IEEE80211_INC.)
>
> If you wish to use the out-of-tree ieee80211 subsystem then it is
> recommended to use that projects' "make patch_kernel" facility
> and rebuild your kernel to update the Module symbol version information.
>
> Failure to do this may result in build warnings and unexpected
> behavior when running modules which rely on the ieee80211 subsystem.
>
>
> Aborting the build. You can force the build to continue by adding:
>
> IEEE80211_IGNORE_DUPLICATE=y
>
> to your make command line.
>
>
> make: *** [check_inc] Error 1
> error: Bad exit status from /home/cummings/rpmbuild/tmp/rpm-tmp.20460 (%build)
>
>
> RPM build errors:
> Bad exit status from /home/cummings/rpmbuild/tmp/rpm-tmp.20460 (%build)

So, I gather that there's something else I need to add to the command
line? Or do I need to modify the .spec file?

--
Kevin J. Cummings
kjchome [at] rcn
cummings [at] kjchome
cummings [at] kjc386
Registered Linux User #1232 (http://counter.li.org)

_______________________________________________
atrpms-users mailing list
atrpms-users [at] atrpms
http://lists.atrpms.net/mailman/listinfo/atrpms-users

atrpms users 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.