Kernel Compiling

From: Robby Tanner (Robby.Tanner_at_lightsource.ca)
Date: 06/29/05

  • Next message: Richard Kelsch: "Some thoughts for the future"
    Date: Wed, 29 Jun 2005 15:16:46 -0600
    To: <fedora-list@redhat.com>
    
    

    I've just started to get my feet wet by downloading kernel sources and
    compiling my first kernel.

    I'm using FC3-i386 and downloaded the latest SRPMS.

    A few questions:

    1) When I did a mkinitrd against the existing /lib/modules/2.6.9-1.667,
    the resulting initrd image was a different size then the one already in
    place from the initial FC3 install. Is that because the SRPMS have been
    updated since I downloaded the ISO (which was quite some time ago)?

    2) My first step is always to try reproducing what already exists (i.e.
    byte for byte identical bzImage and initrd, for example). I just feel
    better that way, starting from a known point. I noticed some references
    to a .config file that can be used, however, I couldn't find it. Is
    there a link explaining how to go about using this information?

    3) After installing the source RPM, it doesn't show up under rpm -qa, I
    assume that's normal. Then, I untarred the linux-2.6.9 archive using (I
    think) tar xvj, is that right?

    4) There was a load of .patch files in the SOURCES dir, some from pre
    2.6.9 kernels. Do I need to apply those in order before compiling?

    5) What, if anything do I do with patch-2.6.9-final.bz2 and
    patch-2.6.9-final-bk2.bz2?

    6) I got a kernel and initrd generated and got it to boot, however I
    received a pile of messages that don't appear when firing up one of the
    stock kernels. What have I done wrong? A sample is provided, there
    were plenty more, but these are fairly representative.

    audit(1119997562.606:0): avc: denied { write } for pid=2082
    exe=/sbin/minilogd dev=tmpfs ino=977 scontext=user_u:system_r:syslogd_t
    tcontext=user_u:object_r:tmpfs_t tclass=dir
    audit(1119997562.606:0): avc: denied { read write } for pid=2083
    exe=/sbin/minilogd dev=tmpfs ino=978 scontext=user_u:system_r:syslogd_t
    tcontext=user_u:object_r:tmpfs_t tclass=chr_file

    Sorry for all the questions and much appreciation for direction to links
    where I can do a little reading or the appropriate Fedora list.

    Regards,
    Rob

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Richard Kelsch: "Some thoughts for the future"

    Relevant Pages

    • RTL-8139 Network card slow down on 2.6.8.1-mm
      ... it seems the last mm patches for 2.6.8.1 have caused my network card ... When downloading big files the card will ... I can't see this effect on the vanilla 2.6.8.1 kernel, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Random System Crashes
      ... and I've just downloaded and installed the Fedora ... Installation and configuration went smoothly, ... >I had a problem with the 2.4.22-1.2140.nptl kernel with my Athlon XP and ... >happened when I was browsing or downloading from the network. ...
      (Fedora)
    • Re: Random System Crashes {Scanned}
      ... and I've just downloaded and installed the Fedora ... Installation and configuration went smoothly, ... > I have the latest Linux kernel, ... happened when I was browsing or downloading from the network. ...
      (Fedora)
    • Re: install driver for 3com homeconnect webcam
      ... know where I should copy this file to so the webcam will work. ... Such a patch is usually applied to a kernel source and then you ... I tried downloading and installing gcam but I can't get it to work. ... also managed to install skype but when I try to look at the webcam preview ...
      (uk.comp.os.linux)
    • [ANNOUNCE] ketchup 0.7
      ... ketchup is a script that automatically patches between kernel ... versions, downloading and caching patches as needed, and automatically ... determining the latest versions of several trees. ... Good signature from "Linux Kernel Archives Verification Key ...
      (Linux-Kernel)