failure to remove poulsbo driver, X fails to start

Asked by sveta on 2009-12-22

I am running ubuntu 9.10 on vaio z11. I followed instructions to install poulsbo driver for 3d support at https://wiki.ubuntu.com/HardwareSupportComponentsVideoCardsPoulsbo

It did not work for me. I can only boot with save mode and only when i915
is in the blacklist

Now I am trying to roll back the changes.
I uninstalled all psb packages modules except psb-kernel-headers which
gives an error when I try to uninstall it:

Removing psb-kernel-headers ...
No diversion `any diversion of /usr/include/drm/drm_sarea.h', none removed
No diversion `any diversion of /usr/include/drm/drm.h', none removed
No diversion `any diversion of /usr/include/drm/drm_hashtab.h', none removed
No diversion `any diversion of /usr/include/drm/i915_drm.h', none removed
rm: cannot remove `/usr/include/drm-linux-libc': Is a directory
dpkg: error processing psb-kernel-headers (--remove):
 subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
 psb-kernel-headers
E: Sub-process /usr/bin/dpkg returned an error code (1)

I changed the xorg-conf back to original (that uses intel driver). I can still boot only in safe mode and with i915 in the blacklist.conf

When i915 is NOT in blacklist, X does not start and I get an error in drm file:
/usr/bin/X: symbol lookup error: /usr/lib/xorg/modules/drivers//intel_drv.so:
undefined symbol: drmCheckModesettingSupported

Do you have any suggestions on how roll back the driver and use the original ubuntu 9.10 graphics configuration ( intel driver without 3d support)?

thank you

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu xserver-xorg-video-intel Edit question
Assignee:
No assignee Edit question
Last query:
2009-12-22
Last reply:
2010-01-07
Soul-Sing (soulzing) said : #1
sveta (svetastenchikova) said : #2

Thanks for the suggestion.

I followed the instructions to install the driver again, however when running the command

sudo apt-get install poulsbo-driver-2d poulsbo-driver-3d psb-firmware

I get the same error that I was getting when trying to remove psb-kernel-headers

(Reading database ... 207946 files and directories currently installed.)
Removing psb-kernel-headers ...
No diversion `any diversion of /usr/include/drm/drm_sarea.h', none removed
No diversion `any diversion of /usr/include/drm/drm.h', none removed
No diversion `any diversion of /usr/include/drm/drm_hashtab.h', none removed
No diversion `any diversion of /usr/include/drm/i915_drm.h', none removed
rm: cannot remove `/usr/include/drm-linux-libc': Is a directory
dpkg: error processing psb-kernel-headers (--remove):
 subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
 psb-kernel-headers

Any suggestions? Should I just remove them by hand? What exactly do I have to remove?

Soul-Sing (soulzing) said : #3

move to: gksudo gedit /var/lib/dpkg/status

Click on Search, rightcorner of the screen, and then Find and search for psb-kernel-headers
Delete it all then Save the file and then exit from gedit.
sudo apt-get update
sudo apt-get upgrade

any errors?

sveta (svetastenchikova) said : #4

sudo apt-get update
and
sudo apt-get upgrade
worked without errors.

However, I still was not able to boot with intel driver. When i915 is not in blacklist, X fails to start and I see 2 lines at the top of my screen.

Then instead of trying to make intel work and tried to install again the poulsbo drivers:

sudo apt-get install poulsbo-driver-2d poulsbo-driver-3d psb-firmware

That ran without errors, however on start up (when i915 is in blacklist), I can only boot to safe mode. GDM has error:

Fatal server error:
Server is already active for display 0
 If this server is no longer running, remove /tmp/.X0-lock
 and start again.

Please consult the The X.Org Foundation support
  at http://wiki.x.org
 for help.

(WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor
(WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor
(WW) xf86OpenConsole: VT_GETSTATE failed: Bad file descriptor
 ddxSigGiveUp: Closing log

My xorg.conf:

Section "Monitor"
 Identifier "Configured Monitor"
EndSection

Section "Screen"
 Identifier "Default Screen"
 Monitor "Configured Monitor"
 Device "Configured Video Device"
EndSection

Section "Device"
Identifier "Configured Video Device"
Option "AccelMethod" "EXA"
Option "MigrationHeuristic" "greedy"
EndSection

Do you think its a config file error?
Should i915 be in blacklist? If its not, X still does not start at all and I see 2 lines at the top of the screen.

thank you for your help.

Launchpad Janitor (janitor) said : #5

This question was expired because it remained in the 'Open' state without activity for the last 15 days.