NetBSD Problem Report #58164
From www@netbsd.org Wed Apr 17 17:05:42 2024
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 5E0C91A9238
for <gnats-bugs@gnats.NetBSD.org>; Wed, 17 Apr 2024 17:05:42 +0000 (UTC)
Message-Id: <20240417170541.0859C1A923A@mollari.NetBSD.org>
Date: Wed, 17 Apr 2024 17:05:41 +0000 (UTC)
From: userm57@yahoo.com
Reply-To: userm57@yahoo.com
To: gnats-bugs@NetBSD.org
Subject: The NetBSD 10.0 installed kernel panics on Mac IIci unless there are no Nubus video cards installed
X-Send-Pr-Version: www-1.0
>Number: 58164
>Category: kern
>Synopsis: The NetBSD 10.0 installed kernel panics on Mac IIci unless there are no Nubus video cards installed
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Apr 17 17:10:00 +0000 2024
>Last-Modified: Wed Apr 24 13:20:02 +0000 2024
>Originator: Stan Johnson
>Release: NetBSD 10.0
>Organization:
>Environment:
maciici-1: {2} uname -a
NetBSD maciici-1 10.0 NetBSD 10.0 (GENERICSBC) #0: Thu Mar 28 08:33:33 UTC 2024 mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/mac68k/compile/GENERICSBC mac68k
>Description:
The kernel that is installed as part of a NetBSD 10.0 installation on a Mac IIci will crash if there is an attempt to use a Nubus video card (such as the Toby Frame Buffer card). The netbsd-GENERICSBC.gz kernel works only using built-in video and with no other video cards installed.
Note that the NetBSD 10.0 installation kernel (netbsd-INSTALLSBC.gz) works as expected using a Nubus video card; it is only after installation that the installed kernel panics.
>How-To-Repeat:
1) Install NetBSD 10.0 on a Mac IIci (installation with video using an unaccelerated video card such as the Toby Frame Buffer card should work, or use built-in video).
2) The kernel of the newly-installed system will crash if using the Toby Frame Buffer card, or even if using built-in video if the Toby Frame Buffer card is installed.
3) The same result is seen with other unaccelerated video card, such as the RasterOps ColorBoard 264).
>Fix:
A workaround to the problem is to use built-in video with no Nubus video cards installed.
>Audit-Trail:
From: Stan Johnson <userm57@yahoo.com>
To: gnats-bugs@NetBSD.org
Cc: mac68k NetBSD <port-mac68k@NetBSD.org>
Subject: Re: kern/58164
Date: Sat, 20 Apr 2024 09:21:48 -0600
This may be related to Problem Report 58164.
If the default NetBSD 10.0 netbsd-GENERICSBC that panics whenever a
Nubus video card (such as the Toby Frame Buffer) is used or installed is
instead booted using the built-in video on the Mac IIci, it doesn't
panic, but the memory as reported by dmesg is wrong, seeming to ignore
all of Bank A. It's not clear (from /proc/meminfo) whether the memory
may actually be available. Also, the memory reported for [system]
appears to be too high.
For example, with 64 MiB installed in Bank A and 16 MiB installed in
Bank B, and booting the default NetBSD 10.0 netbsd-GENERICSBC kernel
using the built-in video:
# dmesg
...
[ 1.000000] Apple Macintosh IIci (68030)
[ 1.000000] cpu: delay factor 266
[ 1.000000] fpu: mc68882
[ 1.000000] total memory = 16384 KB
[ 1.000000] avail memory = 75696 KB
...
maciici-1# cat /proc/meminfo
total: used: free: shared: buffers: cached:
Mem: 78381056 28704768 49676288 0 7733248 22650880
Swap: 268427264 0 268427264
MemTotal: 76544 kB
MemFree: 48512 kB
MemShared: 0 kB
Buffers: 48512 kB
Cached: 22120 kB
SwapTotal: 262136 kB
SwapFree: 262136 kB
maciici-1# ps auxw
USER PID %CPU %MEM VSZ RSS TTY STAT STARTED TIME COMMAND
root 0 0.1 183.5 0 30048 ? DKl 7:32PM 0:16.26 [system]
root 1 0.0 10.4 5712 1672 ? Is 7:32PM 0:02.62 init
root 341 0.0 15.6 11112 2536 ? Ss 7:34PM 0:01.67
/usr/sbin/syslogd -s
root 595 0.0 10.6 5672 1720 ? Is 7:36PM 0:00.47
/usr/sbin/inetd -l
root 609 0.0 29.9 11696 4880 ? S 7:37PM 0:09.40 telnetd
root 637 0.0 10.7 6224 1736 ? Ss 7:36PM 0:00.61 /usr/sbin/cron
johnson 638 0.0 12.5 6080 2032 pts/0 I 7:37PM 0:02.14 -csh
root 639 0.0 32.9 12168 5368 pts/0 Is 7:37PM 0:15.75 login
root 666 0.0 10.7 5808 1728 pts/0 O+ 7:40PM 0:00.50 ps -auxw
root 680 0.0 14.7 6416 2392 pts/0 I< 7:38PM 0:07.13 su - root
root 687 0.0 13.4 6400 2168 pts/0 S 7:38PM 0:02.13 -sh
root 679 0.0 10.3 5416 1664 ttyE0 Is+ 7:37PM 0:00.76
/usr/libexec/getty Pc constty
From: Stan Johnson <userm57@yahoo.com>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: kern/58164
Date: Mon, 22 Apr 2024 15:06:39 -0600
NetBSD 9.x also fails, but NetBSD 8.2 works.
From: Stan Johnson <userm57@yahoo.com>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: kern/58164
Date: Wed, 24 Apr 2024 06:48:49 -0600
Correction:
In the dmesg and other output above, I had 64 MiB installed in Bank A
and 16 MiB installed in Bank B, not the other way around.
(Contact us)
$NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2024
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.