Please report all spam threads, posts and suspicious members. We receive spam notifications and will take immediate action!
Page 1 of 3 123 LastLast
Results 1 to 10 of 24

Thread: Two items to update




  1. #1
    Join Date
    Nov 2001
    Posts
    381

    Default

    Hay, Im back at it. This time I want to upgrade my kernel (currently i run 2.4.5). Also I want to upgrade my glibc. I'm wanting to know which order i should do this in. Kernel or glibc first. Also, I need a little help installing a new kernel. I've already checked the Kernel HOW-TO. They seem make it out to be more complicated than it is (i know because i've read some forums) Any help would be appreciated. Boy, I'm glad I went with Slackware. I've learned so much more with this distro in the same ammount of time than I had with mandrake.

    Later.

  2. #2
    Join Date
    Nov 2001
    Posts
    381

    Default

    Acutally I re-read the kernel HOW-TO, and it actually seems straight forward this time, heh. But still, what order? Kernel or glibc?

  3. #3
    Join Date
    Nov 2001
    Posts
    381

    Default

    29 views and only I reply?

  4. #4
    Join Date
    Nov 2001
    Location
    Brisvegas
    Posts
    832

    Default

    1) su to root and cd to /usr/src, make sure that linux/ is a symlink to linux-version/ (do "ls -al linux")
    [code:1:4bd6e490d1]
    bash-2.05$ ls -al linux
    lrwxrwxrwx 1 root root 13 Apr 6 14:26 linux -> linux-2.4.18//
    bash-2.05$
    [/code:1:4bd6e490d1]
    2) Download the latest kernel from your nearest mirror (2.4.18 at the time of typing) to your home directory.
    3) Extract the kernel to /usr/src/linux-2.4.18
    4) Create a symlink pointing to linux-2.4.18/ (do "rm linux && ln -s linux-2.4.18/ linux")
    5) Copy the config from your previous working kernel (for a stock slack kernel do "cp linux-2.4.5/.config linux/.config")
    6) Edit your /etc/lilo.config - this is because with slack you can do a make install on the kernel and we need to have lilo.conf prepared first. Add the following under the existing kernel entry,
    [code:1:4bd6e490d1]
    #old linux
    image = /vmlinuz.old
    root = /dev/hd?? #replace /dev/hd??
    label = slack.old
    read-only
    [/code:1:4bd6e490d1]
    7) Change to the new kernel directory ("cd linux")
    8) "make mrproper". Only do this if you want to recompile an existing kernel.
    9) "make menuconfig". This will load your old .config, make any changes and save.
    10) "make dep". Checks dependencies.
    11) "make clean". Removes old o files.
    12) "make bzImage". Build it
    13) "make install". This is only for slack, make sure you completed step 6 first.
    14) "make modules".
    15) "make modules_install"
    16) Reboot and test.
    17) Recompile and install any third party kernel modules you need, nvidia drivers, lm_sensors etc.
    18)Enjoy :)

  5. #5
    Join Date
    Nov 2001
    Posts
    381

    Default

    I understand it all except for step # 8. What is meant by "Only do this if you want to recompile an existing kernel"

    I mean I have an existing kernel (2.4.5) Which is stock, but it works great for me. I would like to upgrade to kernel 2.4.18.

    I would like to not exclude anything from the new kernel that I needed. Would step 8 only affect my older kernel, such as I wanted to keep the existing kernel, but add some elements?

  6. #6
    Join Date
    Nov 2001
    Posts
    448

    Default

    In step 8 Bern is referring to recompiling your existing kernel with a different config or if you have problems. Since you are updating your kernel you do not need this step.

  7. #7
    Join Date
    Nov 2001
    Posts
    381

    Default

    Thanks. That is what I wanted to know. I'm going to do this tonight. Wish me luck.

    Later

  8. #8
    Join Date
    Nov 2001
    Location
    Brisvegas
    Posts
    832

    Default

    Dont forget do do step six!

  9. #9
    Join Date
    Nov 2001
    Posts
    381

    Default

    Ok, I did every step just like you said Bern. I can still boot the old kernel and have all my functionality. But, I can now also boot the new kernel. I'm missing a couple of things. When I boot, I see that modprobe is trying to find modules for tulip (the module my ethernet card needs) as well as ppp and a few others.

    Should I have done something in menuconfig? When I ran it, it stated it used the defaults from my linux/.config. Which were copied over from my old kernel.

    I've tried modprobe myself and it doesn't find tulip or the others. Also I tried insmod tulip.o and It didn't know where to load that module from.

    What do you think I should do?

  10. #10
    Join Date
    Nov 2001
    Location
    Brisvegas
    Posts
    832

    Default

    When you were going through the menuconfig did you press M for the tulip to make it a module or did you press Y?
    You can check back by opening the .config file in a text editor and scroll down to 10/100 pci section, a M next to the tulip entry means there should be a module and a Y means that support is compiled into the kernel.

Page 1 of 3 123 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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