Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 May 1995 12:40:01 -0700
From:      "DI. Christian Gusenbauer" <cg@scotty.edvz.uni-linz.ac.at>
To:        freebsd-bugs
Subject:   i386/390: /sys/i386/boot/kzipboot/boot.c bug
Message-ID:  <199505091940.MAA23877@freefall.cdrom.com>
In-Reply-To: Your message of Tue, 9 May 1995 21:28:40 %2B0200 <199505091928.VAA00461@scotty>

next in thread | previous in thread | raw e-mail | index | archive | help

>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:





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199505091940.MAA23877>