Port-vax archive

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

Re: Building XServer



Hi.
I wouldn't think the Xorg Xserver would work on a VAX, so I'm not surprised.
You probably need to find some DEC based X server to have any hopes, I think. But I could remember things very wrong, as usual... :-)

    Johnny

On 10/07/10 12:50, kaminski%SDF-EU.ORG@localhost wrote:
Hello List,

finally i built a xserver for my VAXStation 4000/90. But it causes the kernel to dump core (well, on vax it actually doesn't...). After this, i rebuilt everything with DEBUG, got a headcrash, moved to another town, rebuilt everything again and finally got a debug output of the crash.

i applied the patches, which Michael sent to the list.

my mk.conf contains the following lines:
X11FLAVOUR=Xorg
MKX11=yes

my kernel config file and dmesg output is attached.

debug output:
-------------

root@vs4090:/root# ./Xorg2

X.Org X Server 1.6.3
Release Date: 2009-7-7
X Protocol Version 11, Revision 0
Build Operating System: NetBSD/vax  -
Current Operating System: NetBSD vs4090 5.1_RC4 NetBSD 5.1_RC4 (VS4090_DEBUG) #2: Thu Oct 7 04:53:34 UTC 2010 root@vs4090:/usr/src/sys/arch/vax/compile/VS4090_DEBUG vax
Build Date: 09 July 2009  12:14:03AM

        Before reporting problems, check http://wiki.X.Org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Oct  7 10:43:46 2010
Primary device is not PCI
(==) Using default built-in configuration (12 lines)
(Epanic: ESegv in kernel mode: pc 80160ea1 addr 10)
Stopped in pid 149.1 (Xorg2) at netbsd:upcallret: function "upcallret()", entry-mask 0x7c0
                remqhi  *0x4ac(r0), r6
db> bt
panic: Segv in kernel mode: pc %x addr %x
Stack traceback :
0x8b9eaaac: upcallret+0x0(0x8b9eab7c)
0x8b9eab7c: trap type=0x4c code=0x10 pc=0x80160ea1 psl=0xc00000
0x8b9eab48: spx_show_screen+0x5d(0,0x887fc000,0,0,0)
0x8b9eabcc: spx_ioctl+0x2bf(0x14c,0x887fc000,0x8004574c,0x8b9eae84,0x3,0x87e732c
0)
0x8b9eac0c: wsdisplay_internal_ioctl+0x10c(0x8afc6990,0x887f8fa0,0x8004574c,0x8b
9eae84,0x3,0x87e732c0)
0x8b9eac90: wsdisplayioctl+0xc3(0x4400,0x8004574c,0x8b9eae84,0x3,0x87e732c0)
0x8b9eacdc: cdev_ioctl+0x28(0x4400,0x8004574c,0x8b9eae84,0x3,0x87e732c0)
0x8b9ead24: spec_ioctl+0x7b(0x8b9ead80)
0x8b9ead58: VOP_IOCTL+0x51(0x87b073a4,0x8004574c,0x8b9eae84,0x3,0x87f84cd0)
0x8b9ead9c: vn_ioctl+0x45(0x87dee780,0x8004574c,0x8b9eae84)
0x8b9eae44: sys_ioctl+0xcb(0x87e732c0,0x8b9eaf4c,0x8b9eaf74)
0x8b9eaf08: syscall+0xfb(0x8b9eafb4)
db>



config file:

#ident         "VS4090-$Revision: 1.1d $"
machine        vax
maxusers    8
makeoptions    DEBUG="-g"

options    VAX49

options    VMSWAP
options    BUFQ_FCFS
options    BUFQ_DISKSORT
options    RFC2292
options    PTRACE
options    COREDUMP
options    SCHED_4BSD
options secmodel_bsd44

options EXEC_SCRIPT
options EXEC_ELF32

options     DDB
options     DDB_HISTORY_SIZE=100
options     KTRACE
options     DIAGNOSTIC
options     DEBUG
options     KMEMSTATS
options     PMAPDEBUG
options     TRAPDEBUG
#options     LOCKDEBUG

options     NTP
options     INET
options     INET6

# All supported filesystem types
file-system     FFS
file-system     NFS
file-system     FDESC
file-system     KERNFS
file-system     PROCFS
file-system     NULLFS
file-system     UMAPFS
file-system     UNION
file-system    PTYFS
file-system    TMPFS
options     WAPBL

options     WSEMUL_VT100
options     WSDISPLAY_DEFAULTSCREENS=8
options     FONT_QVSS8x15

# System V shared memory & semaphores support.
options     SYSVMSG
options     SYSVSEM
options     SYSVSHM

# Kernel(s) to compile
config        netbsd root on sd0a type ffs

mainbus0    at root
cpu*        at mainbus0

# All buses; from the beginning attached to mainbus.
vsbus0        at mainbus0        # All VAXstations
ze0        at mainbus0        # KA48, KA49, KA53

# Vsbus, the virtual VAXstation bus, and possible devices.
dz0        at vsbus0 csr 0x25000000 # VS4000/90 and 4000/10x serial line
asc0        at vsbus0 csr 0x26000080 # VS4000/90 and 4000/10x SCSI-ctlr
spx0        at vsbus0 csr 0x38000000 # Low Cost SPX on VS4000/90.
tc0        at vsbus0 csr 0x36000000 # VS4000/60 or 90 TC adapter
tcds*        at tc0 slot ? offset ?     # TC dual SCSI controller
asc*        at tcds? chip ?         # PMAZB/C
asc*        at tc? slot ? offset ?     # PMAZ

# SCSI devices
scsibus*    at scsi?

sd*        at scsibus? target? lun?
st*        at scsibus? target? lun?
cd*        at scsibus? target? lun?
uk*        at scsibus? target? lun?

# VAXstation graphics support
wsdisplay*    at spx0
lkkbd0        at dz0 line 0
wskbd*        at lkkbd? console ?
lkms0        at dz0 line 1
wsmouse*    at lkms?

# accept filters
pseudo-device   accf_data
pseudo-device   accf_http

pseudo-device    loop    1
pseudo-device    pty
pseudo-device    gif
pseudo-device    stf
pseudo-device    vlan
pseudo-device    rnd
pseudo-device    leds
pseudo-device    clockctl
pseudo-device    ksyms
pseudo-device    wsmux
pseudo-device    cpuctl


dmesg output:

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 5.1_RC4 (VS4090) #1: Wed Oct  6 12:31:45 UTC 2010
    root@vax:/usr/src/sys/arch/vax/compile/VS4090
MicroVAX 4000/90
total memory = 127 MB
avail memory = 122 MB
timecounter: Timecounters tick every 10.000 msec
mainbus0 (root)
cpu0 at mainbus0: KA49, NVAX, 10KB L1 cache, 256KB L2 cache
ze0 at mainbus0
ze0: hardware address 08:00:2b:92:86:82
vsbus0 at mainbus0
vsbus0: 8K entry DMA SGMAP at PA 0x27000000 (VA 0x8afcc000)
vsbus0: interrupt mask 0
dz0 at vsbus0 csr 0x25000000 vec 524 ipl 17 maskbit 3
dz0: 4 lines
lkkbd0 at dz0
wskbd0 at lkkbd0 mux 1
lkms0 at dz0
wsmouse0 at lkms0 mux 0
asc0 at vsbus0 csr 0x26000080 vec 510 ipl 17 maskbit 1
asc0: NCR53C94, 25MHz, SCSI ID 7
scsibus0 at asc0: 8 targets, 8 luns per target
spx0 at vsbus0 csr 0x38000000 vec 514 ipl 15 maskbit 2
spx0: Using QVSS 8x15 font
spx0: RAMDAC ID: 0x4a, Bt459 (SPX/LCSPX) RAMDAC type
wsdisplay0 at spx0 kbdmux 1
wsmux1: connecting to wsdisplay0
wskbd0: connecting to wsdisplay0
wsdisplay0: screen 0-7 added (160x68, vt100 emulation)
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
timecounter: Timecounter "mfpr" frequency 1000000 Hz quality 100
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <COMPAQ, BD14685A26, HPB3> disk fixed
sd0: 136 GB, 49855 cyl, 8 head, 718 sec, 512 bytes/sect x 286749488 sectors sd0: sync (160.00ns offset 15), 8-bit (6.250MB/s) transfers, tagged queueing
sd1 at scsibus0 target 1 lun 0: <SEAGATE, ST39173N, 6244> disk fixed
sd1: 8683 MB, 7501 cyl, 10 head, 237 sec, 512 bytes/sect x 17783240 sectors sd1: sync (160.00ns offset 15), 8-bit (6.250MB/s) transfers, tagged queueing
boot device: sd1
root on sd0a dumps on sd0b




Home | Main Index | Thread Index | Old Index