|
Message-ID: <20011130182458.A30470@p2.gsib.ru> Date: Fri, 30 Nov 2001 18:24:58 +0300 From: Anatoly Pugachev <mator@...b.ru> To: owl-users@...ts.openwall.com Subject: Re: xfree86 4.1.0 / not tty On Fri, Nov 30, 2001 at 01:54:52AM +0300, Solar Designer wrote: > On Wed, Nov 28, 2001 at 08:48:38PM +0300, Anatoly Pugachev wrote: > > Successfully compiled and installed XFree86 ver. 4.1.0 on Owl linux distro, > > but was unable to start it: > > ibs!root:~# XFree86 -configure > > > > XFree86 Version 4.1.0 / X Window System > > (protocol Version 11, revision 0, vendor release 6510) > > Release Date: 2 June 2001 > > 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/FAQ) > > Build Operating System: Linux 2.2.20 i686 [ELF] > > Module Loader present > > (==) Log file: "/var/log/XFree86.0.log", Time: Wed Nov 28 23:54:43 2001 > > (--) using VT number 9 > > I don't know if this is the (only) problem, but by default Owl creates > device files for 8 vty's only. You need to either use a lower vty for > X or create /dev/tty9 with: right, i have find out it myself too, just was not sure about limit in 8 ttys available by default. By decresing number of used consoles (getty's) and XFree86 started ok'ay. > david!root:~# cd /dev > david!root:/dev# ./MAKEDEV tty9 > david!root:/dev# ls -l !$ > ls -l tty9 > crw------- 1 root tty 4, 9 Nov 30 01:50 tty9 > > > (WW) xf86OpenConsole: VT_ACTIVATE failed > > (WW) xf86OpenConsole: VT_WAITACTIVE failed > > Now this is weird. I'm curious what error code the ioctl's return. show you 'strace -o xfree86-strace.log XFree86 -configure' output { cut'ed } **************************************************************************** write(0, "using VT number 9\n\n", 19) = 19 open("/dev/tty9", O_RDWR|O_NONBLOCK) = 5 chown("/dev/tty9", 0, 0) = 0 ioctl(5, VT_GETSTATE, 0xbffffa38) = -1 ENOTTY (Inappropriate ioctl for device) ioctl(5, VT_ACTIVATE, 0x9) = -1 ENOTTY (Inappropriate ioctl for device) write(0, "(WW) ", 5) = 5 write(0, "xf86OpenConsole: VT_ACTIVATE fai"..., 36) = 36 close(5) = 0 **************************************************************************** Later i discovered that i have regular /dev/tty9 file (not a device), so ioctl do right (ENOTTY). Thats all, thanks. :) -- /mator
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.