Pejman Moghadam / Slackware

Slackware 12.2 - Upgrade to kernel 2.6.31.6

Public domain


Download

cd /usr/src
wget -c http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.31.6.tar.bz2
tar jxf linux-2.6.31.6.tar.bz2
ln -sfn linux-2.6.31.6 linux
cd linux
cp /boot/config .config

make menuconfig

Load an Alternate Configuration File
  .config
    Ok
Processor type and features  --->
  Processor family  --->
    486

Compile & Install

make all && make modules_install
/bin/cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.31.6
/bin/cp System.map /boot/System.map-2.6.31.6
/bin/cp .config /boot/config-2.6.31.6

/etc/lilo.conf

default = S122-2.6.31.6

image = /boot/vmlinuz-2.6.31.6
  root = /dev/sda7
  label = S122-2.6.31.6
  read-only

Boot Loader

lilo
reboot

minimize

lspci
scanpci
lsusb
lsmod
lsdev
lshal
lsscsi
modinfo -d tulip
dmidecode
dmesg
ls -lh /sys/class/net/

BY: Pejman Moghadam
TAG: kernel
DATE: 2009-12-03 11:10:08


Pejman Moghadam / Slackware [ TXT ]