Port-m68k archive

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

Re: New pmap status update



thorpej@ wrote:

> - hp300 and luna68k boot up to multi-user on 68030 and at least
> single-user on 68040 (probably will boot multi-user, fingers crossed :-)

 - LUNA-II (68040) boots multi-user and X.Org server also works on it
 https://x.com/tsutsuii/status/1994807529130659892

 - HP9000/425t (68040) boots multi-user, but it looks starting X.Org
   server can trigger a panic (investigating).

> - news68k has been adapted, but the last time this platform was tested,
>  there was an issue (possibly related to external cache?)

NWS-1750 (68030 with L2 physical cache) still gets segmentation fault
during startup rc scripts.

> - amiga and Atari need to be adapted, but they're going to be much
>   more difficult due to the very different start-up code.

I'm thinking about to add #ifdef __HAVE_NEW_PMAP_68K in
atari_init.c:start_c() and rewrite STE/PTE initialization for now.

I'm afraid it's unlikely to integrate complicated RELOC stuff
(i.e. copying a loaded kernel from ST (16 bit) RAM to TT (32 bit) RAM
and setup PTEs accordingly) to common pmap_bootstrap1().

> - Needs testing on 68020 (should Just Work)

 - On HP9000/319C (68020+68851) and 330 NEWPMAP with RAS patch kernel
   boots (i.e. shows kernel messages), but even 10.1 GENERIC (i.e. with
   traditional pmap_motorola.c) cannot start /bin/sh:
   (maybe more CAS instruction issue?)

```
>> NetBSD/hp300 Primary Boot, Revision 1.21 (Thu Mar 28 08:33:33 UTC 2024) (from NetBSD 10.0)
>> HP 9000/318/319/330 SPU
>> Enter "reset" to reset system.
Boot: [[[rd0a:]netbsd][-a][-c][-d][-s][-v][-q]] :- netbsd.11-hp300-newpmap -s
open netbsd.11-hp300-newpmap: No such file or directory
boot: No such file or directory
Boot: [[[rd0a:]netbsd.gz][-a][-c][-d][-s][-v][-q]] :- netbsd.11-hp330-newpmap -s
1382460+63412 [164464+154625]=0x1af284
Start @ 0xff803000 [1=0xff962ff0-0x1af284]...
Entry point: 0xff803000
[   1.0000000] bootinfo found at 0xff802000
[   1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
[   1.0000000]     2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013,
[   1.0000000]     2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023,
[   1.0000000]     2024, 2025
[   1.0000000]     The NetBSD Foundation, Inc.  All rights reserved.
[   1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[   1.0000000]     The Regents of the University of California.  All rights reserved.

[   1.0000000] NetBSD 11.99.4 (HP330-NEWPMAP) #3: Sat Nov 29 15:31:10 JST 2025
[   1.0000000]  tsutsui@mirage:/s/cvs/src/sys/arch/hp300/compile/HP330-NEWPMAP
[   1.0000000] HP 9000/318/319/330 (16.67MHz MC68020 CPU, MC68851 MMU, 16.67MHz MC68881 FPU)
[   1.0000000] total memory = 8180 KB
[   1.0000000] avail memory = 6556 KB
[   1.0000000] mainbus0 (root)
[   1.0000000] intio0 at mainbus0
[   1.0000000] rtc0 at intio0 addr 0x420000
[   1.0000000] hil0 at intio0 addr 0x428000 ipl 1
[   1.0000000] nhpib1 at intio0 addr 0x478000 ipl 3: internal HP-IB
[   1.0000000] hpibbus1 at nhpib1
[   1.0000000] rd0 at hpibbus1 slave 0 punit 0: 7958B
[   1.0000000] rd0: 145 MB, 786 cyl, 9 head, 42 sec, 512 bytes/block x 297108 blocks
[   1.0000000] dma0 at intio0 addr 0x500000 ipl 1: 98620C, 2 channels, 32-bit DMA
[   1.0000000] topcat0 at intio0 addr 0x560000: 1024x768x6 HP98549 catseye frame buffer
[   1.0000000] wsdisplay0 at topcat0 kbdmux 1
[   1.0000000] dio0 at mainbus0
[   1.0000000] com0 at dio0 scode 9 ipl 5: ns8250 or ns16450, no fifo
[   1.0000000] com0: console
[   1.0000000] fhpib0 at dio0 scode 14 ipl 4: 98625A/98625B HP-IB
[   1.0000000] hpibbus2 at fhpib0
[   1.0000000] le0 at dio0 scode 21 ipl 5: address 08:00:09:02:6a:99
[   1.0000000] le0: 8 receive buffers, 2 transmit buffers
[   1.0000000] WARNING: system needs entropy for security; see entropy(7)
[   2.1839830] hil0: no devices
[   5.5627150] boot device: rd0
[   6.7519070] root on rd0a dumps on rd0b
[   6.9918150] root file system type: ffs
[   7.0517830] kern.module.path=/stand/hp300/11.99.4/modules
[   7.1017710] WARNING: preposterous TOD clock time
[   7.1221430] WARNING: using filesystem time
[   7.1412950] WARNING: CHECK AND RESET THE DATE!
[  14.4691190] entropy: best effort
```
(stalls here)

> - Needs testing on HP MMU systems.

 - On HP9000/320 (68020+HP MMU) NEWPMAP kernel boots (i.e. shows
   kernel messages), but even GENERIC (with pmap_motorola.c) cannot
   get single user on 11.99.4  (though 10.1 works)

```
>> NetBSD/hp300 Primary Boot, Revision 1.21 (Thu Mar 28 08:33:33 UTC 2024) (from NetBSD 10.0)
>> HP 9000/320 SPU
>> Enter "reset" to reset system.
Boot: [[[rd0a:]netbsd][-a][-c][-d][-s][-v][-q]] :- netbsd.11-hp330-newpmap -s
1382460+63412 [164464+154625]=0x1af284
Start @ 0xff803000 [1=0xff962ff0-0x1af284]...
Entry point: 0xff803000
[   1.0000000] bootinfo found at 0xff802000
[   1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
[   1.0000000]     2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013,
[   1.0000000]     2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023,
[   1.0000000]     2024, 2025
[   1.0000000]     The NetBSD Foundation, Inc.  All rights reserved.
[   1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[   1.0000000]     The Regents of the University of California.  All rights reserved.

[   1.0000000] NetBSD 11.99.4 (HP330-NEWPMAP) #3: Sat Nov 29 15:31:10 JST 2025
[   1.0000000]  tsutsui@mirage:/s/cvs/src/sys/arch/hp300/compile/HP330-NEWPMAP
[   1.0000000] HP 9000/320 (16.67MHz MC68020 CPU, HP MMU, 16.67MHz MC68881 FPU, 16K virtual-address cache)
[   1.0000000] total memory = 8180 KB
[   1.0000000] avail memory = 6556 KB
[   1.0000000] Parity detection disabled
[   1.0000000] mainbus0 (root)
[   1.0000000] intio0 at mainbus0
[   1.0000000] rtc0 at intio0 addr 0x420000
[   1.0000000] hil0 at intio0 addr 0x428000 ipl 1
[   1.0000000] nhpib1 at intio0 addr 0x478000 ipl 3: internal HP-IB
[   1.0000000] hpibbus1 at nhpib1
[   1.0000000] rd0 at hpibbus1 slave 0 punit 0: 7958B
[   1.0000000] rd0: 145 MB, 786 cyl, 9 head, 42 sec, 512 bytes/block x 297108 blocks
[   1.0000000] dma0 at intio0 addr 0x500000 ipl 1: 98620B, 2 channels, 16-bit DMA
[   1.0000000] topcat0 at intio0 addr 0x560000: 512x400x4 HP98543 topcat frame buffer
[   1.0000000] wsdisplay0 at topcat0 kbdmux 1
[   1.0000000] dio0 at mainbus0
[   1.0000000] com0 at dio0 scode 9 ipl 5: ns8250 or ns16450, no fifo
[   1.0000000] com0: console
[   1.0000000] WARNING: system needs entropy for security; see entropy(7)
[   2.3512990] hil0: no devices
[   7.0490550] boot device: rd0
[   8.3185230] root on rd0a dumps on rd0b
```
(stalls here)

Note NetBSD/hp300 10.1 on HP320 dmesg is here:
 https://dmesgd.nycbug.org/index.cgi?do=view&id=8706

Anyway really great work in 2025, Jason! :-)

Thanks,
---
Izumi Tsutsui


Home | Main Index | Thread Index | Old Index