Akom's Tech Ruminations

Various tech outbursts - code and solutions to practical problems
Linux

Upgrading to Ubuntu 9.10 Karmic Koala breaks X (xorg) on intel driver on 945G chipset

Posted by Admin • Monday, November 2. 2009 • Category: Linux

After upgrading my IBM desktop with "82945G/GZ Integrated Graphics Controller" X stopped working entirely, regardless of any changes to xorg.conf. Running startx manually revealed an error like this:



(EE) Failed to load module "i810" (module does not exist, 0)
(EE) open /dev/fb0: No such file or directory
(EE) intel(0): [drm] Failed to open DRM device for : No such file or directory
(EE) intel(0): Failed to become DRM master.



Took me a little while to figure out how to get me my machine back:


Seems that the problem is with the latest intel driver: xserver-xorg-video-intel 2:2.9.0-1ubuntu2

Apparently downgrading to an older intel driver solves the issue. I picked the latest version that Jaunty used: 2:2.6.3-0ubuntu9.3 . I had to figure out how to properly downgrade an .deb package. Downloading an older version and installing with 'dpkg -i' works, but apt immediately wants to fix this "inconsistency" by upgrading again to the broken version. Using apt properly is certainly better!

But the solution boils down to:

  1. Download the .deb file from https://launchpad.net/ubuntu/+source/xserver-xorg-video-intel/2:2.6.3-0ubuntu9.3 (click on the appropriate build)
  2. Install it:
    dpkg -i xserver-xorg-video-intel_2.6.3-0ubuntu9.3_i386.deb
  3. Convince apt that it's OK and its database has not been compromised:
    sudo aptitude install xserver-xorg-video-intel=2:2.6.3-0ubuntu9.3
  4. Convince apt that it should not upgrade to the broken version:
    echo "xserver-xorg-video-intel hold" | sudo dpkg --set-selections
  5. Check that it won't upgrade it : apt-get -s upgrade

0 Trackbacks

  1. No Trackbacks

4 Comments

Display comments as (Linear | Threaded)
  1. I had a similar problem, and your solution worked for me. I opened a bug report on launchpad and posted this work-around there, if you're interested:

    https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/471844

  2. How would I go about doing this from a command line for the SiS driver?

  3. I'll assume that you are using xserver-xorg-video-sis and that you are convinced that the current version (1:0.10.1-2) is problematic and you want to try an earlier version.

    To figure this out you would have run: aptitude search xorg-video # to get a list of drivers. You said sis, so I'll assume it's -sis apt-cache show xserver-xorg-video-sis # to show version and info

    Now, you'd like to see what earlier versions are available. You browse on to http://packages.ubuntu.com, do a simple search and wind up on this page: http://packages.ubuntu.com/karmic/xserver-xorg-video-sis

    You think that perhaps jaunty's version may work for you, so you click jaunty and wind up here: http://packages.ubuntu.com/jaunty/xserver-xorg-video-sis

    You select your arch (i386/x64) and download a package file. The rest is the same as the original instructions, though the names change to -sis obviously.

  4. I was trying to install the ubuntu in the unallocated memory created from gparted, windowsxp (primary os). Ubuntu thows up Failed to load module "i810" (module does not exist, 0) and prompts me for login and password. I haven' t seen the installation done yet. Surprised it seeks login password, i don't have the password for winxp too.

    I haven't seen ubuntu creating swap memory and file system of linux for the unallocated memory.

Add Comment


You can use [geshi lang=lang_name [,ln={y|n}]][/geshi] tags to embed source code snippets.
Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.
Standard emoticons like :-) and ;-) are converted to images.
Markdown format allowed


Submitted comments will be subject to moderation before being displayed.