[WBEL-users] Upgrading to 2.6.9-42.0.3
Fernando Apesteguía
fernando.apesteguia at gmail.com
Wed Nov 15 04:49:37 CST 2006
On 11/14/06, Vic <whitebox at beer.org.uk> wrote:
> > I did it in the same way (if I'm not wrong...) as I did to update to
> > 2.6.9.-34:
> >
> > - Install the kernel-xxxx.src.rpm
> > - rpmbuild -bp --target=x86_64 kernel-2.6.spec
> > - link the directory created to /usr/src/linux
> > - make config
> > - load the default config file for x86_64
> > - save
> > - make bzImage, modules, modules install,
> > - copy bzImage, make initrd, create entry in grub.conf
>
> I wouldn't do a simple rebuild like that; instead, just try
>
> rpmbuild --target=x86_64 --rebuild kernel-xxxx.src.rpm
>
> > It appears to run well, but if I try iwconfig on my eth1, I get:
> >
> > eth1: No such device...
> >
> > With the old kernel everything is fine (now I'm running again the old
> > one...).
>
> You should check that the appropriate modules are built :-
>
> rpm -ivh kernel-xxxx.src.rpm
> rpmbuild -bp --target=x86_64 kernel-2.6.spec
> cd /usr/src/whitebox/kernel-2.6.9/linux-*
> make xconfig
>
> Have a browse around the config tree. If you change anything, you'll need
> to write it back to the SOURCES directory :-
>
> cp .config /usr/src/whitebox/SOURCES/kernel-2.6.9-x86_64.config
>
> Then build your kernel
>
> rpmbuild -ba --target=x86_64 /usr/src/whitebox/SPECS/kernel-2.6.9.spec
>
> When it's built, install with "rpm -ivh".
>
Thanks, now I have wireless connection (after install the new firmware
and the new wireless tools)
One follow-up quesiton:
When I did the rpmbuild -ba .... it generated all of these packages:
kernel-2.6.9-42.0.3.EL.x86_64.rpm
kernel-debuginfo-2.6.9-42.0.3.EL.x86_64.rpm
kernel-devel-2.6.9-42.0.3.EL.x86_64.rpm
kernel-largesmp-2.6.9-42.0.3.EL.x86_64.rpm
kernel-largesmp-devel-2.6.9-42.0.3.EL.x86_64.rpm
kernel-smp-2.6.9-42.0.3.EL.x86_64.rpm
kernel-smp-devel-2.6.9-42.0.3.EL.x86_64.rpm
I'm just interested in the first one. It's possible to generate only
this one to save some time?
Best Regards
> HTH
>
> Vic.
>
> _______________________________________________
> Whitebox-users mailing list
> Whitebox-users at beau.org
> http://beau.org/mailman/listinfo/whitebox-users
>
More information about the Whitebox-users
mailing list