From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,d75a4ad00b18597 X-Google-Attributes: gid111c93,public From: "Martin Sinot" Subject: Re: Can't compile kernel on RH6 Date: 1999/12/03 Message-ID: <8284ii$9sp$1@news.telekabel.nl>#1/1 X-Deja-AN: 556149254 References: X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Trace: news.telekabel.nl 944215442 10137 212.142.20.102 (3 Dec 1999 10:04:02 GMT) Organization: SPaSE BV X-MSMail-Priority: Normal NNTP-Posting-Date: 3 Dec 1999 10:04:02 GMT Newsgroups: comp.os.linux.alpha R.Gunther wrote in message news:BRpHOAUaOSpJfZarsUVvTVexRK3x@4ax.com... > if i come to the point that i type make zImage or bzImage > i'm getting a error *** no rule to make 'zImage '. Stop *** > what is the change between compiling a kernel > on a 486 (have done it many time on slackware). and a alpha ? > > is there some trick ? > > greeting richard On Intel, make zImage and make bzImage compress the kernel image and attach a decompressor to it (that's that piggyback thing compiled with (b)zImage). Next, you probably use LILO to install the new kernel. On Alpha, you simply gzip or bzip2 the kernel image and copy it to its destination. The decompressor is in the bootstrap here. The difference is that the PC bootstrap is very primitive, and only capable of loading a few blocks from disk (LILO installation among others scans the kernel image and creates a list of the disk blocks it occupies, so that the bootstrap can find them). The decompressor must therefore be in the kernel image, so that the bootstrap can execute it. On Alpha, the bootstrap has a decompressor built in, and also it has some knowledge about a filesystem. That means that the kernel image can be found no matter where it resides on the disk. The bootstrap is able to search the specified file, load it and decompress it. So the installation of a new kernel on Alpha is actually much simpler. Just compress it (or don't, if you have the space :-) ), and copy it to the required destination. No LILO installation is necessary. You only have to pass the kernel image location to the bootstrap loader (which, no doubt, you already did, since you were able to compile a kernel) Martin Sinot martin@spase.nl