[WBEL-users] Upgrading to 2.6.9-42.0.3

Vic whitebox at beer.org.uk
Mon Nov 13 18:08:22 CST 2006


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



More information about the Whitebox-users mailing list