[K12OSN] Issues with two terminals - xserver fails / Matrox Millenium II

Petre Scheie petre at maltzen.net
Wed Jan 3 20:42:32 UTC 2007


X does see that the card is AGP, not PCI.  It also says that because of a hardware bug, 
it can't probe the card to find out how much RAM it has, and so it guesses at 4MB. 
Probably because of that same hardware bug, in trying to use the MGA driver, it is 
unable to allocate memory for the frame buffer, and then X dies.  I suggest trying a 
couple of things:

1. In the lts.conf file, specify the vesa driver for this workstation, thusly:

XSERVER = vesa

The vesa driver is sometimes labeled as being slower, but I find it's often unnoticable, 
and slow is better than non-working.  You may need to also set X_VIDEORAM = 4096 or some 
such to get it to work.

2. Switch the video card with one from one of the working machines.  If the problem 
follows the video card, it may be that the cards in those machines are not all 
identical.  In which case, you may have to replace the non-working card.  Used video 
cards can be found for $5-$10 that will work fine.

Petre

Michael Elliott wrote:
> Petre -
> 
> Thank you for that suggestion.  I was able to get the command prompt and 
> try to startx.  It once more does not start.  However, now it will 
> actually let me view the contents of the xorg.log.
> 
> I hope this isn't in appropriate for the forum, if it is, I hope the 
> listmanager will remove the code -- here is the text of the xorg.log  
> One thing I noticed, I don't know if this matters, but it seems to 
> reference a PCI MGA card, my video card is an AGP.  Also it lists the 
> memory as 4mb, but I believe the card has 8 on it.
> 
> 
> X Window System Version 6.9.0
> Release Date: 21 December 2005
> X Protocol Version 11, Revision 0, Release 6.9
> Build Operating System: Linux 2.6.9-34.0.2.ELsmp i686 [ELF]
> Current Operating System: Linux ws116 2.6.17.3-ltsp-1 #2 PREEMPT Tue Jul 
> 4 19:59:53 EDT 2006 i686
> Build Date: 02 August 2006
>    Before reporting problems, check http://wiki.X.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: "/tmp/mnt/xorg.log", Time: Thu Jan  1 05:03:12 1998
> (++) Using config file: "/tmp/XF86Config.1"
> (==) ServerLayout "Xorg Configured"
> (**) |-->Screen "Screen00" (0)
> (**) |   |-->Monitor "Monitor00"
> (**) |   |-->Device "Card00"
> (**) |-->Input Device "Keyboard0"
> (**) Option "XkbLayout" "us"
> (**) XKB: layout: "us"
> (==) Keyboard: CustomKeycode disabled
> (**) |-->Input Device "Mouse0"
> (**) |-->Input Device "Mouse1"
> (**) FontPath set to 
> "/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/Type1/,/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"
> (WW) Open ACPI failed (/proc/acpi/event) (No such file or directory)
> (II) No APM support in BIOS or kernel
> (II) Module ABI versions:
>    X.Org ANSI C Emulation: 0.2
>    X.Org Video Driver: 0.8
>    X.Org XInput driver : 0.5
>    X.Org Server Extension : 0.2
>    X.Org Font Renderer : 0.4
> (II) Loader running on linux
> (II) LoadModule: "bitmap"
> (II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.so
> (II) Module bitmap: vendor="X.Org Foundation"
>    compiled for 6.9.0, module version = 1.0.0
>    Module class: X.Org Font Renderer
>    ABI class: X.Org Font Renderer, version 0.4
> (II) Loading font Bitmap
> (II) LoadModule: "pcidata"
> (II) Loading /usr/X11R6/lib/modules/libpcidata.so
> (II) Module pcidata: vendor="X.Org Foundation"
>    compiled for 6.9.0, module version = 1.0.0
>    ABI class: X.Org Video Driver, version 0.8
> (++) using VT number 1
> 
> (II) PCI: PCI scan (all values are in hex)
> (II) PCI: 00:00:0: chip 8086,7180 card 0000,0000 rev 03 class 06,00,00 
> hdr 00
> (II) PCI: 00:01:0: chip 8086,7181 card 0000,0000 rev 03 class 06,04,00 
> hdr 01
> (II) PCI: 00:07:0: chip 8086,7110 card 0000,0000 rev 01 class 06,01,00 
> hdr 80
> (II) PCI: 00:07:1: chip 8086,7111 card 0000,0000 rev 01 class 01,01,80 
> hdr 00
> (II) PCI: 00:07:2: chip 8086,7112 card 0000,0000 rev 01 class 0c,03,00 
> hdr 00
> (II) PCI: 00:07:3: chip 8086,7113 card 0000,0000 rev 01 class 06,80,00 
> hdr 00
> (II) PCI: 00:0a:0: chip 10b7,9050 card 0000,0000 rev 00 class 02,00,00 
> hdr 00
> (II) PCI: 00:0b:0: chip 1274,5000 card 4942,4c4c rev 00 class 04,01,00 
> hdr 00
> (II) PCI: 01:00:0: chip 102b,051f card 102b,1000 rev 00 class 03,00,00 
> hdr 00
> (II) PCI: End of PCI scan
> (II) Host-to-PCI bridge:
> (II) Bus 0: bridge is at (0:0:0), (0,0,1), 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-PCI bridge:
> (II) Bus 1: bridge is at (0:1:0), (0,1,1), BCTRL: 0x000a (VGA_EN is set)
> (II) Bus 1 I/O range:
>    [0] -1    0    0x0000d000 - 0x0000dfff (0x1000) IX[B]
> (II) Bus 1 non-prefetchable memory range:
>    [0] -1    0    0xe4000000 - 0xe7ffffff (0x4000000) MX[B]
> (II) Bus 1 prefetchable memory range:
>    [0] -1    0    0xe8000000 - 0xe8ffffff (0x1000000) MX[B]
> (II) PCI-to-ISA bridge:
> (II) Bus -1: bridge is at (0:7:0), (0,-1,-1), BCTRL: 0x0008 (VGA_EN is set)
> (--) PCI:*(1:0:0) Matrox Graphics, Inc. MGA 2164W [Millennium II] AGP 
> rev 0, Mem @ 0xe8000000/24, 0xe4000000/14, 0xe5000000/23
> (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) PCI Memory resource overlap reduced 0xe0000000 from 0xe3ffffff to 
> 0xdfffffff
> (II) Active PCI resource ranges:
>    [0] -1    0    0xe0000000 - 0xdfffffff (0x0) MX[B]O
>    [1] -1    0    0xe5000000 - 0xe57fffff (0x800000) MX[B](B)
>    [2] -1    0    0xe4000000 - 0xe4003fff (0x4000) MX[B](B)
>    [3] -1    0    0xe8000000 - 0xe8ffffff (0x1000000) MX[B](B)
>    [4] -1    0    0x0000e800 - 0x0000e83f (0x40) IX[B]
>    [5] -1    0    0x0000e400 - 0x0000e43f (0x40) IX[B]
>    [6] -1    0    0x0000e000 - 0x0000e01f (0x20) IX[B]
>    [7] -1    0    0x0000f000 - 0x0000f00f (0x10) IX[B]
> (II) Active PCI resource ranges after removing overlaps:
>    [0] -1    0    0xe0000000 - 0xdfffffff (0x0) MX[B]O
>    [1] -1    0    0xe5000000 - 0xe57fffff (0x800000) MX[B](B)
>    [2] -1    0    0xe4000000 - 0xe4003fff (0x4000) MX[B](B)
>    [3] -1    0    0xe8000000 - 0xe8ffffff (0x1000000) MX[B](B)
>    [4] -1    0    0x0000e800 - 0x0000e83f (0x40) IX[B]
>    [5] -1    0    0x0000e400 - 0x0000e43f (0x40) IX[B]
>    [6] -1    0    0x0000e000 - 0x0000e01f (0x20) IX[B]
>    [7] -1    0    0x0000f000 - 0x0000f00f (0x10) IX[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    0xe0000000 - 0xdfffffff (0x0) MX[B]O
>    [6] -1    0    0xe5000000 - 0xe57fffff (0x800000) MX[B](B)
>    [7] -1    0    0xe4000000 - 0xe4003fff (0x4000) MX[B](B)
>    [8] -1    0    0xe8000000 - 0xe8ffffff (0x1000000) MX[B](B)
>    [9] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[B]
>    [10] -1    0    0x00000000 - 0x000000ff (0x100) IX[B]
>    [11] -1    0    0x0000e800 - 0x0000e83f (0x40) IX[B]
>    [12] -1    0    0x0000e400 - 0x0000e43f (0x40) IX[B]
>    [13] -1    0    0x0000e000 - 0x0000e01f (0x20) IX[B]
>    [14] -1    0    0x0000f000 - 0x0000f00f (0x10) IX[B]
> (II) LoadModule: "extmod"
> (II) Loading /usr/X11R6/lib/modules/extensions/libextmod.so
> (II) Module extmod: vendor="X.Org Foundation"
>    compiled for 6.9.0, module version = 1.0.0
>    Module class: X.Org Server Extension
>    ABI class: X.Org Server Extension, version 0.2
> (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 TOG-CUP
> (II) Loading extension Extended-Visual-Information
> (II) Loading extension XVideo
> (II) Loading extension XVideo-MotionCompensation
> (II) Loading extension X-Resource
> (II) LoadModule: "glx"
> (II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
> (II) Module glx: vendor="X.Org Foundation"
>    compiled for 6.9.0, module version = 1.0.0
>    ABI class: X.Org Server Extension, version 0.2
> (II) Loading sub module "GLcore"
> (II) LoadModule: "GLcore"
> (II) Loading /usr/X11R6/lib/modules/extensions/libGLcore.so
> (II) Module GLcore: vendor="X.Org Foundation"
>    compiled for 6.9.0, module version = 1.0.0
>    ABI class: X.Org Server Extension, version 0.2
> (II) Loading extension GLX
> (II) LoadModule: "freetype"
> (II) Loading /usr/X11R6/lib/modules/fonts/libfreetype.so
> (II) Module freetype: vendor="X.Org Foundation & the After X-TT Project"
>    compiled for 6.9.0, module version = 2.1.0
>    Module class: X.Org Font Renderer
>    ABI class: X.Org Font Renderer, version 0.4
> (II) Loading font FreeType
> (II) LoadModule: "type1"
> (II) Loading /usr/X11R6/lib/modules/fonts/libtype1.so
> (II) Module type1: vendor="X.Org Foundation"
>    compiled for 6.9.0, module version = 1.0.2
>    Module class: X.Org Font Renderer
>    ABI class: X.Org Font Renderer, version 0.4
> (II) Loading font Type1
> (II) Loading font CID
> (II) LoadModule: "mga"
> (II) Loading /usr/X11R6/lib/modules/drivers/mga_drv.so
> (II) Module mga: vendor="X.Org Foundation"
>    compiled for 6.9.0, module version = 1.2.1
>    Module class: X.Org Video Driver
>    ABI class: X.Org Video Driver, version 0.8
> (II) LoadModule: "keyboard"
> (II) Loading /usr/X11R6/lib/modules/input/keyboard_drv.so
> (II) Module keyboard: vendor="X.Org Foundation"
>    compiled for 6.9.0, module version = 1.0.0
>    Module class: X.Org XInput Driver
>    ABI class: X.Org XInput driver, version 0.5
> (II) LoadModule: "mouse"
> (II) Loading /usr/X11R6/lib/modules/input/mouse_drv.so
> (II) Module mouse: vendor="X.Org Foundation"
>    compiled for 6.9.0, module version = 1.0.3
>    Module class: X.Org XInput Driver
>    ABI class: X.Org XInput driver, version 0.5
> (II) MGA: driver for Matrox chipsets: mga2064w, mga1064sg, mga2164w,
>    mga2164w AGP, mgag100, mgag100 PCI, mgag200, mgag200 PCI, mgag400,
>    mgag550
> (II) Primary Device is: PCI 01:00:0
> (--) Assigning device section with no busID to primary device
> (--) Chipset mga2164w AGP 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    0xe0000000 - 0xdfffffff (0x0) MX[B]O
>    [6] -1    0    0xe5000000 - 0xe57fffff (0x800000) MX[B](B)
>    [7] -1    0    0xe4000000 - 0xe4003fff (0x4000) MX[B](B)
>    [8] -1    0    0xe8000000 - 0xe8ffffff (0x1000000) MX[B](B)
>    [9] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[B]
>    [10] -1    0    0x00000000 - 0x000000ff (0x100) IX[B]
>    [11] -1    0    0x0000e800 - 0x0000e83f (0x40) IX[B]
>    [12] -1    0    0x0000e400 - 0x0000e43f (0x40) IX[B]
>    [13] -1    0    0x0000e000 - 0x0000e01f (0x20) IX[B]
>    [14] -1    0    0x0000f000 - 0x0000f00f (0x10) 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    0xe0000000 - 0xdfffffff (0x0) MX[B]O
>    [6] -1    0    0xe5000000 - 0xe57fffff (0x800000) MX[B](B)
>    [7] -1    0    0xe4000000 - 0xe4003fff (0x4000) MX[B](B)
>    [8] -1    0    0xe8000000 - 0xe8ffffff (0x1000000) MX[B](B)
>    [9] 0    0    0x000a0000 - 0x000affff (0x10000) MS[B]
>    [10] 0    0    0x000b0000 - 0x000b7fff (0x8000) MS[B]
>    [11] 0    0    0x000b8000 - 0x000bffff (0x8000) MS[B]
>    [12] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[B]
>    [13] -1    0    0x00000000 - 0x000000ff (0x100) IX[B]
>    [14] -1    0    0x0000e800 - 0x0000e83f (0x40) IX[B]
>    [15] -1    0    0x0000e400 - 0x0000e43f (0x40) IX[B]
>    [16] -1    0    0x0000e000 - 0x0000e01f (0x20) IX[B]
>    [17] -1    0    0x0000f000 - 0x0000f00f (0x10) IX[B]
>    [18] 0    0    0xe40103b0 - 0xe40103bb (0xc) IS[B]
>    [19] 0    0    0xe40103c0 - 0xe40103df (0x20) IS[B]
> (II) Setting vga for screen 0.
> (II) Loading sub module "vgahw"
> (II) LoadModule: "vgahw"
> (II) Loading /usr/X11R6/lib/modules/libvgahw.so
> (II) Module vgahw: vendor="X.Org Foundation"
>    compiled for 6.9.0, module version = 0.1.0
>    ABI class: X.Org Video Driver, version 0.8
> (--) MGA(0): Chipset: "mga2164w AGP"
> (**) MGA(0): Depth 16, (--) framebuffer bpp 16
> (==) MGA(0): RGB weight 565
> (==) MGA(0): Using AGP 1x mode
> (--) MGA(0): Linear framebuffer at 0xE8000000
> (--) MGA(0): MMIO registers at 0xE4000000
> (--) MGA(0): Pseudo-DMA transfer window at 0xE5000000
> (==) MGA(0): BIOS at 0xC0000
> (--) MGA(0): Video BIOS info block at offset 0x07DC0
> (WW) MGA(0): Unable to probe memory amount due to hardware bug.  
> Assuming 4096 KB
> (--) MGA(0): VideoRAM: 4096 kByte
> (II) Loading sub module "ddc"
> (II) LoadModule: "ddc"
> (II) Loading /usr/X11R6/lib/modules/libddc.so
> (II) Module ddc: vendor="X.Org Foundation"
>    compiled for 6.9.0, module version = 1.0.0
>    ABI class: X.Org Video Driver, version 0.8
> (II) Loading sub module "i2c"
> (II) LoadModule: "i2c"
> (II) Loading /usr/X11R6/lib/modules/libi2c.so
> (II) Module i2c: vendor="X.Org Foundation"
>    compiled for 6.9.0, module version = 1.2.0
>    ABI class: X.Org Video Driver, version 0.8
> (==) MGA(0): Write-combining range (0xe8000000,0x400000)
> 
> Fatal server error:
> xf86MapVidMem: Could not mmap framebuffer (0xe5000000,0x800000) (Cannot 
> allocate memory)
> 
> 
> Please consult the The X.Org Foundation support
>     at http://wiki.X.Org
> for help.
> Please also check the log file at "/tmp/mnt/xorg.log" for additional 
> information.
> 
> 
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
> 




More information about the K12OSN mailing list