Port-mac68k archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NetBSD 10.0 on a Mac IIci



NetBSD 10.0 doesn't seem to boot on the IIci with any Nubus video card
installed, including the Macintosh II Video Card (Toby Frame Buffer).
This may be a bug, since the installation documentation says that most
basic unaccelerated Nubus video cards are supported, and an earlier
document specifically says that the Toby card is supported:

https://www.netbsd.org/ports/mac68k/info/chap-features.html#video-cards

Please let me know whether I should report this issue as a bug.

Also, there may be a memory problem with NetBSD 10.0 on the IIci. I see
this on an 80 MiB system (64 MiB in Bank A, 16 MiB in Bank B):

# 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

If I install 64 MiB in both Banks A and B, I see this:

# dmesg
...
[     1.000000] Apple Macintosh IIci  (68030)
[     1.000000] cpu: delay factor 266
[     1.000000] fpu: mc68882
[     1.000000] total memory = 65536 KB
[     1.000000] avail memory = 121 MB
...

maciici-1# cat /proc/meminfo
        total:    used:    free:  shared: buffers: cached:
Mem:  128294912 79839232 48455680        0 55410688 70328320
Swap: 268427264        0 268427264
MemTotal:    125288 kB
MemFree:      47320 kB
MemShared:        0 kB
Buffers:      47320 kB
Cached:       68680 kB
SwapTotal:   262136 kB
SwapFree:    262136 kB

maciici-1# ps auxw
USER     PID %CPU %MEM   VSZ   RSS TTY   STAT STARTED    TIME COMMAND
root    3162  9.0  2.7  5808  1744 pts/0 O+    7:19PM 0:00.54 ps -auxw
root       0  1.3 54.2     0 35496 ?     DKl  12:17PM 1:36.97 [system]
root       1  0.0  2.6  5712  1672 ?     Is   12:17PM 0:02.75 init
root     381  0.0  3.9 11112  2536 ?     Ss   12:19PM 0:01.99
/usr/sbin/syslogd -s
root    3025  0.0  2.7  5672  1720 ?     Is    7:14PM 0:00.61
/usr/sbin/inetd -l
root    3091  0.0  2.7  6224  1736 ?     Is    7:14PM 0:00.72
/usr/sbin/cron
root    3120  0.2  7.5 11696  4880 ?     S     7:15PM 0:11.11 telnetd
root     683  0.0  3.7  6416  2392 pts/0 I<    7:16PM 0:07.72 su - root
johnson 3096  0.0  3.1  6080  2032 pts/0 I     7:16PM 0:02.33 -csh
root    3135  0.0  3.3  6400  2168 pts/0 S     7:16PM 0:02.41 -sh
root    3176  0.0  8.2 12168  5368 pts/0 Is    7:15PM 0:17.07 login
root    3117  0.0  2.6  5416  1664 ttyE0 Is+   7:14PM 0:00.83
/usr/libexec/getty Pc constty

So meminfo is showing all the memory, but dmesg is getting it wrong, and
memory usage by [system] as reported by ps seems high, perhaps
swallowing up much or all of the available memory in Bank A. That's a
guess, since I don't know much about NetBSD.

I can post the serial console logs of the kernel panics with Nubus video
cards installed if anyone is interested, or if there's a better way to
file bug reports (one for the Nubus video cards, one for the memory
issue), let me know and I'll do that.

thanks

-Stan Johnson

-----

On 4/9/24 9:57 AM, Stan Johnson wrote:
> Update:
> 
> NetBSD 10.0 doesn't seem to like the SuperMac Thunder/24 video card.
> Installation seems to be working using built-in video.
> 
> Is there a list of Nubus video cards that are supported by NetBSD?
> 
> -s
> 
> -----
> 
> On 4/9/24 8:52 AM, Stan Johnson wrote:
>> Hello,
>>
>> I'm trying to install NetBSD 10.0 on a Mac IIci. The system has the
>> following:
>>
>> Memory: 80 MiB (Bank A: 64 MiB; Bank B: 16 MiB)
>> 32 KiB cache card
>> Nubus:
>>   C: (Nearest the edge): Radius Rocket-25 (installed for other testing)
>>   D: (Middle slot): SuperMac Thunder/24 Rev 1 ROM 1.7.0 video
>>   E: (Nearest cache card): Asante MacCon Ethernet
>>
>> After locating an ancient Apple 300 CD-ROM drive, and using either Mac
>> OS 7.5.5 resolution 1024x768 or 832x624, the system fails to boot
>> netbsd_install.gz with a disk timeout on sd0.
>>
>> Booting netbsd_installsbc.gz works better, but it panics:
>>
>> ...
>> macvid0: Unknown video card ID 0x2cb -- Not installing interrupt routine
>> ...
>> panic: cdopen: no console device
>> ...
>>
>> Next, I plan to try removing all the cards except for the cache card and
>> the Asante Ethernet and boot using the built-in video.
>>
>> If anyone has any ideas on how to get NetBSD 10.0 to recognize the
>> console device using the SuperMac video card, please let me know. This
>> system has previously run NetBSD 9.0 without any problems, but that was
>> a long time ago and may have been with the built-in video. I can send
>> the console log if I can figure out how to re-direct it to a serial port.
>>
>> thanks for any suggestions
>>
>> -Stan Johnson
>>


Home | Main Index | Thread Index | Old Index