LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   2.6.0 Kernel (https://www.linuxquestions.org/questions/debian-26/2-6-0-kernel-126856/)

Sylhouette 12-18-2003 02:45 AM

2.6.0 Kernel
 
Debian has that lovely build kernel process so that even i can build a kernel .

Can i use the debian way on the 2.6 kernel (Woody) or do i need some special files ?

Thanks for your time

sudhashen 12-18-2003 08:11 AM

try http://kerneltrap.org/node/view/799 as a guide

dorakyura 12-19-2003 05:36 PM

ppp problem, alsa too ;)
 
Today I compiled the 2.6.0 stable kernel for my desktop computer. The good news: Everything boots up fine. The bad news: I don't have sound (which I didn't expect anyway) and what is ultimately worse: I can't get ppp to work :(

When the system boots up I can clearly see that it recognizes my ethernet card (rtl8139) but I can't get an internet connection via "pon".
"ifconfig" results in:

eth0 Link encap:Ethernet HWaddr 00:E0:7D:E9:43:E5
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:671 errors:0 dropped:0 overruns:0 frame:0
TX packets:766 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:307957 (300.7 KiB) TX bytes:97333 (95.0 KiB)
Interrupt:4 Base address:0xef00

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:28 errors:0 dropped:0 overruns:0 frame:0
TX packets:28 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1944 (1.8 KiB) TX bytes:1944 (1.8 KiB)

In order to be sure I compiled the kernel again, virtually without modules. The result was the same.
Any hint where my problem could be? This is my first time playing around with a 2.6 kernel.

thanks for reading!
TCRK

colnago 12-19-2003 08:34 PM

Check out theat the software volume of your sound is not turned all the way down. I think this is the default.

ganninu 12-21-2003 08:46 AM

apt-get install kernel-image-2.6.0.XXXX installs the kernel just fine, buttttt the previous modules are not recognised. Modules such as sis900 network card and i810_audio are not recognised and modprobe does not show any modules!!!!!!! Am i getting the image from the wrong mirror or?

HappyTux 12-21-2003 02:50 PM

Quote:

Originally posted by ganninu
apt-get install kernel-image-2.6.0.XXXX installs the kernel just fine, buttttt the previous modules are not recognised. Modules such as sis900 network card and i810_audio are not recognised and modprobe does not show any modules!!!!!!! Am i getting the image from the wrong mirror or?
Did you apt-get install module-init-tools they are needed for the new kernel to function properly and you may want to add this to your etc/fstab if you have not already done so.
Code:

## Needed for kernel 2.6
none            /sys            sysfs  defaults                0      0


toovato 12-21-2003 06:18 PM

I am having the same problem

compile test9 and my network cards wont load, but stuff I built into the kernel will

I compile with --apend to version -686

I screwed it doing this I believe

how do I fix?

Dec 21 18:33:53 noc kernel: klogd 1.4.1#13, log source = /proc/kmsg started.
Dec 21 18:33:53 noc kernel: Inspecting /boot/System.map-2.6.0-test9-686
Dec 21 18:33:54 noc kernel: Loaded 29373 symbols from /boot/System.map-2.6.0-test9-686.
Dec 21 18:33:54 noc kernel: Symbols match kernel version 2.6.0.
Dec 21 18:33:54 noc kernel: No module symbols loaded - kernel modules not enabled.
Dec 21 18:33:54 noc kernel: >683788499a7c05f6
Dec 21 18:33:54 noc kernel: pass
Dec 21 18:33:54 noc kernel:

ganninu 12-25-2003 08:28 AM

Quote:

Originally posted by HappyTux
Did you apt-get install module-init-tools they are needed for the new kernel to function properly and you may want to add this to your etc/fstab if you have not already done so.
Code:

## Needed for kernel 2.6
none            /sys            sysfs  defaults                0      0


I've installed the module-init-tools and added that entry to the /etc/fstab. The good news is that I booted again in the kernel, and got access to the vfat partitions. The bad news is that I still cannot get the hang with the kernel modules. I've installed the modules-init-tools package but I have no idea how can I use it. modconf leads me again to my initial problem - i.e. shows me up no kernels.

Do I have to compile the kernel myself to get it to work?

Ganninu.

HappyTux 12-25-2003 03:55 PM

Quote:

Originally posted by ganninu
I've installed the module-init-tools and added that entry to the /etc/fstab. The good news is that I booted again in the kernel, and got access to the vfat partitions. The bad news is that I still cannot get the hang with the kernel modules. I've installed the modules-init-tools package but I have no idea how can I use it. modconf leads me again to my initial problem - i.e. shows me up no kernels.

Do I have to compile the kernel myself to get it to work?

Ganninu.

Your right it does not work I just tried it here, I always use modprobe module_name if it loads properly then I edit the /etc/modules and add the module there for it to be loaded on boot. I just checked my configs and it looks like the module names may have been changed because the sis900 is not there in the 2.6 whereas it is in 2.4.23 it looks like you may have to figure out which module it uses now. For your audio have you installed the alsa-base,alsa-utils and alsaconf to setup the alsa that is most likely being used now as the oss is depreciated?

Code:

HappyTux:/home/stephen# grep SIS /boot/config-2.6.0.031218-2
# CONFIG_BLK_DEV_SIS5513 is not set
# CONFIG_SIS190 is not set
# CONFIG_I2C_SIS5595 is not set
# CONFIG_I2C_SIS630 is not set
# CONFIG_I2C_SIS96X is not set
# CONFIG_AGP_SIS is not set
# CONFIG_FB_SIS is not set
HappyTux:/home/stephen# grep I810 /boot/config-2.6.0.031218-2
# CONFIG_I2C_I810 is not set
HappyTux:/home/stephen# grep AUDIO /boot/config-2.6.0.031218-2
# CONFIG_SND_USB_AUDIO is not set
# CONFIG_USB_AUDIO is not set
HappyTux:/home/stephen# grep SIS /boot/config-2.4.23.031202
# CONFIG_BLK_DEV_SIS5513 is not set
# CONFIG_SIS900 is not set
# CONFIG_AGP_SIS is not set
# CONFIG_DRM_SIS is not set
# CONFIG_FB_SIS is not set
HappyTux:/home/stephen# grep I810 /boot/config-2.4.23.031202
# CONFIG_AGP_I810 is not set
# CONFIG_DRM_I810 is not set
# CONFIG_DRM_I810_XFREE_41 is not set
HappyTux:/home/stephen# grep AUDIO /boot/config-2.4.23.031202
CONFIG_USB_AUDIO=m


ganninu 12-25-2003 04:26 PM

Basically I have looked at my kernel 2.6 config file and SIS900 is shown but is "not set" how would i set it? (I've never tweaked a kernel in my entire life except by using the modconf). Also, as stated above, I use the i810 audio module, and this is shown but not set as well:
root@tiger:/home/ganni# grep SIS /boot/config-2.6.0-test9
# CONFIG_BLK_DEV_SIS5513 is not set
# CONFIG_SIS900 is not set
# CONFIG_SIS190 is not set
# CONFIG_I2C_SIS5595 is not set
# CONFIG_I2C_SIS630 is not set
# CONFIG_I2C_SIS96X is not set
# CONFIG_FB_SIS is not set

root@tiger:/home/ganni# grep SIS /boot/config-2.4.22-1-686
CONFIG_BLK_DEV_SIS5513=m
CONFIG_SIS900=m
CONFIG_TMSISA=m
CONFIG_AGP_SIS=y
CONFIG_DRM_SIS=m
CONFIG_FB_SIS=m
CONFIG_FB_SIS_300=y
CONFIG_FB_SIS_315=y

root@tiger:/home/ganni# grep 810 /boot/config-2.6.0-test9
# CONFIG_I2C_I810 is not set

root@tiger:/home/ganni# grep 810 /boot/config-2.4.22-1-686
CONFIG_I810_TCO=m
CONFIG_AGP_I810=y
CONFIG_DRM_I810=m
# CONFIG_DRM_I810_XFREE_41 is not set


Can you give me some guidelines how to proceed?

thanks a lot for your attention,
ganninu.

tokkee 12-25-2003 07:21 PM

have a look at the kernel howto (http://www.linuxdocs.org/HOWTOs/Kernel-HOWTO.html)... this is a little bit outdated already (some things have changed for version 2.6), so don't forget to check out the readme that comes along with the kernel source

ganninu 12-26-2003 04:41 AM

Ok I got the idea of how to load modules. The problem is this - In the kernel 2.6's lib module directory, (1) modules seem to have the extension .ko and (2) I cannot find the modules I need :(

tokkee 12-26-2003 02:32 PM

[QUOTE]Originally posted by ganninu
Ok I got the idea of how to load modules. The problem is this - In the kernel 2.6's lib module directory, (1) modules seem to have the extension .ko[/QUOTE]

this is okay. since version 2.6 (2.5??) modules do have the extension .ko.

Quote:

Originally posted by ganninu
and (2) I cannot find the modules I need :(
what do you mean? do you know the name of a module, but it's not in /lib/modules/? => reconfigure the kernel and include any wanted modules and do a recompile

or: if you don't know the name of a module you need, start make [|menu|x|g]config and look for the help text for the features you want. it should (in most cases) include the name of the related module.

dorakyura 12-26-2003 04:13 PM

Hi tokkee!

Maybe you can help me on this one:

Kernel 2.6.0 is running fine so far except alsa:
After boot up there is no sound.

cat /proc/asound/cards says:
0 [AudioPCI ]: ENS1371 - Ensoniq AudioPCI
Ensoniq AudioPCI ENS1371 at 0xdc00, irq 9

/etc/modprobe.conf looks like this:

include /lib/modules/modprobe.conf

# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 1.0.0rc1 ---
alias snd-card-0 snd-ens1371
alias sound-slot-0 snd-ens1371
# --- END: Generated by ALSACONF, do not edit. ---

loaded modules are:

...
snd_ens1371 18432 0
snd_rawmidi 18528 1 snd_ens1371
snd_seq_device 6660 1 snd_rawmidi
snd_ac97_codec 52740 1 snd_ens1371
snd_pcm_oss 47108 0
snd_mixer_oss 14944 1 snd_pcm_oss
snd_pcm 78880 2 snd_ens1371,snd_pcm_oss
snd_page_alloc 9444 1 snd_pcm
snd_timer 19584 1 snd_pcm
snd 44868 8 ...

The mixer settings are turned up as well.
Yet after running alsaconf again everything works fine. To test if there is sound I simply run xmms which uses oss emulation maybe thats the problem?

thanks in advance!
TCRK

llamakc 12-26-2003 07:52 PM

Please post the sound question as a separate thread. I compiled alsa INTO the kernel instead of as a module with 2.6.0 and all is working very well. Listening to some Miles Davis right now.


All times are GMT -5. The time now is 12:13 AM.