You may want to try compiling XFree86 4.4.0 from source as there have been a couple of fixes to the nsc driver. Alan. On Wed, Apr 07, 2004 at 10:49:18AM +0200, Ulrich Teichert wrote: > Hi, > > I'm having a wierd problem with XFree86 4.3.0.2 (build from source on > x86-linux, running on a settop box with a Geode chip, nsc driver, keyboard > and mouse over TV-IR and fed into /dev/tty0 and /dev/gpmdata, repectively) > > First, the X server runs like a charm. Stable and reliable, does not seem > to have memory leaks or something. Very nice, until it comes to stopping > it. CTRL-C on the console or SIGTERM does not terminate the server and > it is using all CPU it can get in a busy loop. It is killable with SIGKILL, > though. > > I really would like to understand the problem behind it, before I start > fiddeling with a workaround (like killing the Xserver with SIGKILL instead > of SIGTERM anytime). I suspect it's just a configuration issue. > The XF86Config file: > > -------------snip------------------------------------------------ > Section "ServerFlags" > Option "AllowMouseOpenFail" "true" > EndSection > > Section "ServerLayout" > Identifier "XFree86 Configured" > Screen 0 "Screen0" 0 0 > InputDevice "Mouse0" "CorePointer" > InputDevice "Keyboard0" "CoreKeyboard" > EndSection > > Section "Files" > RgbPath "/usr/X11R6/lib/X11/rgb" > ModulePath "/usr/X11R6/lib/modules" > FontPath "/usr/X11R6/lib/X11/fonts/misc/" > FontPath "/usr/X11R6/lib/X11/fonts/local/" > EndSection > > Section "Module" > Load "freetype" > EndSection > > Section "InputDevice" > Identifier "Keyboard0" > Driver "keyboard" > Option "XkbRules" "xfree86" > Option "XkbModel" "pc105" > Option "XkbLayout" "us" > Option "Device" "/dev/tty0" > # Option "CustomKeycodes" "true" > EndSection > > Section "InputDevice" > Identifier "Mouse0" > Driver "mouse" > Option "Protocol" "IntelliMouse" > Option "Device" "/dev/gpmdata" > EndSection > > Section "Monitor" > Identifier "Monitor0" > VendorName "" > ModelName "" > HorizSync 30-68 > VertRefresh 50-120 > Mode "720x480" > # D: 34.563 MHz, H: 37.244 kHz, V: 73.897 Hz > DotClock 34.564 > HTimings 720 752 840 928 > VTimings 480 484 488 504 > Flags "-HSync" "-VSync" > EndMode > EndSection > > Section "Device" > ### Available Driver options are:- > ### Values: <i>: integer, <f>: float, <bool>: "True"/"False", > ### <string>: "String", <freq>: "<f> Hz/kHz/MHz" > ### [arg]: arg optional > #Option "SWcursor" # [<bool>] > #Option "HWcursor" # [<bool>] > #Option "NoCompression" # [<bool>] > #Option "NoAccel" # [<bool>] > Option "TV" "NTSC-720x480" # [<str>] > Option "TV_Output" "SVIDEO" # [<str>] > #Option "TVOverscan" # [<str>] > #Option "ShadowFB" # [<bool>] > #Option "Rotate" # [<str>] > #Option "FlatPanel" # [<bool>] > #Option "ColorKey" # <i> > #Option "OSMImageBuffers" # <i> > Identifier "Card0" > Driver "nsc" > VendorName "National Semiconductor Corporation" > BoardName "SCx200 Video" > BusID "PCI:0:18:4" > EndSection > > Section "Screen" > Identifier "Screen0" > Device "Card0" > Monitor "Monitor0" > SubSection "Display" > Depth 16 > Virtual 720 480 > Modes "NTSC-720x480" > EndSubSection > SubSection "Display" > Depth 8 > Modes "NTSC-720x480" > EndSubSection > EndSection > -------------snip------------------------------------------------ > > The logfile on startup: > > -------------snip------------------------------------------------ > > This is a pre-release version of XFree86, and is not supported in any > way. Bugs may be reported to XFree86@xxxxxxxxxxx and patches submitted > to fixes@xxxxxxxxxxxx Before reporting bugs in pre-release versions, > please check the latest version in the XFree86 CVS repository > (http://www.XFree86.Org/cvs). > > XFree86 Version 4.3.0.2 > Release Date: 29 February 2004 > X Protocol Version 11, Revision 0, Release 6.6 > Build Operating System: Linux 2.4.23 i686 [ELF] > Build Date: 06 April 2004 > Before reporting problems, check http://www.XFree86.Org/ > to make sure that you have the latest version. > 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: "/www/XFree86.log", Time: Tue Jan 1 00:04:48 1980 > (==) Using config file: "/etc/X11/XF86Config" > (==) ServerLayout "XFree86 Configured" > (**) |-->Screen "Screen0" (0) > (**) | |-->Monitor "Monitor0" > (**) | |-->Device "Card0" > (**) |-->Input Device "Mouse0" > (**) |-->Input Device "Keyboard0" > (**) Option "XkbRules" "xfree86" > (**) XKB: rules: "xfree86" > (**) Option "XkbModel" "pc105" > (**) XKB: model: "pc105" > (**) Option "XkbLayout" "us" > (**) XKB: layout: "us" > (==) Keyboard: CustomKeycode disabled > (**) FontPath set to "/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/local/" > (**) RgbPath set to "/usr/X11R6/lib/X11/rgb" > (**) ModulePath set to "/usr/X11R6/lib/modules" > (**) Option "AllowMouseOpenFail" "true" > (++) using VT number 0 > (WW) xf86OpenConsole: VT_ACTIVATE failed > (WW) xf86OpenConsole: VT_WAITACTIVE failed > (WW) Open APM failed (/dev/apm_bios) (No such file or directory) > (II) Module ABI versions: > XFree86 ANSI C Emulation: 0.2 > XFree86 Video Driver: 0.6 > XFree86 XInput driver : 0.4 > XFree86 Server Extension : 0.2 > XFree86 Font Renderer : 0.4 > (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.3.0.2, module version = 1.0.0 > Module class: XFree86 Font Renderer > ABI class: XFree86 Font Renderer, version 0.4 > (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.3.0.2, module version = 1.0.0 > ABI class: XFree86 Video Driver, version 0.6 > (II) PCI: Probing config type using method 1 > (II) PCI: Config type is 1 > (II) PCI: stages = 0x03, oldVal1 = 0x80009444, mode1Res1 = 0x80000000 > (II) PCI: PCI scan (all values are in hex) > (II) PCI: 00:00:0: chip 1078,0001 card 0000,0000 rev 00 class 06,00,00 hdr 00 > (II) PCI: 00:09:0: chip 100b,0020 card ffff,ffff rev 00 class 02,00,00 hdr 00 > (II) PCI: 00:0c:0: chip 1105,8471 card 1105,00ff rev 01 class 04,80,00 hdr 00 > (II) PCI: 00:0d:0: chip 100b,0020 card ffff,ffff rev 00 class 02,00,00 hdr 00 > (II) PCI: 00:12:0: chip 100b,0500 card 100b,0500 rev 00 class 06,01,00 hdr 80 > (II) PCI: 00:12:1: chip 100b,0501 card 100b,0501 rev 00 class 06,80,00 hdr 00 > (II) PCI: 00:12:2: chip 100b,0502 card 100b,0502 rev 01 class 01,01,80 hdr 00 > (II) PCI: 00:12:3: chip 100b,0503 card 100b,0503 rev 00 class 04,01,00 hdr 00 > (II) PCI: 00:12:4: chip 100b,0504 card 100b,0504 rev 01 class 03,00,00 hdr 00 > (II) PCI: 00:12:5: chip 100b,0505 card 100b,0505 rev 00 class 06,80,00 hdr 00 > (II) PCI: 00:13:0: chip 0e11,a0f8 card 0e11,a0f8 rev 08 class 0c,03,10 hdr 00 > (II) PCI: End of PCI scan > (II) Host-to-PCI bridge: > (II) Bus 0: bridge is at (0:0:0), (0,0,0), BCTRL: 0x0008 (VGA_EN is set) > (II) Bus 0 I/O range: > [0] -1 0 0x00000000 - 0x0000ffff (0x10000) IX[B] > (II) Bus 0 non-prefetchable memory range: > [0] -1 0 0x00000000 - 0xffffffff (0x0) MX[B] > (II) Bus 0 prefetchable memory range: > [0] -1 0 0x00000000 - 0xffffffff (0x0) MX[B] > (II) PCI-to-ISA bridge: > (II) Bus -1: bridge is at (0:18:0), (0,-1,-1), BCTRL: 0x0008 (VGA_EN is set) > (--) PCI:*(0:18:4) National Semiconductor Corporation SCx200 Video rev 1, Mem @ 0x40010000/12, 0x4001a000/12, 0x40015000/12 > (II) Addressable bus resource ranges are > [0] -1 0 0x00000000 - 0xffffffff (0x0) MX[B] > [1] -1 0 0x00000000 - 0x0000ffff (0x10000) IX[B] > (II) OS-reported resource ranges: > [0] -1 0 0xffe00000 - 0xffffffff (0x200000) MX[B](B) > [1] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B) > [2] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B] > [3] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B] > [4] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B] > [5] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B] > [6] -1 0 0x00000000 - 0x000000ff (0x100) IX[B] > (II) Active PCI resource ranges: > [0] -1 0 0x40011000 - 0x40011fff (0x1000) MX[B] > [1] -1 0 0x80100000 - 0x80100fff (0x1000) MX[B] > [2] -1 0 0x80200000 - 0x802fffff (0x100000) MX[B] > [3] -1 0 0x80000000 - 0x80000fff (0x1000) MX[B] > [4] -1 0 0x40015000 - 0x40015fff (0x1000) MX[B](B) > [5] -1 0 0x4001a000 - 0x4001afff (0x1000) MX[B](B) > [6] -1 0 0x40010000 - 0x40010fff (0x1000) MX[B](B) > [7] -1 0 0x00006200 - 0x0000623f (0x40) IX[B] > [8] -1 0 0x00005000 - 0x0000500f (0x10) IX[B] > [9] -1 0 0x00006000 - 0x000060ff (0x100) IX[B] > [10] -1 0 0x00006600 - 0x0000663f (0x40) IX[B] > [11] -1 0 0x00006400 - 0x0000643f (0x40) IX[B] > [12] -1 0 0x00001100 - 0x000011ff (0x100) IX[B] > [13] -1 0 0x00001000 - 0x000010ff (0x100) IX[B] > (II) Inactive PCI resource ranges: > [0] -1 0 0x40020000 - 0x40020fff (0x1000) MX[B] > (II) Active PCI resource ranges after removing overlaps: > [0] -1 0 0x40011000 - 0x40011fff (0x1000) MX[B] > [1] -1 0 0x80100000 - 0x80100fff (0x1000) MX[B] > [2] -1 0 0x80200000 - 0x802fffff (0x100000) MX[B] > [3] -1 0 0x80000000 - 0x80000fff (0x1000) MX[B] > [4] -1 0 0x40015000 - 0x40015fff (0x1000) MX[B](B) > [5] -1 0 0x4001a000 - 0x4001afff (0x1000) MX[B](B) > [6] -1 0 0x40010000 - 0x40010fff (0x1000) MX[B](B) > [7] -1 0 0x00006200 - 0x0000623f (0x40) IX[B] > [8] -1 0 0x00005000 - 0x0000500f (0x10) IX[B] > [9] -1 0 0x00006000 - 0x000060ff (0x100) IX[B] > [10] -1 0 0x00006600 - 0x0000663f (0x40) IX[B] > [11] -1 0 0x00006400 - 0x0000643f (0x40) IX[B] > [12] -1 0 0x00001100 - 0x000011ff (0x100) IX[B] > [13] -1 0 0x00001000 - 0x000010ff (0x100) IX[B] > (II) Inactive PCI resource ranges after removing overlaps: > [0] -1 0 0x40020000 - 0x40020fff (0x1000) MX[B] > (II) OS-reported resource ranges after removing overlaps with PCI: > [0] -1 0 0xffe00000 - 0xffffffff (0x200000) MX[B](B) > [1] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B) > [2] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B] > [3] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B] > [4] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B] > [5] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B] > [6] -1 0 0x00000000 - 0x000000ff (0x100) IX[B] > (II) All system resource ranges: > [0] -1 0 0xffe00000 - 0xffffffff (0x200000) MX[B](B) > [1] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B) > [2] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B] > [3] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B] > [4] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B] > [5] -1 0 0x40011000 - 0x40011fff (0x1000) MX[B] > [6] -1 0 0x80100000 - 0x80100fff (0x1000) MX[B] > [7] -1 0 0x80200000 - 0x802fffff (0x100000) MX[B] > [8] -1 0 0x80000000 - 0x80000fff (0x1000) MX[B] > [9] -1 0 0x40015000 - 0x40015fff (0x1000) MX[B](B) > [10] -1 0 0x4001a000 - 0x4001afff (0x1000) MX[B](B) > [11] -1 0 0x40010000 - 0x40010fff (0x1000) MX[B](B) > [12] -1 0 0x40020000 - 0x40020fff (0x1000) MX[B] > [13] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B] > [14] -1 0 0x00000000 - 0x000000ff (0x100) IX[B] > [15] -1 0 0x00006200 - 0x0000623f (0x40) IX[B] > [16] -1 0 0x00005000 - 0x0000500f (0x10) IX[B] > [17] -1 0 0x00006000 - 0x000060ff (0x100) IX[B] > [18] -1 0 0x00006600 - 0x0000663f (0x40) IX[B] > [19] -1 0 0x00006400 - 0x0000643f (0x40) IX[B] > [20] -1 0 0x00001100 - 0x000011ff (0x100) IX[B] > [21] -1 0 0x00001000 - 0x000010ff (0x100) IX[B] > (II) LoadModule: "freetype" > (II) Loading /usr/X11R6/lib/modules/fonts/libfreetype.a > (II) Module freetype: vendor="The XFree86 Project" > compiled for 4.3.0.2, module version = 2.0.2 > Module class: XFree86 Font Renderer > ABI class: XFree86 Font Renderer, version 0.4 > (II) Loading font FreeType > (II) LoadModule: "nsc" > (II) Loading /usr/X11R6/lib/modules/drivers/nsc_drv.o > (II) Module nsc: vendor="The XFree86 Project" > compiled for 4.3.0.2, module version = 2.7.6 > Module class: XFree86 Video Driver > ABI class: XFree86 Video Driver, version 0.6 > (II) LoadModule: "mouse" > (II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o > (II) Module mouse: vendor="The XFree86 Project" > compiled for 4.3.0.2, module version = 1.0.0 > Module class: XFree86 XInput Driver > ABI class: XFree86 XInput driver, version 0.4 > (II) NSC: Nsc family driver (version 2.7.6) for chipsets: 5530, SC1200, > SC1400, REDCLOUD > (II) Primary Device is: PCI 00:12:4 > (--) Chipset SC1200 found > (II) resource ranges after xf86ClaimFixedResources() call: > [0] -1 0 0xffe00000 - 0xffffffff (0x200000) MX[B](B) > [1] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B) > [2] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B] > [3] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B] > [4] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B] > [5] -1 0 0x40011000 - 0x40011fff (0x1000) MX[B] > [6] -1 0 0x80100000 - 0x80100fff (0x1000) MX[B] > [7] -1 0 0x80200000 - 0x802fffff (0x100000) MX[B] > [8] -1 0 0x80000000 - 0x80000fff (0x1000) MX[B] > [9] -1 0 0x40015000 - 0x40015fff (0x1000) MX[B](B) > [10] -1 0 0x4001a000 - 0x4001afff (0x1000) MX[B](B) > [11] -1 0 0x40010000 - 0x40010fff (0x1000) MX[B](B) > [12] -1 0 0x40020000 - 0x40020fff (0x1000) MX[B] > [13] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B] > [14] -1 0 0x00000000 - 0x000000ff (0x100) IX[B] > [15] -1 0 0x00006200 - 0x0000623f (0x40) IX[B] > [16] -1 0 0x00005000 - 0x0000500f (0x10) IX[B] > [17] -1 0 0x00006000 - 0x000060ff (0x100) IX[B] > [18] -1 0 0x00006600 - 0x0000663f (0x40) IX[B] > [19] -1 0 0x00006400 - 0x0000643f (0x40) IX[B] > [20] -1 0 0x00001100 - 0x000011ff (0x100) IX[B] > [21] -1 0 0x00001000 - 0x000010ff (0x100) IX[B] > (II) resource ranges after probing: > [0] -1 0 0xffe00000 - 0xffffffff (0x200000) MX[B](B) > [1] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B) > [2] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B] > [3] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B] > [4] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B] > [5] -1 0 0x40011000 - 0x40011fff (0x1000) MX[B] > [6] -1 0 0x80100000 - 0x80100fff (0x1000) MX[B] > [7] -1 0 0x80200000 - 0x802fffff (0x100000) MX[B] > [8] -1 0 0x80000000 - 0x80000fff (0x1000) MX[B] > [9] -1 0 0x40015000 - 0x40015fff (0x1000) MX[B](B) > [10] -1 0 0x4001a000 - 0x4001afff (0x1000) MX[B](B) > [11] -1 0 0x40010000 - 0x40010fff (0x1000) MX[B](B) > [12] -1 0 0x40020000 - 0x40020fff (0x1000) MX[B] > [13] 0 0 0x000a0000 - 0x000affff (0x10000) MS[B] > [14] 0 0 0x000b0000 - 0x000b7fff (0x8000) MS[B] > [15] 0 0 0x000b8000 - 0x000bffff (0x8000) MS[B] > [16] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B] > [17] -1 0 0x00000000 - 0x000000ff (0x100) IX[B] > [18] -1 0 0x00006200 - 0x0000623f (0x40) IX[B] > [19] -1 0 0x00005000 - 0x0000500f (0x10) IX[B] > [20] -1 0 0x00006000 - 0x000060ff (0x100) IX[B] > [21] -1 0 0x00006600 - 0x0000663f (0x40) IX[B] > [22] -1 0 0x00006400 - 0x0000643f (0x40) IX[B] > [23] -1 0 0x00001100 - 0x000011ff (0x100) IX[B] > [24] -1 0 0x00001000 - 0x000010ff (0x100) IX[B] > [25] 0 0 0x000003b0 - 0x000003bb (0xc) IS[B] > [26] 0 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.3.0.2, module version = 0.1.0 > ABI class: XFree86 Video Driver, version 0.6 > (WW) System lacks support for changing MTRRs > (==) NSC(0): RGB weight 565 > (++) NSC(0): Depth 16, (--) framebuffer bpp 16 > (==) NSC(0): Default visual is TrueColor > (==) NSC(0): Using gamma correction (1.0, 1.0, 1.0) > (**) NSC(0): Option "TV" "NTSC-720x480" > (**) NSC(0): Option "TV_Output" "SVIDEO" > (II) NSC(0): Monitor0: Using hsync range of 30.00-68.00 kHz > (II) NSC(0): Monitor0: Using vrefresh range of 50.00-120.00 Hz > (II) NSC(0): Clock range: 25.18 to 157.50 MHz > (II) NSC(0): Not using default mode "640x350" (no mode of this name) > (II) NSC(0): Not using default mode "320x175" (bad mode clock/interlace/doublescan) > (II) NSC(0): Not using default mode "640x400" (no mode of this name) > (II) NSC(0): Not using default mode "320x200" (bad mode clock/interlace/doublescan) > (II) NSC(0): Not using default mode "720x400" (no mode of this name) > (II) NSC(0): Not using default mode "360x200" (bad mode clock/interlace/doublescan) > (II) NSC(0): Not using default mode "640x480" (no mode of this name) > (II) NSC(0): Not using default mode "320x240" (bad mode clock/interlace/doublescan) > (II) NSC(0): Not using default mode "640x480" (no mode of this name) > (II) NSC(0): Not using default mode "320x240" (bad mode clock/interlace/doublescan) > (II) NSC(0): Not using default mode "640x480" (no mode of this name) > (II) NSC(0): Not using default mode "320x240" (bad mode clock/interlace/doublescan) > (II) NSC(0): Not using default mode "640x480" (no mode of this name) > (II) NSC(0): Not using default mode "320x240" (bad mode clock/interlace/doublescan) > (II) NSC(0): Not using default mode "800x600" (width too large for virtual size) > (II) NSC(0): Not using default mode "400x300" (bad mode clock/interlace/doublescan) > (II) NSC(0): Not using default mode "800x600" (width too large for virtual size) > (II) NSC(0): Not using default mode "400x300" (bad mode clock/interlace/doublescan) > (II) NSC(0): Not using default mode "800x600" (width too large for virtual size) > (II) NSC(0): Not using default mode "400x300" (bad mode clock/interlace/doublescan) > (II) NSC(0): Not using default mode "800x600" (width too large for virtual size) > (II) NSC(0): Not using default mode "400x300" (bad mode clock/interlace/doublescan) > (II) NSC(0): Not using default mode "800x600" (width too large for virtual size) > (II) NSC(0): Not using default mode "400x300" (no mode of this name) > (II) NSC(0): Not using default mode "1024x768" (width too large for virtual size) > (II) NSC(0): Not using default mode "512x384" (bad mode clock/interlace/doublescan) > (II) NSC(0): Not using default mode "1024x768" (width too large for virtual size) > (II) NSC(0): Not using default mode "512x384" (no mode of this name) > (II) NSC(0): Not using default mode "1024x768" (width too large for virtual size) > (II) NSC(0): Not using default mode "512x384" (no mode of this name) > (II) NSC(0): Not using default mode "1024x768" (width too large for virtual size) > (II) NSC(0): Not using default mode "512x384" (no mode of this name) > (II) NSC(0): Not using default mode "1024x768" (width too large for virtual size) > (II) NSC(0): Not using default mode "512x384" (no mode of this name) > (II) NSC(0): Not using default mode "1152x864" (width too large for virtual size) > (II) NSC(0): Not using default mode "576x432" (no mode of this name) > (II) NSC(0): Not using default mode "1280x960" (width too large for virtual size) > (II) NSC(0): Not using default mode "640x480" (no mode of this name) > (II) NSC(0): Not using default mode "1280x960" (width too large for virtual size) > (II) NSC(0): Not using default mode "640x480" (no mode of this name) > (II) NSC(0): Not using default mode "1280x1024" (width too large for virtual size) > (II) NSC(0): Not using default mode "640x512" (height too large for virtual size) > (II) NSC(0): Not using default mode "1280x1024" (width too large for virtual size) > (II) NSC(0): Not using default mode "640x512" (height too large for virtual size) > (II) NSC(0): Not using default mode "1280x1024" (width too large for virtual size) > (II) NSC(0): Not using default mode "640x512" (height too large for virtual size) > (II) NSC(0): Not using default mode "1600x1200" (insufficient memory for mode) > (II) NSC(0): Not using default mode "800x600" (width too large for virtual size) > (II) NSC(0): Not using default mode "1600x1200" (insufficient memory for mode) > (II) NSC(0): Not using default mode "800x600" (width too large for virtual size) > (II) NSC(0): Not using default mode "1600x1200" (insufficient memory for mode) > (II) NSC(0): Not using default mode "800x600" (width too large for virtual size) > (II) NSC(0): Not using default mode "1600x1200" (insufficient memory for mode) > (II) NSC(0): Not using default mode "800x600" (width too large for virtual size) > (II) NSC(0): Not using default mode "1600x1200" (insufficient memory for mode) > (II) NSC(0): Not using default mode "800x600" (width too large for virtual size) > (II) NSC(0): Not using default mode "1792x1344" (insufficient memory for mode) > (II) NSC(0): Not using default mode "896x672" (width too large for virtual size) > (II) NSC(0): Not using default mode "1792x1344" (insufficient memory for mode) > (II) NSC(0): Not using default mode "896x672" (width too large for virtual size) > (II) NSC(0): Not using default mode "1856x1392" (insufficient memory for mode) > (II) NSC(0): Not using default mode "928x696" (width too large for virtual size) > (II) NSC(0): Not using default mode "1856x1392" (insufficient memory for mode) > (II) NSC(0): Not using default mode "928x696" (width too large for virtual size) > (II) NSC(0): Not using default mode "1920x1440" (insufficient memory for mode) > (II) NSC(0): Not using default mode "960x720" (width too large for virtual size) > (II) NSC(0): Not using default mode "1920x1440" (insufficient memory for mode) > (II) NSC(0): Not using default mode "960x720" (width too large for virtual size) > (II) NSC(0): Not using default mode "832x624" (width too large for virtual size) > (II) NSC(0): Not using default mode "416x312" (no mode of this name) > (II) NSC(0): Not using default mode "1152x768" (width too large for virtual size) > (II) NSC(0): Not using default mode "576x384" (no mode of this name) > (II) NSC(0): Not using default mode "1400x1050" (width too large for virtual size) > (II) NSC(0): Not using default mode "700x525" (height too large for virtual size) > (II) NSC(0): Not using default mode "1400x1050" (width too large for virtual size) > (II) NSC(0): Not using default mode "700x525" (height too large for virtual size) > (II) NSC(0): Not using default mode "1600x1024" (width too large for virtual size) > (II) NSC(0): Not using default mode "800x512" (width too large for virtual size) > (II) NSC(0): Not using default mode "1920x1440" (insufficient memory for mode) > (II) NSC(0): Not using default mode "960x720" (width too large for virtual size) > (II) NSC(0): Not using default mode "2048x1536" (insufficient memory for mode) > (II) NSC(0): Not using default mode "1024x768" (width too large for virtual size) > (II) NSC(0): Not using default mode "2048x1536" (insufficient memory for mode) > (II) NSC(0): Not using default mode "1024x768" (width too large for virtual size) > (II) NSC(0): Not using default mode "2048x1536" (insufficient memory for mode) > (II) NSC(0): Not using default mode "1024x768" (width too large for virtual size) > (II) NSC(0): Not using mode "%/1??iso8859-15?¦t@%/1??iso8859-15?¦t@%/1??iso8859-15?¦t@1" (no mode of this name) > (**) NSC(0): Virtual size is 720x480 (pitch 1024) > (**) NSC(0): Mode "720x480": 34.6 MHz, 37.2 kHz, 73.9 Hz > (II) NSC(0): Modeline "720x480" 34.56 720 752 840 928 480 484 488 504 -hsync -vsync > (==) NSC(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.3.0.2, module version = 1.0.0 > ABI class: XFree86 ANSI C Emulation, version 0.2 > (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.3.0.2, module version = 1.1.0 > ABI class: XFree86 Video Driver, version 0.6 > (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.3.0.2, module version = 0.1.0 > ABI class: XFree86 Video Driver, version 0.6 > (II) do I need RAC? No, I don't. > (II) resource ranges after preInit: > [0] 0 0 0x40015000 - 0x40015fff (0x1000) MX[B] > [1] 0 0 0x4001a000 - 0x4001afff (0x1000) MX[B] > [2] 0 0 0x40010000 - 0x40010fff (0x1000) MX[B] > [3] -1 0 0xffe00000 - 0xffffffff (0x200000) MX[B](B) > [4] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B) > [5] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B] > [6] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B] > [7] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B] > [8] -1 0 0x40011000 - 0x40011fff (0x1000) MX[B] > [9] -1 0 0x80100000 - 0x80100fff (0x1000) MX[B] > [10] -1 0 0x80200000 - 0x802fffff (0x100000) MX[B] > [11] -1 0 0x80000000 - 0x80000fff (0x1000) MX[B] > [12] -1 0 0x40015000 - 0x40015fff (0x1000) MX[B](B) > [13] -1 0 0x4001a000 - 0x4001afff (0x1000) MX[B](B) > [14] -1 0 0x40010000 - 0x40010fff (0x1000) MX[B](B) > [15] -1 0 0x40020000 - 0x40020fff (0x1000) MX[B] > [16] 0 0 0x000a0000 - 0x000affff (0x10000) MS[B] > [17] 0 0 0x000b0000 - 0x000b7fff (0x8000) MS[B] > [18] 0 0 0x000b8000 - 0x000bffff (0x8000) MS[B] > [19] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B] > [20] -1 0 0x00000000 - 0x000000ff (0x100) IX[B] > [21] -1 0 0x00006200 - 0x0000623f (0x40) IX[B] > [22] -1 0 0x00005000 - 0x0000500f (0x10) IX[B] > [23] -1 0 0x00006000 - 0x000060ff (0x100) IX[B] > [24] -1 0 0x00006600 - 0x0000663f (0x40) IX[B] > [25] -1 0 0x00006400 - 0x0000643f (0x40) IX[B] > [26] -1 0 0x00001100 - 0x000011ff (0x100) IX[B] > [27] -1 0 0x00001000 - 0x000010ff (0x100) IX[B] > [28] 0 0 0x000003b0 - 0x000003bb (0xc) IS[B] > [29] 0 0 0x000003c0 - 0x000003df (0x20) IS[B] > (II) NSC(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000 > (II) NSC(0): Memory manager initialized to (0,500) (1024,1791) > (WW) NSC(0): Cannot read colourmap from VGA. Will restore with default > (II) NSC(0): Using XFree86 Acceleration Architecture (XAA) > Screen to screen bit blits > Solid filled rectangles > 8x8 mono pattern filled rectangles > 8x8 color pattern filled rectangles > Solid Lines > Scanline Image Writes > Offscreen Pixmaps > Setting up tile and stipple cache: > 30 128x128 slots > 12 256x256 slots > 32 8x8 color pattern slots > (==) NSC(0): Backing store disabled > (II) Setting vga for screen 0. > (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 XC-APPGROUP > (II) Initializing built-in extension SECURITY > (II) Initializing built-in extension XFree86-Bigfont > (II) Initializing built-in extension RENDER > error opening security policy file /usr/X11R6/lib/X11/xserver/SecurityPolicy > (**) Option "Protocol" "IntelliMouse" > (**) Mouse0: Protocol: "IntelliMouse" > (**) Option "CorePointer" > (**) Mouse0: Core Pointer > (**) Option "Device" "/dev/gpmdata" > (**) Mouse0: Emulate3Buttons, Emulate3Timeout: 50 > (==) Mouse0: Buttons: 3 > (**) Option "BaudRate" "1200" > (**) Mouse0: BaudRate: 1200 > (II) Keyboard "Keyboard0" handled by legacy driver > (II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE) > (II) Server_Terminate keybinding not found > -------------snip------------------------------------------------ > > I traced it down where the server is hanging, it's the same spot everytime, > but I wasn't able to see the C-source of it, despite building *everything* > with debug and using a libc with debugging symbols (nfs mounted - the box > does not have a hard disk). The stack trace is: > > #0 0x401a875c in ?? () > #1 0x4018a6b7 in ?? () > #2 0x4018a6e6 in ?? () > #3 0x081667da in AnimCurCloseScreen (index=0, pScreen=0x83327e0) > at animcur.c:126 > #4 0x080c07c5 in main (argc=8, argv=0xbffffdc4, envp=0xbffffde8) at main.c:459 > > Line 126 in animcur.c is: > > ret = (*pScreen->CloseScreen) (index, pScreen); > > (gdb) p screenInfo > $2 = {imageByteOrder = 0, bitmapScanlineUnit = 32, bitmapScanlinePad = 32, > bitmapBitOrder = 0, numPixmapFormats = 7, formats = {{depth = 1 '\001', > bitsPerPixel = 1 '\001', scanlinePad = 32 ' '}, {depth = 4 '\004', > bitsPerPixel = 8 '\b', scanlinePad = 32 ' '}, {depth = 8 '\b', > bitsPerPixel = 8 '\b', scanlinePad = 32 ' '}, {depth = 15 '\017', > bitsPerPixel = 16 '\020', scanlinePad = 32 ' '}, {depth = 16 '\020', > bitsPerPixel = 16 '\020', scanlinePad = 32 ' '}, {depth = 24 '\030', > bitsPerPixel = 32 ' ', scanlinePad = 32 ' '}, {depth = 32 ' ', > bitsPerPixel = 32 ' ', scanlinePad = 32 ' '}, {depth = 0 '\0', > bitsPerPixel = 0 '\0', scanlinePad = 0 '\0'}}, arraySize = 16, > numScreens = 1, screens = {0x83327e0, 0x0 <repeats 15 times>}, > numVideoScreens = 1} > (gdb) p pScreen > $6 = 0x3d5 > > The disassembled x86 code where it loops is: > > 0x401a9759: mov %ebx,%edx > 0x401a975b: in (%dx),%al > 0x401a975c: test %al,%al > 0x401a975e: jl 0x401a9759 > 0x401a9760: mov $0x30,%al > 0x401a9762: mov %esi,%edx > 0x401a9764: out %al,(%dx) > > (gdb) info all-registers > eax 0xff 255 > ecx 0x3d5 981 > edx 0x3d5 981 > ebx 0x3d5 981 > [snip] > > The loop starts at 0x401a9759 and goes to 0x401a975e. If I jump to > 0x401a9760 in the debugger, the server terminates. So, it reads 0x3d5, > whatever that is (probably I/O stuff) and the test never succeeds. > > Has somebody ever seen something like that or knows why the server is > hanging there? I removed some of the build-in extensions (LBX, RandR), > but had the same problem before, only that it was hanging after the > last extension CloseScreen call in the same way. I would appreciate > any pointer why I had no debugging symbols in the above code as well. > > Thanks for reading this far, > Uli > -- > Ulrich Teichert, IDF EUROPE, Obenhauptstrasse 11, 22335 Hamburg, Germany > fon: +49 40 5939390, fax: +49 40 59393911 > _______________________________________________ > XFree86 mailing list > XFree86@xxxxxxxxxxx > http://XFree86.Org/mailman/listinfo/xfree86 _______________________________________________ XFree86 mailing list XFree86@xxxxxxxxxxx http://XFree86.Org/mailman/listinfo/xfree86