From owner-freebsd-bugs Tue May 9 12:40:02 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id MAA23884 for bugs-outgoing; Tue, 9 May 1995 12:40:02 -0700 Received: (from gnats@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id MAA23877 ; Tue, 9 May 1995 12:40:01 -0700 Date: Tue, 9 May 1995 12:40:01 -0700 Message-Id: <199505091940.MAA23877@freefall.cdrom.com> From: "DI. Christian Gusenbauer" Reply-To: "DI. Christian Gusenbauer" To: freebsd-bugs Subject: i386/390: /sys/i386/boot/kzipboot/boot.c bug In-Reply-To: Your message of Tue, 9 May 1995 21:28:40 +0200 <199505091928.VAA00461@scotty> Sender: bugs-owner@FreeBSD.org Precedence: bulk >Number: 390 >Category: i386 >Synopsis: missing parameter in function "boot" >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs (FreeBSD bugs mailing list) >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue May 9 12:40:01 1995 >Originator: DI. Christian Gusenbauer >Organization: >Release: FreeBSD 2.0-BUILT-19950505 i386 >Environment: using kzip'ed kernels >Description: The bootstrap loader starts the kernel and passes one argument "howto" to the kernel. This is also true when using kzip'ed kernels, but in "/sys/i386/boot/kzipboot/head.S" the function "_boot" is called which puts another int on the stack, so the parameter "howto" of the function "boot" refers to the wrong address. >How-To-Repeat: Just boot a kzip'ed kernel. >Fix: Add a dummy-parameter to the function "boot", like: void boot (int dummy, int howto) >Audit-Trail: >Unformatted: