[net.unix-wizards] Help needed with DMF32 driver

pete@edcaad.UUCP (Peter Sykes) (02/17/84)

Subject: help needed on DMF32 driver
Newsgroups: net.wanted net.unix_wizards

Subject: Help needed for DMF32 driver
Newsgroups: net.unix_wizards

We have just had a dmf32 installed and after a
couple of cabling problems (Diagram in the installation
guide is wrong. Use the users guide) it seems to work.
The problem ocurs when we use our version of graphics 
prolog on a terminal connected to the dmf. A protection
fault occurs and the system reboots. The pc given comes from
the ttselect routine, where (I think) a pointer to the
parent process is put into the tty structure. Graphics
prolog uses multiplexed files and is (so far) the only
program to have done this. The same program running through 
DZ11 is OK.

 Has anyone got any idea what is happening. Rather unhelpfully
the system omits to dump itself into /a/crash so I can't
get any more info than

	Trap type 9 code = e0 pc=8000e035

We are running 4.1c bsd on a vax750 
Thanks in advance
		Pete Sykes	<england>ukc!edcaad!pete
				vax135!edcaad!pete

bukys@rochester.UUCP (Liudvikas Bukys) (02/20/84)

4.1c was sloppy about the dmf32 in /sys/vax/conf.c.
It failed to fill in the d_ttys member of cdevsw[].
The tty driver only uses this in the select code.
It was fixed in 4.2.

-------
diff virgin/conf.c conf.c 
215c215
< #define       dmf11   0
---
> #define       dmf_tty 0
467c467
<       dmfioctl,       dmfstop,        dmfreset,       0,
---
>       dmfioctl,       dmfstop,        dmfreset,       dmf_tty,
-------

Liudvikas Bukys
rochester!bukys (uucp) via allegra, decvax, seismo
bukys@rochester (arpa)