INTRO

This is a little guide how to configure fedora core 1 with kernel 2.6. I need your feedback to make the guide better, so don't be affraid to give me tips or tell me if I make mistakes. Everything that has to do with kernel 2.6 is welcome. examples: NVIDIA, ATI, nforce etc with kernel 2.6.

INSTALLATION

Install Fedora Core 1

Easiest and cheapest way to get it, is to download it at:

Burn the 3 cd's (you won't need the source cd's) and install them.

Install kernel 2.6.*

You can download the kernel from the fedora development branch:

You can download the kernel source from the fedora development branch:

Install with:

rpm -ivh kernel-2.6.*.rpm
rpm 
-ivh kernel-source-2.6.*.rpm
rpm 
-ivh kernel-doc-2.6.*.rpm

IMPORTANT: APIC and PREEMPTIVE are disabled in this rpm

Use -ivh instead of -Uhv so you can always switch back to the standard fedora kernel.

Now you have installed the kernel, you have to remove /etc/sysconfig/hwconf so kudzu will configure modprobe.conf next boot.

Kernel 2.4 uses /etc/modules.conf and kernel 2.6 /etc/modprobe.conf

kernel 2.6 doesn't need ide-scsi anymore so you have to remove it in grub: edit /boot/grub/menu.lst and change

kernel /boot/vmlinuz-2.6ro root=LABEL=/ hdc=ide-scsi rhgb
in
kernel 
/boot/vmlinuz-2.6ro root=LABEL=/ rhgb

create /sys

mkdir /sys

add to fstab:

none                    /sys                    sysfs   defaults  0 0

Please modify /dev/psaux in /etc/X11/XF86Config file.

inSection "InputDevice"
Option "Device" "/dev/input/mice"

and in /etc/sysconfig/gpm

DEVICE "/dev/input/mice"

Now you reboot.

After reboot remove all lines that have to do with your soundcard in /etc/modprobe.conf

See what config is used to build the kernel

cd /usr/src/linux-2.6*
make gconfig    #if you use gnome
make xconfig    #if you use kde
make menuconfig #if you use none of the above

then load the config file from config/ and you can see the config of the installed kernel

USB

if you have usb1 and usb2.0:

add in /etc/modprobe.conf:

alias usb-controller ehci-hcd
alias usb
-controller1 uhci_hcd

if you have only usb 1:

add in /etc/modprobe.conf:

alias usb-controller uhci_hcd

if you have usb keyboard and usb mouse you have to add also:

alias keybdev usbkbd
alias mousedev usbmouse

Alsa

Download alsa-lib and alsa-utils at:

Install with:

rpm -Uvh alsa-libs-*.rpm
rpm 
-Uvh alsa-libs-devel-*.rpm
rpm 
-Uvh alsa-utils-*.rpm

Now edit /etc/modprobe.conf and add your soundcards configuration.

# ALSA portion
alias char-major-116snd
alias snd
-card-0 snd-via82xx

# OSS/Free portion
alias char-major-14soundcore
alias sound
-slot-0 snd-card-0

# card #1
alias sound-service-0-0 snd-mixer-oss
alias sound
-service-0-1 snd-seq-oss
alias sound
-service-0-3 snd-pcm-oss
alias sound
-service-0-8 snd-seq-oss
alias sound
-service-0-12 snd-pcm-oss

install snd
-card-/sbin/modprobe --ignore-install snd-card-&& { /usr/sbin/alsactl restore >/dev/null 2>&|| :; }
remove snd-card-{ /usr/sbin/alsactl store >/dev/null 2>&|| :; }; /sbin/modprobe ---ignore-remove

install sound
-slot-/sbin/modprobe --ignore-install sound-slot-&& { /bin/aumix-minimal -/etc/.aumixrc ->/dev/null 2>&|| :; }
remove sound-slot-{ /bin/aumix-minimal -/etc/.aumixrc ->>/dev/null 2>&|| :; }; /sbin/modprobe ---ignore-remove

snd-via82xx must be replaced with the correct driver for your soundcard

You can find your soundcards configuration at:

Bttv

if you have a bttv like me and you won't it to work under kernel 2.6 you have to chance in /etc/modprobe.conf

alias char-major-81 bttv
in
alias char
-major-81bttv

Info Sources

<de_lupus @pandora.be> Kristof Vansant

PHP Warnings

lib/WikiUser.php:59: Notice[8]: Only variables should be assigned by reference

lib/Template.php:112: Notice[8]: Only variables should be assigned by reference

lib/Template.php:114: Notice[8]: Only variables should be assigned by reference

lib/Template.php (In template 'html'):112: Notice[8]: Only variables should be assigned by reference

lib/Template.php (In template 'html'):114: Notice[8]: Only variables should be assigned by reference

lib/Template.php (In template 'html'):112: Notice[8]: Only variables should be assigned by reference

lib/Template.php (In template 'html'):114: Notice[8]: Only variables should be assigned by reference

lib/Template.php (In template 'body') (In template 'html'):112: Notice[8]: Only variables should be assigned by reference

lib/Template.php (In template 'body') (In template 'html'):114: Notice[8]: Only variables should be assigned by reference

lib/Template.php (In template 'top') (In template 'body') (In template 'html'):112: Notice[8]: Only variables should be assigned by reference

lib/Template.php (In template 'top') (In template 'body') (In template 'html'):114: Notice[8]: Only variables should be assigned by reference

lib/Template.php (In template 'body') (In template 'html'):112: Notice[8]: Only variables should be assigned by reference

lib/Template.php (In template 'body') (In template 'html'):114: Notice[8]: Only variables should be assigned by reference

lib/CachedMarkup.php (In template 'browse') (In template 'body') (In template 'html'):427: Notice[8]: Only variables should be assigned by reference