Greetings,

I'm currently experiencing a sharp lack of joy whilst trying to install XFree
4.2.1 on a HP Omnibook 6000.

I'm continually hitting

  VT_GETMODE failed

which is somewhat cryptic.  I can find nothing on this via google, and nothing
on the XFree86 site (modulo a similar help message).

I built a small proggie (below) to prove that the ioctl works; and it does
fine (on a console, as one might expect).  I've tried the obvious; alternate
XF86 configs, revert to VGA driver from ati, no difference.

Has anyone seen this before?  It's more than a little disturbing, and
frustrating.

Output below.

------------------------------------


XFree86 Version 4.2.1 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 3 September 2002
        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.  (See http://www.XFree86.Org/)
Build Operating System: Linux 2.4.20 i686 [ELF] 
Module Loader present
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/XFree86.0.log", Time: Fri Feb 21 16:42:05 2003
(==) Using config file: "/etc/X11/XF86Config"
(==) ServerLayout "Simple Layout"
(**) |-->Screen "Screen 1" (0)
(**) |   |-->Monitor "LCD Panel"
(**) |   |-->Device "Standard VGA"
(**) |-->Input Device "Configured Mouse"
(**) |-->Input Device "Keyboard1"
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xfree86"
(**) XKB: rules: "xfree86"
(**) Option "XkbModel" "pc105"
(**) XKB: model: "pc105"
(**) Option "XkbLayout" "gb"
(**) XKB: layout: "gb"
(==) Keyboard: CustomKeycode disabled
(**) FontPath set to 
"/usr/X11R6/lib/X11/fonts/local/,/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/"
(**) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(==) ModulePath set to "/usr/X11R6/lib/modules"
(--) using VT number 3

(WW) xf86OpenConsole: VT_ACTIVATE failed
(WW) xf86OpenConsole: VT_WAITACTIVE failed

Fatal server error:
xf86OpenConsole: VT_GETMODE failed


When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
This can be found in the log file "/var/log/XFree86.0.log".
Please report problems to [EMAIL PROTECTED]

------------------------------------

Mx.



#include <stdio.h>
#include <sys/vt.h>
#include <sys/ioctl.h>
#include <fcntl.h>

int
main(int argc, char **argv) {
  int c, vfd;
  struct vt_mode vtm;

  if (vfd = open("/dev/console", O_RDWR) < 0) {
    perror("vlock: could not open /dev/console");
    exit (1);
  }
  c = ioctl(vfd,VT_GETMODE, &vtm);
  if ( c < 0 ) {
    perror("This tty is not a virtual console");
  }
}
_______________________________________________
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86

Reply via email to