Making a VNC server for A/UX

robin-fo

Well-known member
Can you run newconfig -v and tell me the results? And preferably the output of 'dump_modules /unix', too?
Bash:
aux3-shoebill.root # newconfig -v fb
newconfig: Making backup copies of /etc/inittab /etc/passwd /etc/group.
newconfig: cpio -o > /tmp/ncCpioF195 < /tmp/ncCpioI195 2>/dev/null
newconfig: Preparing to build a new kernel.
newconfig: newunix fb
newconfig: Building a new kernel (this may take several minutes).
newconfig: autoconfig -u -v -I -o /tmp/ncKern195 -S /tmp/ncStart195 -M /tmp/ncMaster195 2> /tmp/ncErr1195
Searching the kernel for modules
Opening kernel /etc/config.d/newunix
Reading MODULES sector header
Searching for modules in /etc/master.d
Found master file /etc/master.d/slots
Found master file /etc/master.d/at_atp
Found master file /etc/master.d/ddp
Found master file /etc/master.d/elap
Found master file /etc/master.d/llap
Found master file /etc/master.d/adsp
Found master file /etc/master.d/ae6
Found master file /etc/master.d/ao
Found master file /etc/master.d/as
Found master file /etc/master.d/at_sig
Found master file /etc/master.d/bnet
Found master file /etc/master.d/devscsi
Found master file /etc/master.d/line
Found master file /etc/master.d/ufs
Found master file /etc/master.d/sin
Found master file /etc/master.d/snd
Found master file /etc/master.d/ac
Found master file /etc/master.d/toolbox
Found master file /etc/master.d/nfs
Found master file /etc/master.d/se
Found master file /etc/master.d/fb
Found master file /etc/master.d/svfs
Searching for hardware devices
Found board ID 59 in slot 9 Version 0.0
Processing include statements in master files
Processing option lines in master files
Reading symbols from /etc/config.d/newunix
Creating new temporary file
Copying section headers
Copying section data
Writing symbol table
Writing string table
Closing temporary file
Writing linker control file
Executing 'ld -o /tmp/kernBAAa00224 /tmp/kernAAAa00224 /tmp/kernCAAa00224 /etc/boot.d/at_atp /etc/boot.d/ddp /etc/boot.d/elap /etc/boot.d/llap /etc/boot.d/adsp /etc/boot.d/ao /etc/boot.d/at_sig /etc/boot.d/bnet /etc/boot.d/devscsi /etc/boot.d/line /etc/boot.d/ufs /etc/boot.d/sin /etc/boot.d/snd /etc/boot.d/toolbox /etc/boot.d/nfs /etc/boot.d/se /etc/boot.d/fb /etc/boot.d/svfs'
ld warning: file /tmp/kernAAAa00224 has no relocation information
undefined        first referenced
 symbol              in file
memcpy                      /etc/boot.d/fb
ld fatal: Symbol referencing errors. No output written to /tmp/kernBAAa00224
Autoconfig error: Kernel link failed

newconfig: *** PROBLEMS BUILDING A NEW KERNEL. ***
Driver startup files in /etc/startup.d may not match kernel!
Run newunix(1m) to restore previous configuration
newconfig: Restoring saved /etc/inittab /etc/passwd /etc/group.
aux3-shoebill.root #
 

robin-fo

Well-known member
The kernel driver works now, I can connect, control the UI, but the remote screen stay black... I can no longer use the mouse in QEMUBildschirmfoto 2022-12-23 um 22.32.59.png
 

cheesestraws

Well-known member
The kernel driver works now, I can connect, control the UI, but the remote screen stay black... I can no longer use the mouse in QEMU

There's something that doesn't work properly with the video in QEMU. I haven't worked out why yet :-(. That's the results I got, too.
 

robin-fo

Well-known member
on the real Quadra, I get a segmentation fault soon after connecting

Bash:
accepted VNC connection from 192.168.2.4, starting session...
Segmentation fault (core dumped)
aux3-shoebill.root #
 

cheesestraws

Well-known member
Thanks! I'll have a look to see if I can make any sense out of that. If I were to send you a version with added debug output, would you have time to run that for me? I'm not going to have time myself to get out one of the 700s and A/UX that up until after Christmas now...
 

robin-fo

Well-known member
Thanks! I'll have a look to see if I can make any sense out of that. If I were to send you a version with added debug output, would you have time to run that for me? I'm not going to have time myself to get out one of the 700s and A/UX that up until after Christmas now...
Won't be much better on my side, except If I get it before I go to bed tonight :)
 

cheesestraws

Well-known member
Could you check that? It ought to complain and bail out politely if it's getting 24 bit colour, because it won't work on anything > 8 at this stage... but crashing isn't totally outside the bounds of possibility.
 
Top