Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13
Ok here is what i do: 1/copy .config from 2.6.17 in /extra on slack 11 dvd to 2.6.21.5 2/make menuconfig 3/make 4/make modules 5/make modules_install 6/make headers_install 7/lilo My problem:1/ ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie TrashOverride's Avatar
    Join Date
    May 2004
    Location
    @home...soon in your homes ;) /usr/src/bulgaria
    Posts
    162

    Exclamation linux kernel 2.6.21.5


    Ok here is what i do:
    1/copy .config from 2.6.17 in /extra on slack 11 dvd to 2.6.21.5
    2/make menuconfig
    3/make
    4/make modules
    5/make modules_install
    6/make headers_install
    7/lilo
    My problem:1/ During make modules_install i get 2 warninings at the end
    2/After reboot i get:
    Starting BIND: /usr/sbin/named
    named: capset failed: Operation not permitted: please ensure that the capset kernel module is loaded. see insmod(
    WARNING: named did not start. Perhaps this is because
    the "capability" module required by newer kernels is
    not loaded (or built into the kernel)?
    Attempting to load security capability module:
    /sbin/modprobe capability
    Attempting to start named again: /usr/sbin/named
    SUCCESS: named started. To avoid this warning in
    the future you can edit your /etc/rc.d/rc.modules
    to load the "capability" module.
    Updating shared library links: /sbin/ldconfig
    Updating X font indexes: /usr/X11R6/bin/fc-cache
    Starting dnsmasq: /usr/sbin/dnsmasq
    dnsmasq: failed to create listening socket: Address already in use
    cups: started scheduler.
    Starting sendmail MTA daemon: /usr/sbin/sendmail -L sm-mta -bd -q25m <-this here loads araund 1 min!!
    Starting sendmail MSP queue runner: /usr/sbin/sendmail -L sm-msp-queue -Ac -q25m <- this here also 1 min!!
    Starting ACPI daemon: /usr/sbin/acpid
    Loading ALSA mixer settings: /usr/sbin/alsactl restore
    No state is present for card CK804
    Loading OSS compatibility modules for ALSA.
    FATAL: Module snd_seq_oss not found. <- i dont know why i get this, i have sound !
    3/ Also when i type reboot when the shutsown scripts start i get "error rc.d/eth_up command not found" - this repeats 3 times
    PS: sorry if i misstyped something i using lynx to post this.

  2. #2
    Linux Engineer aliov's Avatar
    Join Date
    Dec 2006
    Location
    Geneva,Beirut
    Posts
    1,078
    this is because From 2.6.17.13 till 2.6.21.5 kernel there is a lot of changes (new modules and new dependencies ) so most probably is that the .config will not configure well the kernel,you can take another newer one from slackware current ,or simply you can use one of the kernels from slackware current.

    if you choose to use the generic one careful a initrd Ram is required. (if that is the specification of your system also you need a smp kernel )
    tell me what you decide to see.

    Regards.
    Linux is not only an operating system, it's a philosophy.
    Archost.

  3. #3
    Linux Newbie TrashOverride's Avatar
    Join Date
    May 2004
    Location
    @home...soon in your homes ;) /usr/src/bulgaria
    Posts
    162
    You know i was thinking about that there is too much differences betwean the kernels. How can i get the .config from linux current?

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Engineer aliov's Avatar
    Join Date
    Dec 2006
    Location
    Geneva,Beirut
    Posts
    1,078
    Yes you right,

    download the kernel huge for smp (i think your CPU is AMD duo )
    after that
    make a directory and copy the package in it (because the following command extract it in the current directory)
    explodepkg kernel-huge-smp.2.6.21.3.

    and you will see under the boot directory (of the extracted one) that there is a file called config-huge-smp.2.6.21.3 , you can use this file sure copy it to the kernel source code directory under a file called .config ,you can have a look on this configuration file also by make menuconfig.

    if you decide to use the generic one this kernel require a initrd.

    Regards.
    Linux is not only an operating system, it's a philosophy.
    Archost.

  6. #5
    Linux Newbie TrashOverride's Avatar
    Join Date
    May 2004
    Location
    @home...soon in your homes ;) /usr/src/bulgaria
    Posts
    162
    OK i've downloaded current-huge-smp-2.6.21.5 and used the config file. Now most of the errors are gone but i still get these errors:
    Code:
    /etc/rc.d/rc.inet1: line 1: eth_up: command not found
    /etc/rc.d/rc.inet1: line 2: eth_up: command not found
    /etc/rc.d/rc.inet1: line 256: eth_up: command not found
    Starting dnsmasq:  /usr/sbin/dnsmasq
    dnsmasq: failed to create listening socket: Address already in use
    Starting sendmail MTA daemon:  /usr/sbin/sendmail -L sm-mta -bd -q25m
    Starting sendmail MSP queue runner:  /usr/sbin/sendmail -L sm-msp-queue -Ac
    -q25m
    RED - those still load around 1 minute

    Edit: I also noticed that my rc.modules is a link to rc.modules-2.4.33.3
    and it is empty... Shouldn't it be a rc.modules for 2.6?

  7. #6
    Linux Engineer aliov's Avatar
    Join Date
    Dec 2006
    Location
    Geneva,Beirut
    Posts
    1,078
    download the kernel-modules-smp-2.6.21.5_smp-i686-2 and after install the package (you can use explodepkg nad see the copy the file etc/rc.d/rc.modules) wish is inside the explode directory, but don't forget to install the package.

    however slack is fully manual so you have to edit some of rc.module in order to enable the corresponding modules for your pc.

    don't compile the kernel first just use the kernel-smp .

    Cheers.
    Linux is not only an operating system, it's a philosophy.
    Archost.

  8. #7
    Linux Newbie TrashOverride's Avatar
    Join Date
    May 2004
    Location
    @home...soon in your homes ;) /usr/src/bulgaria
    Posts
    162
    Ok, i've downloaded the file and did explodepkg. Enabled the modules and copy the file to rc.modules. after that i did make modules and make modules_install /which i'm not shure that i had to do that/ but i still get the same errors.
    Can u please tell me step by step how to import the modules. I'm sure that i'm missing something.
    10x in advance

    EDIT: ooops stupid me, i havent made rc.modules. I'll fix that and post the results
    EDIT2: nope, still the same
    Last edited by TrashOverride; 06-29-2007 at 07:55 PM. Reason: i'm stupid

  9. #8
    Linux Engineer aliov's Avatar
    Join Date
    Dec 2006
    Location
    Geneva,Beirut
    Posts
    1,078
    onces you choose to use the kernel smp from the slackware current you don't have to make modules and make modules_install unless you want to make your own kernel .

    about the rc.inet1 disable it by
    chmod -x rc.inet1
    and enable the rc.inet2
    chmod +x rc.inet2

    sure do this as root,

    another thing, is your hardware working good, i mean do you have any problem related to the wifi or the sound or ........
    Linux is not only an operating system, it's a philosophy.
    Archost.

  10. #9
    Linux Newbie TrashOverride's Avatar
    Join Date
    May 2004
    Location
    @home...soon in your homes ;) /usr/src/bulgaria
    Posts
    162
    Quote Originally Posted by aliov View Post
    another thing, is your hardware working good, i mean do you have any problem related to the wifi or the sound or ........
    nope, except that Sendmail which is very anoing everything is perfect, but i don understand why it takes so long time to load

    Code:
    hmod -x rc.inet1
    chmod: cannot access `rc.inet1': No such file or directory
    chmod +x rc.inet2
    chmod: cannot access `rc.inet2': No such file or directory
    man i realy must have f*cked up the kernel, because the files are there!

  11. #10
    Linux Engineer aliov's Avatar
    Join Date
    Dec 2006
    Location
    Geneva,Beirut
    Posts
    1,078
    do these command in /etc/rc.d
    Linux is not only an operating system, it's a philosophy.
    Archost.

Page 1 of 2 1 2 LastLast

Posting Permissions

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