Link to home
Start Free TrialLog in
Avatar of crazygeek
crazygeek

asked on

unable to start XFS

hello expert ,
              unable to start X font server

I'm getting following message once execute 'startx'
---------------------------------------------------
could not init font path element unix/:700 remaining from list

Fatal server error : could not open default font Fixed .


XIO: fatal IO error 104 (Connection reset by peer)
On X server '0.0' after 0 requests (0 known processed) with 0 events remaining .

[drm: i810_flush_queue] *Error Lockup





i  tried out
------------

#chkconfig --list | grep xfs

#chkconfig xfs on
#service xfs start

after above commands xfs is getting started but still the same problem.



I even tried out run Xconfigurator , when I run this then X windows gets opened only for once.

Please help me out.

Thanks in advance ,

Vikram.
Avatar of jlevie
jlevie

If xfs is running and you still get the font errors when trying to start X it could be that something is wrong with the font server configuration. Before delving into that I'd like to know:

1) What Linux is this?

2) Is the X installation that of the Linux vendor or has it been upgraded by packages other than those from the vendor?
While there is probably many causes for the unable to start xfs message, i have twice run into this, and banged my head against the wall, only to find out:

My hard disk is full.
To check at a shell:
  df
(diskfree)
and make sure you have at least 50M? available.
The latest time i thought I had over 1G, but mozilla had stored its temporary downloads on my root partition, and being iso CD images, had filled the disk!!
XFS - X Font Server

xfs should start on bootup .. try puting it on rc.local
or on NTSYSV
Find out what port XFS is using:

Sure its not  unix/:7100 ?

grep -i font /etc/services
font-service     7100/tcp   #X Font Service
font-service     7100/udp   #X Font Service

Depending on your setup, check /etc or /etc/X11 for the XF86Config or XF86Config-4 config file for the FontPath setting.

See if it is listening:

netstat -l |grep font
tcp        0      0 *:font-service          *:*                     LISTEN      
unix  2      [ ACC ]     STREAM     LISTENING     160848927 /tmp/.font-unix/fs7100

The fs7100 would be the port - 'netstat -ln' would show the port as:

tcp        0      0 0.0.0.0:7100            0.0.0.0:*               LISTEN

Hope this helps.
budman
Avatar of crazygeek

ASKER

Dear Budman,

I followed your instruction , netstat -l | grep font resulted with a blank response .
Following is the output of the various commands .

#grep -i font /etc/services (enter)
xfs          7100/tcp               # X font server


#netstat -l (enter)
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State      
tcp        0      0 *:1024
*:*                     LISTEN      
tcp        0      0 *:swat                  *:*                     LISTEN      
tcp        0      0 *:sunrpc                *:*                     LISTEN      
tcp        0      0 *:ssh                   *:*                     LISTEN      
tcp        0      0 acme:smtp               *:*                     LISTEN      
udp        0      0 *:1024                  *:*                                
udp        0      0 *:804                   *:*                                
udp        0      0 *:sunrpc                *:*                                
Active UNIX domain sockets (only servers)
Proto RefCnt Flags       Type       State         I-Node Path
unix  2      [ ACC ]     STREAM     LISTENING     1185   /dev/gpmctl


#netstat -ln
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State      
tcp        0      0 0.0.0.0:1024            0.0.0.0:*               LISTEN      
tcp        0      0 0.0.0.0:901             0.0.0.0:*               LISTEN      
tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      
tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN      
udp        0      0 0.0.0.0:1024            0.0.0.0:*                          
udp        0      0 0.0.0.0:804             0.0.0.0:*                          
udp        0      0 0.0.0.0:111             0.0.0.0:*                          
Active UNIX domain sockets (only servers)
Proto RefCnt Flags       Type       State         I-Node Path
unix  2      [ ACC ]     STREAM     LISTENING     1185   /dev/gpmctl


Please help me out .

Vikram
It looks like the service is definitely not running.

You need to check the Xf86Config file to make sure the socket 'unix/:7100" is created correctly.

First off, find which XF86 version you are running:

Look for the following in this log file:

more   /var/log/XFree86.0.log

   XFree86 Version 4.2.0 / X Window System
   :::
   (==) Using config file: "/etc/X11/XF86Config"
   (**) FontPath set to     "/usr/X11R6/lib/X11/fonts/misc:unscaled,/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/misc,/usr/X11R6/lib/X11/fonts/75dpi,/usr/X11R6/lib/X11/fonts/100dpi,/usr/X11R6/lib/X11/fonts/TrueType/font1/,/usr/X11R6/lib/X11/fonts/TrueType/font2/"

This should be where the incorrect information is located.  Look to make sure the FontPath contains "unix/:7100"

If it contains, 700, this is definitley a typo.
Edit the config file, and change it to 7100.
(using vi, place cursor on top of the first 0, press i, press 1, and then ESC ESC SHIFT-ZZ.)

Try running X.

Now if this fails. There may be font path problem - access rights... or may not even exist.

This file will contain the FontPaths needed for XFS to access (there should not be a unix/:7100 in this file under the dir options):
   /etc/X11/XftConfig

   # Font directories.
   dir "/usr/X11R6/lib/X11/fonts/Type1"
   dir "/usr/X11R6/lib/X11/fonts/truetype"
   dir "/usr/X11R6/lib/X11/fonts/TTF"

Check the access and make sure the font files exist:
   /usr/X11/lib/X11/fonts
       or
   /usr/X11R6/lib/X11/fonts

Also, how are you starting up xfs?

Notes about RedHat: The startup scrips are in /etc/rc.d/init.d however, one mistake redhat does is name their scripts the same as the application that would launch the daemon from command line, so you must specify either fullpath '/etc/rc.d/init.d/xfs restart' or use the current directory './xfs restart' if you cd'd into /etc/rc.d/init.d.

As for Slackware:
You would run it as  xfs -daemon
If this machine is seen by the outside world (machine acts as firewall for home network), its best to NOT run this as root.  You'd need to set up a user account 'xfs' that has no shell, some use '/bin/false' as a shell so no one can hack it - also disable the password option using 'x'. Something like:

xfs:x:43:43:X Font Server:/etc/X11/fs:/bin/false

The 43:43 is the UID and GID  - keep these under 1000 for system users. This was taken from my redhat machine.  

Hope this fixes it.  If not let me know.

budman

   

Hello Budman,

There was an entry  '(**) FontPath set to "unix/:7100" '
 in /var/log/XFree86.0.log but I could not find the paragraph consisting of font paths as specified by you in your previous reply.

In /etc/X11/XftConfig I could find only


dir "/usr/X11R6/lib/X11/fonts/Type1 "

For complete picture I'm also mailing complete listing of  /var/log/XFree86.0.log and

/etx/X11/XftConfig .



About the XFS daemon its running perfectly from the command prompt . It's only while shutting down it's gives message as 'Shuttingdown XFS    Failed'


Hope this information is of some use to you .

Thanking You,
Vikram.





/var/log/XFree86.0.log
**********************



XFree86 Version 4.0.3 / X Window System
(protocol Version 11, revision 0, vendor release 6400)
Release Date: 16 March 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)
Operating System: Linux 2.2.17-8smp i686 [ELF]
Module Loader present
(==) Log file: "/var/log/XFree86.0.log", Time: Sun Jan  5 18:58:23 2003
(==) Using config file: "/etc/X11/XF86Config-4"
Markers: (--) probed, (**) from config file, (==) default setting,
         (++) from command line, (!!) notice, (II) informational,
         (WW) warning, (EE) error, (??) unknown.
(==) ServerLayout "Anaconda Configured"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "Monitor0"
(**) |   |-->Device "Intel 810"
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
(**) Option "XkbRules" "xfree86"
(**) XKB: rules: "xfree86"
(**) Option "XkbModel" "pc105"
(**) XKB: model: "pc105"
(**) Option "XkbLayout" "us"
(**) XKB: layout: "us"
(**) FontPath set to "unix/:7100"
(**) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(==) ModulePath set to "/usr/X11R6/lib/modules"
(--) using VT number 7

(WW) Cannot open APM
(II) Module ABI versions:
      XFree86 ANSI C Emulation: 0.1
      XFree86 Video Driver: 0.3
      XFree86 XInput driver : 0.1
      XFree86 Server Extension : 0.1
      XFree86 Font Renderer : 0.2
(II) Loader running on linux
(II) LoadModule: "bitmap"
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor="The XFree86 Project"
      compiled for 4.0.3, module version = 1.0.0
      Module class: XFree86 Font Renderer
      ABI class: XFree86 Font Renderer, version 0.2
(II) Loading font Bitmap
(II) LoadModule: "pcidata"
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
(II) Module pcidata: vendor="The XFree86 Project"
      compiled for 4.0.3, module version = 0.1.0
      ABI class: XFree86 Video Driver, version 0.3
(II) PCI: Probing config type using method 1
(II) PCI: Config type is 1
(II) PCI: stages = 0x03, oldVal1 = 0x8001400c, mode1Res1 = 0x80000000
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 8086,7124 card 0000,0000 rev 03 class 06,00,00 hdr 00
(II) PCI: 00:01:0: chip 8086,7125 card 0e11,b165 rev 03 class 03,00,00 hdr 00
(II) PCI: 00:1e:0: chip 8086,2418 card 0000,0000 rev 02 class 06,04,00 hdr 01
(II) PCI: 00:1f:0: chip 8086,2410 card 0000,0000 rev 02 class 06,01,00 hdr 80
(II) PCI: 00:1f:1: chip 8086,2411 card 8086,2411 rev 02 class 01,01,80 hdr 00
(II) PCI: 00:1f:2: chip 8086,2412 card 8086,2412 rev 02 class 0c,03,00 hdr 00
(II) PCI: 00:1f:3: chip 8086,2413 card 8086,2413 rev 02 class 0c,05,00 hdr 00
(II) PCI: 01:05:0: chip 125d,1988 card 0e11,b19d rev 12 class 04,01,00 hdr 00
(II) PCI: 01:08:0: chip 10ec,8139 card 10ec,8139 rev 10 class 02,00,00 hdr 00
(II) PCI: 01:0a:0: chip 14f1,1033 card 13e0,02c0 rev 08 class 07,80,00 hdr 00
(II) PCI: End of PCI scan
(II) LoadModule: "scanpci"
(II) Loading /usr/X11R6/lib/modules/libscanpci.a
(II) Module scanpci: vendor="The XFree86 Project"
      compiled for 4.0.3, module version = 0.1.0
      ABI class: XFree86 Video Driver, version 0.3
(II) UnloadModule: "scanpci"
(II) Unloading /usr/X11R6/lib/modules/libscanpci.a
(II) Host-to-PCI bridge:
(II) PCI-to-ISA bridge:
(II) PCI-to-PCI bridge:
(II) Bus 0: bridge is at (0:0:0), (-1,0,0), BCTRL: 0x00 (VGA_EN is cleared)
(II) Bus 0 I/O range:
      [0] -1      0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) Bus 0 non-prefetchable memory range:
      [0] -1      0x00000000 - 0xffffffff (0x0) MX[B]
(II) Bus 0 prefetchable memory range:
      [0] -1      0x00000000 - 0xffffffff (0x0) MX[B]
(II) Bus 1: bridge is at (0:30:0), (0,1,1), BCTRL: 0x06 (VGA_EN is cleared)
(II) Bus 1 I/O range:
      [0] -1      0x00001000 - 0x000010ff (0x100) IX[B]
      [1] -1      0x00001400 - 0x000014ff (0x100) IX[B]
      [2] -1      0x00001800 - 0x000018ff (0x100) IX[B]
      [3] -1      0x00001c00 - 0x00001cff (0x100) IX[B]
(II) Bus 1 non-prefetchable memory range:
      [0] -1      0x40000000 - 0x401fffff (0x200000) MX[B]
(II) Bus 1 prefetchable memory range:
(II) Bus -1: bridge is at (0:31:0), (0,-1,0), BCTRL: 0x00 (VGA_EN is cleared)
(II) Bus -1 I/O range:
(II) Bus -1 non-prefetchable memory range:
(II) Bus -1 prefetchable memory range:
(--) PCI:*(0:1:0) Intel i810e rev 3, Mem @ 0x44000000/26, 0x40200000/19
(II) Addressable bus resource ranges are
      [0] -1      0x00000000 - 0xffffffff (0x0) MX[B]
      [1] -1      0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) OS-reported resource ranges:
      [0] -1      0xffe00000 - 0xffffffff (0x200000) MX[B](B)
      [1] -1      0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
      [2] -1      0x000f0000 - 0x000fffff (0x10000) MX[B]
      [3] -1      0x000c0000 - 0x000effff (0x30000) MX[B]
      [4] -1      0x00000000 - 0x0009ffff (0xa0000) MX[B]
      [5] -1      0x00000000 - 0x000001ff (0x200) IX[B]E
(II) Active PCI resource ranges:
      [0] -1      0x40000000 - 0x4000ffff (0x10000) MX[B]
      [1] -1      0x40100000 - 0x401000ff (0x100) MX[B]
      [2] -1      0x40200000 - 0x4027ffff (0x80000) MX[B](B)
      [3] -1      0x44000000 - 0x47ffffff (0x4000000) MX[B](B)
      [4] -1      0x00001820 - 0x00001827 (0x8) IX[B]
      [5] -1      0x00001400 - 0x000014ff (0x100) IX[B]
      [6] -1      0x00001000 - 0x000010ff (0x100) IX[B]
      [7] -1      0x0000eee0 - 0x0000eeef (0x10) IX[B]
      [8] -1      0x0000eec0 - 0x0000eedf (0x20) IX[B]
      [9] -1      0x00002020 - 0x0000202f (0x10) IX[B]
(II) Active PCI resource ranges after removing overlaps:
      [0] -1      0x40000000 - 0x4000ffff (0x10000) MX[B]
      [1] -1      0x40100000 - 0x401000ff (0x100) MX[B]
      [2] -1      0x40200000 - 0x4027ffff (0x80000) MX[B](B)
      [3] -1      0x44000000 - 0x47ffffff (0x4000000) MX[B](B)
      [4] -1      0x00001820 - 0x00001827 (0x8) IX[B]
      [5] -1      0x00001400 - 0x000014ff (0x100) IX[B]
      [6] -1      0x00001000 - 0x000010ff (0x100) IX[B]
      [7] -1      0x0000eee0 - 0x0000eeef (0x10) IX[B]
      [8] -1      0x0000eec0 - 0x0000eedf (0x20) IX[B]
      [9] -1      0x00002020 - 0x0000202f (0x10) IX[B]
(II) OS-reported resource ranges after removing overlaps with PCI:
      [0] -1      0xffe00000 - 0xffffffff (0x200000) MX[B](B)
      [1] -1      0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
      [2] -1      0x000f0000 - 0x000fffff (0x10000) MX[B]
      [3] -1      0x000c0000 - 0x000effff (0x30000) MX[B]
      [4] -1      0x00000000 - 0x0009ffff (0xa0000) MX[B]
      [5] -1      0x00000000 - 0x000001ff (0x200) IX[B]E
(II) All system resource ranges:
      [0] -1      0xffe00000 - 0xffffffff (0x200000) MX[B](B)
      [1] -1      0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
      [2] -1      0x000f0000 - 0x000fffff (0x10000) MX[B]
      [3] -1      0x000c0000 - 0x000effff (0x30000) MX[B]
      [4] -1      0x00000000 - 0x0009ffff (0xa0000) MX[B]
      [5] -1      0x40000000 - 0x4000ffff (0x10000) MX[B]
      [6] -1      0x40100000 - 0x401000ff (0x100) MX[B]
      [7] -1      0x40200000 - 0x4027ffff (0x80000) MX[B](B)
      [8] -1      0x44000000 - 0x47ffffff (0x4000000) MX[B](B)
      [9] -1      0x00000000 - 0x000001ff (0x200) IX[B]E
      [10] -1      0x00001820 - 0x00001827 (0x8) IX[B]
      [11] -1      0x00001400 - 0x000014ff (0x100) IX[B]
      [12] -1      0x00001000 - 0x000010ff (0x100) IX[B]
      [13] -1      0x0000eee0 - 0x0000eeef (0x10) IX[B]
      [14] -1      0x0000eec0 - 0x0000eedf (0x20) IX[B]
      [15] -1      0x00002020 - 0x0000202f (0x10) IX[B]
(II) LoadModule: "GLcore"
(II) Loading /usr/X11R6/lib/modules/extensions/libGLcore.a
(II) Module GLcore: vendor="The XFree86 Project"
      compiled for 4.0.3, module version = 1.0.0
      ABI class: XFree86 Server Extension, version 0.1
(II) LoadModule: "dbe"
(II) Loading /usr/X11R6/lib/modules/extensions/libdbe.a
(II) Module dbe: vendor="The XFree86 Project"
      compiled for 4.0.3, module version = 1.0.0
      Module class: XFree86 Server Extension
      ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "extmod"
(II) Loading /usr/X11R6/lib/modules/extensions/libextmod.a
(II) Module extmod: vendor="The XFree86 Project"
      compiled for 4.0.3, module version = 1.0.0
      Module class: XFree86 Server Extension
      ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension SHAPE
(II) Loading extension MIT-SUNDRY-NONSTANDARD
(II) Loading extension BIG-REQUESTS
(II) Loading extension SYNC
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XC-MISC
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-Misc
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension FontCache
(II) Loading extension TOG-CUP
(II) Loading extension Extended-Visual-Information
(II) Loading extension XVideo
(II) LoadModule: "fbdevhw"
(II) Loading /usr/X11R6/lib/modules/linux/libfbdevhw.a
(II) Module fbdevhw: vendor="The XFree86 Project"
      compiled for 4.0.3, module version = 0.0.2
      ABI class: XFree86 Video Driver, version 0.3
(II) LoadModule: "pex5"
(II) Loading /usr/X11R6/lib/modules/extensions/libpex5.a
(II) Module pex5: vendor="The XFree86 Project"
      compiled for 4.0.3, module version = 1.0.0
      Module class: XFree86 Server Extension
      ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension X3D-PEX
(II) LoadModule: "dri"
(II) Loading /usr/X11R6/lib/modules/extensions/libdri.a
(II) Module dri: vendor="The XFree86 Project"
      compiled for 4.0.3, module version = 1.0.0
      ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension XFree86-DRI
(II) Loading sub module "drm"
(II) LoadModule: "drm"
(II) Loading /usr/X11R6/lib/modules/linux/libdrm.a
(II) Module drm: vendor="The XFree86 Project"
      compiled for 4.0.3, module version = 1.0.0
      ABI class: XFree86 Server Extension, version 0.1
(II) LoadModule: "glx"
(II) Loading /usr/X11R6/lib/modules/extensions/libglx.a
(II) Module glx: vendor="The XFree86 Project"
      compiled for 4.0.3, module version = 1.0.0
      ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension GLX
(II) Loading sub module "GLcore"
(II) LoadModule: "GLcore"
(II) Reloading /usr/X11R6/lib/modules/extensions/libGLcore.a
(II) LoadModule: "pex5"
(II) Reloading /usr/X11R6/lib/modules/extensions/libpex5.a
(II) Loading extension X3D-PEX
(II) LoadModule: "record"
(II) Loading /usr/X11R6/lib/modules/extensions/librecord.a
(II) Module record: vendor="The XFree86 Project"
      compiled for 4.0.3, module version = 1.13.0
      Module class: XFree86 Server Extension
      ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension RECORD
(II) LoadModule: "xie"
(II) Loading /usr/X11R6/lib/modules/extensions/libxie.a
(II) Module xie: vendor="The XFree86 Project"
      compiled for 4.0.3, module version = 1.0.0
      Module class: XFree86 Server Extension
      ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension XIE
(II) LoadModule: "i810"
(II) Loading /usr/X11R6/lib/modules/drivers/i810_drv.o
(II) Module i810: vendor="The XFree86 Project"
      compiled for 4.0.3, module version = 1.0.0
      Module class: XFree86 Video Driver
      ABI class: XFree86 Video Driver, version 0.3
(II) LoadModule: "mouse"
(II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o
(II) Module mouse: vendor="The XFree86 Project"
      compiled for 4.0.3, module version = 1.0.0
      Module class: XFree86 XInput Driver
      ABI class: XFree86 XInput driver, version 0.1
(II) I810: Driver for Intel i810 chipset: i810, i810-dc100, i810e, i815
(II) Primary Device is: PCI 00:01:0
(--) Assigning device section with no busID to primary device
(--) Chipset i810e found
(II) resource ranges after xf86ClaimFixedResources() call:
      [0] -1      0xffe00000 - 0xffffffff (0x200000) MX[B](B)
      [1] -1      0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
      [2] -1      0x000f0000 - 0x000fffff (0x10000) MX[B]
      [3] -1      0x000c0000 - 0x000effff (0x30000) MX[B]
      [4] -1      0x00000000 - 0x0009ffff (0xa0000) MX[B]
      [5] -1      0x40000000 - 0x4000ffff (0x10000) MX[B]
      [6] -1      0x40100000 - 0x401000ff (0x100) MX[B]
      [7] -1      0x40200000 - 0x4027ffff (0x80000) MX[B](B)
      [8] -1      0x44000000 - 0x47ffffff (0x4000000) MX[B](B)
      [9] -1      0x00000000 - 0x000001ff (0x200) IX[B]E
      [10] -1      0x00001820 - 0x00001827 (0x8) IX[B]
      [11] -1      0x00001400 - 0x000014ff (0x100) IX[B]
      [12] -1      0x00001000 - 0x000010ff (0x100) IX[B]
      [13] -1      0x0000eee0 - 0x0000eeef (0x10) IX[B]
      [14] -1      0x0000eec0 - 0x0000eedf (0x20) IX[B]
      [15] -1      0x00002020 - 0x0000202f (0x10) IX[B]
(II) resource ranges after probing:
      [0] -1      0xffe00000 - 0xffffffff (0x200000) MX[B](B)
      [1] -1      0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
      [2] -1      0x000f0000 - 0x000fffff (0x10000) MX[B]
      [3] -1      0x000c0000 - 0x000effff (0x30000) MX[B]
      [4] -1      0x00000000 - 0x0009ffff (0xa0000) MX[B]
      [5] -1      0x40000000 - 0x4000ffff (0x10000) MX[B]
      [6] -1      0x40100000 - 0x401000ff (0x100) MX[B]
      [7] -1      0x40200000 - 0x4027ffff (0x80000) MX[B](B)
      [8] -1      0x44000000 - 0x47ffffff (0x4000000) MX[B](B)
      [9] 0      0x000a0000 - 0x000affff (0x10000) MS[B]
      [10] 0      0x000b0000 - 0x000b7fff (0x8000) MS[B]
      [11] 0      0x000b8000 - 0x000bffff (0x8000) MS[B]
      [12] -1      0x00000000 - 0x000001ff (0x200) IX[B]E
      [13] -1      0x00001820 - 0x00001827 (0x8) IX[B]
      [14] -1      0x00001400 - 0x000014ff (0x100) IX[B]
      [15] -1      0x00001000 - 0x000010ff (0x100) IX[B]
      [16] -1      0x0000eee0 - 0x0000eeef (0x10) IX[B]
      [17] -1      0x0000eec0 - 0x0000eedf (0x20) IX[B]
      [18] -1      0x00002020 - 0x0000202f (0x10) IX[B]
      [19] 0      0x000003b0 - 0x000003bb (0xc) IS[B]
      [20] 0      0x000003c0 - 0x000003df (0x20) IS[B]
(II) Setting vga for screen 0.
(II) Loading sub module "vgahw"
(II) LoadModule: "vgahw"
(II) Loading /usr/X11R6/lib/modules/libvgahw.a
(II) Module vgahw: vendor="The XFree86 Project"
      compiled for 4.0.3, module version = 0.1.0
      ABI class: XFree86 Video Driver, version 0.3
(**) I810(0): Depth 16, (--) framebuffer bpp 16
(==) I810(0): RGB weight 565
(==) I810(0): Default visual is TrueColor
(--) I810(0): Chipset: "i810e"
(--) I810(0): Linear framebuffer at 0x44000000
(--) I810(0): IO registers at addr 0x40200000
(II) I810(0): I810CheckAvailableMemory: 96252k available
(**) I810(0): Will alloc AGP framebuffer: 16384 kByte
(==) I810(0): Using gamma correction (1.0, 1.0, 1.0)
(II) I810(0): Monitor0: Using hsync range of 30.00-54.00 kHz
(II) I810(0): Monitor0: Using vrefresh range of 50.00-120.00 Hz
(II) I810(0): Clock range:  12.00 to 163.00 MHz
(WW) I810(0): Mode "1400x1050" deleted (hsync out of range)
(WW) I810(0): Mode "1400x1050" deleted (hsync out of range)
(WW) I810(0): Mode "1400x1050" deleted (hsync out of range)
(WW) I810(0): Mode "1400x1050" deleted (bad mode clock/interlace/doublescan)
(WW) I810(0): Default mode "1024x768" deleted (unknown reason)
(WW) I810(0): Default mode "1024x768" deleted (hsync out of range)
(WW) I810(0): Default mode "1024x768" deleted (hsync out of range)
(WW) I810(0): Default mode "1024x768" deleted (hsync out of range)
(WW) I810(0): Default mode "1152x864" deleted (hsync out of range)
(WW) I810(0): Default mode "1280x960" deleted (hsync out of range)
(WW) I810(0): Default mode "1280x960" deleted (hsync out of range)
(WW) I810(0): Default mode "1280x1024" deleted (hsync out of range)
(WW) I810(0): Default mode "1280x1024" deleted (hsync out of range)
(WW) I810(0): Default mode "1280x1024" deleted (hsync out of range)
(WW) I810(0): Default mode "1600x1200" deleted (hsync out of range)
(WW) I810(0): Default mode "1600x1200" deleted (bad mode clock/interlace/doublescan)
(WW) I810(0): Default mode "1600x1200" deleted (bad mode clock/interlace/doublescan)
(WW) I810(0): Default mode "1600x1200" deleted (bad mode clock/interlace/doublescan)
(WW) I810(0): Default mode "1600x1200" deleted (bad mode clock/interlace/doublescan)
(WW) I810(0): Default mode "1792x1344" deleted (bad mode clock/interlace/doublescan)
(WW) I810(0): Default mode "1792x1344" deleted (bad mode clock/interlace/doublescan)
(WW) I810(0): Default mode "1856x1392" deleted (bad mode clock/interlace/doublescan)
(WW) I810(0): Default mode "1856x1392" deleted (bad mode clock/interlace/doublescan)
(WW) I810(0): Default mode "1920x1440" deleted (bad mode clock/interlace/doublescan)
(WW) I810(0): Default mode "1920x1440" deleted (bad mode clock/interlace/doublescan)
(--) I810(0): Virtual size is 1024x768 (pitch 1024)
(**) I810(0): Default mode "1024x768": 65.0 MHz, 48.4 kHz, 60.0 Hz
(==) I810(0): DPI set to (75, 75)
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/X11R6/lib/modules/libfb.a
(II) Module fb: vendor="The XFree86 Project"
      compiled for 4.0.3, module version = 1.0.0
      ABI class: XFree86 ANSI C Emulation, version 0.1
(II) Loading sub module "xaa"
(II) LoadModule: "xaa"
(II) Loading /usr/X11R6/lib/modules/libxaa.a
(II) Module xaa: vendor="The XFree86 Project"
      compiled for 4.0.3, module version = 1.0.0
      ABI class: XFree86 Video Driver, version 0.3
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Loading /usr/X11R6/lib/modules/libramdac.a
(II) Module ramdac: vendor="The XFree86 Project"
      compiled for 4.0.3, module version = 0.1.0
      ABI class: XFree86 Video Driver, version 0.3
Symbol VBEInit from module /usr/X11R6/lib/modules/drivers/i810_drv.o is unresolved!
Symbol vbeDoEDID from module /usr/X11R6/lib/modules/drivers/i810_drv.o is unresolved!
(II) do I need RAC?  No, I don't.
(II) resource ranges after preInit:
      [0] 0      0x40200000 - 0x4027ffff (0x80000) MS[B]
      [1] 0      0x44000000 - 0x47ffffff (0x4000000) MS[B]
      [2] -1      0xffe00000 - 0xffffffff (0x200000) MX[B](B)
      [3] -1      0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
      [4] -1      0x000f0000 - 0x000fffff (0x10000) MX[B]
      [5] -1      0x000c0000 - 0x000effff (0x30000) MX[B]
      [6] -1      0x00000000 - 0x0009ffff (0xa0000) MX[B]
      [7] -1      0x40000000 - 0x4000ffff (0x10000) MX[B]
      [8] -1      0x40100000 - 0x401000ff (0x100) MX[B]
      [9] -1      0x40200000 - 0x4027ffff (0x80000) MX[B](B)
      [10] -1      0x44000000 - 0x47ffffff (0x4000000) MX[B](B)
      [11] 0      0x000a0000 - 0x000affff (0x10000) MS[B](OprD)
      [12] 0      0x000b0000 - 0x000b7fff (0x8000) MS[B](OprD)
      [13] 0      0x000b8000 - 0x000bffff (0x8000) MS[B](OprD)
      [14] -1      0x00000000 - 0x000001ff (0x200) IX[B]E
      [15] -1      0x00001820 - 0x00001827 (0x8) IX[B]
      [16] -1      0x00001400 - 0x000014ff (0x100) IX[B]
      [17] -1      0x00001000 - 0x000010ff (0x100) IX[B]
      [18] -1      0x0000eee0 - 0x0000eeef (0x10) IX[B]
      [19] -1      0x0000eec0 - 0x0000eedf (0x20) IX[B]
      [20] -1      0x00002020 - 0x0000202f (0x10) IX[B]
      [21] 0      0x000003b0 - 0x000003bb (0xc) IS[B](OprU)
      [22] 0      0x000003c0 - 0x000003df (0x20) IS[B](OprU)
(0): [drm] loaded kernel module "i810"
(0): [drm] created "i810" driver at busid "PCI:0:1:0"
(0): [drm] added 4096 byte SAREA at 0xc583d000
(0): [drm] mapped SAREA 0xc583d000 to 0x40018000
(0): [drm] framebuffer handle = 0x44000000
(0): [drm] added 1 reserved context for kernel
(II) I810(0): [drm] Registers = 0x40200000
(II) I810(0): dcacheHandle : (nil)
(II) I810(0): GART: no dcache memory found
(II) I810(0): Bound backbuffer memory
(II) I810(0): Bound depthbuffer memory
(II) I810(0): GART: Allocated 4K for mouse cursor image
(II) I810(0): Adding 768 scanlines for pixmap caching
(II) I810(0): Allocated Scratch Memory
(II) I810(0): Buffer map : bfb000
(II) I810(0): [drm] added 256 4096 byte DMA buffers
(II) I810(0): [drm] dma control initialized, using IRQ 3
(II) I810(0): visual configs initialized
(==) I810(0): Write-combining range (0x44000000,0x2000000)
(II) I810(0): Setting dot clock to 65.0 MHz [ 0x3f 0xa 0x30 ] [ 65 12 3 ]
(II) I810(0): chose watermark 0x2210e000: (tab.freq 65.0)
(II) I810(0): Using XFree86 Acceleration Architecture (XAA)
      Screen to screen bit blits
      Solid filled rectangles
      8x8 mono pattern filled rectangles
      Indirect CPU to Screen color expansion
      Solid Horizontal and Vertical Lines
      Offscreen Pixmaps
      Setting up tile and stipple cache:
            24 128x128 slots
            6 256x256 slots
(==) I810(0): Backing store disabled
(==) I810(0): Silken mouse enabled
(0): X context handle = 0x00000001
(0): [drm] installed DRM signal handler
(0): [DRI] installation complete
(II) I810(0): direct rendering: Enabled
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension LBX
(II) Initializing built-in extension XC-APPGROUP
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing built-in extension RENDER
(**) Option "Protocol" "PS/2"
(**) Mouse0: Protocol: "PS/2"
(**) Option "CorePointer"
(**) Mouse0: Core Pointer
(**) Option "Device" "/dev/psaux"
(==) Mouse0: Buttons: 3
(**) Option "Emulate3Buttons" "no"
(**) Option "ZAxisMapping" "4 5"
(**) Mouse0: ZAxisMapping: buttons 4 and 5
(II) Keyboard "Keyboard0" handled by legacy driver
(II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
Could not init font path element unix/:7100, removing from list!

Fatal server error:
could not open default font 'fixed'

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 xfree86@xfree86.org.




/etx/X11/XftConfig
******************

# $XFree86$

dir "/usr/X11R6/lib/X11/fonts/Type1"


# alias 'fixed' for 'mono'

match any family == "fixed"            edit family =+ "mono";


# Check users config file

includeif      "~/.xftconfig"


# Use Lucidux fonts for default faces

match any family == "serif"            edit family += "LuciduxSerif";
match any family == "sans"            edit family += "LuciduxSans";
match any family == "mono"            edit family += "LuciduxMono";


# Alias between XLFD families and font file family name, prefer local
# fonts

match any family == "charter"            edit family += "bitstream charter";
match any family == "bitstream charter" edit family =+ "charter";

match any family == "Lucidux Serif"      edit family += "LuciduxSerif";
match any family == "LuciduxSerif"      edit family =+ "Lucidux Serif";

match any family == "Lucidux Sans"      edit family += "LuciduxSans";
match any family == "LuciduxSans"      edit family =+ "Lucidux Sans";

match any family == "Lucidux Mono"      edit family += "LuciduxMono";
match any family == "LuciduxMono"      edit family =+ "Lucidux Mono";

dir "/usr/share/fonts/default/TrueType"

The "unix/:7100" should be in
 config file: "/etc/X11/XF86Config-4"

I converted my X11 over to XFS to see where the faults may be.  I ran into the same socket problem. I resolved it by changing the line:

File: /etc/X11/XF86Config-4

Section "Files"
   FontPath "tcp/:7100"

Change the unix to tcp.

Looking at the error, missing Fixed...
Try adding the following dirs to the XftConfig:

File: /etc/X11/XftConfig
# Font directories.
dir "/usr/X11R6/lib/X11/fonts/Type1"
dir "/usr/X11R6/lib/X11/fonts/misc:unscaled"
dir "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
dir "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
dir "/usr/X11R6/lib/X11/fonts/Speedo"
dir "/usr/X11R6/lib/X11/fonts/misc"
dir "/usr/X11R6/lib/X11/fonts/75dpi"
dir "/usr/X11R6/lib/X11/fonts/100dpi"

Also, for apps to see the Fonts, you need to update the catalogue in fs/config:

File: /etc/X11/fs/config
catalogue = /usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/CID/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/

These are the same font dirs as above.

Save and restart XFS.  See if that fixes it.
Otherwise, check to see if your font directories are there:

cd /usr/X11R6/lib/X11/fonts/

You may have to rebuild the font tables.

budman




Hi,

 i hope that u must have recieved this message after shutting down the GUI client say gdm / kdm / xdm etc.. or after shutting down the startx ( ctrl + alt + backspc ).

then just do  " service xfs restart ".

it is done.
and restart ur client again.

else if u face this problem even after rebooting or starting ur m/c afresh.then browse to /etc/X11 directory.

open the file XF89config and XF86config-4(valid in latest version of all linuxes). In both these files, comment out the line as show below

fontpath : "unix/:7100"  ==> original line

#fontpath : "unix/:7100"  ==> after modification

and close the files.

voila u r done.

start ur client and u r there.

best of luck.

from linuxlord


Hi,

 i hope that u must have recieved this message after shutting down the GUI client say gdm / kdm / xdm etc.. or after shutting down the startx ( ctrl + alt + backspc ).

then just do  " service xfs restart ".

it is done.
and restart ur client again.

else if u face this problem even after rebooting or starting ur m/c afresh.then browse to /etc/X11 directory.

open the file XF89config and XF86config-4(valid in latest version of all linuxes). In both these files, comment out the line as show below

fontpath : "unix/:7100"  ==> original line

#fontpath : "unix/:7100"  ==> after modification

and close the files.

voila u r done.

start ur client and u r there.

best of luck.

from linuxlord
The XFS shutting down Failed, means the XFS service was not running.  I notice some apps make XFS panic and die while in XWindows.  The advantage of using the XFS service, X11 does not crash only XFS.  So, when this happens, bring up a console, or if you cant access one because of no fonts, press Ctrl-Alt-F2 (or F3 thru F6) and get a console login. Login as root, cd to /etc/rc.d/init.d and run ./xfs restart.  

Then press Alt-F7 to get back to graphics mode.
You may have to restart some of the apps you were in, but your fonts will be back.

Also, check the following in your /etc/X11/XF86Config file:

   Under the "Module" section, see if you have:
     Load  "type1"
     Load  "freetype"

   This will enable TTF and Type1 fonts. This may provide a fallback for X to use.


budman


Hello Budman ,
              Sorry for such a late reply (I was struck with some other work..was not browsing the net).


I did as instructed by you in your  reply dated 01/10/2003 11:49AM PST
 ,the problem got solved !

Thanks for your help , since the past 8 months  I was breaking my head to solve this problem , it was recurring problem .........I tried to find solution in newsgroups ,seniors etc  nobody diagnosed the problem as well as you have done .....you are simply 'GENIOUS' !!!!
If you dont mind can I have your email id ? (Can I contact you if I run into any serious problem) . I want to commit ur solution as the 'Accepted' in the expert-exchange web page but there is no such provision to Accept old replies as 'Accepted ' :-(

Apart from what you told I also had to make a little change to make XFS work

In /etc/X11/fs/config

I changed 'Accept TCP sockets ' to 'YES' .

In your previous reply you said

>I converted my X11 over to XFS to see where the faults may be.  I ran into the same socket >problem.

Do you mean to say the X server can be started without the help of XFS ?
Is there any alternative module which is equally good as XFS ??


Thanks once again .

Geekzb4u.

 
You can choose not to use XFS, and use the internal X11 font manager.  All XFS does is make it easier to add fonts on the fly, otherwise, you would have to restart X any time you added fonts.  With XFS, you just recycle the service, viola, new font defs are installed.

Also, another benefit using XFS,  is when your app encounters a font file it cannot decipher or cannot handle and freaks out instead of ignoring the bad font.  This causes X to hang or crash to the prompt if the internal font mgr is used.  With XFS, the service dies, you go and restart the service and at most - just restart the app that cause the service to die.  Bingo, fonts are back.

So there are some advantages running the XFS service.

I'm glad you were able to resolve the problem.
Don't worry about the points.  I'm not interested in points, I just like helping when I can.

budman
If you need to get in touch, I'm on IRC, go to irc.amical.net , channel #chat, and ask for budman.

budman
All,
I am unlocking this question in preparation for cleanup.  I will return in 7 days to finalize this question.  Please leave any recommendations for the final state of this question, I will take all recommendations into consideration.  Failing any feedback, I may decide in 7 days to delete or PAQ this question with no refund.  Thanks.

SpideyMod
Community Support Moderator @Experts Exchange
ASKER CERTIFIED SOLUTION
Avatar of SpideyMod
SpideyMod

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial