Re: VAXstation 3100/30 KA420 SCSI DMA problem on netboot (and fix)

Ken Wellsch <[email protected]>
Newsgroups gmane.os.netbsd.ports.vax
Message-ID <[email protected]>
On Sun, Feb 18, 2024 at 03:39:18AM +0900, Izumi Tsutsui wrote:
> mcguire@ wrote:
> 
> > On 2/17/24 04:19, Anders Magnusson wrote:
> > > About the /m76, no idea.  We leave it for now until someone with that 
> > > hardware can test if it is needed.
> > 
> >    If anyone is stuck on this, I can try to dig out one of my M76 
> > machines and get it running.  Let me know.
> 
> Ok, if you can try netboot (via mopd(8) etc.) on your M76,
>  http://www.netbsd.org/docs/network/netboot/intro.vax.html
> could you try to boot the following debug kernel to check a
> region around KA420_STC_MODE?

Unfortunately the ethernet media switch is broken on my M76.  I am sure
Dave is much better set to carry on both disk and ethernet boots.  I will
see what I can do to fix the switch if I can.

So, for what it is worth, this is a disk boot (an install CD image I built
with your patch, served from a SCSI emulator card):

>>> boot DKA500

	...

[   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
[   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 10.0_RC4 (GENERIC) #1: Sun Feb 18 08:51:17 EST 2024
[   1.0000000] 	netbsd@z440d:/home/netbsd/obj.vax/sys/arch/vax/compile/GENERIC
[   1.0000000] VAXstation 3100/m76

	...

[   1.0000000] si0 at vsbus0 csr 0x200c0080 vec 770 ipl 17 maskbit 1
[   1.0000000] Dumping KA420_SCD region
[   1.0000000] 0x200C00A0: 00 08 00 00 FF FF FF FF FF FF FF FF FF FF FF FF
[   1.0000000] 0x200C00B0: 00 00 00 00 FF FF FF FF FF FF FF FF FF FF FF FF
[   1.0000000] 0x200C00C0: 00 00 00 00 01 00 00 00 FF FF FF FF FF FF FF FF
[   1.0000000] 0x200C00D0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[   1.0000000] 0x200C00E0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[   1.0000000] 0x200C00F0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[   1.0000000] si0: NCR5380, SCSI ID 6
[   1.0000000] scsibus0 at si0: 8 targets, 8 luns per target
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.