Subject: NetBSD/X11 Problem
To: None <port-amiga@NetBSD.ORG>
From: None <lennartz@mse.mee.com>
List: port-amiga
Date: 05/14/1996 10:01:19
Hello,
the last week I installed NetBSD1.1 from the CD-ROM distribution
(GATEWAY! vol2). This installation was successful, but after I
installed the X11R6 system, I was not able to start the X11 correctly.
After the "startx" execution I got no output and no error message
(only blinking cursor), but I think, X is running.
My Hardware:
- Amiga 4000/40 33Mhz
- Picasso II (with CyberGFX driver)
- 130 MB / 1.3 GB HD
- 18 MB RAM
- CD-ROM
NetBSD installation:
- all required NetBSD and X11R6 packages installed
- I use the standard kernel
- local network is running
- "ping localhost" or "ping aws" is Ok (aws is my hostname)
- $DISPLAY has correct value (:0.0 or aws:0.0)
- /dev/grf3 is present
- NetBSD console is running on PicassoII
- I tried two window manager (fvwm,twm)
- Xcl is called with standard options (-mono ...)
- NetBSD boots without any error messages
I don=B4t kmow, where I can search the problem and I hope someone can
help me to find the error.
(I attached a ktrace output from "ktrace startx")
Thanks!
Best regards
Michael Lennartz
ktrace startx :
--------------------------------
132 ktrace RET ktrace 0
132 ktrace CALL __sysctl(0xdfffa1c,0x2,0xb116,0xdfffa24,0,0)
132 ktrace RET __sysctl 4
132 ktrace CALL break(0xb150)
132 ktrace RET break 0
132 ktrace CALL break(0xbffc)
132 ktrace RET break 0
132 ktrace CALL break(0xdffc)
132 ktrace RET break 0
132 ktrace CALL execve(0xdfffa94,0xdfffef8,0xdffff00)
132 ktrace NAMI "./startx"
132 ktrace RET execve -1 errno 2 No such file or directory
132 ktrace CALL execve(0xdfffa94,0xdfffef8,0xdffff00)
132 ktrace NAMI "/sbin/startx"
132 ktrace RET execve -1 errno 2 No such file or directory
132 ktrace CALL execve(0xdfffa94,0xdfffef8,0xdffff00)
132 ktrace NAMI "/usr/sbin/startx"
132 ktrace RET execve -1 errno 2 No such file or directory
132 ktrace CALL execve(0xdfffa94,0xdfffef8,0xdffff00)
132 ktrace NAMI "/bin/startx"
132 ktrace RET execve -1 errno 2 No such file or directory
132 ktrace CALL execve(0xdfffa94,0xdfffef8,0xdffff00)
132 ktrace NAMI "/usr/bin/startx"
132 ktrace RET execve -1 errno 2 No such file or directory
132 ktrace CALL execve(0xdfffa94,0xdfffef8,0xdffff00)
132 ktrace NAMI "/usr/local/X11R6/bin/startx"
132 ktrace NAMI "/bin/sh"
132 sh EMUL "netbsd"
132 sh RET execve 0
132 sh CALL getpid
132 sh RET getpid 132/0x84
132 sh CALL geteuid
132 sh RET geteuid 0
132 sh CALL __sysctl(0xdfffde8,0x2,0x4741a,0xdfffdf0,0,0)
132 sh RET __sysctl 4
132 sh CALL break(0x48aec)
132 sh RET break 0
132 sh CALL break(0x49ffc)
132 sh RET break 0
132 sh CALL break(0x4bffc)
132 sh RET break 0
132 sh CALL open(0xdffff18,0,0xdffff10)
132 sh NAMI "/usr/local/X11R6/bin/startx"
132 sh RET open 3
132 sh CALL fcntl(0x3,0,0xa)
132 sh RET fcntl 10/0xa
132 sh CALL close(0x3)
132 sh RET close 0
132 sh CALL getuid
132 sh RET getuid 0
132 sh CALL geteuid
132 sh RET geteuid 0
132 sh CALL getgid
132 sh RET getgid 0
132 sh CALL getegid
132 sh RET getegid 0
132 sh CALL read(0xa,0x47904,0x3ff)
132 sh GIO fd 10 read 1023 bytes
"#!/bin/sh
=20
# $XConsortium: startx.cpp,v 1.4 91/08/22 11:41:29 rws Exp $
#
# This is just a sample implementation of a slightly less primitive
# interface than xinit. It looks for user .xinitrc and .xserverrc
# files, then system xinitrc and xserverrc files, else lets xinit choo=
\
se
# its default. The system xinitrc should probably do things like chec=
\
k
# for .Xresources files and merge them in, startup up a window manager=
\
,
# and pop a clock and serveral xterms.
#
# Site administrators are STRONGLY urged to write nicer versions.
#
=20
userclientrc=3D$HOME/.xinitrc
userserverrc=3D$HOME/.xserverrc
sysclientrc=3D/usr/local/X11R6/lib/X11/xinit/xinitrc
sysserverrc=3D/usr/local/X11R6/lib/X11/xinit/xserverrc
clientargs=3D""
serverargs=3D""
=20
if [ -f $userclientrc ]; then
clientargs=3D$userclientrc
else if [ -f $sysclientrc ]; then
clientargs=3D$sysclientrc
fi
fi
=20
if [ -f $userserverrc ]; then
serverargs=3D$userserverrc
else if [ -f $sysserverrc ]; then
serverargs=3D$sysserverrc
fi
fi
=20
whoseargs=3D"client"
while [ "x$1" !=3D ""
132 sh RET read 1023/0x3ff
132 sh CALL break(0x4dffc)
132 sh RET break 0
132 sh CALL break(0x4fffc)
132 sh RET break 0
132 sh CALL break(0x51ffc)
132 sh RET break 0
132 sh CALL stat(0x47618,0xdfffcc0)
132 sh NAMI "./["
132 sh RET stat -1 errno 2 No such file or directory
132 sh CALL break(0x53ffc)
132 sh RET break 0
132 sh CALL stat(0x52004,0xdfffcc0)
132 sh NAMI "/sbin/["
132 sh RET stat -1 errno 2 No such file or directory
132 sh CALL stat(0x52004,0xdfffcc0)
132 sh NAMI "/usr/sbin/["
132 sh RET stat -1 errno 2 No such file or directory
132 sh CALL stat(0x52004,0xdfffcc0)
132 sh NAMI "/bin/["
132 sh RET stat 0
132 sh CALL break(0x55ffc)
132 sh RET break 0
132 sh CALL fork
132 sh RET fork 133/0x85
132 sh CALL getpgrp
132 sh RET getpgrp 132/0x84
132 sh CALL wait4(0xffffffff,0xdfffd00,0x2,0)
132 sh RET wait4 133/0x85
132 sh CALL fork
132 sh RET fork 134/0x86
132 sh CALL getpgrp
132 sh RET getpgrp 132/0x84
132 sh CALL wait4(0xffffffff,0xdfffce8,0x2,0)
132 sh RET wait4 134/0x86
132 sh CALL fork
132 sh RET fork 135/0x87
132 sh CALL getpgrp
132 sh RET getpgrp 132/0x84
132 sh CALL wait4(0xffffffff,0xdfffd00,0x2,0)
132 sh RET wait4 135/0x87
132 sh CALL fork
132 sh RET fork 136/0x88
132 sh CALL getpgrp
132 sh RET getpgrp 132/0x84
132 sh CALL wait4(0xffffffff,0xdfffce8,0x2,0)
132 sh RET wait4 136/0x88
132 sh CALL read(0xa,0x47904,0x3ff)
132 sh GIO fd 10 read 354 bytes
"x" ]; do
case "$1" in
/''*|\\.*) if [ "$whoseargs" =3D "client" ]; then
clientargs=3D"$1"
else
serverargs=3D"$1"
fi ;;
--) whoseargs=3D"server" ;;
*) if [ "$whoseargs" =3D "client" ]; then
clientargs=3D"$clientargs $1"
else
serverargs=3D"$serverargs $1"
fi ;;
esac
shift
done
=20
xinit $clientargs -- $serverargs
=20
=20
=20
=20
=20
=20
=20
=20
=20
=20
=20
=20
"
132 sh RET read 354/0x162
132 sh CALL fork
132 sh RET fork 137/0x89
132 sh CALL getpgrp
132 sh RET getpgrp 132/0x84
132 sh CALL wait4(0xffffffff,0xdfffcec,0x2,0)
132 sh RET wait4 137/0x89
132 sh CALL stat(0x47534,0xdfffcd8)
132 sh NAMI "./xinit"
132 sh RET stat -1 errno 2 No such file or directory
132 sh CALL stat(0x47534,0xdfffcd8)
132 sh NAMI "/sbin/xinit"
132 sh RET stat -1 errno 2 No such file or directory
132 sh CALL stat(0x47534,0xdfffcd8)
132 sh NAMI "/usr/sbin/xinit"
132 sh RET stat -1 errno 2 No such file or directory
132 sh CALL stat(0x47534,0xdfffcd8)
132 sh NAMI "/bin/xinit"
132 sh RET stat -1 errno 2 No such file or directory
132 sh CALL stat(0x47534,0xdfffcd8)
132 sh NAMI "/usr/bin/xinit"
132 sh RET stat -1 errno 2 No such file or directory
132 sh CALL stat(0x47534,0xdfffcd8)
132 sh NAMI "/usr/local/X11R6/bin/xinit"
132 sh RET stat 0
132 sh CALL fork
132 sh RET fork 138/0x8a
132 sh CALL getpgrp
132 sh RET getpgrp 132/0x84
132 sh CALL wait4(0xffffffff,0xdfffd18,0x2,0)
132 sh RET wait4 138/0x8a
132 sh CALL read(0xa,0x47904,0x3ff)
132 sh GIO fd 10 read 0 bytes
""
132 sh RET read 0
132 sh CALL getpid
132 sh RET getpid 132/0x84
132 sh CALL exit(0)
---------------------------------