Re: (maybe) crash your VAX from userspace

Ken Wellsch <[email protected]>
Newsgroups gmane.os.netbsd.ports.vax
Message-ID <[email protected]>
On Sat, Mar 23, 2024 at 10:41:51AM -0400, Mouse wrote:
> > I think the point was that he wanted confirmation on real hardware.
> > He also already observed this in simh. :)
> 
> Yes...after seeing simh itself segfault, which leads to doubt that simh
> is to be entirely trusted here.
> 
> I've fetched the 10.0_RC6 VAX sets and am in the process of setting it
> up on my emulator.  It's not real iron, but it is a completely
> independent emulator implementation.

FWIW, not an issue with this version of SIMH.

[   1.0000000] NetBSD 10.0_RC6 (GENERIC) #0: Tue Mar 12 10:19:02 UTC 2024
[   1.0000000]  [email protected]:/usr/src/sys/arch/vax/compile/GENERIC
[   1.0000000] MicroVAX 3800/3900
[   1.0000000] total memory = 127 MB
[   1.0000000] avail memory = 119 MB

	...

vax# ifconfig qe0 mtu 512

[  36.4604740] r0=87fd9028 r1=00000000 r2=00000000 r3=87c5ed00 r4=80692f34 r5=00000000 r6=87fd9028 r7=87e9a940
[  36.4604740] r8=00000000 r9=87e9a940 r10=8090697f r11=00000000
[  36.4604740] ap=8b883c7c fp=8b883c68 sp=7ffff52c pc=80259431
[  36.4604740] panic: SEGV in kernel mode: pc 0x80259431 addr 0
[  36.4604740] cpu0: Begin traceback...
[  36.4604740] panic: SEGV in kernel mode: pc 0x80259431 addr 0
[  36.4604740] Stack traceback : 
[  36.4604740]   Process is executing in user space.
[  36.4604740] cpu0: End traceback...

[  36.4604740] dump to dev 9,17 not possible

HALT instruction, PC: 80013565 (PUSHAB 802A2F6B)

sim> show version

VAX simulator V3.12-4 [64b data, 64b addresses, Threaded Ethernet Packet transports:PCAP:TAP:UDP]
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.