From owner-freebsd-alpha Tue Aug 7 1:42:58 2001 Delivered-To: freebsd-alpha@freebsd.org Received: from mass.dis.org (mass.dis.org [216.240.45.41]) by hub.freebsd.org (Postfix) with ESMTP id 8C39737B417; Tue, 7 Aug 2001 01:42:52 -0700 (PDT) (envelope-from msmith@mass.dis.org) Received: from mass.dis.org (localhost [127.0.0.1]) by mass.dis.org (8.11.4/8.11.3) with ESMTP id f778jei09077; Tue, 7 Aug 2001 01:45:40 -0700 (PDT) (envelope-from msmith@mass.dis.org) Message-Id: <200108070845.f778jei09077@mass.dis.org> X-Mailer: exmh version 2.1.1 10/15/1999 To: tlambert2@mindspring.com Cc: Wilko Bulte , John Baldwin , freebsd-alpha@FreeBSD.org Subject: Re: problems creating 4.4-alpha test/release cdrom In-reply-to: Your message of "Tue, 07 Aug 2001 01:17:18 PDT." <3B6FA40E.A2E374EB@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 07 Aug 2001 01:45:39 -0700 From: Mike Smith Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > Wilko Bulte wrote: > > > Can you do 'load /kernel' (Note the /) and then boot? > > > > k load kernel > > don't know how to load module '/kernel.ko' > > ok load /kernel > > don't know how to load module '/kernel.ko' > > > > > If so, does 'boot /kernel' work as well? > > > > ok boot /kernel > > don't know how to load module '/kernel.ko' > > You are running the evil boot loader. > > Your kernel needs to be installed as /boot/kernel/kernel.ko, > I think. Stop thinking, Terry. It's not only bad for you, it's bad for the rest of us. The error message "don't know how to load module 'foo'" is printed when the loader has successfully found and tried to load the module, but file_load() has returned EFTYPE. Since the only file format the Alpha loader supports is ELF, and since it uses the common ELF loader in sys/boot/common/load_elf.c, and since the diagnostic above is only printed when the file loader returns EFTYPE or when no file loader is found, you can get a very short list of why the file might be being rejected: - the filename is NULL (not possible, since it's printed in the diagnostic) - the file is too small - the file header fails IS_ELF() - the file header fails sanity checks - the file is not a kernel or a KLD Most of this looks like either a cd9660 filesystem bug (quite likely) or a burn error (less likely but not impossible). I'd consider starting by seeing what "ls -l" in the loader says about the size of the file. > I also think you might want to add rock-ridge to the > ISOFS image. Stop thinking, Terry. The loader's cd9660 filesystem: /* * Stand-alone ISO9660 file reading package. * * Note: This doesn't support Rock Ridge extensions, extended attributes, * blocksizes other than 2048 bytes, multi-extent files, etc. */ > I think the problem you are seeing is due > to the Alpha boot not doing the same thing that the x86 > boot does (fake up a RAM-disk floppy image, from which > the /kernel in the image is loaded, and the resulting > system then understands rock-ridge). Stop thinking, again. 8) As long as the loader that's being loaded is 'cdboot', it ought to read the CDROM filesystem. It doesn't have anything to do with this. Regards, Mike -- ... every activity meets with opposition, everyone who acts has his rivals and unfortunately opponents also. But not because people want to be opponents, rather because the tasks and relationships force people to take different points of view. [Dr. Fritz Todt] V I C T O R Y N O T V E N G E A N C E To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message