Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* Tru64 5.1, PC164 and still no X...
@ 2002-07-24 15:36 Michael Joosten
  2002-07-24 22:00 ` Bob Irwin
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Joosten @ 2002-07-24 15:36 UTC (permalink / raw)


Dear folks, 

I've wasted a lot of time and effort to get this Tru64 thing running
with the very same grafics cards as I use under OpenVMS, but I'm still
getting nowhere. Well, lets explain that 'nowhere':

The tragedy takes place on a PC164, equiped with 8 16MB FP SIMMs, all
healthy. Alas, our wana-be hero is a little speed-impaired, as I had to
disable the Bcache. This might be the reason for the trouble...

First Act, wanna-be supporting actor S3Trio64 enters the scene:

First Scene: Installation of Tru64 5.1 on the PC164 with Trio64: fails,
X server crashes. So, repeat with console. 

Second Scene:
After installation, the X server crashes the whole machine, resulting in
a crashdump (see below), some other time, it just gets stuck in a
breakpoint or such, which can be seen on an attached terminal on serial
port 1.
In the latter case, the root weave appears on the screen and the mouse
crosshairs are in the upper left corner. Aaand - freeze.

The crashdump:
(dbx) where
>  0 boot(reason = (unallocated - symbol optimized away), howto = (unallocated - symbol optimized away)) ["../../../../src/kernel/arch/alpha/machdep.c":2774, 0xfffffc0000549708]
   1 panic(s = (unallocated - symbol optimized away))
["../../../../src/kernel/bsd/subr_prf.c":1334, 0xfffffc0000292eec]
   2 afault_trap(va = (unallocated - symbol optimized away), opcode =
(unallocated - symbol optimized away), regno = (unallocated - symbol
optimized away), uac = (unallocated - symbol optimized away), exc_frame
= (unallocated - symbol optimized away), ins
   3 _XentUna(0x0, 0xfffffc000066f854, 0xfffffc00006d5100,
0xfffffc0000670044, 0xfffffc0000930f68)
["../../../../src/kernel/arch/alpha/locore.s":2250, 0xfffffc0000533084]
   4 s3trio_init_screen_handle(0x0, 0xfffffc000066f854,
0xfffffc00006d5100, 0xfffffc0000670044, 0xfffffc0000930f68)
["../../../../src/kernel/io/dec/ws/s3trio.c":1568, 0xfffffc000066f854]
   5 wsopen(0x107ec1c80, 0xfffffc0001d62240, 0x100000021,
0x210000100001003, 0xfffffc00007afe98)
["../../../../src/kernel/io/dec/ws/ws_driver.c":1784,
0xfffffc000065959c]
   6 spec_open(0x0, 0xfffffe04000001b0, 0xfffffc0007ec1c80,
0xfffffe0400000080, 0xfffffc0001d62398)
["../../../../src/kernel/vfs/spec_vnops.c":2059, 0xfffffc00004b2364]
   7 vn_open(0xfffffc00032be4e0, 0x100000007, 0xfffffe0409bcf848,
0xfffffe0409bcf840, 0xfffffe0409bcf838)
["../../../../src/kernel/vfs/vfs_vnops.c":784, 0xfffffc00004d9a5c]
More (n if no)?
   8 copen(0x7, 0xfffffc0002788e40, 0xfffffc0004360240,
0xfffffe0409bcf8a8, 0x12)
["../../../../src/kernel/vfs/vfs_syscalls.c":3276, 0xfffffc00004cae60]
   9 syscall(0x0, 0x0, 0xffffffffffffffff, 0x0, 0xfffffc0004360000)
["../../../../src/kernel/arch/alpha/syscall_trap.c":713,
0xfffffc000052f4d0]
  10 _Xsyscall(0x8, 0x3ff800cdac8, 0x3ffffc9af80, 0x3ffffc913e0, 0x2)
["../../../../src/kernel/arch/alpha/locore.s":1785, 0xfffffc0000532d1c]

I'm afraid that I cannot reproduce it anymore, now it just gets stuck.

The very same card works well with the same board under OpenVMS 7.2.



Second Act, wanna-be supporting actor ELSA GLoria Synergy 8 (Video
in/out) enters the Scene:

First Scene: Actor arrives somewhat handicapped, I had to replace the
voltage regulator (worked in text mode, but quickly got pixel faults in
grafics of any resolution. Moving windows in OpenVMS or on a PC with
whatever OS froze the whole box pretty fast. Lousy quality, the guy who
thought that a cheesy SMD version is sufficient conserved the money at
the wrong place...)

Works with OpenVMS + patches, in 1280x1024 at 24bit.

Under Tru64, though, the server tries to start, correctly identifies the
card, gets something wrong (visual id: -40960 ???) and dies in a
segmentation violation:

# X
Permedia-2 on screen 1: visual class -4060056 is not supported
Screen 1 Elsa GLoria (Permedia-2 8MB) - PseudoColor, 8 bpp, 1024x768,
70Hz
shminit (1024f, 192a, 0r)
Memory fault - core dumped

truss:
.......
open("/usr/shlib/X11/libextMultibuf.so", O_RDONLY, 043777736020) = 6
fstat(6, 0x000000011FFFB9B8)                    = 0
read(6, "830110\0F7 QD6 :\0A0\0\0".., 8192)     = 8192
mmap(0x000003FFBFE50000, 32768, PROT_READ|PROT_EXEC,
MAP_FILE|MAP_VARIABLE|MAP_P
RIVATE, 6, 0) = 0x000003FFC0024000
munmap(0x000003FFC0024000, 32768)               = 0
mmap(0x0000030000000000, 32768, PROT_READ|PROT_EXEC,
MAP_ANONYMOUS|MAP_VARIABLE|
MAP_PRIVATE, -1, 0) = 0x0000030000800000
munmap(0x0000030000800000, 32768)               = 0
mmap(0x0000030000800000, 32768, PROT_READ|PROT_EXEC,
MAP_ANONYMOUS|MAP_VARIABLE|
MAP_PRIVATE, -1, 0) = 0x0000030000800000
munmap(0x0000030000800000, 32768)               = 0
mmap(0x0000030040870000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_ANONYMOUS|MAP
_VARIABLE|MAP_PRIVATE, -1, 0) = 0x0000030040870000
munmap(0x0000030040870000, 8192)                = 0
mmap(0x0000030000800000, 32768, PROT_READ|PROT_EXEC,
MAP_FILE|MAP_FIXED|MAP_PRIV
ATE, 6, 0) = 0x0000030000800000
mmap(0x0000030040870000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_FILE|MAP_FIXE
D|MAP_PRIVATE, 6, 32768) = 0x0000030040870000
close(6)                                        = 0
socket(AF_UNIX, SOCK_DGRAM, PF_UNSPEC)          = 6
getpid()                                        = 2248  [ 2247 ]
sendto(6, 0x000000011FFFB4C8, 1939, 0, 0x000000011FFFB3B0, 14) Err#2  No
such file or directory
close(6)                                        = 0
brk(0x0000000140024000)                         = 0
socket(AF_UNIX, SOCK_DGRAM, PF_UNSPEC)          = 6
getpid()                                        = 2248  [ 2247 ]
sendto(6, 0x000000011FFFB648, 1939, 0, 0x000000011FFFB530, 14) Err#2  No
such file or directory
close(6)                                        = 0
    Incurred fault #32, FLTBOUNDS  %pc = 0x000003FFBFAC5EFC   addr =
0x000000011
FFFBE90
    Received signal #11, SIGSEGV [default]
      siginfo: SIGSEGV SEGV_MAPERR addr=0x0000000000000000
                                                Err#139 Error 139
occurred.
        *** process killed ***

Installing Open3D (which is useless for the 4D10 anyway, right?)  and
applying the ECO did not change any of the symptoms. 

There are, besides those made by Open3D and the 4D5X-Support, no changes
in the X configuration, no special arguments in Xserver.conf.

I'm pretty clueless now. Anything else to change, in SRM (PCI latencies
or such), or removing some of the X extensions in Xserver.conf?

-- 
Michael Joosten, SBS C-LAB, joost@c-lab.de
Fuerstenallee 11, 33094 Paderborn, Germany
Phone: +49 5251 606127, Fax: +49 5251 606065
C-LAB is a cooperation of University Paderborn & SIEMENS


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Tru64 5.1, PC164 and still no X...
  2002-07-24 15:36 Tru64 5.1, PC164 and still no X Michael Joosten
@ 2002-07-24 22:00 ` Bob Irwin
  2002-07-24 23:19   ` Dave Uhring
  0 siblings, 1 reply; 4+ messages in thread
From: Bob Irwin @ 2002-07-24 22:00 UTC (permalink / raw)


Michael Joosten wrote:

> 
> truss:
> .......
> open("/usr/shlib/X11/libextMultibuf.so", O_RDONLY, 043777736020) = 6
> fstat(6, 0x000000011FFFB9B8)                    = 0
> read(6, "830110\0F7 QD6 :\0A0\0\0".., 8192)     = 8192
> mmap(0x000003FFBFE50000, 32768, PROT_READ|PROT_EXEC,
> MAP_FILE|MAP_VARIABLE|MAP_P


Michael, I'm afraid I cannot help with your problem.  But if you
could point me to a copy of 'truss' for tru64 5.1, I'd really be
grateful.

I'm struggling with some mysterious errors in doing a 'sysconfig -c'
of a pci driver I'm developing. and a trace of system calls would
be really helpful.

please?

Thank you


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Tru64 5.1, PC164 and still no X...
  2002-07-24 22:00 ` Bob Irwin
@ 2002-07-24 23:19   ` Dave Uhring
  2002-07-25 15:41     ` Michael Joosten
  0 siblings, 1 reply; 4+ messages in thread
From: Dave Uhring @ 2002-07-24 23:19 UTC (permalink / raw)


Bob Irwin wrote:

> Michael, I'm afraid I cannot help with your problem.  But if you
> could point me to a copy of 'truss' for tru64 5.1, I'd really be
> grateful.
> 
> I'm struggling with some mysterious errors in doing a 'sysconfig -c'
> of a pci driver I'm developing. and a trace of system calls would
> be really helpful.

Truss should be installed on your system; it is on my 4.0D system.  If 
not perhaps you could use strace; build it from source if it is not too 
Linux specific:

http://www.liacs.nl/~wichert/strace/



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Tru64 5.1, PC164 and still no X...
  2002-07-24 23:19   ` Dave Uhring
@ 2002-07-25 15:41     ` Michael Joosten
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Joosten @ 2002-07-25 15:41 UTC (permalink / raw)


Dave Uhring wrote:
> 
> Bob Irwin wrote:
> 
> > Michael, I'm afraid I cannot help with your problem.  But if you
> > could point me to a copy of 'truss' for tru64 5.1, I'd really be
> > grateful.
> >
> > I'm struggling with some mysterious errors in doing a 'sysconfig -c'
> > of a pci driver I'm developing. and a trace of system calls would
> > be really helpful.
> 

truss is hiding in the, what's its name, 'Modified and New Commands and
APIs (Extended System V Functionality)' package, on the Associated
Products CD II. Gets installed as packages ESVFBIN100 and ESVFMAN100,
and truss is actually /usr/opt/svr4/bin/truss



> Truss should be installed on your system; it is on my 4.0D system.  If
> not perhaps you could use strace; build it from source if it is not too
> Linux specific:
> 
> http://www.liacs.nl/~wichert/strace/

-- 
Michael Joosten, SBS C-LAB, joost@c-lab.de
Fuerstenallee 11, 33094 Paderborn, Germany
Phone: +49 5251 606127, Fax: +49 5251 606065
C-LAB is a cooperation of University Paderborn & SIEMENS


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-07-25 15:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-24 15:36 Tru64 5.1, PC164 and still no X Michael Joosten
2002-07-24 22:00 ` Bob Irwin
2002-07-24 23:19   ` Dave Uhring
2002-07-25 15:41     ` Michael Joosten

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox