Michael Lazin on 15 Oct 2005 03:35:13 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] recompiling the kernel, rhel 4


ok, I downloaded a source rpm of a new kernel, 2.6.9-22.EL-smp-x86_64, and built it and it compiled fine, but annoyingly, me usb keyboard did not work in that kernel.  The usb mouse worked fine.  I am back to using the old kernel but I really want to get ieee1394(firewire) working. 

Thanks for the input

On 10/14/05, Stephen Gran <steve@lobefin.net> wrote:
On Fri, Oct 14, 2005 at 05:19:12PM -0400, Michael Lazin said:
> Thanks for the quick response, but it is still not building:
>
> root@djinnandtonic 2.6.9-22.EL-smp-x86_64]# make
> CHK include/linux/version.h
> CHK include/asm-x86_64/offset.h
> /bin/sh: arch/x86_64/kernel/asm-offsets.s: No such file or directory
> UPD include/asm-x86_64/offset.h
> mv: cannot stat `include/asm-x86_64/offset.h.tmp': No such file or directory
> make: *** [include/asm-x86_64/offset.h] Error 1
> [root@djinnandtonic 2.6.9-22.EL-smp-x86_64]#

include/asm-$arch/offset.h apears to be an autogenerated file produced
by the build scritps.

The (fairly) reliable steps I usually take to build a kernel are
make mrpoper (will wipe out .config - back it up first)
make {menu,old,}config
make
etc

But the thing I have found important is to start with as clean a kernel
tree as possible, and then set up the configuration, and then build.
make is fairly fussy about time stamps, so it may just not rebuild
something when it should.  cleaning the tree and starting again may
just fix it.
--
--------------------------------------------------------------------------
|  Stephen Gran                  | Old Mother Hubbard lived in a shoe, She |
|  steve@lobefin.net             | had so many children, She didn't know   |
|  http://www.lobefin.net/~steve | what to do. So she moved to Atlanta.    |
--------------------------------------------------------------------------


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDUCQoSYIMHOpZA44RAoUSAJ0UYx6+6JSwQRROMYglwN0KujxrIgCdH+36
ZLD5wxtoOkc5RgSPVRZBoqA=
=BPP4
-----END PGP SIGNATURE-----


___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug



___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug