From owner-freebsd-hackers Fri Nov 20 03:20:09 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA18724 for freebsd-hackers-outgoing; Fri, 20 Nov 1998 03:20:09 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from dorifer.heim3.tu-clausthal.de (dorifer.heim3.tu-clausthal.de [139.174.243.252]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA18697 for ; Fri, 20 Nov 1998 03:20:03 -0800 (PST) (envelope-from olli@dorifer.heim3.tu-clausthal.de) Received: (from olli@localhost) by dorifer.heim3.tu-clausthal.de (8.8.8/8.8.8) id MAA23190 for freebsd-hackers@FreeBSD.ORG; Fri, 20 Nov 1998 12:19:30 +0100 (CET) (envelope-from olli) Date: Fri, 20 Nov 1998 12:19:30 +0100 (CET) From: Oliver Fromme Message-Id: <199811201119.MAA23190@dorifer.heim3.tu-clausthal.de> To: freebsd-hackers@FreeBSD.ORG Subject: Changing the load address of the kernel? Newsgroups: list.freebsd-hackers Organization: Administration Heim 3 Reply-To: freebsd-hackers@FreeBSD.ORG MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Newsreader: TIN [version 1.2 RZTUC(3) PL2] Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, After posting this to freebsd-questions I realized that it's probably much better suited for -hackers. I'm sorry for the double posting. I'm trying to change the load address of the kernel, but without success. The default seems to be f0100000 (causing the bootloader to load it at 00100000). I tried to change it to f0400000. I changed the load address in two files: /sys/i386/conf/Makefile.i386 (one line) /sys/kern/link_aout.c (two lines) The bootloader (I'm using rawboot from a floppy) correctly loads the kernel to 00400000, but it hangs right after that. Did I miss anything? Any help would be greatly appreciated. BTW, I'm using a 3.0-19981103-SNAP with ELF userland and aout kernel. I searched the mailing list archives on this topic, but without success. Background of the problem: I'm trying to boot a diskless computer with a network boot ROM by LanWorks (www.lanworks.com). They require to make a bootable floppy first, then put an image of that floppy on a tftp server. The ROM loads that image, makes a RAM disk from it and boots it. The problem is: That RAM disks seems to overlap with the kernel at 00100000. There doesn't seem to be a way to change the location of the RAM disk. BTW, I also tried to contact InCom (www.incom.de) for boot ROMs, but they're completely unresponsive. The demo version that they offer is from 1995 and doesn't seem to support any PCI FastEthernet cards. :-( Regards Oliver -- Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany (Info: finger userinfo:olli@dorifer.heim3.tu-clausthal.de) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message