Port-vax archive

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

Re: NetBSD/vax



Il 22/03/2020 17:21, sadness ha scritto:

>> On Sun, Mar 22, 2020 at 10:50:45AM +0100, Anders Magnusson wrote:
>>> - Check if ncr_sc->sc_dataptr is in user space, if so assign dh->dh_proc.  
>>> Also add a panic if xs->bp is not set.
>>>
>>> This means;  replace line 278 with:
>>>     if (((vaddr_t)ncr_sc->sc_dataptr & KERNBASE) == 0) {
>>>         if (xs->bp == NULL)
>>>             panic("si_dma_alloc");
>>>         dh->dh_proc = xs->bp->b_proc;
>>>     }
>>
>> Souds good - are you able to test with the soure change or should I compile
>> a test kernel for you? Or do you need a full ISO?
> 
> I have a fast system already setup for cross-compiling netbsd and I can
> netboot the vaxstation easily, I will try the patch in a few hours,
> maybe less, right now I'm also trying to resurrect the power supply of
> my 3100m76 so I can test it on another system with the ncr 5380 controller
> Will report ASAP.

I need to do more testing but with this patch the -9 kernel does probe
the bus without problem, all the device (including the disk) is
recognized. At this point I will try to install the system and see if
there's any more problem.
I was also able to repair the m76 psu so I will do some testing on that
system too, it will probably happen in the next few days or maybe the
next few hours if I'm forced to lock down my shop.

Here's the bootlog with the patch applied:

[   1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002,
2003, 2004, 2005,
[   1.0000000]     2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014,
2015, 2016, 2017,
[   1.0000000]     2018, 2019, 2020 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 9.0 (SCSIPATCH) #0: Sun Mar 22 16:41:30 GMT 2020
[   1.0000000]
root%proliant.anarchy.net@localhost:/usr/obj/sys/arch/vax/compile/SCSIPATCH
[   1.0000000] VAXstation 3100/m{30,40}
[   1.0000000] total memory = 16264 KB
[   1.0000000] avail memory = 11444 KB
[   1.0000000] mainbus0 (root)
[   1.0000000] cpu0 at mainbus0: KA420, CVAX, 1KB L1 cache, 64KB L2 cache
[   1.0000000] vsbus0 at mainbus0
[   1.0000000] vsbus0: interrupt mask 8
[   1.0000000] le0 at vsbus0 csr 0x200e0000 vec 120 ipl 17 maskbit 5 buf
0x4ab000-0x4bafff
[   1.0000000] le0: address 08:00:2b:0f:bd:76
[   1.0000000] le0: 32 receive buffers, 8 transmit buffers
[   1.0000000] dz0 at vsbus0 csr 0x200a0000 vec 304 ipl 17 maskbit 6
[   1.0000000] dz0: 4 lines
[   1.0000000] lkkbd0 at dz0
[   1.0000000] lkkbd0: no keyboard
[   1.0000000] wskbd0 at lkkbd0 mux 1
[   1.0000000] lkms0 at dz0
[   1.0000000] wsmouse0 at lkms0 mux 0
[   1.0000000] hdc0 at vsbus0 csr 0x200c0000 vec 774 ipl 17 maskbit 0
[   1.0000000] si0 at vsbus0 csr 0x200c0080 vec 770 ipl 17 maskbit 1
[   1.0000000] si0: NCR5380, SCSI ID 6
[   1.0000000] scsibus0 at si0: 8 targets, 8 luns per target
[   1.0000000] smg0 at vsbus0 csr 0x200f0000 vec 104 ipl 17 maskbit 3
[   1.0000000] smg0: could not find 8x15 font
[   1.0500080] scsibus0: waiting 2 seconds for devices to settle...
[   3.0900080] sd0 at scsibus0 target 0 lun 0: <QUANTUM, EMPIRE_540S,
1230> disk fixed
[   3.1500080] sd0: 500 MB, 2874 cyl, 4 head, 89 sec, 512 bytes/sect x
1025901 sectors
[   3.1800080] sd0: async, 8-bit transfers
[   3.2300080] sd1 at scsibus0 target 1 lun 0: <SEAGATE, ST1480, 4511>
disk fixe
d
[   3.2900080] sd1: 406 MB, 1476 cyl, 9 head, 62 sec, 512 bytes/sect x
832527 sectors
[   3.3200080] sd1: async, 8-bit transfers
[   3.3800080] cd0 at scsibus0 target 4 lun 0: <TOSHIBA, CD-ROM
XM-5301TA, 0925> cdrom removable
[   3.4100080] cd0: async, 8-bit transfers
[   3.5700080] label: 6e6f6974
[   3.6100080] label: 6e6f6974
[   3.6900080] WARNING: using Ultrix partition information
[   3.7500080] WARNING: using Ultrix partition information
[   3.7700080] WARNING: 1 error while detecting hardware; check system log.
[   3.7800080] boot device: le0
[   3.8000080] root on le0
[   3.8200080] nfs_boot: trying DHCP/BOOTP
[   6.9400080] nfs_boot: DHCP next-server: 192.168.0.40
[   6.9600080] nfs_boot: my_name=irata.anarchy.net
[   6.9700080] nfs_boot: my_domain=anarchy.net
[   6.9800080] nfs_boot: my_addr=192.168.0.43
[   6.9900080] nfs_boot: my_mask=255.255.255.0
[   7.0000080] nfs_boot: gateway=192.168.0.25
[  13.2300080] root on 192.168.0.40:/export/vax/irata/root
[  13.2400080] root file system type: nfs
[  13.2600080] kern.module.path=/stand/vax/9.0/modules

-- 
Giuliano Paolo Brunetti
http://www.flickr.com/photos/31231773@N02/sets/
Italian hobbyist DECnet network - http://decnet.ipv7.net



Home | Main Index | Thread Index | Old Index