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/ ...
- 06-26-2007 #1
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.
- 06-26-2007 #2
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.
- 06-27-2007 #3
You know i was thinking about that there is too much differences betwean the kernels.
How can i get the .config from linux current?
- 06-27-2007 #4
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.
- 06-28-2007 #5
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:
RED - those still load around 1 minuteCode:/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
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?
- 06-28-2007 #6
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.
- 06-29-2007 #7
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 sameLast edited by TrashOverride; 06-29-2007 at 07:55 PM. Reason: i'm stupid
- 06-29-2007 #8
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.
- 06-29-2007 #9
nope, except that Sendmail which is very anoing everything is perfect, but i don understand why it takes so long time to load

man i realy must have f*cked up the kernel, because the files are there!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
- 06-29-2007 #10
do these command in /etc/rc.d
Linux is not only an operating system, it's a philosophy.
Archost.


Reply With Quote

