MMIO problem with FreeBSD 7.2
Since I upgraded from FreeBSD 7.1 to 7.2 (or more likely since I upgraded xf86-video-radeonhd to 1.2.5 which dropped at the same time) I've been unable to start X using the RadeonHD driver. I am currently using 'vesa' because 'radeon' doesn't work either. The 'radeon' driver complains of "No valid MMIO address". RadeonHD complains that it "Failed to map MMIO" and that "Query for AtomBIOS Teardown: failed". It may be relevant that I am running on an AMD64 architecture. Is this a known problem? Has it been fixed in the development version? I haven't seen any mention of it anywhere but that doesn't necessarily mean anything. I was going to include the full log file but it seems to have disappeared. If this turns out not to be an "everyone knows about that" problem I'll create another one. -- Matthew -- To unsubscribe, e-mail: radeonhd+unsubscribe@opensuse.org For additional commands, e-mail: radeonhd+help@opensuse.org
On May 24, 09 21:45:29 +0100, lists@aether.demon.co.uk wrote:
Since I upgraded from FreeBSD 7.1 to 7.2 (or more likely since I upgraded xf86-video-radeonhd to 1.2.5 which dropped at the same time) I've been unable to start X using the RadeonHD driver. I am currently using 'vesa' because 'radeon' doesn't work either. RadeonHD complains that it "Failed to map MMIO" and that "Query for AtomBIOS Teardown: failed". Is this a known problem? Has it been fixed in the development version? I haven't seen any mention of it anywhere but that doesn't necessarily mean anything.
Haven't heard of that before. OTOH I have never used a BSD in my
lifetime, so I'm probably the wrong guy to comment.
CU
Matthias
--
Matthias Hopf
Matthias Hopf wrote:
On May 24, 09 21:45:29 +0100, lists@aether.demon.co.uk wrote:
Since I upgraded from FreeBSD 7.1 to 7.2 (or more likely since I upgraded xf86-video-radeonhd to 1.2.5 which dropped at the same time) I've been unable to start X using the RadeonHD driver. I am currently using 'vesa' because 'radeon' doesn't work either. RadeonHD complains that it "Failed to map MMIO" and that "Query for AtomBIOS Teardown: failed". Is this a known problem? Has it been fixed in the development version? I haven't seen any mention of it anywhere but that doesn't necessarily mean anything.
Haven't heard of that before. OTOH I have never used a BSD in my lifetime, so I'm probably the wrong guy to comment.
Right, well, attached are log and configuration files. This may help someone identify the problem. Don't be put off by the fact that it claims to be FreeBSD 7.0. As far as I'm aware I am fully up to date with 7.2. Obviously wherever that text comes from hasn't been updated. I don't think it's an MSI motherboard problem, as suggested by another sufferer, since I'm using an Asus Crosshair motherboard. -- (\/)atthew X.Org X Server 1.6.1 Release Date: 2009-4-14 X Protocol Version 11, Revision 0 Build Operating System: FreeBSD 7.0-STABLE amd64 Current Operating System: FreeBSD omoikane.earth.aether.demon.co.uk 7.0-STABLE FreeBSD 7.0-STABLE #3: Mon Aug 11 18:28:41 BST 2008 admin@omoikane.earth.aether.demon.co.uk:/usr/obj/usr/src/sys/OMOIKANE amd64 Build Date: 12 May 2009 07:30:28AM 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: Sun May 31 12:54:31 2009 (==) Using config file: "/usr/local/etc/X11/xorg.conf" (==) ServerLayout "X.org Configured" (**) |-->Screen "Screen0" (0) (**) | |-->Monitor "Monitor0" (**) | |-->Device "Card0" (**) |-->Screen "Screen1" (1) (**) | |-->Monitor "Monitor1" (==) No device specified for screen "Screen1". Using the first device section listed. (**) | |-->Device "Card0" (**) |-->Input Device "Mouse0" (**) |-->Input Device "Keyboard0" (==) Automatically adding devices (==) Automatically enabling devices (**) 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/Type1/, /usr/local/lib/X11/fonts/100dpi/, /usr/local/lib/X11/fonts/75dpi/, /usr/local/lib/X11/fonts/misc/, /usr/local/lib/X11/fonts/TTF/, /usr/local/lib/X11/fonts/OTF, /usr/local/lib/X11/fonts/Type1/, /usr/local/lib/X11/fonts/100dpi/, /usr/local/lib/X11/fonts/75dpi/, built-ins (**) ModulePath set to "/usr/local/lib/xorg/modules" (II) Cannot locate a core pointer device. (II) Cannot locate a core keyboard device. (II) The server relies on HAL to provide the list of input devices. If no devices become available, reconfigure HAL or disable AllowEmptyInput. (WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled. (WW) Disabling Mouse0 (WW) Disabling Keyboard0 (II) Loader magic: 0x35e0 (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 (--) PCI:*(0@1:0:0) ATI Technologies Inc RV770 [Radeon HD 4850] rev 0, BIOS @ 0x????????/65536 (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 by default. (II) "dbe" will be loaded by default. (II) "glx" will be loaded by default. (II) "record" will be loaded by default. (II) "dri" will be loaded by default. (II) "dri2" will be loaded by default. (II) LoadModule: "extmod" (II) Loading /usr/local/lib/xorg/modules/extensions//libextmod.so (II) Module extmod: vendor="X.Org Foundation" compiled for 1.6.1, 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: "dbe" (II) Loading /usr/local/lib/xorg/modules/extensions//libdbe.so (II) Module dbe: vendor="X.Org Foundation" compiled for 1.6.1, 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: "glx" (II) Loading /usr/local/lib/xorg/modules/extensions//libglx.so (II) Module glx: vendor="X.Org Foundation" compiled for 1.6.1, module version = 1.0.0 ABI class: X.Org Server Extension, version 2.0 (==) AIGLX disabled (II) Loading extension GLX (II) LoadModule: "record" (II) Loading /usr/local/lib/xorg/modules/extensions//librecord.so (II) Module record: vendor="X.Org Foundation" compiled for 1.6.1, 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: "dri" (II) Loading /usr/local/lib/xorg/modules/extensions//libdri.so (II) Module dri: vendor="X.Org Foundation" compiled for 1.6.1, 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.1, module version = 1.0.0 ABI class: X.Org Server Extension, version 2.0 (II) Loading extension DRI2 (II) LoadModule: "radeonhd" (II) Loading /usr/local/lib/xorg/modules/drivers//radeonhd_drv.so (II) Module radeonhd: vendor="AMD GPG" compiled for 1.6.1, module version = 1.2.5 Module class: X.Org Video Driver ABI class: X.Org Video Driver, version 5.0 (II) RADEONHD: X driver for the following AMD GPG (ATI) graphics devices: RV505 : Radeon X1550, X1550 64bit. RV515 : Radeon X1300, X1550, X1600; FireGL V3300, V3350. RV516 : Radeon X1300, X1550, X1550 64-bit, X1600; FireMV 2250. R520 : Radeon X1800; FireGL V5300, V7200, V7300, V7350. RV530 : Radeon X1300 XT, X1600, X1600 Pro, X1650; FireGL V3400, V5200. RV535 : Radeon X1300, X1650. RV550 : Radeon X2300 HD. RV560 : Radeon X1650. RV570 : Radeon X1950, X1950 GT; FireGL V7400. R580 : Radeon X1900, X1950; AMD Stream Processor. R600 : Radeon HD 2900 GT/Pro/XT; FireGL V7600/V8600/V8650. RV610 : Radeon HD 2350, HD 2400 Pro/XT, HD 2400 Pro AGP; FireGL V4000. RV620 : Radeon HD 3450, HD 3470. RV630 : Radeon HD 2600 LE/Pro/XT, HD 2600 Pro/XT AGP; Gemini RV630; FireGL V3600/V5600. RV635 : Radeon HD 3650, HD 3670. RV670 : Radeon HD 3690, 3850, HD 3870, FireGL V7700, FireStream 9170. R680 : Radeon HD 3870 X2. M52 : Mobility Radeon X1300. M54 : Mobility Radeon X1400; M54-GL. M56 : Mobility Radeon X1600; Mobility FireGL V5200. M58 : Mobility Radeon X1800, X1800 XT; Mobility FireGL V7100, V7200. M62 : Mobility Radeon X1350. M64 : Mobility Radeon X1450, X2300. M66 : Mobility Radeon X1700, X1700 XT; FireGL V5250. M68 : Mobility Radeon X1900. M71 : Mobility Radeon HD 2300. M72 : Mobility Radeon HD 2400; Radeon E2400. M74 : Mobility Radeon HD 2400 XT. M76 : Mobility Radeon HD 2600; (Gemini ATI) Mobility Radeon HD 2600 XT. M82 : Mobility Radeon HD 3400. M86 : Mobility Radeon HD 3650, HD 3670, Mobility FireGL V5700. M88 : Mobility Radeon HD 3850, HD 3850 X2, HD 3870, HD3870 X2. RS600 : Radeon Xpress 1200, Xpress 1250. RS690 : Radeon X1200, X1250, X1270. RS740 : RS740, RS740M. RS780 : Radeon HD 3100/3200/3300 Series. RV770 : Radeon HD 4800 Series; Everest, K2, Denali ATI FirePro. R700 : Radeon R700. M98 : Radeon M98 Mobility. RV730 : Radeon HD4670, HD4650. M96 : Radeon M96 Mobility. RV710 : Radeon HD4570, HD4350. (II) RADEONHD: version 1.2.5, built from dist of git branch master, commit cb54f48b (II) Primary Device is: PCI 01@00:00:0 (II) resource ranges after xf86ClaimFixedResources() call: [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) 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] 0 0 0x000a0000 - 0x000affff (0x10000) MS[B] [4] 0 0 0x000b0000 - 0x000b7fff (0x8000) MS[B] [5] 0 0 0x000b8000 - 0x000bffff (0x8000) MS[B] [6] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B] [7] -1 0 0x00000000 - 0x000000ff (0x100) IX[B] [8] 0 0 0x000003b0 - 0x000003bb (0xc) IS[B] [9] 0 0 0x000003c0 - 0x000003df (0x20) IS[B] (II) Setting vga for screen 0. (==) RADEONHD(0): Depth 24, (--) framebuffer bpp 32 (**) RADEONHD(0): Option "AccelMethod" "none" (**) RADEONHD(0): Option "DRI" "off" (**) RADEONHD(0): Option "TVMode" "PAL" (**) RADEONHD(0): Option "Audio" "off" (WW) RADEONHD(0): All methods of acceleration have been disabled. (II) RADEONHD(0): Unknown card detected: 0x9442:0x1458:0x21B8. If - and only if - your card does not work or does not work optimally please contact radeonhd@opensuse.org to help rectify this. Use the subject: 0x9442:0x1458:0x21B8: <name of board> and *please* describe the problems you are seeing in your message. (--) RADEONHD(0): Detected an RV770 on an unidentified card (EE) RADEONHD(0): Failed to map MMIO. (II) RADEONHD(0): Query for AtomBIOS Teardown: failed (II) UnloadModule: "radeonhd" (EE) Screen(s) found, but none have a usable configuration. Fatal server error: no screens found Please consult the The X.Org Foundation support at http://wiki.x.org for help. Please also check the log file at "/var/log/Xorg.0.log" for additional information. Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 Screen 1 "Screen1" RightOf "Screen0" # InputDevice "Mouse0" "CorePointer" # InputDevice "Keyboard0" "CoreKeyboard" InputDevice "Mouse0" InputDevice "Keyboard0" # Option "AllowEmptyInput" "off" # Option "AutoAddDevices" "off" EndSection Section "Files" ModulePath "/usr/local/lib/xorg/modules" FontPath "/usr/local/lib/X11/fonts/misc/" FontPath "/usr/local/lib/X11/fonts/TTF/" FontPath "/usr/local/lib/X11/fonts/OTF" FontPath "/usr/local/lib/X11/fonts/Type1/" FontPath "/usr/local/lib/X11/fonts/100dpi/" FontPath "/usr/local/lib/X11/fonts/75dpi/" EndSection Section "Module" # Load "xtrap" # Load "extmod" # Load "record" # Load "glx" # Load "dbe" # Load "dri" # Load "freetype" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/sysmouse" Option "ZAxisMapping" "4 5 6 7" EndSection Section "Monitor" Identifier "Monitor0" VendorName "Monitor Vendor" ModelName "Monitor Model" EndSection Section "Monitor" Identifier "Monitor1" VendorName "Monitor Vendor" ModelName "Monitor Model" 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 "AccelMethod" "none" # [none|default|shadow|xaa|exa] Option "DRI" "off" # [<bool>] Option "Audio" "off" # [<bool>] Option "TVMode" "PAL" Identifier "Card0" Driver "radeonhd" VendorName "ATI Technologies Inc" BoardName "RV770 [Radeon HD 4850]" BusID "PCI:1:0:0" EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" SubSection "Display" Viewport 0 0 Depth 1 #Virtual 2560 1024 EndSubSection SubSection "Display" Viewport 0 0 Depth 4 #Virtual 2560 1024 EndSubSection SubSection "Display" Viewport 0 0 Depth 8 #Virtual 2560 1024 EndSubSection SubSection "Display" Viewport 0 0 Depth 15 #Virtual 2560 1024 EndSubSection SubSection "Display" Viewport 0 0 Depth 16 #Virtual 2560 1024 EndSubSection SubSection "Display" Viewport 0 0 Depth 24 #Virtual 2560 1024 EndSubSection EndSection Section "Screen" Identifier "Screen1" Device "Card1" Monitor "Monitor1" SubSection "Display" Viewport 0 0 Depth 1 EndSubSection SubSection "Display" Viewport 0 0 Depth 4 EndSubSection SubSection "Display" Viewport 0 0 Depth 8 EndSubSection SubSection "Display" Viewport 0 0 Depth 15 EndSubSection SubSection "Display" Viewport 0 0 Depth 16 EndSubSection SubSection "Display" Viewport 0 0 Depth 24 EndSubSection EndSection
In message
Since I upgraded from FreeBSD 7.1 to 7.2 (or more likely since I upgraded xf86-video-radeonhd to 1.2.5 which dropped at the same time) I've been unable to start X using the RadeonHD driver. I am currently using 'vesa' because 'radeon' doesn't work either.
The 'radeon' driver complains of "No valid MMIO address".
RadeonHD complains that it "Failed to map MMIO" and that "Query for AtomBIOS Teardown: failed".
I tracked down the source of my problem and it is nothing to to with the RadeonHD driver. By mentioning this here I hope it will be of use to people suffering the same symptoms. I'm afraid it was a mistake on my part. Remember when I said to ignore the fact that the log said "FreeBSD 7.0" and that as far as I knew I was running 7.2. Turns out I don't know far enough. I am running ZFS, which the FreeBSD boot loader doesn't understand yet. Therefore you need a small boot stub to launch the proper system. It is from this boot stub that the kernel is loaded. Unfortunately when you install a new kernel it does not install to that stub. It installs to /boot/kernel on the ZFS disc and to /bootdir/kernel, which is where the stub is mounted. It should be installing to /bootdir/boot/kernel. Once I copied the kernel to /bootdir/boot/kernel it all came good. I am now able to use the radeonhd driver with X and a number of annoying boot time error messages have gone away into the bargain. -- (\/)atthew )-(ambley [ Public key: C991137B ] -- To unsubscribe, e-mail: radeonhd+unsubscribe@opensuse.org For additional commands, e-mail: radeonhd+help@opensuse.org
On Jun 18, 09 22:15:27 +0100, Matthew Hambley wrote:
I am running ZFS, which the FreeBSD boot loader doesn't understand yet. Therefore you need a small boot stub to launch the proper system. It is from this boot stub that the kernel is loaded. Unfortunately when you install a new kernel it does not install to that stub.
Thanks for reporting back!
Good to hear that everything is working for you now. Guess you are our
FreeBSD expert now ;-)
CU
Matthias
--
Matthias Hopf
In message <20090622135205.GB21408@suse.de>
Matthias Hopf
On Jun 18, 09 22:15:27 +0100, Matthew Hambley wrote:
I am running ZFS, which the FreeBSD boot loader doesn't understand yet. Therefore you need a small boot stub to launch the proper system. It is from this boot stub that the kernel is loaded. Unfortunately when you install a new kernel it does not install to that stub.
Thanks for reporting back! Good to hear that everything is working for you now. Guess you are our FreeBSD expert now ;-)
The Internet is a marvellous place. A place where someone who can't even upgrade their operating system properly can be elevated to the status of "expert". :-) However I must say it's nice to get what acceleration the driver currently provides back. I'm never going to run Google Earth but at least it doesn't take a week to move a window. -- (\/)atthew )-(ambley [ Public key: C991137B ] -- To unsubscribe, e-mail: radeonhd+unsubscribe@opensuse.org For additional commands, e-mail: radeonhd+help@opensuse.org
participants (3)
-
lists@aether.demon.co.uk
-
Matthew Hambley
-
Matthias Hopf