From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10112d,97fbb3211329573c X-Google-Attributes: gid10112d,public X-Google-Thread: 111c93,97fbb3211329573c X-Google-Attributes: gid111c93,public From: mott@mathworks.com (Peter Mott) Subject: Re: HELP: Installing, patching and building linux kernel sources... Date: 1998/11/24 Message-ID: #1/1 X-Deja-AN: 415207865 References: <73db1j$3bh$1@excalibur.flash.net> <365ab41900000027@ctnhnews.timken.com-MINC> Organization: The MathWorks, Inc. Newsgroups: comp.os.linux.alpha,linux.debian.devel Thanks for the great support. I have succeeded up to step 10 using http://ftp.digital.com/pub/DEC/Linux-Alpha/Kernels/alpha-sources-2.0.35- 0.2.tar.gz 'out of the box'. I'll get to testing soon enough. Using this source collection I was able to skip step 6 and I successfully used 'make menuconfig', although I haven't tested the resulting kernel. I'll try these suggestions to see if I can step forward to 2.0.36. Thanks for your help. - Peter Mott In article <365ab41900000027@ctnhnews.timken.com-MINC>, "Richard Payne" says... > > > Stephen Hailey wrote in message <73db1j$3bh$1@excalibur.flash.net>... > >try doing this. > > > >1. get the full kernel that you want to use (i.e. linux-2.0.36.tar.gz) from > >ftp.kernel.org > > > >2. move linux-2.0.36.tar.gz to the base of your source tree ( /usr/src/ ) > > You may want to put it somewhere else, /usr/local/src etc.... to preserve > the header files that came with your distribution. > > > > >3. cd /usr/src , the delete the old tree ( rm -rf linux ) > > > >4. tar zxpvf linux-2.0.36.tar.gz > > > >5. cd linux > > > >6. change arch=alpha and comment out the SMP=1 option in the Makefile > > > On 2.0.36 SMP=1 is already commented out. > > > >7. make menuconfig or xconfig ; then configure your kernel > > NO, both of these were broken an Alpha the last I knew and could > produce nasty .config files. Use 'make config', it night take longer > but it works. > > > >8. make dep ; make clean > > > >9. make boot > > > >10. Test the kernel: from milo prompt: > > MILO>boot sda1:/usr/src/linux/arch/alpha/boot/vmlinux.gz > >root=/dev/sda1 (if sda1 is not your boot partition change it to the one it > >is.) > > > >11. if it works, go back to /usr/src/linux/ and make modules ; make > >modules_install > > > >12. cd / ; then rename your vmlinux.gz to something else ( ie. mv > >/vmlinux.gz /vmlinux.old.gz ) > > > >13 copy the new kernel to the root: > > cp /usr/src/linux/arch/alpha/boot/vmlinux.gz / > > > >14. that should be it.