paradox508
11-19-2002, 03:55 AM
what i did to get AC97 VIA8233 drivers installed on Redhat 7.2
(with excerpts from 20 steps to a New Kernel with Grub)
step on : search on linuxnewbie.org AMAP! (as much as possible)
first part:
Go to http://www.kernel.org and download the latest stable kernel
currently 2.4.19 along with modutils and ksymoops
Change user to root
su
unpack and install modutils
tar zxvf modutils-2.4.21.tar.gz
./configure
make
make install
same for kysmoops
tar zxvf ksymoops-2.4.7.tar.gz
./configure
make
make install
Copy the downloaded kernel to your /usr/src directory:
cp linux-2.4.19.tar.gz /usr/src/
Uncompress the kernel.
tar -zxvf linux-2.4.19.tar.gz
Change to the linux-2.4.19 directory
cd linux-2.4.19
Make mrproper (This will erase any .config file) This cleans out the configuration files and any object files an older version might have.
make mrproper
copy one of the default config files to your new kernels folder (trust me this is important if your a newbie, you probably wont set all your kernel
options correctly on your own)
cp /usr/src/linux-2.4.7-10/configs/kernel-2.4.7-athlon.config .config
make oldconfig
answer the questions with y/n/m if unsure go with the default. you must select sound as a module for the
drivers to work.
when done run
make dep (makes dependancies)
make bzImage (makes kernel compressed image)
make modules (builds everything you picked to load as a module)
make modules_install (installs all those modules in the right place)
move compressed kernel image to boot partition
cp /usr/src/linux-2.4.19/arch/i386/boot/bzImage /boot/vmlinuz-2.4.19
copy System.map to boot partition
cp /usr/src/linux-2.4.19/System.map /boot/System.map-2.4.19
cd /boot
remove old system.map and vmlinuz sym links
rm System.map
rm vmlinuz
creat new sym links
ln -s System.map-2.4.19 System.map
ln -s vmlinuz-2.4.19 vmlinuz
make sure you are in the /usr/src directory
cd /usr/src
remove the linux-2.4 sym link (redhat only i think)
rm linux-2.4
then make a new one to the new kernel sources
ln -s linux-2.4.19 linux-2.4
cd /boot/grub
vi grub.conf
you should see an entry that looks like this
title Red Hat Linux (2.4.7-10)
root (hd0,1)
kernel /boot/vmlinuz-2.4.10 ro root=/dev/hda2 hdd=ide-scsi
hit the "a" key to enter insert mode
make another entry like the one above but substitute your new kernels version number for the old one
ie.
title Red Hat Linux (2.4.19)
root (hd0,1)
kernel /boot/vmlinuz-2.4.19 ro root=/dev/hda2 hdd=ide-scsi
im dual booting with win2k so yours may look a little different
you really just want to copy the old one and change the version numbers. dont worry about the rest for now
reboot
you should be able to boot into the new kernel with out a hitch
second part *the fun part*
download
the latest alsa driver: alsa-driver-0.9.0rc6.tar.bz2,
the latest alsa utils : alsa-utils-0.9.0rc6.tar.bz2
the latest alsa library : alsa-lib-0.9.0rc6.tar.bz2
from www.alsa-project.org
unpack in your home directory /home/usrname/ and install
switch to root
su
tar xvjf alsa-lib*
cd alsa-lib*
./configure
make
make install
cd ..
tar xvjf alsa-utils*
cd alsa-utils*
./configure
make
make install
cd ..
tar xvjf alsa-drivers*
./configure --with-cards=via82xx --with-sequencer=yes --with-oss=yes --with-pnpisa=no
make
make istall
cd ..
/usr/sbin/ntsysv
select alsasound to load at start up
quit
chmod 666 /dev/dsp
reboot
login normaly
startx
run xmms
set output plugin to oss
halayluya
mp3s away
thank you all
you guys rule!
paradox@digivill.net
(with excerpts from 20 steps to a New Kernel with Grub)
step on : search on linuxnewbie.org AMAP! (as much as possible)
first part:
Go to http://www.kernel.org and download the latest stable kernel
currently 2.4.19 along with modutils and ksymoops
Change user to root
su
unpack and install modutils
tar zxvf modutils-2.4.21.tar.gz
./configure
make
make install
same for kysmoops
tar zxvf ksymoops-2.4.7.tar.gz
./configure
make
make install
Copy the downloaded kernel to your /usr/src directory:
cp linux-2.4.19.tar.gz /usr/src/
Uncompress the kernel.
tar -zxvf linux-2.4.19.tar.gz
Change to the linux-2.4.19 directory
cd linux-2.4.19
Make mrproper (This will erase any .config file) This cleans out the configuration files and any object files an older version might have.
make mrproper
copy one of the default config files to your new kernels folder (trust me this is important if your a newbie, you probably wont set all your kernel
options correctly on your own)
cp /usr/src/linux-2.4.7-10/configs/kernel-2.4.7-athlon.config .config
make oldconfig
answer the questions with y/n/m if unsure go with the default. you must select sound as a module for the
drivers to work.
when done run
make dep (makes dependancies)
make bzImage (makes kernel compressed image)
make modules (builds everything you picked to load as a module)
make modules_install (installs all those modules in the right place)
move compressed kernel image to boot partition
cp /usr/src/linux-2.4.19/arch/i386/boot/bzImage /boot/vmlinuz-2.4.19
copy System.map to boot partition
cp /usr/src/linux-2.4.19/System.map /boot/System.map-2.4.19
cd /boot
remove old system.map and vmlinuz sym links
rm System.map
rm vmlinuz
creat new sym links
ln -s System.map-2.4.19 System.map
ln -s vmlinuz-2.4.19 vmlinuz
make sure you are in the /usr/src directory
cd /usr/src
remove the linux-2.4 sym link (redhat only i think)
rm linux-2.4
then make a new one to the new kernel sources
ln -s linux-2.4.19 linux-2.4
cd /boot/grub
vi grub.conf
you should see an entry that looks like this
title Red Hat Linux (2.4.7-10)
root (hd0,1)
kernel /boot/vmlinuz-2.4.10 ro root=/dev/hda2 hdd=ide-scsi
hit the "a" key to enter insert mode
make another entry like the one above but substitute your new kernels version number for the old one
ie.
title Red Hat Linux (2.4.19)
root (hd0,1)
kernel /boot/vmlinuz-2.4.19 ro root=/dev/hda2 hdd=ide-scsi
im dual booting with win2k so yours may look a little different
you really just want to copy the old one and change the version numbers. dont worry about the rest for now
reboot
you should be able to boot into the new kernel with out a hitch
second part *the fun part*
download
the latest alsa driver: alsa-driver-0.9.0rc6.tar.bz2,
the latest alsa utils : alsa-utils-0.9.0rc6.tar.bz2
the latest alsa library : alsa-lib-0.9.0rc6.tar.bz2
from www.alsa-project.org
unpack in your home directory /home/usrname/ and install
switch to root
su
tar xvjf alsa-lib*
cd alsa-lib*
./configure
make
make install
cd ..
tar xvjf alsa-utils*
cd alsa-utils*
./configure
make
make install
cd ..
tar xvjf alsa-drivers*
./configure --with-cards=via82xx --with-sequencer=yes --with-oss=yes --with-pnpisa=no
make
make istall
cd ..
/usr/sbin/ntsysv
select alsasound to load at start up
quit
chmod 666 /dev/dsp
reboot
login normaly
startx
run xmms
set output plugin to oss
halayluya
mp3s away
thank you all
you guys rule!
paradox@digivill.net