Subject: Using a linux Xserver under NetBSD's linux_compat
To: None <netbsd-help@NetBSD.ORG>
From: Zach Fine <czyz@u.washington.edu>
List: netbsd-help
Date: 06/09/1998 17:11:19
Here's the whole story so far...

I've recently acquired a Diamond FireGL 1000 PRO graphics card. It's
based on the Permedia 2 chipset, and due to some sort of legal issue
there's no freely available XFree86 server for the card yet. However
SuSE has made available XFree86 accelerated servers for the card, a
Linux version and a FreeBSD version. 

I decided to download the Linux version since I've already got a ton
of linux shared libraries installed and I didn't really feel like
downloading an entire FreeBSD distribution over my 28.8 modem just to
extract the libraries (are they available in a package or tarball
anywhere?). 

I used the modified xf86config that I downloaded along with xglint.tgz
(the linux driver for the card), and set everything up.

I had to 'ln -s /tmp /emul/linux/tmp' to get past an error involving
.X0-lock

I then had to link each /dev/ttyv? to /emul/linux/dev/tty?  (i.e. 'ln
-s /dev/ttyv0 /emul/linux/dev/tty0') to get it past a few more errors.

But now I think I may have hit an error that isn't possible to get
past with NetBSD 1.3.2's linux emulation. 

Take a look at the ioctl error up ahead. Is this a known trouble spot?
Is there a way to get around it?

-Thanks for any help. I'd really like to be able to use this card.

-Zach Fine
czyz@u.washington.edu

XSuSE_Elsa_GLoria 3.02 / X Window System
(protocol Version 11, revision 0, vendor release 6300)
Release Date: March 3 1998
	If the server is older than 6-12 months, or if your card is newer
	than the above date, look for a newer version before reporting
	problems.  (send problem reports to x@suse.de)
Operating System: Linux 2.0.32 i586 [ELF] 
Configured drivers:
  GLINT: accelerated server for 3DLabs GLINT graphics adapters
(Patchlevel 0)

Copyright 1997-1998 S.u.S.E. GmbH, Fürth
Copyright 1992-1998 The XFree86 Project, Inc.

Permission is hereby granted, free of charge, to any person to
redistribute this software and its documentation verbatim (including
all files and documentation without any changes) for any purpose
provided that the above copyright notice appear in all copies and that
both that copyright notice and this permission notice appear in
supporting documentation.

(using VT number 2)

XF86Config: /etc/XF86Config
(**) stands for supplied, (--) stands for probed/default values
(**) XKB: keymap: "xfree86(us)" (overrides other XKB settings)
(**) Mouse: type: Microsoft, device: /dev/mouse, baudrate: 1200,
       3 button emulation (timeout: 50ms)
(**) GLINT: Graphics device ID: "Diamond Fire GL 1000 PRO"
(**) GLINT: Monitor ID: "ibm"
(--) GLINT: Mode "800x600" needs hsync freq of 64.02 kHz. Deleted.
(--) GLINT: Mode "1024x768" needs hsync freq of 62.50 kHz. Deleted.
(--) GLINT: Mode "1152x864" needs hsync freq of 62.42 kHz. Deleted.
(--) GLINT: Mode "1280x1024" needs hsync freq of 64.25 kHz. Deleted.
(--) GLINT: Mode "1024x768" needs hsync freq of 70.24 kHz. Deleted.
(--) GLINT: Mode "1152x864" needs hsync freq of 70.88 kHz. Deleted.
(--) GLINT: Mode "1280x1024" needs hsync freq of 74.59 kHz. Deleted.
(--) GLINT: Mode "1600x1200" needs hsync freq of 75.00 kHz. Deleted.
(--) GLINT: Mode "1152x864" needs hsync freq of 76.01 kHz. Deleted.
(--) GLINT: Mode "1280x1024" needs hsync freq of 78.86 kHz. Deleted.
(--) GLINT: Mode "1024x768" needs hsync freq of 80.21 kHz. Deleted.
(--) GLINT: Mode "1280x1024" needs hsync freq of 81.13 kHz. Deleted.
(--) GLINT: Mode "1600x1200" needs hsync freq of 87.50 kHz. Deleted.
(--) GLINT: Mode "1152x864" needs hsync freq of 89.62 kHz. Deleted.
(--) GLINT: Mode "1280x1024" needs hsync freq of 91.15 kHz. Deleted.
(--) GLINT: Mode "1600x1200" needs hsync freq of 93.75 kHz. Deleted.
(--) GLINT: Mode "1600x1200" needs hsync freq of 105.77 kHz. Deleted.
(--) GLINT: Mode "1280x1024" needs hsync freq of 107.16 kHz. Deleted.
(--) GLINT: Mode "1800X1440" needs hsync freq of 96.15 kHz. Deleted.
(--) GLINT: Mode "1800X1440" needs hsync freq of 104.52 kHz. Deleted.
linux_machdepioctl: Invalid ioctl 00005603
(**) FontPath set to "/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/75dpi/:unscaled,/usr/X11R6/lib/X11/fonts/100dpi/:unscaled,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/"

Fatal server error:
xf86OpenConsole: VT_SETMODE VT_PROCESS failed


When reporting a problem related to a server crash, please send
the full server output, not just the last messages

X connection to :0.0 broken (explicit kill or server shutdown).