DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
So, I have a package from Ubuntu's Hardy which has the graphics driver for my chipset. Currently Debian does not have this package.
Now I took the compiled binary (*.deb) from above link and install on my Debian Lenny system:
Code:
dpkg -i xserver-xorg-video-psb
The package installed fine without complaining anything.
However when I try to launch my X server I get the following error message:
Code:
(II) Module Intel Poulsbo: vendor="X.Org Foundation"
compiled for 1.3.0, module version = 0.0.1
Module class: X.Org Video Driver
ABI class: X.Org Video Driver, version 1.2
(EE) module ABI major version (1) doesn't match the server's version (2)
(II) UnloadModule: "psb"
(II) Unloading /usr/lib/xorg/modules/drivers//psb_drv.so
(EE) Failed to load module "psb" (module requirement mismatch, 0)
(II) LoadModule: "mouse"
(II) Loading /usr/lib/xorg/modules/input//mouse_drv.so
(II) Module mouse: vendor="X.Org Foundation"
compiled for 1.4.0.90, module version = 1.3.0
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 2.0
(II) LoadModule: "kbd"
(II) Loading /usr/lib/xorg/modules/input//kbd_drv.so
(II) Module kbd: vendor="X.Org Foundation"
compiled for 1.4.0.90, module version = 1.3.1
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 2.0
(EE) No drivers available.
So I guess my problem is in Red color. So it looks like the Xorg module in Ubuntu was compiled with a different X server version.
Is there any way I can use the Xorg driver sources from Ubuntu and compile them on my Debian Lenny so that it will work fine?
You can tell X to ignore version mismatches and see if it works. I'd tell you how, but I've the process. It's a setting in xorg.conf though.
Hmm..never knew there was a setting in xorg.conf to tell X to ignore the version. So you know that there is a setting in xorg.conf but you don't recollect it - is that right?
Oops, missed a word. Yes, and I remembered the option.
Quote:
Option IgnoreABI boolean
Allow modules built for a different, potentially incompatible version of the X server to load. Disabled by default.
No guarentees it works, of course. But it's the only way I got sane output from my old POS Matrox card back when I was stuck with it, and it can't hurt you to try it (as long as you're comfortable on the ttys editing it out )
Last edited by AlucardZero; 06-29-2009 at 07:55 PM.
Oops, missed a word. Yes, and I remembered the option.
No guarentees it works, of course. But it's the only way I got sane output from my old POS Matrox card back when I was stuck with it, and it can't hurt you to try it (as long as you're comfortable on the ttys editing it out )
Thanks you very much. Yes, the workaround managed to get me past that error message but unfortunately I wasn't able to get my Xorg up and running.
Maybe you could grab the source package from Ubuntu for that driver then compile it on your system, against the version of Xorg you are running.. .....
Maybe you could grab the source package from Ubuntu for that driver then compile it on your system, against the version of Xorg you are running.. .....
I tried doing that but the compiling process gives me error message after some time. Would it help if I post the error messages?
There must be a way by which one can port a package from Ubuntu to Debian just like the Debian backports???
I was able to go a bit further and was able to resolved at least the above error message. Now I am getting another error right at the very end of the build process:
Code:
make[2]: Leaving directory `/root/xserver-xorg-video-psb-0.2.1'
make[1]: Leaving directory `/root/xserver-xorg-video-psb-0.2.1'
dh_testdir
dh_testroot
dh_installdocs
dh_installchangelogs
dh_link
dh_compress
dh_fixperms
dh_installdeb
dh_gencontrol
dpkg-gencontrol: warning: unknown substitution variable ${xviddriver:Provides}
dpkg-gencontrol: warning: unknown substitution variable ${shlibs:Depends}
dpkg-gencontrol: warning: unknown substitution variable ${misc:Depends}
dpkg-gencontrol: warning: unknown substitution variable ${xviddriver:Provides}
dh_md5sums
dh_builddeb
warning, `debian/xserver-xorg-video-psb/DEBIAN/control' contains user-defined field `Original-Maintainer'
dpkg-deb: ignoring 1 warnings about the control file(s)
dpkg-deb: building package `xserver-xorg-video-psb' in `../xserver-xorg-video-psb_0.2.1-1ubuntu3_i386.deb'.
dh_testdir
dh_testroot
dh_installdocs
dh_installchangelogs
dh_install --sourcedir=/root/xserver-xorg-video-psb-0.2.1/debian/tmp --list-missing --exclude=.la --exclude=usr/share/man/man4
dh_installman
dh_link
dh_strip --dbg-package=xserver-xorg-video-psb-dbg
dh_strip: debug package xserver-xorg-video-psb-dbg is not listed in the control file
make: *** [binary-arch] Error 1
dpkg-buildpackage: failure: fakeroot debian/rules binary gave error exit status 2
debuild: fatal error at line 1319:
dpkg-buildpackage -rfakeroot -d -us -uc failed
debian:~/xserver-xorg-video-psb-0.2.1#
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.