From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 32335 invoked from network); 22 Jul 1998 16:58:47 -0000 Received: from antiochus-fe0.ultra.net (146.115.8.188) by mail2.redhat.com with SMTP; 22 Jul 1998 16:58:47 -0000 Received: from alpha1.estabrook.org (d151.dial-1.cmb.ma.ultra.net [209.6.64.151]) by antiochus-fe0.ultra.net (8.8.8/ult.n14767) with ESMTP id MAA13287 for ; Wed, 22 Jul 1998 12:58:43 -0400 (EDT) Received: from alpha1.estabrook.org (localhost [127.0.0.1]) by alpha1.estabrook.org (8.8.5/8.8.5) with ESMTP id MAA08004 for ; Wed, 22 Jul 1998 12:56:32 -0400 Message-Id: <199807221656.MAA08004@alpha1.estabrook.org> To: axp-list@redhat.com From: Jay.Estabrook@digital.com Subject: Re: Kernel compile issue with respect to PC164 In-reply-to: Your message of Tue, 21 Jul 1998 18:07:23 -0700. Mime-Version: 1.0 Content-Type: text/plain Date: Wed, 22 Jul 1998 12:56:32 +0500 Sender: jestabro@alpha1.estabrook.org >>> Keith Morse said: > > Man, was partitioning a pain. Disk Druid (Redhat 5.0 CD install) would > not let me add a third primary partition. Got so frustrated, that I had > to use fdisk just to get the job done. After much wailing and gnashing of > teeth, Linux went on and even respected my partitioning requirements. This is feedback that should be sent to Red Hat. > I would have been happy with the stock kernel, expect parallel port > support was not compiled in. Sigh. So I took compiling a kernel for this > beastie. Read the docs. "mrproper, make xconfig, make dep; make clean" > seems normal enough. Ahhh, need to "make boot" rather than "make zImage". > Copied the kernel to the root of the disk. Ah, do NOT use "make menuconfig" or "make xconfig", they are not reliable at this time on the Alphas; use the trusty old "make config"... > Okay, no problem. Did a "make modules; make modules_install" seemed to go > well enough. A few minor errors, hopefully not big enough to stop the > process. Modules should work fine. > Reconfigured "NT ARC" (is this the right name for the Intel BIOS > equivalent?) to let me boot the new kernel. It's really better, for testing purposes, to have a Boot Option that only starts MILO, then you can tell *it* to boot whichever kernel you want. This is in addition to a full LINUX boot into the kernel. However, some ARC consoles are limited WRT the number of Boot Options that one can define, and since you want LINUX and NT, you may have used up the two that are allowed. > Reboot. The system sees the > kernel in the root partition. It loads the kernel into memory, it unzips > the kernel, but right after it does the system hangs or at least seems to. > I've let it set there for 15 minute or more with no change in status. This is not untypical behavior for a kernel built under "make menuconfig", unfortunately. > Since then, I rebuilt the kernel numerous times with different devices > enabled/disabled. I went to ftp.kernel.org and downloaded pristine > sources and the alpha patch from gatekeeper.dec.com. Did a "rm -Rf > /usr/src/linux" prior to installing the source and patch. reconfigured > the kernel, and tried to boot on the new kernel. Same effect. The kernel > gets loaded but hangs after the unzip process. An observation: it is NOT a good idea to replace the /usr/src/linux tree; that has been specifically tested by Red Hat to ensure building of apps works; a patched kernel tree, from any other source, may cause problems. I recommend the use of /usr/local/src as a place to build kernels from other source trees. > 1. Is milo designed to mate to a particular range of kernel versions > or is it strictly based on what hardware architecture? The latest MILOs should boot 2.0.xx and 2.1.xx kernels correctly, if those are built under RH 4.2 or 5.x with the standard compilation subsystem and binutils. It is NOT necessary to match MILO version with kernel version, except when building the MILO. Look for the latest MILO for PC164 at: gatekeeper.dec.com:/pub/DEC/Linux-Alpha/Kernels/Test-Milos-2.0.30+/pc164 > 2. Is NT ARC the same as SRM. I gathered from the howto and Redhat's > install book that it is different from Alpha Bios No, it is NOT the same as SRM. It is quite similar to AlphaBIOS, which newer platforms use instead of ARC. You must boot the correct kernel for the console that you are running under. > 3. I'm staying with the 2.0.30 kernal that came with the RedHat CD. > Should I be using a newer one? The alpha-sources-2.0.34-0.1.tar.gz that you'll find under the Kernels/ directory (as above) is pretty much the latest stable kernel sources for Alpha. There are reports that one can patch 2.0.35 with the alpha-patches for 2.0.34, but there are also reports that some of the drivers enhanced in 2.0.35 are not (enhanced) on the Alpha, but are problematic. Good luck. --Jay++ ------------------------------------------------------------------------------- American Non Sequitur Society: we don't make sense, but we do like pizza... Jay A Estabrook Alpha Motherboards - LINUX Project Digital Equipment Corp. (508) 841-3241 or (DTN) 237-3241 334 South Street, Shrewsbury, MA 01545 Jay.Estabrook@digital.com -------------------------------------------------------------------------------