Re: [WBEL-users] Upgrading to 2.6.9-42.0.3
"Vic" <[email protected]> Tue, 14 Nov 2006 00:08:22 -0000 (GMT)
| Newsgroups | gmane.linux.whitebox.user |
|---|---|
| Message-ID | <[email protected]> |
> 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". HTH Vic.