[Comm-en] Alt Jr2.2 dual boot with Mdk9.1
Michael Shigorin
mike at osdn.org.ua
Mon Jul 14 16:22:09 MSD 2003
On Sat, Jul 12, 2003 at 08:14:54PM -0600, Chad wrote:
> Can you give me a rundown on what I need to do to get and
> install? I will give the new package a try.
OK, so you've asked :-)
Then you have either 2.4.21-altX with binary bootloader-utils and
mkinitrd from Sisyphus (they're binary compatible with ALM2.2,
should work on J2.2 too), or 2.4.20-alt7 -- but then later since
I've somehow failed to rebuild the package, now taking a second
look.
...ah, done.
So.
_Unofficial_ build of fresh NVIDIA driver set and ALSA tools
(should be mostly compatible with an existing 2.2+updates setup
-- by "updates" I mean kernel24 security update, too -- see below):
* NVIDIA 1.0-4363; should enable FX cards and such
ftp://ftp.altlinux.org/pub/people/mike/kernel/NVIDIA_GLX-1.0.4363-alt1.i586.rpm
ftp://ftp.altlinux.org/pub/people/mike/kernel/NVIDIA_kernel-up-2.4.20_1.0.4363-alt7.i586.rpm
* ALSA 0.9.4; reportedly behaves better with some hardware, esp.
* software codecs like via/intel onboard ac97 sound
ftp://ftp.altlinux.org/pub/people/mike/kernel/alsa24-up-2.4.20_0.9.4-alt7.i586.rpm
ftp://ftp.altlinux.org/pub/people/mike/alsa/alsa-tools-0.9.4-alt1.i586.rpm
ftp://ftp.altlinux.org/pub/people/mike/alsa/alsa-utils-0.9.4-alt1.i586.rpm
ftp://ftp.altlinux.org/pub/people/mike/alsa/aserver-0.9.4-alt2.i586.rpm
ftp://ftp.altlinux.org/pub/people/mike/alsa/libalsa-0.9.4-alt2.i586.rpm
This should go with minimal hassle, but "old" alsa2-*, libalsa2-*
may need to be removed with rpm -e --nodeps (since newer packages
supercede them but rpm is too low-level to "understand" it).
Also see the note below regarding NVIDIA_GLX.
For _testing_ 2.4.21 (Sisyphus URLs; should work with
Master/Junior 2.2 as of this writing; much more challenging):
* kernel itself and supplementary packages:
ftp://ftp.altlinux.org/pub/distributions/ALTLinux/Sisyphus/files/i586/RPMS/kernel-image-std-up-2.4.21rel-alt3.i586.rpm
ftp://ftp.altlinux.org/pub/distributions/ALTLinux/Sisyphus/files/i586/RPMS/bootloader-utils-0.1-alt7.noarch.rpm
ftp://ftp.altlinux.org/pub/distributions/ALTLinux/Sisyphus/files/i586/RPMS/mkinitrd-2.8.7-alt2.i586.rpm
ftp://ftp.altlinux.org/pub/distributions/ALTLinux/Sisyphus/files/i586/RPMS/modutils-2.4.25-alt1.i586.rpm
* NVIDIA:
ftp://ftp.altlinux.org/pub/distributions/ALTLinux/Sisyphus/files/i586/RPMS/NVIDIA_GLX-1.0.4363-alt1.i586.rpm
ftp://ftp.altlinux.org/pub/distributions/ALTLinux/Sisyphus/files/i586/RPMS/kernel-modules-nvidia-std-up-1.0.4363-alt3.i586.rpm
* ALSA:
ftp://ftp.altlinux.org/pub/distributions/ALTLinux/Sisyphus/files/i586/RPMS/kernel-modules-alsa-std-up-0.9.4-alt4.i586.rpm
ftp://ftp.altlinux.org/pub/distributions/ALTLinux/Sisyphus/files/i586/RPMS/libalsa-0.9.4-alt1.i586.rpm
ftp://ftp.altlinux.org/pub/distributions/ALTLinux/Sisyphus/files/i586/RPMS/alsa-tools-0.9.4-alt1.i586.rpm
ftp://ftp.altlinux.org/pub/distributions/ALTLinux/Sisyphus/files/i586/RPMS/alsa-utils-0.9.4-alt1.i586.rpm
ftp://ftp.altlinux.org/pub/distributions/ALTLinux/Sisyphus/files/i586/RPMS/aserver-0.9.4-alt1.i586.rpm
* additional packages likely to be in need:
ftp://ftp.altlinux.org/pub/distributions/ALTLinux/Sisyphus/files/i586/RPMS/kernel-modules-i2c-std-up-2.7.0-alt4.i586.rpm
ftp://ftp.altlinux.org/pub/distributions/ALTLinux/Sisyphus/files/i586/RPMS/kernel-modules-sensors-std-up-2.7.0-alt3.i586.rpm
Also this checklist (command are to be executed by root):
* if you feel like OK and don't need/really want to mess with
kernels, DON'T -- screwing the system up is surprisingly easy
this way;
* if in slightest doubt -- use the kernel from updates which
doesn't get installed by "apt-get upgrade" automatically for
obvious reasons, and thus should be installed like this:
apt-get install kernel24-up#2.4.20-alt7
if feeling brave and going bloody edge -- then Sisyphus
may be for you;
* run this script as root (taken from alsa-driver tarball):
ftp://ftp.altlinux.org/pub/people/mike/alsa/testing/snddevices
-- it will recreate /dev/snd as permanent directory and not a
symlink to deprecated /proc entry (changed in alsa-0.9.2).
* newer NVIDIA kernel module requires newer GLX package which
won't work with older kernel module AFAIR. So if you need to
rollback, have the CD at hand to be able to boot into console
mode (passing additiona parameter "3" to the kernel) and:
mount /dev/cdrom
rpm -Uvh --oldpackage /mnt/cdrom/ALTLinux/RPMS/NVIDIA_GLX-1.0.4191-alt2.i586.rpm
eject
* 2.4.21rel-alt3 specific issues:
* kernel package apparently has a gotcha regarding bootloader
setup update; could be fixed with
cd /boot
ln -sf vmlinuz-2.4.21rel-std-up-alt3 vmlinuz-up
ln -sf initrd-2.4.21rel-std-up-alt3.img initrd-up.img
lilo # only if using LILO!
or checking the bootloader configuration to contain a proper
pair of kernel and initial ramdrive images;
* 2.4.21rel-alt3 has OpenWall patch applied which disables
wine/winex (and seemingly win4lin) -- fixed with chstk:
chstk -e /usr/bin/wine
chstk -e /usr/bin/winex
* 2.4.21 kernel and kernel module packages should be
*installed* (rpm -ivh) not to remove existing kernel; alsa
userspace packages don't allow for duplication though and
should be upgraded (rpm -Uvh);
* software modem and ATI drivers as kernel-modules-*.rpm are
there, too, but I've no experience with them -- you may have
to get a few more packages if going 2.4.21;
All packages should be signed, you can do "rpm --checksig" on
them.
Problems and misunderstanding are better reported here *before*
you tell it blow up everything so we can try to sort it out
together ;-)
--
---- WBR, Michael Shigorin <mike at altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
More information about the community-en
mailing list