Professional Web Applications Themes

Can I use the .config from 2.4.22 in 2.6.0-Test9 ??? - Linux Setup, Configuration & Administration

Hi folks, I've compiled the 2.6.0-test9 kernel, but I think I'm missing some stuff as I have no network support when I boot. Everything else works great though. Any problems with me copying the .config file from my 2.4.22 source directory to the 2.6.0-test9 source directory? I know these are different kernels, but though I've used Linux for like 6-7 years, this is my first attempt to compile a totally new kernel. Thanks for any feedback... Alex....

  1. #1

    Default Can I use the .config from 2.4.22 in 2.6.0-Test9 ???

    Hi folks,

    I've compiled the 2.6.0-test9 kernel, but I think I'm missing some
    stuff as I have no network support when I boot. Everything else works
    great though. Any problems with me copying the .config file from my
    2.4.22 source directory to the 2.6.0-test9 source directory? I know
    these are different kernels, but though I've used Linux for like 6-7
    years, this is my first attempt to compile a totally new kernel.

    Thanks for any feedback...

    Alex.
    Alex Guest

  2. #2

    Default Re: Can I use the .config from 2.4.22 in 2.6.0-Test9 ???

    Alex wrote: 

    s/Any/Many/

    --Frank Elsner
    Frank Guest

  3. #3

    Default Re: Can I use the .config from 2.4.22 in 2.6.0-Test9 ???

    In comp.os.linux.setup Alex <com> wrote: 

    Then add it in. And load some driver modules. You have read the
    Changes file, yes?

    Do not move until you have.
     

    None. It won't work, of course.
     

    Then do it properly. Read the instructions.

    Peter
    P.T. Guest

  4. #4

    Default Re: Can I use the .config from 2.4.22 in 2.6.0-Test9 ???

    Alex wrote: 

    Hi

    Yes you can, the only thing is that the new options in the kernel wont
    be selected.
    copy .config file as you suggest and run 'menu config' or whatever
    and go through the new options.
    It's alot easier than starting from scratch.

    vince

    Vincent Guest

  5. #5

    Default Re: Can I use the .config from 2.4.22 in 2.6.0-Test9 ???

    > Yes you can, the only thing is that the new options in the kernel wont 

    or copy the old .config into the /usr/src/linux.. dir, then "make
    oldconfig", which will create a new config based on the defaults of the
    old one, prompting you for changes and additions where needed.

    --
    -alex49201
    alex49201 Guest

  6. #6

    Default Re: Can I use the .config from 2.4.22 in 2.6.0-Test9 ???

    alex49201 <homelinux.com> wrote: 

    Make sure you check out "Known gotchas" listed here:

    <http://www.codemonkey.org.uk/post-halloween-2.5.txt>

    Before doing that:

    " A lot of people have discovered that taking their .config from 2.4 and
    running make oldconfig to pick up new options leads to problems, notably
    with CONFIG_VT not being set."

    - Kurt
    Kurt Guest

  7. #7

    Default Re: Can I use the .config from 2.4.22 in 2.6.0-Test9 ???

    Kurt <net> wrote in message news:<0%Lub.10288$news.atl.earthlink.net>... 
    >
    > Make sure you check out "Known gotchas" listed here:
    >
    > <http://www.codemonkey.org.uk/post-halloween-2.5.txt>
    >
    > Before doing that:
    >
    > " A lot of people have discovered that taking their .config from 2.4 and
    > running make oldconfig to pick up new options leads to problems, notably
    > with CONFIG_VT not being set."
    >
    > - Kurt[/ref]

    I've tried both... using my 2.4 .config and creating one from
    scratch from 2.6... different results.

    When I create a new .config with 2.6 (no 2.4 .config)... Sound (via
    ALSA) works.. but no PCMCIA support. It does start cardmgr, but no
    PCMCIA cards are initialized. But when I copy .config from 2.4 to 2.6
    and make changes (add Yenta and some other items), PCMCIA works now,
    but no sound or modem. I get an error with serial _cs and alsa
    starting. If I could get all three of these working, I'd be set as
    2.6 seems to be MUCH faster then 2.4.

    So I guess I'll need to compare the .config files of both setups and
    see what's different, or what I need to merge to get all this working.

    Thanks for the suggestions... I can't believe I've waited this long to
    start messing with the kernel. I guess it's like the Windows
    registry... Scary at first, but once you get into it, not so bad :)

    Alex.
    Alex Guest

  8. #8

    Default Re: Can I use the .config from 2.4.22 in 2.6.0-Test9 ???


    "alex49201" <homelinux.com> wrote in message
    news:KJEub.555$news.prodigy.com... 
    >
    > or copy the old .config into the /usr/src/linux.. dir, then "make
    > oldconfig", which will create a new config based on the defaults of the
    > old one, prompting you for changes and additions where needed.[/ref]

    This is more easily achieved without having to answer lots of questions by
    doing
    "make menuconfig; make oldconfig" to get a stripped down, more easily pd
    and compared .config. Unfortunately, there are *LOTS* of changes between 2.4
    and 2.6, including the integration of many ACPI features, an entirely new
    module handling tool called module-init-tools, the need for a new mkinitrd,
    new names for modules, etc., etc. It's really worth going through all your
    stuff by hand.


    Nico Guest

  9. #9

    Default Re: Can I use the .config from 2.4.22 in 2.6.0-Test9 ???

    Nico Kadel-Garcia wrote:
     

    What exactly does this do?
    If you choose an option in "make menuconfig"
    can "make oldconfig" over-rule it.

    --
    Timothy Murphy
    e-mail (<80k only): tim /at/ birdsnest.maths.tcd.ie
    tel: +353-86-2336090, +353-1-2842366
    s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland
    Timothy Guest

  10. #10

    Default Re: Can I use the .config from 2.4.22 in 2.6.0-Test9 ???


    "Timothy Murphy" <maths.tcd.ie> wrote in message
    news:EIwvb.1573$indigo.ie... [/ref]
    by 
    >
    > What exactly does this do?
    > If you choose an option in "make menuconfig"
    > can "make oldconfig" over-rule it.[/ref]

    "make oldconfig" is only interactive with settings that weren't actually
    listed in the prevous .config. It's not *supposed* to be interactive for
    setting new options.

    "make menuconfig" automatically answers all the questions that "make
    oldconfig" asks with default answers, and creates a somewhat more verbose
    ..config file. "make oldconfig" then strips it down to a much more easily
    compared or machine pd version of the ".config" file, without wasting
    your time with a set of questions about new features.

    If you want to actually change .config settings, use "make menuconfig" or
    "make config" or "make xconfig"


    Nico Guest

  11. #11

    Default Re: Can I use the .config from 2.4.22 in 2.6.0-Test9 ???

    Nico Kadel-Garcia wrote:
     [/ref]
    > by 
    >>
    >> What exactly does this do?
    >> If you choose an option in "make menuconfig"
    >> can "make oldconfig" over-rule it.[/ref]
    >
    > "make oldconfig" is only interactive with settings that weren't actually
    > listed in the prevous .config. It's not *supposed* to be interactive for
    > setting new options.[/ref]

    That wasn't my question?
     

    Personally, I always save old .config files,
    and load the nearest one to the kernel I am trying to compile.

    There were a number of postings on the fedora-list mailing list
    from people who claimed compilation of 2.6.0-pre9 failed
    unless they said "make oldconfig" _before_ "make xconfig" or whatever.

    I did this, and had no problem compiling the kernel,
    after loading a config file for 2.6.0-pre5 (created under RedHat-9).
    But I couldn't see how "make oldconfig" could actually have any effect
    in this sequence,
    unless there is some kind of error in the Makefile and/or its parts.



    --
    Timothy Murphy
    e-mail (<80k only): tim /at/ birdsnest.maths.tcd.ie
    tel: +353-86-2336090, +353-1-2842366
    s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland
    Timothy Guest

  12. #12

    Default Re: Can I use the .config from 2.4.22 in 2.6.0-Test9 ???


    "Timothy Murphy" <maths.tcd.ie> wrote in message
    news:sjawb.1793$indigo.ie... [/ref][/ref]
    questions 
    > >
    > > "make oldconfig" is only interactive with settings that weren't actually
    > > listed in the prevous .config. It's not *supposed* to be interactive for
    > > setting new options.[/ref]
    >
    > That wasn't my question?
    > [/ref]
    verbose [/ref]
    wasting [/ref]
    or 
    >
    > Personally, I always save old .config files,
    > and load the nearest one to the kernel I am trying to compile.
    >
    > There were a number of postings on the fedora-list mailing list
    > from people who claimed compilation of 2.6.0-pre9 failed
    > unless they said "make oldconfig" _before_ "make xconfig" or whatever.
    >
    > I did this, and had no problem compiling the kernel,
    > after loading a config file for 2.6.0-pre5 (created under RedHat-9).
    > But I couldn't see how "make oldconfig" could actually have any effect
    > in this sequence,
    > unless there is some kind of error in the Makefile and/or its parts.[/ref]

    Well, the various "make *config" options all basically do the same thing if
    you let it select all the defaults. Now, it's possible that those users
    actually interacted more with the "make oldconfig" than they realized,
    re-setting the newly added default values to more sensible or usable ones
    for them. I'd be *really* curious to see what the actual differences in the
    ..config files was. When doing something as long and tricky as configuring a
    kernel, it's easy to make an error and attribute it to the wrong source,
    especially when it's not the kind of error you are hungint.


    Nico Guest

  13. #13

    Default Re: Can I use the .config from 2.4.22 in 2.6.0-Test9 ???

    In article <google.com>, Alex wrote: 

    I think you need to install the module-init-tools package. It appears
    that the old insmod, rmmod, etc... will not work with 2.6. If you check
    out http://thomer.com/linux/migrate-to-2.6.html, it mentions this. THat
    being said... I installed the modules-init-tools package and aleviated
    my (initial) module loading problems... HOWEVER... I still don't have my tulip
    network cards working...

    When I try to insmod tulip, I get something like "tulip not found".
    However under /lib/modules/2.6.0-test10/kernel/.../net/tulip/, I do have
    the tulip.o file. ('uname -r' indicates that i am running the
    2.6.0-test10 kernel).

    I'd really like to get it working b/c it appears at least that the 2.6
    kernel runs *much* faster that the 2.4.18 kernel I am currently running.

    Watch out for the problems that I am listing here and certainly, post
    to NG if you run into them as well and/or are able to work around them

    -jd
    John Guest

Similar Threads

  1. Replies: 3
    Last Post: June 1st, 02:49 AM
  2. Replies: 6
    Last Post: October 31st, 02:34 PM
  3. Replies: 9
    Last Post: October 1st, 10:24 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139