Re: [linux-audio-dev] lowish-latency patch and toolchain

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] lowish-latency patch and toolchain
From: Paul Laufer (pelaufer_AT_csupomona.edu)
Date: Thu Jul 13 2000 - 04:52:31 EEST


There are many important things that a 2.0 vintage system may need to
upgrade before upgrading to 2.4. These changes are documented in
Docmentation/Changes in the kernel source tree. The following list is
a summary of the Changes files from 2.2 and 2.4. Note, these are the
minimum required versions. Later versions can be used, but earlier ones
have known bugs that may result in improper behavior. Also, if you don't
use a particular package, no reason to upgrade it.

From 2.0 -> 2.2 Changes summary:
- Kernel modutils 2.1.121 ; insmod -V
- Gnu C 2.7.2.3 ; gcc --version
- Binutils 2.8.1.0.23 ; ld -v
- Linux libc5 C Library 5.4.46 ; ls -l /lib/libc*
- Linux libc6 C Library 2.0.7pre6 ; ls -l /lib/libc*
- Dynamic Linker (ld.so) 1.9.9 ; ldd --version or ldd -v
- Linux C++ Library 2.7.2.8 ; ls -l /usr/lib/libg++.so.*
- Procps 2.0.3 ; ps --version
- Procinfo 16 ; procinfo -v
- Psmisc 17 ; pstree -V
- Net-tools 1.52 ; hostname -V
- Loadlin 1.6a
- Sh-utils 1.16 ; basename --v
- Autofs 3.1.3 ; automount --version
- NFS 2.2beta40 ; showmount --version
- Bash 1.14.7 ; bash -version
- Ncpfs 2.2.0 ; ncpmount -v
- Pcmcia-cs 3.0.14 ; cardmgr -V
- PPP 2.3.10 ; pppd --version
- Util-linux 2.9z ; chsh -v
- isdn4k-utils v3.1beta7 ; isdnctrl 2>&1|grep version

From 2.2 -> 2.4 Changes summary:
o binutils 2.9.1.0.22 # ld -v
o util-linux 2.10g # chsh -v
o modutils 2.3.10 # insmod -V
o e2fsprogs 1.18 # /sbin/tune2fs --version
o pcmcia-cs 3.1.13 # cardmgr -V
o PPP 2.4.0b1 # pppd --version
o isdn4k-utils 3.1beta7 # isdnctrl 2>&1|grep version

All these are backwards compatable with 2.0 kernels, so you can play
with 2.0, 2.2, and 2.4 all on the same system with one set of binaries. 2.2 and 2.4 will compile
with correctly with gcc 2.95.2 and egcs 1.1.2, while 2.0 will not. More
information, including where to download, can be found in the Changes
file itself.

Hope I saved someone some grief,
Paul Laufer

On Thu, Jul 13, 2000 at 12:35:56AM +1000 or thereabouts, Andrew Morton wrote:
> Juhana Sadeharju wrote:
> >
> > Anyway, I have kernel 2.0.36. If I install 2.4.0-test3-pre4, will it
> > break my system?
>
> hmm, let's see...
>
> 1: Download
> ftp://ftp.kernel.org/pub/linux/kernel/v2.4/linux-2.4.0-test3.tar.gz
>
> 2: Untar it in /usr/src/linux-2.4.0-test3-pre4
>
> 3: Download ftp://ftp.kernel.org/pub/linux/kernel/testing/test4-pre3.gz
>
> 4: cd /usr/src/linux-2.4.0-test3-pre4
> gzip -d < test4-pre3.gz | patch -p1
>
> 5: ln -s /usr/src/linux-2.4.0-test3-pre4 /usr/src/linux
>
> 6: patch -p1 < low-latency.patch
>
> 7: Apply ALSA patches. I know nothing of this. Anyone???
>
> 8: make menuconfig
>
> This is the hard part. If you have a ".config" supplied with your
> distro then you can copy that to /usr/src/linux and use `make
> oldconfig'. Otherwise, this will take quite some time. If in doubt,
> enable things - it rarely causes a problem.
>
> 9: make dep && make bzImage && make modules
>
> 10: make modules_install
>
> 11: cp arch/i386/boot/bzImage /boot/bzImage-2.4.0-test3
>
> 12: cp System.map /boot/System.map-2.4.0-test3
>
> 13: Add to /etc/lilo.conf:
>
> image=/boot/bzImage-2.4.0-test3
> label=linux2.4.0
> vga=extended
> root=<copy this from another LILO entry>
> read-only
>
> 14: Run `lilo'
>
> 15: Add to /etc/fstab:
>
> none /var/shm shm defaults 0 0
>
> 16: reboot, select linux2.4.0 at the LILO prompt.
>
> What did I miss????

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!



New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Thu Jul 13 2000 - 05:21:22 EEST