From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id 402013F104 for ; Fri, 17 May 2002 23:45:57 -0400 (EDT) Received: (from mail@localhost) by int-mx1.corp.redhat.com (8.11.6/8.11.6) id g4I3jvJ27741 for axp-list@listman.redhat.com; Fri, 17 May 2002 23:45:57 -0400 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id g4I3jvl27737 for ; Fri, 17 May 2002 23:45:57 -0400 Received: from base.torri.linux (adsl-65-64-138-62.dsl.stlsmo.swbell.net [65.64.138.62]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id g4I3ddM32460 for ; Fri, 17 May 2002 23:39:39 -0400 Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by base.torri.linux (8.11.6/8.11.6) with ESMTP id g4I3snf01639 for ; Fri, 17 May 2002 22:54:49 -0500 Subject: Re: Building 2.4 kernel From: Stephen Torri To: RedHat Alpha In-Reply-To: <200205180334.g4I3YgY03264@icarus.com> References: <200205180334.g4I3YgY03264@icarus.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.5 Date: 17 May 2002 22:54:48 -0500 Message-Id: <1021694089.1407.21.camel@base.torri.linux> Mime-Version: 1.0 X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: On Fri, 2002-05-17 at 22:34, Stephen Williams wrote: > "make boot" creates the bootable image arch/alpha/vmlinux.gz. Just > copy this to /boot/vmlinux-2.4.18.gz or whereever you want to put > this image (don't replace your current kernel!) and edit your > /etc/aboot.conf file to include an entry for your new kernel. Mine > looks like this: > > # aboot default configurations > # NOTICE: You have a /boot partition. This means that > # all kernel paths are relative to /boot/ > 0:1/vmlinuz-2.4.3-12 root=/dev/sda2 > 1:1/vmlinuz-2.4.3-12 root=/dev/sda2 console=ttyS0 > 2:1/vmlinuz-2.4.3-12 root=/dev/sda2 console=ttyS0 console=tty0 > 3:1/vmlinuz-2.4.3-12 root=/dev/sda2 single > 4:1/vmlinuz-2.4.3-12 root=/dev/sda2 floppy=nodma,nofifo > 5:1/vmlinuz-2.4.18 root=/dev/sda2 > 6:1/vmlinuz-2.4.18 root=/dev/sda2 single > 7:1/vmlinuz-2.4.9-31 root=/dev/sda2 single > > Notice that I have 8 possible boot options in this file. Many of > these were installed yb the initial install. #5 is the one I added > for my 2.4.18 kernel. Also nite that /boot on my machine is a > partition of its own so the file names are relative the root > of that partition. > > Anyhow, to boot this kernel from srm, I do this at the srm console: > > boot dk0 -fl 5 > > to go right into the kernel, or > > boot dk0 -fl i > > to go into interactive mode for aboot. (I forget the exact device name, > I have to look it up every time, because I reboot so rarely:-) > > The PC164 doesn't have the mythical halt button (never seen one) so > automatic reboot is not an option for PC164/srm. You must therefore > have seen at least some of the "boot" command by now. The trick here > is where to find (and where to install) the bootable kernel image, > and how to tell aboot about it. I rebuilt 2.4.18 and copied it to /boot. I made my entry to aboot.conf similar to yours. Now the boot get to the following line and does nothing: aboot: starting kernel vmlinuz-2.4.18 with arguments root=/dev/sda2 I cannot see activity. I cannot break out of this except by the reset button. Stephen