failed to set mtrr: invalid argument

Laurent Grangeau thorzero at gmail.com
Tue May 19 17:54:04 UTC 2009


I think I can handle this answer.

This is the default behavior of Xorg 7.4. If you want to see the old  
screen, launch Xorg with the -retro option.
The command should be like this :
X -config xorg.conf.new -retro

If your mouse or your keyboard doesn't seem to work, look if you have  
enable dbus and hald. In your /etc/rc.conf, you should have  
dbus_enable="YES" and hald_enable="YES" (I'm not sure about this).

All this is explain in the handbook : Configuring X11.

Le 19 mai 09 à 19:15, Chris H <chris#@1command.com> a écrit :

> Quoting Robert Noland <rnoland at FreeBSD.org>:
>
>> On Mon, 2009-05-18 at 23:40 -0700, Chris H wrote:
>>> Quoting "Paul B. Mahol" <onemda at gmail.com>:
>>>
>>> > On 5/19/09, Chris H <chris#@1command.com> wrote:
>>> >> Quoting Chris H <chris#@1command.com>:
>>> >>
>>> >>> Quoting Chris H <chris#@1command.com>:
>>> >>>
>>> >>>> Greetings,
>>> >>>> I'm unable to get xorg-7.4 to accomodate my Gforce4 MX 440.
>>> >>>> On 7.1-7.2 releases. I'm currently working (struggling) with
>>> >>>> it on a 7.1 install/GENERIC with cvsup over the weekend  
>>> (Sunday),
>>> >>>> I've seen only a few discussions regarding this, but no joy.
>>> >>>>
>>> >>>> I'm not sure what to post for additional information. So I'll
>>> >>>> provide the output of dmesg(8), and Xorg.0.log via links.
>>> >>>>
>>> >>>> Thank you for all your time and consideration in this matter.
>>> >>>>
>>> >>>> Sincerely,
>>> >>>> Chris H
>>> >>>>
>>> >>>> Xorg log:
>>> >>>> http://codewarehouse.NET/output/Xorg.0.log
>>> >>>>
>>> >>>> relevent dmesg(8) output:
>>> >>>> http://codewarehouse.NET/output/dmesg.output
>>> >>>
>>> >>> OOPS! I guess the xorg config might be useful:
>>> >>> http://codewarehouse.NET/output/xorg.conf.nvidia
>>> >>>
>>> >>>>
>>> >> SIGH... Seems that the registrar isn't paying attention.
>>> >> They happily accepted my money, but forgot to renew the domain.
>>> >>
>>> >> So here's trying to attach the files...
>>> >
>>> > That message appears for me only when I use xf86-video-vesa  
>>> driver.
>>>
>>> I see. Well I'm specifically using the nv driver. Here's another
>>> attempt to provide the relevant info:
>>
>> You have more than one card in the machine, which might be confusing
>> things.  The mtrr failure is caused by how your bios sets up memory
>> regions.  It should only impact performance.
>>
>> Exactly what issue are you seeing?
>
> I'm seeing a black screen on ctl-alt-f9 (tty8)
> I'm seeing the message listed as this thread topic on tty0 (ctl-alt- 
> f1).
> The proceedure theat led me here is:
> Xorc -configure
> edit /root/xorg.config.new (move all the ati related stuff to  
> xorg.conf.ati).
> Tweak whats left, and save it as /etc/X11/xorg.conf.nvidia.
> exec Xorg -config /etc/X11/xorg.conf.nvidia
>
> The ctl-alt-backspace won't break me out of Xorg/tty8. I am forced
> to ctl-alt-f1 (where I read the error message) then use ctl-C -
> which kills Xorg, and returns me to a working console.
>
> Thank you Robert, for taking the time to respond.
>
> --Chris H
>
>>
>> robert.
>>
>>> Xorg log:
>>> X.Org X Server 1.6.0
>>> Release Date: 2009-2-25
>>> X Protocol Version 11, Revision 0
>>> Build Operating System: FreeBSD 7.1-RELEASE i386 Current Operating
>>> System: FreeBSD udns 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan  1
>>> 14:37:25 UTC 2009
>>> root at logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
>>> Build Date: 16 May 2009  07:15:01AM
>>>
>>>    Before reporting problems, check http://wiki.x.org
>>>    to make sure that you have the latest version.
>>> 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/Xorg.0.log", Time: Mon May 18 20:34:43 2009
>>> (++) Using config file: "/etc/X11/xorg.conf.nvidia"
>>> (==) ServerLayout "X.org Configured"
>>> (**) |-->Screen "Screen0" (0)
>>> (**) |   |-->Monitor "Monitor1"
>>> (**) |   |-->Device "Card1"
>>> (**) |-->Input Device "Mouse0"
>>> (**) |-->Input Device "Keyboard0"
>>> (**) Option "AllowEmptyInput" "false"
>>> (==) Automatically adding devices
>>> (==) Automatically enabling devices
>>> (WW) The directory "/usr/local/lib/X11/fonts/Type1/" does not exist.
>>>    Entry deleted from font path.
>>> (WW) `fonts.dir' not found (or not valid) in
>>> "/usr/local/lib/X11/fonts/100dpi/".
>>>    Entry deleted from font path.
>>>    (Run 'mkfontdir' on "/usr/local/lib/X11/fonts/100dpi/").
>>> (WW) `fonts.dir' not found (or not valid) in
>>> "/usr/local/lib/X11/fonts/75dpi/".
>>>    Entry deleted from font path.
>>>    (Run 'mkfontdir' on "/usr/local/lib/X11/fonts/75dpi/").
>>> (WW) The directory "/usr/local/lib/X11/fonts/Type1/" does not exist.
>>>    Entry deleted from font path.
>>> (WW) `fonts.dir' not found (or not valid) in
>>> "/usr/local/lib/X11/fonts/100dpi/".
>>>    Entry deleted from font path.
>>>    (Run 'mkfontdir' on "/usr/local/lib/X11/fonts/100dpi/").
>>> (WW) `fonts.dir' not found (or not valid) in
>>> "/usr/local/lib/X11/fonts/75dpi/".
>>>    Entry deleted from font path.
>>>    (Run 'mkfontdir' on "/usr/local/lib/X11/fonts/75dpi/").
>>> (**) FontPath set to:
>>>    /usr/local/lib/X11/fonts/misc/,
>>>    /usr/local/lib/X11/fonts/TTF/,
>>>    /usr/local/lib/X11/fonts/OTF,
>>>    /usr/local/lib/X11/fonts/misc/,
>>>    /usr/local/lib/X11/fonts/TTF/,
>>>    /usr/local/lib/X11/fonts/OTF,
>>>    built-ins
>>> (**) ModulePath set to "/usr/local/lib/xorg/modules"
>>> (II) Loader magic: 0x6a0
>>> (II) Module ABI versions:
>>>    X.Org ANSI C Emulation: 0.4
>>>    X.Org Video Driver: 5.0
>>>    X.Org XInput driver : 4.0
>>>    X.Org Server Extension : 2.0
>>> (II) Loader running on freebsd
>>> (--) Using syscons driver with X support (version 2.0)
>>> (--) using VT number 9
>>>
>>> (!!) More than one possible primary device found
>>> (--) PCI: (0 at 0:1:0) ATI Technologies Inc Rage XL rev 39, Mem @
>>> 0xfb000000/16777216, 0xfcaff000/4096, I/O @ 0x0000d800/256, BIOS @
>>> 0x????????/131072
>>> (--) PCI: (0 at 1:2:0) nVidia Corporation NV17 [GeForce4 MX 440] rev  
>>> 163,
>>> Mem @ 0xfd000000/16777216, 0xf0000000/134217728, 0xfa580000/524288,
>>> BIOS @ 0x????????/131072
>>> (II) System resource ranges:
>>>    [0] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[B]
>>>    [1] -1    0    0x000c0000 - 0x000effff (0x30000) MX[B]
>>>    [2] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[B]
>>>    [3] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[B]
>>>    [4] -1    0    0x00000000 - 0x000000ff (0x100) IX[B]
>>> (II) "extmod" will be loaded. This was enabled by default and also
>>> specified in the config file.
>>> (II) "dbe" will be loaded. This was enabled by default and also
>>> specified in the config file.
>>> (II) "glx" will be loaded. This was enabled by default and also
>>> specified in the config file.
>>> (II) "record" will be loaded. This was enabled by default and also
>>> specified in the config file.
>>> (II) "dri" will be loaded. This was enabled by default and also
>>> specified in the config file.
>>> (II) "dri2" will be loaded. This was enabled by default and also
>>> specified in the config file.
>>> (II) LoadModule: "extmod"
>>> (II) Loading /usr/local/lib/xorg/modules/extensions//libextmod.so
>>> (II) Module extmod: vendor="X.Org Foundation"
>>>    compiled for 1.6.0, module version = 1.0.0
>>>    Module class: X.Org Server Extension
>>>    ABI class: X.Org Server Extension, version 2.0
>>> (II) Loading extension MIT-SCREEN-SAVER
>>> (II) Loading extension XFree86-VidModeExtension
>>> (II) Loading extension XFree86-DGA
>>> (II) Loading extension DPMS
>>> (II) Loading extension XVideo
>>> (II) Loading extension XVideo-MotionCompensation
>>> (II) Loading extension X-Resource
>>> (II) LoadModule: "record"
>>> (II) Loading /usr/local/lib/xorg/modules/extensions//librecord.so
>>> (II) Module record: vendor="X.Org Foundation"
>>>    compiled for 1.6.0, module version = 1.13.0
>>>    Module class: X.Org Server Extension
>>>    ABI class: X.Org Server Extension, version 2.0
>>> (II) Loading extension RECORD
>>> (II) LoadModule: "dbe"
>>> (II) Loading /usr/local/lib/xorg/modules/extensions//libdbe.so
>>> (II) Module dbe: vendor="X.Org Foundation"
>>>    compiled for 1.6.0, module version = 1.0.0
>>>    Module class: X.Org Server Extension
>>>    ABI class: X.Org Server Extension, version 2.0
>>> (II) Loading extension DOUBLE-BUFFER
>>> (II) LoadModule: "extmod"
>>> (II) Reloading /usr/local/lib/xorg/modules/extensions//libextmod.so
>>> (II) Loading extension MIT-SCREEN-SAVER
>>> (II) Loading extension XFree86-VidModeExtension
>>> (II) Loading extension DPMS
>>> (II) Loading extension XVideo
>>> (II) Loading extension XVideo-MotionCompensation
>>> (II) Loading extension X-Resource
>>> (II) LoadModule: "glx"
>>> (II) Loading /usr/local/lib/xorg/modules/extensions//libglx.so
>>> (II) Module glx: vendor="X.Org Foundation"
>>>    compiled for 1.6.0, module version = 1.0.0
>>>    ABI class: X.Org Server Extension, version 2.0
>>> (==) AIGLX disabled
>>> (II) Loading extension GLX
>>> (II) LoadModule: "dri"
>>> (II) Loading /usr/local/lib/xorg/modules/extensions//libdri.so
>>> (II) Module dri: vendor="X.Org Foundation"
>>>    compiled for 1.6.0, module version = 1.0.0
>>>    ABI class: X.Org Server Extension, version 2.0
>>> (II) Loading extension XFree86-DRI
>>> (II) LoadModule: "dri2"
>>> (II) Loading /usr/local/lib/xorg/modules/extensions//libdri2.so
>>> (II) Module dri2: vendor="X.Org Foundation"
>>>    compiled for 1.6.0, module version = 1.0.0
>>>    ABI class: X.Org Server Extension, version 2.0
>>> (II) Loading extension DRI2
>>> (II) LoadModule: "nv"
>>> (II) Loading /usr/local/lib/xorg/modules/drivers//nv_drv.so
>>> (II) Module nv: vendor="X.Org Foundation"
>>>    compiled for 1.6.0, module version = 2.1.13
>>>    Module class: X.Org Video Driver
>>>    ABI class: X.Org Video Driver, version 5.0
>>> (II) LoadModule: "mouse"
>>> (II) Loading /usr/local/lib/xorg/modules/input//mouse_drv.so
>>> (II) Module mouse: vendor="X.Org Foundation"
>>>    compiled for 1.6.0, module version = 1.4.0
>>>    Module class: X.Org XInput Driver
>>>    ABI class: X.Org XInput driver, version 4.0
>>> (II) LoadModule: "kbd"
>>> (II) Loading /usr/local/lib/xorg/modules/input//kbd_drv.so
>>> (II) Module kbd: vendor="X.Org Foundation"
>>>    compiled for 1.6.0, module version = 1.3.2
>>>    Module class: X.Org XInput Driver
>>>    ABI class: X.Org XInput driver, version 4.0
>>> (II) NV: driver for NVIDIA chipsets: RIVA 128, RIVA TNT, RIVA TNT2,
>>>    Unknown TNT2, Vanta, RIVA TNT2 Ultra, RIVA TNT2 Model 64,
>>>    Aladdin TNT2, GeForce 256, GeForce DDR, Quadro, GeForce2 MX/MX  
>>> 400,
>>>    GeForce2 MX 100/200, GeForce2 Go, Quadro2 MXR/EX/Go,
>>>    GeForce2 Integrated GPU, GeForce2 GTS, GeForce2 Ti, GeForce2  
>>> Ultra,
>>>    Quadro2 Pro, GeForce4 MX 460, GeForce4 MX 440, GeForce4 MX 420,
>>>    GeForce4 MX 440-SE, GeForce4 440 Go, GeForce4 420 Go,
>>>    GeForce4 420 Go 32M, GeForce4 460 Go, Quadro4 550 XGL,
>>>    GeForce4 440 Go 64M, Quadro NVS, Quadro4 500 GoGL,
>>>    GeForce4 410 Go 16M, GeForce4 MX 440 with AGP8X,
>>>    GeForce4 MX 440SE with AGP8X, GeForce4 MX 420 with AGP8X,
>>>    GeForce4 MX 4000, GeForce4 448 Go, GeForce4 488 Go, Quadro4 580  
>>> XGL,
>>>    Quadro4 NVS 280 SD, Quadro4 380 XGL, Quadro NVS 50 PCI,
>>>    GeForce4 448 Go, GeForce4 MX Integrated GPU, GeForce3,
>>>    GeForce3 Ti 200, GeForce3 Ti 500, Quadro DCC, GeForce4 Ti 4600,
>>>    GeForce4 Ti 4400, GeForce4 Ti 4200, Quadro4 900 XGL, Quadro4  
>>> 750 XGL,
>>>    Quadro4 700 XGL, GeForce4 Ti 4800, GeForce4 Ti 4200 with AGP8X,
>>>    GeForce4 Ti 4800 SE, GeForce4 4200 Go, Quadro4 700 GoGL,
>>>    Quadro4 980 XGL, Quadro4 780 XGL, GeForce FX 5800 Ultra,
>>>    GeForce FX 5800, Quadro FX 2000, Quadro FX 1000,
>>>    GeForce FX 5600 Ultra, GeForce FX 5600, GeForce FX 5600XT,
>>>    GeForce FX Go5600, GeForce FX Go5650, Quadro FX Go700,
>>>    GeForce FX 5200, GeForce FX 5200 Ultra, GeForce FX 5200,
>>>    GeForce FX 5200LE, GeForce FX Go5200, GeForce FX Go5250,
>>>    GeForce FX 5500, GeForce FX 5100, GeForce FX Go5200 32M/64M,
>>>    Quadro NVS 55/280 PCI, Quadro FX 500/600 PCI,
>>>    GeForce FX Go53xx Series, GeForce FX Go5100, GeForce FX 5900  
>>> Ultra,
>>>    GeForce FX 5900, GeForce FX 5900XT, GeForce FX 5950 Ultra,
>>>    GeForce FX 5900ZT, Quadro FX 3000, Quadro FX 700,
>>>    GeForce FX 5700 Ultra, GeForce FX 5700, GeForce FX 5700LE,
>>>    GeForce FX 5700VE, GeForce FX Go5700, GeForce FX Go5700,
>>>    Quadro FX Go1000, Quadro FX 1100, GeForce 6800 Ultra, GeForce  
>>> 6800,
>>>    GeForce 6800 LE, GeForce 6800 XE, GeForce 6800 XT, GeForce 6800  
>>> GT,
>>>    GeForce 6800 GT, GeForce 6800 GS, GeForce 6800 XT, Quadro FX  
>>> 4000,
>>>    GeForce 6800 GS, GeForce 6800, GeForce 6800 LE, GeForce 6800 XT,
>>>    GeForce Go 6800, GeForce Go 6800 Ultra, Quadro FX Go1400,
>>>    Quadro FX 3450/4000 SDI, Quadro FX 1400, GeForce 6600 GT,
>>>    GeForce 6600, GeForce 6600 LE, GeForce 6600 VE, GeForce Go 6600,
>>>    GeForce 6610 XL, GeForce Go 6600 TE/6200 TE, GeForce 6700 XL,
>>>    GeForce Go 6600, GeForce Go 6600 GT, Quadro FX 550, Quadro FX  
>>> 550,
>>>    Quadro FX 540, GeForce 6200, GeForce 6500,
>>>    GeForce 6200 TurboCache(TM), GeForce 6200SE TurboCache(TM),
>>>    GeForce 6200 LE, GeForce Go 6200, Quadro NVS 285, GeForce Go  
>>> 6400,
>>>    GeForce Go 6200, GeForce Go 6400, GeForce 6250, GeForce 7100 GS,
>>>    GeForce 6800, GeForce 6800 LE, GeForce 6800 GT, GeForce 6800 XT,
>>>    GeForce 6200, GeForce 6200 A-LE, GeForce 7800 GTX, GeForce 7800  
>>> GTX,
>>>    GeForce 7800 GT, GeForce 7800 GS, GeForce 7800 SLI, GeForce Go  
>>> 7800,
>>>    GeForce Go 7800 GTX, Quadro FX 4500, GeForce 7300 LE,
>>>    GeForce 7300 SE, GeForce Go 7200, GeForce Go 7300, GeForce Go  
>>> 7400,
>>>    GeForce Go 7400 GS, Quadro NVS 110M, Quadro NVS 120M, Quadro FX  
>>> 350M,
>>>    GeForce 7500 LE, Quadro FX 350, GeForce 7300 GS, GeForce 7600 GT,
>>>    GeForce 7600 GS, GeForce 7300 GT, GeForce 7600 LE, GeForce 7300  
>>> GT,
>>>    GeForce Go 7700, GeForce Go 7600, GeForce Go 7600 GT,
>>>    Quadro NVS 300M, GeForce Go 7900 SE, Quadro FX 550M, Quadro FX  
>>> 560,
>>>    GeForce 7900 GTX, GeForce 7900 GT, GeForce 7900 GS,
>>>    GeForce Go 7900 GS, GeForce Go 7900 GTX, Quadro FX 2500M,
>>>    Quadro FX 1500M, Quadro FX 5500, Quadro FX 3500, Quadro FX 1500,
>>>    Quadro FX 4500 X2, GeForce 6150, GeForce 6150 LE, GeForce 6100,
>>>    GeForce Go 6150, GeForce Go 6100, GeForce 8800 GTX, GeForce  
>>> 8800 GTS,
>>>    GeForce 8800 Ultra, Quadro FX 5600, Quadro FX 4600, GeForce  
>>> 8600 GTS,
>>>    GeForce 8600 GT, GeForce 8600 GT, GeForce 8600 GS, GeForce 8400  
>>> GS,
>>>    GeForce 9500M GS, GeForce 8600M GT, GeForce 9650M GS,
>>>    GeForce 8700M GT, Quadro FX 370, Quadro NVS 320M, Quadro FX 570M,
>>>    Quadro FX 1600M, Quadro FX 570, Quadro FX 1700, GeForce 8400 SE,
>>>    GeForce 8500 GT, GeForce 8400 GS, GeForce 8300 GS, GeForce 8400  
>>> GS,
>>>    GeForce 8600M GS, GeForce 8400M GT, GeForce 8400M GS,
>>>    GeForce 8400M G, Quadro NVS 140M, Quadro NVS 130M, Quadro NVS  
>>> 135M,
>>>    GeForce 9400 GT, Quadro FX 360M, GeForce 9300M G, Quadro NVS 290,
>>>    GeForce GTX 280, GeForce GTX 260, GeForce 8800 GTS 512,
>>>    GeForce 8800 GT, GeForce 9800 GX2, GeForce 8800 GS,
>>>    GeForce 8800M GTS, GeForce 8800M GTX, GeForce 8800 GS,
>>>    GeForce 9600 GSO, GeForce 8800 GT, GeForce 9800 GTX,
>>>    GeForce 9800 GTK+, GeForce 9800 GT, Quadro FX 3700, Quadro FX  
>>> 3600M,
>>>    GeForce 9600 GT, GeForce 9600 GS, GeForce 9800M GTS,
>>>    GeForce 9700M GTS, GeForce 9800M GTS, GeForce 9500 GT,
>>>    GeForce 9600M GT, GeForce 9600M GS, GeForce 9600M GT,
>>>    GeForce 9500M G, GeForce 9300 GS, GeForce 8400 GS, GeForce  
>>> 9300M GS,
>>>    GeForce 9200M GS, GeForce 9300M GS, Quadro NVS 150M, Quadro NVS  
>>> 160M
>>> (II) Primary Device is: (--) NV: Found NVIDIA GeForce4 MX 440 at  
>>> 01 at 00:02:0
>>> (II) resource ranges after probing:
>>>    [0] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[B]
>>>    [1] -1    0    0x000c0000 - 0x000effff (0x30000) MX[B]
>>>    [2] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[B]
>>>    [3] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[B]
>>>    [4] -1    0    0x00000000 - 0x000000ff (0x100) IX[B]
>>> (II) Loading sub module "int10"
>>> (II) LoadModule: "int10"
>>> (II) Loading /usr/local/lib/xorg/modules//libint10.so
>>> (II) Module int10: vendor="X.Org Foundation"
>>>    compiled for 1.6.0, module version = 1.0.0
>>>    ABI class: X.Org Video Driver, version 5.0
>>> (II) NV(0): Initializing int10
>>> (==) NV(0): Write-combining range (0xa0000,0x20000) was already  
>>> clear
>>> (==) NV(0): Write-combining range (0xc0000,0x40000) was already  
>>> clear
>>> (--) NV(0): Chipset: "GeForce4 MX 440"
>>> (**) NV(0): Depth 24, (--) framebuffer bpp 32
>>> (==) NV(0): RGB weight 888
>>> (==) NV(0): Default visual is TrueColor
>>> (II) Loading sub module "vgahw"
>>> (II) LoadModule: "vgahw"
>>> (II) Loading /usr/local/lib/xorg/modules//libvgahw.so
>>> (II) Module vgahw: vendor="X.Org Foundation"
>>>    compiled for 1.6.0, module version = 0.1.0
>>>    ABI class: X.Org Video Driver, version 5.0
>>> (**) NV(0): Option "CrtcNumber" "0"
>>> (==) NV(0): Using HW cursor
>>> (--) NV(0): Linear framebuffer at 0xF0000000
>>> (--) NV(0): MMIO registers at 0xFD000000
>>> (II) Loading sub module "i2c"
>>>


More information about the freebsd-stable mailing list