From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 11044 invoked from network); 21 Sep 1998 08:59:48 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 21 Sep 1998 08:59:48 -0000 Received: from mail.promenade.de-boulevard.nl (root@hollywood.promenade.de-boulevard.nl [195.193.46.71]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id EAA25068 for ; Mon, 21 Sep 1998 04:59:33 -0400 Received: by mail.promenade.de-boulevard.nl (8.8.5/0.2) with ESMTP id KAA03782; Mon, 21 Sep 1998 10:58:56 +0200 Received: from localhost (bartjan@localhost [127.0.0.1]) by amari.promenade.de-boulevard.nl (8.8.7/8.8.7/0,2) with SMTP id KAA32029; Mon, 21 Sep 1998 10:59:13 +0200 Date: Mon, 21 Sep 1998 10:59:11 +0200 (CEST) From: Bart-Jan Vrielink Reply-To: Bart-Jan Vrielink To: Peter S Galbraith cc: axp-list@redhat.com Subject: Re: 2.0.35 kernel for 164LX (External SCSI devices not detected) In-Reply-To: <199809181450.KAA11983@mixing.qc.dfo.ca> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Fri, 18 Sep 1998, Peter S Galbraith wrote: > Newbie question here... > I thought I'd try to recompile a fresh 2.0.35 kernel to see if it acts any > differently (Here's where the newbie part comes in). Beside that' always compile your own kernel, the vendor's kernel usually has too much support for hardware you don't have and too less support for things you want to have in the kernel. > Can I use unmodified 2.0.35 sources on alpha? Or must they be patched? > > I copied 2.0.35 pristines sources over from my i386 Linux box and did: > > make mrproper > make xconfig > make dep > make > > It doesn't get very far, with errors like: > /usr/src/linux/include/asm/unistd.h:284: inconsistent operand constraints in an `asm' > {standard input}: Assembler messages: > {standard input}:31: Error: Bad expression > {standard input}:31: Error: syntax error > > The synlinks are as follows: > > $ ls -l | grep linux > /usr/include/asm -> ../src/linux/include/asm -> asm-alpha > /usr/include/linux -> ../src/linux/include/linux > /usr/include/scsi -> ../src/linux/include/scsi > > (I'm experienced with i386 Linux, but know next to nothing about alpha. > I know I'll have to read up on MILO, and have docs on how to boot from a > kernel on a floppy if I can managed to create one). There are a few things different with the i386 platform for compiling kernels. First there are a few patches that you want to apply or need to apply for 2.0.* kernels. They can be found somewhere on gatekeeper.dec.com, in ftp://gatekeeper.dec.com/pub/Digital/Linux-Alpha/Kernels/ if I am correct. Beside that, make xconfig and make menuconfig are broken on the Alpha platform, for ages (somebody please fix this !!), use make config. Tot ziens, -- Bart-Jan Vrielink De Boulevard Electronic Commerce - IT Developer Tel. +31 53 4836377 - Fax. +31 53 4836378