📄 00000241.htm
字号:
<BR> (NOTE: We added a "-1SGI_17smp" when we configured SMP and <BR> "-1SGI_17smp-bigmem" when we configured in BIGMEM and SMP.) <BR> You should now be good to go. Compile at will. <BR> <BR>How do I build kernel rpms? <BR> <BR>Because we cannot export source code for the entire kernel, you may <BR>need <BR>to build the rpms directly from the patch and source. This is how you <BR>should <BR>do this: <BR> <BR> 1.Make sure you have RedHat 6.0 installed. Also, make sure you have <BR> installed the bzip2 package (this does not get installed by <BR>defualt). <BR> 2.You will need to be root for this process to work properly, so "su <BR>root" <BR> 3.Change directory into "/usr/src/redhat/SOURCES" <BR> 4.Download all the files from <BR> <A HREF="http://oss.sgi.com/projects/sgilinux1.1/download/SOURCES/">http://oss.sgi.com/projects/sgilinux1.1/download/SOURCES/</A> and put <BR> them here. <BR> 5.Download linux-2.2.10.tar.bz2 (note the bz2 extension) and put <BR>that <BR> here. <BR> 6.Download the SGI linux 1.1 patch here. (NOTE: some versions of <BR> netscape will remove the ".gz" extension. You need to make sure <BR>to <BR> change the name back to sgi-linux1.1-2.2.10.patch.gz) <BR> 7.gunzip sgi-linux1.1-2.2.10.patch.gz <BR> 8.Change directory to "/usr/src/redhat/SPECS" <BR> 9.Grab the kernel-2.2.spec file and put it here. <BR> 10.Execute rpm -ba kernel-2.2.spec <BR> 11.Resultant rpms should be in "/usr/src/redhat/RPMS" <BR> <BR>This will take a while depending on how fast your computer is. It <BR>takes 3 <BR>hours on a PIII 500Mhz. <BR> <BR>How do I install a kernel rpm? <BR> <BR>Be warned, that by doing this, you may make your machine non-bootable, <BR>so <BR>do so with EXTREME CAUTION. <BR> <BR> You will need to build a kernel rpm (see above). <BR> su root, execute rpm -i kernel-xxx.rpm (please DO NOT run rpm -U <BR>for this <BR> will remove your old kernel and if all does not go well, render <BR>your <BR> machine useless) <BR> cd /boot <BR> ls and look for the vmlinuz with an SGI string appended. It <BR>should be of <BR> the form 2.2.x-xSGI_x. Remember this as "sgi-string" and substitute <BR> in <BR> the following instructions. <BR> mkinitrd --ifneeded initrd-sgi-string.img sgi-string <BR> ls again and see if a file "initrd-sgi-string.img" exists. If it <BR>does, then we <BR> will need to add it into the lilo.conf file (below). <BR> vi /etc/lilo.conf (You know how to use vi, right?) <BR> go down to the line before the first "image =" line <BR> look at the tabbed lines under the first image and find the line <BR>with <BR> "root=/dev/xxxx". remember this <BR> insert <BR> <BR> image = /boot/vmlinuz-sgi-string <BR> label=sgi-linux <BR> <BR> use the "root=/dev/xxx" from above to put: <BR> <BR> root=/dex/xxx <BR> <BR> if an initrd file was created above, add <BR> <BR> initrd=/boot/initrd-sgi-string.img <BR> <BR> finally, put: <BR> <BR> read-only <BR> <BR> Save the file and quit vi (type "ZZ" when in command mode) <BR> run lilo <BR> <BR>Now you should be able to reboot to the new kernel. Since we put the <BR>new <BR>image as the first image in lilo.conf, the new kernel should come up <BR>automagically when you reboot. If a failure occurs, you can always <BR>reboot <BR>and type "linux" at the boot prompt to bring up the old kernel. <BR> <BR>Why is the kernel based off 2.2.10? <BR> <BR>At the time we froze the tree, 2.2.11 and 2.2.12 contained a memory <BR>leak. <BR>We wanted to provide the most stable version of the 2.2.x series at <BR>the time. <BR>We are in the process of moving our codebase up to 2.2.13 now and will <BR>release that patch as soon as we verify its stability. <BR> <BR>What if I have 2.2.10-ac12? <BR> <BR>We provide a patch against a bare 2.2.10 tree as well as a patch <BR>against <BR>2.2.10-ac12. You can find that here. <BR> <BR>How do I get SGI Linux 1.1 working on a Visual Workstation? <BR> <BR>SGI Linux 1.1 will work on 320 or 540 with some special configuration. <BR>Please <BR>realize that this is NOT SUPPORTED at all. For more detailed <BR>instructions, <BR>please visit the Linux Visual Workstation project page. You do not <BR>need to <BR>download the kernel patch from this page because all the VW changes <BR>are in <BR>the 1.1 kernel patch already. Here, you will find kernel config files <BR>for the <BR>Visual Workstation in both SMP and UP modes. <BR> <BR>-- <BR>※ 来源:·BBS 水木清华站 smth.org·[FROM: 210.39.3.50] <BR><CENTER><H1>BBS水木清华站∶精华区</H1></CENTER></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -