NetBSD Problem Report #45147

From jakllsch@siwenna.kollasch.net  Thu Jul 14 21:05:20 2011
Return-Path: <jakllsch@siwenna.kollasch.net>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id E5D2463BEBD
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 14 Jul 2011 21:05:19 +0000 (UTC)
Message-Id: <20110714210517.ADC40107BBC@siwenna.kollasch.net>
Date: Thu, 14 Jul 2011 21:05:17 +0000 (UTC)
From: jakllsch@kollasch.net
Reply-To: jakllsch@kollasch.net
To: gnats-bugs@gnats.NetBSD.org
Subject: loading kernel overwrites loader during load
X-Send-Pr-Version: 3.95

>Number:         45147
>Category:       port-pmax
>Synopsis:       loading kernel overwrites loader during load
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    port-pmax-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jul 14 21:10:00 +0000 2011
>Last-Modified:  Sat Mar 15 18:35:01 +0000 2025
>Originator:     Jonathan A. Kollasch
>Release:        -current
>Organization:

>Environment:


Architecture: pmax
Machine: pmax
>Description:
The pmax secondary bootloader lives at 0x80710000.
The pmax GENERIC kernel is still smaller than this, (_end is at 806a07a8),
but when /boot loads the symbol table for ddb, it overwrites the executing code.
>How-To-Repeat:
Boot pmax GENERIC kernel using pmax bootloader.
>Fix:
Make the kernel the right size again or move the bootloader up further.

>Audit-Trail:
From: "Jonathan A. Kollasch" <jakllsch@kollasch.net>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: port-pmax/45147: loading kernel overwrites loader during load
Date: Sat, 15 Mar 2025 13:32:05 -0500

 My only pmax hardware--a DECstation 5000/240--is no longer functional.
 The secondary load address in question,
 sys/arch/pmax/stand/Makefile.booters:SECONDARY_LOAD_ADDRESS?=0x80710000
 is still the same.  I assume the kernel hasn't gotten smaller in the
 last 14 years either.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: gnats-precook-prs,v 1.6 2023/01/12 22:02:29 jakllsch Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2023 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.