vesa doesn't work with PowerPC, so failsafeXServer fails

Bug #155685 reported by Keywan Tonekaboni
2
Affects Status Importance Assigned to Milestone
xorg (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: xorg

My xorg.conf was incompatible with gutsy. But instead of failsaveXServer the old ncurses dialog informs me about the broken X. I found out, that the VESA driver (xserver-xorg-video-vesa) was missing.

To test the failsaveXServer removed my (now working) xorg.conf and restart gdm. But after some flickering nothing starts. Even not the ncurses. Same as when I copy a corrupted xorg.conf there.

Least I start failsaveXServer by hand and got an error "No screens found".

Befero I post the log, some info about my hardware: It's a Apple iBook 12" G4 and has an "ATI FireGL Mobility", using the r300 driver:

0000:00:10.0 VGA compatible controller: ATI Technologies Inc M11 NV [FireGL Mobility T2e] (rev 80)

here is the Xorg.log:

X Window System Version 1.3.0
Release Date: 19 April 2007
X Protocol Version 11, Revision 0, Release 1.3
Build Operating System: Linux Ubuntu (xorg-server 2:1.3.0.0.dfsg-12ubuntu8)
Current Operating System: Linux cassini 2.6.22-14-powerpc #1 Sun Oct 14 21:42:06 GMT 2007 ppc
Build Date: 29 September 2007
 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: "/var/log/Xorg.10.log", Time: Mon Oct 22 08:54:32 2007
(++) Using config file: "/etc/X11/xorg.conf.failsafe"
(==) ServerLayout "Default Layout"
(**) |-->Screen "Default Screen" (0)
(**) | |-->Monitor "Failsafe Monitor"
(**) | |-->Device "Failsafe Device"
(**) |-->Input Device "Generic Keyboard"
(**) |-->Input Device "Configured Mouse"
(**) |-->Input Device "Synaptics Touchpad"
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
 Entry deleted from font path.
(==) FontPath set to:
 /usr/share/fonts/X11/misc,
 /usr/share/fonts/X11/100dpi/:unscaled,
 /usr/share/fonts/X11/75dpi/:unscaled,
 /usr/share/fonts/X11/Type1,
 /usr/share/fonts/X11/100dpi,
 /usr/share/fonts/X11/75dpi,
 /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType
(==) RgbPath set to "/etc/X11/rgb"
(==) ModulePath set to "/usr/lib/xorg/modules"
(II) Open APM successful
(II) Loader magic: 0x101fb2e8
(II) Module ABI versions:
 X.Org ANSI C Emulation: 0.3
 X.Org Video Driver: 1.2
 X.Org XInput driver : 0.7
 X.Org Server Extension : 0.3
 X.Org Font Renderer : 0.5
(II) Loader running on linux
(II) LoadModule: "pcidata"
(II) Loading /usr/lib/xorg/modules//libpcidata.so
(II) Module pcidata: vendor="X.Org Foundation"
 compiled for 1.3.0, module version = 1.0.0
 ABI class: X.Org Video Driver, version 1.2
(--) using VT number 9

(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:0b:0: chip 106b,0034 card 0000,0000 rev 00 class 06,00,00 hdr 00
(II) PCI: 00:10:0: chip 1002,4e56 card 1002,4e56 rev 80 class 03,00,00 hdr 00
(II) PCI: 10:0b:0: chip 106b,0035 card 0000,0000 rev 00 class 06,00,00 hdr 00
(II) PCI: 10:12:0: chip 14e4,4318 card 106b,4318 rev 02 class 02,80,00 hdr 00
(II) PCI: 10:17:0: chip 106b,003e card 0000,0000 rev 00 class ff,00,00 hdr 00
(II) PCI: 10:18:0: chip 106b,003f card 0000,0000 rev 00 class 0c,03,10 hdr 00
(II) PCI: 10:19:0: chip 106b,003f card 0000,0000 rev 00 class 0c,03,10 hdr 00
(II) PCI: 10:1a:0: chip 106b,003f card 0000,0000 rev 00 class 0c,03,10 hdr 00
(II) PCI: 10:1b:0: chip 1033,0035 card 1033,0035 rev 43 class 0c,03,10 hdr 80
(II) PCI: 10:1b:1: chip 1033,0035 card 1033,0035 rev 43 class 0c,03,10 hdr 00
(II) PCI: 10:1b:2: chip 1033,00e0 card 1033,00e0 rev 04 class 0c,03,20 hdr 00
(II) PCI: 20:0b:0: chip 106b,0036 card 0000,0000 rev 00 class 06,00,00 hdr 00
(II) PCI: 20:0d:0: chip 106b,003b card 0000,0000 rev 00 class ff,00,00 hdr 00
(II) PCI: 20:0e:0: chip 106b,0031 card 106b,5811 rev 81 class 0c,00,10 hdr 00
(II) PCI: 20:0f:0: chip 106b,0032 card 0000,0000 rev 80 class 02,00,00 hdr 00
(II) PCI: End of PCI scan
(II) Host-to-PCI bridge:
(II) Bus 0: bridge is at (0:11:0), (0,0,32), 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) Host-to-PCI bridge:
(II) Bus 16: bridge is at (16:11:0), (16,16,32), BCTRL: 0x0008 (VGA_EN is set)
(II) Bus 16 I/O range:
 [0] -1 0 0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) Bus 16 non-prefetchable memory range:
 [0] -1 0 0x00000000 - 0xffffffff (0x0) MX[B]
(II) Bus 16 prefetchable memory range:
 [0] -1 0 0x00000000 - 0xffffffff (0x0) MX[B]
(II) Host-to-PCI bridge:
(II) Bus 32: bridge is at (32:11:0), (32,32,32), BCTRL: 0x0008 (VGA_EN is set)
(II) Bus 32 I/O range:
 [0] -1 0 0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) Bus 32 non-prefetchable memory range:
 [0] -1 0 0x00000000 - 0xffffffff (0x0) MX[B]
(II) Bus 32 prefetchable memory range:
 [0] -1 0 0x00000000 - 0xffffffff (0x0) MX[B]
(--) PCI:*(0:16:0) ATI Technologies Inc M11 NV [FireGL Mobility T2e] rev 128, Mem @ 0x98000000/27, 0x90000000/16, I/O @ 0x0400/8, BIOS @ 0xf1000000/17
(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 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
 [1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
 [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
 [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
 [4] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
 [5] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
(II) Active PCI resource ranges:
 [0] -1 0 0xf5200000 - 0xf53fffff (0x200000) MX[B]E
 [1] -1 0 0xf5000000 - 0xf5ffffff (0x1000000) MX[B]E
 [2] -1 0 0xf5004000 - 0xf5007fff (0x4000) MX[B]E
 [3] -1 0 0x80080000 - 0x800fffff (0x80000) MX[B]E
 [4] -1 0 0x80081000 - 0x80081fff (0x1000) MX[B]E
 [5] -1 0 0x80082000 - 0x80083fff (0x2000) MX[B]E
 [6] -1 0 0x80083000 - 0x80083fff (0x1000) MX[B]E
 [7] -1 0 0x80000000 - 0xffffffff (0x80000000) MX[B]E
 [8] -1 0 0x80084000 - 0x80087fff (0x4000) MX[B]E
 [9] -1 0 0xf1000000 - 0xf101ffff (0x20000) MX[B](B)
 [10] -1 0 0x90000000 - 0x9000ffff (0x10000) MX[B](B)
 [11] -1 0 0x98000000 - 0x9fffffff (0x8000000) MX[B](B)
 [12] -1 0 0xf0000400 - 0xf00004ff (0x100) IX[B](B)
(II) PCI Memory resource overlap reduced 0xf5000000 from 0xf5ffffff to 0xf5003fff
(II) PCI Memory resource overlap reduced 0x80080000 from 0x800fffff to 0x80080fff
(II) PCI Memory resource overlap reduced 0x80082000 from 0x80083fff to 0x80082fff
(II) PCI Memory resource overlap reduced 0x80000000 from 0xffffffff to 0x8007ffff
(II) Active PCI resource ranges after removing overlaps:
 [0] -1 0 0xf5200000 - 0xf53fffff (0x200000) MX[B]E
 [1] -1 0 0xf5000000 - 0xf5003fff (0x4000) MX[B]E
 [2] -1 0 0xf5004000 - 0xf5007fff (0x4000) MX[B]E
 [3] -1 0 0x80080000 - 0x80080fff (0x1000) MX[B]E
 [4] -1 0 0x80081000 - 0x80081fff (0x1000) MX[B]E
 [5] -1 0 0x80082000 - 0x80082fff (0x1000) MX[B]E
 [6] -1 0 0x80083000 - 0x80083fff (0x1000) MX[B]E
 [7] -1 0 0x80000000 - 0x8007ffff (0x80000) MX[B]E
 [8] -1 0 0x80084000 - 0x80087fff (0x4000) MX[B]E
 [9] -1 0 0xf1000000 - 0xf101ffff (0x20000) MX[B](B)
 [10] -1 0 0x90000000 - 0x9000ffff (0x10000) MX[B](B)
 [11] -1 0 0x98000000 - 0x9fffffff (0x8000000) MX[B](B)
 [12] -1 0 0xf0000400 - 0xf00004ff (0x100) IX[B](B)
(II) OS-reported resource ranges after removing overlaps with PCI:
 [0] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
 [1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
 [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
 [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
 [4] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
 [5] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
(II) All system resource ranges:
 [0] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
 [1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
 [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
 [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
 [4] -1 0 0xf5200000 - 0xf53fffff (0x200000) MX[B]E
 [5] -1 0 0xf5000000 - 0xf5003fff (0x4000) MX[B]E
 [6] -1 0 0xf5004000 - 0xf5007fff (0x4000) MX[B]E
 [7] -1 0 0x80080000 - 0x80080fff (0x1000) MX[B]E
 [8] -1 0 0x80081000 - 0x80081fff (0x1000) MX[B]E
 [9] -1 0 0x80082000 - 0x80082fff (0x1000) MX[B]E
 [10] -1 0 0x80083000 - 0x80083fff (0x1000) MX[B]E
 [11] -1 0 0x80000000 - 0x8007ffff (0x80000) MX[B]E
 [12] -1 0 0x80084000 - 0x80087fff (0x4000) MX[B]E
 [13] -1 0 0xf1000000 - 0xf101ffff (0x20000) MX[B](B)
 [14] -1 0 0x90000000 - 0x9000ffff (0x10000) MX[B](B)
 [15] -1 0 0x98000000 - 0x9fffffff (0x8000000) MX[B](B)
 [16] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
 [17] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
 [18] -1 0 0xf0000400 - 0xf00004ff (0x100) IX[B](B)
(WW) "dbe" will not be loaded unless you've specified it to be loaded elsewhere.
(WW) "dri" will not be loaded unless you've specified it to be loaded elsewhere.
(WW) "glx" will not be loaded unless you've specified it to be loaded elsewhere.
(WW) "vbe" will not be loaded unless you've specified it to be loaded elsewhere.
(II) LoadModule: "extmod"
(II) Loading /usr/lib/xorg/modules/extensions//libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
 compiled for 1.3.0, module version = 1.0.0
 Module class: X.Org Server Extension
 ABI class: X.Org Server Extension, version 0.3
(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: "freetype"
(II) Loading /usr/lib/xorg/modules//fonts/libfreetype.so
(II) Module freetype: vendor="X.Org Foundation & the After X-TT Project"
 compiled for 1.3.0, module version = 2.1.0
 Module class: X.Org Font Renderer
 ABI class: X.Org Font Renderer, version 0.5
(II) Loading font FreeType
(II) LoadModule: "record"
(II) Loading /usr/lib/xorg/modules/extensions//librecord.so
(II) Module record: vendor="X.Org Foundation"
 compiled for 1.3.0, module version = 1.13.0
 Module class: X.Org Server Extension
 ABI class: X.Org Server Extension, version 0.3
(II) Loading extension RECORD
(II) LoadModule: "vesa"
(II) Loading /usr/lib/xorg/modules/drivers//vesa_drv.so
(II) Module vesa: vendor="X.Org Foundation"
 compiled for 1.3.0, module version = 1.3.0
 Module class: X.Org Video Driver
 ABI class: X.Org Video Driver, version 1.2
(II) LoadModule: "kbd"
(II) Loading /usr/lib/xorg/modules/input//kbd_drv.so
(II) Module kbd: vendor="X.Org Foundation"
 compiled for 1.3.0, module version = 1.2.1
 Module class: X.Org XInput Driver
 ABI class: X.Org XInput driver, version 0.7
(II) LoadModule: "mouse"
(II) Loading /usr/lib/xorg/modules/input//mouse_drv.so
(II) Module mouse: vendor="X.Org Foundation"
 compiled for 1.3.0, module version = 1.2.1
 Module class: X.Org XInput Driver
 ABI class: X.Org XInput driver, version 0.7
(II) LoadModule: "synaptics"
(II) Loading /usr/lib/xorg/modules/input//synaptics_drv.so
(II) Module synaptics: vendor="The XFree86 Project"
 compiled for 4.2.0, module version = 1.0.0
 Module class: XFree86 XInput Driver
 ABI class: XFree86 XInput driver, version 0.3
(II) VESA: driver for VESA chipsets: vesa
(II) Primary Device is: PCI 00:10:0
(--) Chipset vesa found
(II) resource ranges after xf86ClaimFixedResources() call:
 [0] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
 [1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
 [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
 [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
 [4] -1 0 0xf5200000 - 0xf53fffff (0x200000) MX[B]E
 [5] -1 0 0xf5000000 - 0xf5003fff (0x4000) MX[B]E
 [6] -1 0 0xf5004000 - 0xf5007fff (0x4000) MX[B]E
 [7] -1 0 0x80080000 - 0x80080fff (0x1000) MX[B]E
 [8] -1 0 0x80081000 - 0x80081fff (0x1000) MX[B]E
 [9] -1 0 0x80082000 - 0x80082fff (0x1000) MX[B]E
 [10] -1 0 0x80083000 - 0x80083fff (0x1000) MX[B]E
 [11] -1 0 0x80000000 - 0x8007ffff (0x80000) MX[B]E
 [12] -1 0 0x80084000 - 0x80087fff (0x4000) MX[B]E
 [13] -1 0 0xf1000000 - 0xf101ffff (0x20000) MX[B](B)
 [14] -1 0 0x90000000 - 0x9000ffff (0x10000) MX[B](B)
 [15] -1 0 0x98000000 - 0x9fffffff (0x8000000) MX[B](B)
 [16] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
 [17] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
 [18] -1 0 0xf0000400 - 0xf00004ff (0x100) IX[B](B)
(WW) ****INVALID IO ALLOCATION**** b: 0xf0000400 e: 0xf00004ff correcting
(EE) end of block range 0xefffffff < begin 0xf0000000
(II) window:
 [0] -1 0 0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) resSize:
(II) window fixed:
 [0] -1 0 0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) resource ranges after probing:
 [0] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
 [1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
 [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
 [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
 [4] -1 0 0xf5200000 - 0xf53fffff (0x200000) MX[B]E
 [5] -1 0 0xf5000000 - 0xf5003fff (0x4000) MX[B]E
 [6] -1 0 0xf5004000 - 0xf5007fff (0x4000) MX[B]E
 [7] -1 0 0x80080000 - 0x80080fff (0x1000) MX[B]E
 [8] -1 0 0x80081000 - 0x80081fff (0x1000) MX[B]E
 [9] -1 0 0x80082000 - 0x80082fff (0x1000) MX[B]E
 [10] -1 0 0x80083000 - 0x80083fff (0x1000) MX[B]E
 [11] -1 0 0x80000000 - 0x8007ffff (0x80000) MX[B]E
 [12] -1 0 0x80084000 - 0x80087fff (0x4000) MX[B]E
 [13] -1 0 0xf1000000 - 0xf101ffff (0x20000) MX[B](B)
 [14] -1 0 0x90000000 - 0x9000ffff (0x10000) MX[B](B)
 [15] -1 0 0x98000000 - 0x9fffffff (0x8000000) MX[B](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 0x00000400 - 0x000004ff (0x100) IX[B](B)
 [20] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
 [21] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
 [22] 0 0 0xf00003b0 - 0xf00003bb (0xc) IS[B]
 [23] 0 0 0xf00003c0 - 0xf00003df (0x20) IS[B]
(II) Setting vga for screen 0.
(II) Loading sub module "vbe"
(II) LoadModule: "vbe"
(II) Loading /usr/lib/xorg/modules//libvbe.so
(II) Module vbe: vendor="X.Org Foundation"
 compiled for 1.3.0, module version = 1.1.0
 ABI class: X.Org Video Driver, version 1.2
(II) Loading sub module "int10"
(II) LoadModule: "int10"
(II) Loading /usr/lib/xorg/modules//libint10.so
(II) Module int10: vendor="X.Org Foundation"
 compiled for 1.3.0, module version = 1.0.0
 ABI class: X.Org Video Driver, version 1.2
(II) VESA(0): initializing int10
(II) VESA(0): No legacy BIOS found -- trying PCI
(II) Attempted to read BIOS 128KB from /sys/bus/pci/devices/0000:00:10.0/rom: got 0KB
(EE) VESA(0): Cannot read V_BIOS (5)
(II) UnloadModule: "vesa"
(II) UnloadModule: "int10"
(II) Unloading /usr/lib/xorg/modules//libint10.so
(II) UnloadModule: "vbe"
(II) Unloading /usr/lib/xorg/modules//libvbe.so
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found

Related branches

Changed in xorg:
status: New → Confirmed
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Right, vesa doesn't work with powerpc.

Changed in xorg:
importance: Undecided → Medium
Bryce Harrington (bryce)
Changed in xorg:
status: Confirmed → Triaged
Revision history for this message
Bryce Harrington (bryce) wrote :

Sounds like we should doublecheck that on powerpc that fbdev is always used rather than vesa.

Bryce Harrington (bryce)
Changed in xorg:
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package xorg - 1:7.4~2ubuntu4

---------------
xorg (1:7.4~2ubuntu4) intrepid; urgency=low

  * local/Failsafe/failsafeXServer:
    - 'discover' is no longer used, so disable the pci-id based detection
      of alternate fallback driver. (LP: #272086)
    - Add detection of ppc hardware and prefer 'fbdev' instead of 'vesa'
      in this case (LP: #155685)
    - Send log to Xorg.failsafe.log when in failsafe mode (LP: #179164)
  * local/Failsafe/failsafeDexconf:
    - Re-sync with dexconf; use input-hotplug for devices. (LP: #227818)
  * local/Failsafe/failsafeXinit:
    - Display the X errors on initial dialog. (LP: #148122)
    - Specify /etc/X11/xorg.conf exactly, rather than $xorg_conf, which
      actually points to xorg.conf.failsafe
  * local/dexconf:
    - Remove duplicate line if generating an xorg.conf for KVM sessions
    - Note that some settings can't be set in xorg.conf any longer
      (LP: #263124)

 -- Bryce Harrington <email address hidden> Fri, 19 Sep 2008 21:08:52 -0700

Changed in xorg:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.