x startup failure

Bug #386130 reported by Antoine Pitrou
28
This bug affects 3 people
Affects Status Importance Assigned to Milestone
xserver-xorg-video-psb (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

I installed jaunty desktop on an MSI Wind U115 netbook, which is architected around the Poulsbo chipset. After having run software updates, I then proceeded to add the ubuntu-mobile sources and apt-get xserver-xorg-video-psb. Unfortunately, after a reboot, X refuses to launch. Yet the kernel modules seem to be loaded (excerpt from lsmod):

psb 160814 1
drm 192648 1 psb
i2c_algo_bit 14084 1 psb

Xorg.log shows the following errors:

(II) PSB(0): Debug: MMIO virtual address is 0xb7787000
(--) PSB(0): Mapped PCI MMIO at physical address 0xdff80000
 with size 512 kiB
(EE) PSB(0): the stolenBase is:0x3fc00000
(--) PSB(0): Detected 3964 kiB of "stolen" memory set aside as video RAM.
(EE) PSB(0): screnIndex is:0;fbPhys is:0x3fc00000; fbsize is:0x003df000
(--) PSB(0): Mapped graphics aperture at physical address 0x3fc00000
 with size 3 MiB

[...]

drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
[drm] failed to load kernel module "psb"
(EE) [drm] drmOpen failed.
(EE) PSB(0): [dri] DRIScreenInit failed. Disabling DRI.
(EE) [drm] Could not uninstall irq handler.
(EE) PSB(0): This driver currently needs DRM to operate.

Fatal server error:
AddScreen/ScreenInit failed for driver 0

Here are the lines matching (psb|drm) in /var/log/messages.log:

Jun 11 23:09:01 u115 kernel: [ 18.179453] [drm] Initialized drm 1.1.0 20060810
Jun 11 23:09:01 u115 kernel: [ 18.209382] psb 0000:00:02.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
Jun 11 23:09:01 u115 kernel: [ 18.209481] [drm] psb - 5.0.0.0045
Jun 11 23:09:01 u115 kernel: [ 18.239709] psb 0000:00:02.0: firmware: requesting msvdx_fw.bin
Jun 11 23:09:01 u115 kernel: [ 18.256833] [drm] SGX core id = 0x01130000
Jun 11 23:09:01 u115 kernel: [ 18.256840] [drm] SGX core rev major = 0x01, minor = 0x02
Jun 11 23:09:01 u115 kernel: [ 18.256845] [drm] SGX core rev maintenance = 0x01, designer = 0x00
Jun 11 23:09:01 u115 kernel: [ 18.257586] [drm] intel_lvds_init: OpRegion has the VBT address
Jun 11 23:09:01 u115 kernel: [ 18.257601] [drm] intel_lvds_init: The bdb->signature is BIOS_DATA_BLOCK �, the bdb_off is 48
Jun 11 23:09:01 u115 kernel: [ 18.257630] [drm] intel_lvds_init: BLC Data in BIOS VBT tables: datasize=0 paneltype=7 ^I^I^I^I^I^I^I^Itype=0x00 pol=0x01 freq=0x00c8 minlevel=0x00 ^I^I^I^I^I^I^I^Ii2caddr=0x58 cmd=0xaa
Jun 11 23:09:01 u115 kernel: [ 18.257652] [drm] intel_lvds_init: the CoreClock is 200
Jun 11 23:09:01 u115 kernel: [ 18.257661] [drm] intel_lvds_init: sku_value is 0x00800000
Jun 11 23:09:01 u115 kernel: [ 18.257667] [drm] intel_lvds_init: sku_bMaxResEnableInt is 0
Jun 11 23:09:01 u115 kernel: [ 18.512348] Modules linked in: psb(+) drm agpgart i2c_algo_bit binfmt_misc ppdev bridge stp bnep input_polldev lp parport snd_hda_intel snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss pcspkr snd_seq_midi snd_rawmidi psmouse serio_raw snd_seq_midi_event snd_seq i2c_isch snd_timer snd_seq_device rt2860sta(C) snd soundcore snd_page_alloc video output fbcon tileblit font bitblit softcursor
Jun 11 23:09:01 u115 kernel: [ 18.512540] EIP is at drm_mode_probed_add+0x9/0x20 [drm]

Note from fchurca: Happens on Dell Mini 10, also with a Poulsbo chipset. 2.6.28-11 kernel still works fine with xserver-xorg-video-psb; must be a 2.6.28-13 bug.

description: updated
tags: added: 2.6.28-13 failure poulsbo startup xorg
Revision history for this message
GreenSkol (greenskol) wrote :

I confirm fchurca comment : I have the exact same problem on a Dell Mini 10.
Everything worked fine with kernel 2.6.28-11, but the recent update to 2.6.28-13 apparently broke Poulsbo video support.

Revision history for this message
Call me Ishmael (callmeishmael) wrote :

Same behavior for an Acer 751, which has the same chipset.
Had to to downgrade kernel from 2.6.28-13 to 2.6.28-11, to have the graphics back (and anyway without 2D HW acceleration)

Revision history for this message
Bryce Harrington (bryce) wrote :

Hi pitrou,

Please attach the output of `lspci -vvnn`, and attach your /var/log/Xorg.0.log (and maybe Xorg.0.log.old) file from after reproducing this issue. If you've made any customizations to your /etc/X11/xorg.conf please attach that as well.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: needs-xorglog
tags: added: needs-lspci-vvnn
Changed in xserver-xorg-video-psb (Ubuntu):
status: New → Incomplete
Revision history for this message
GreenSkol (greenskol) wrote :

Here are the requested logs on a Dell Mini 10.
The archive contains :
- Xorg.0.log.ko : logs with the 2.6.28-13 kernel (not working)
- Xorg.0.log.ok : logs with the 2.6.28-11 kernel (working)
- lspci.log : result from the 'lspci -vvnn' command.

Revision history for this message
Federico Churca-Torrusio (fchurca) wrote :

Last kernel update on 2.6.28-13 fixed psb again automatically, but it broke on 2.6.28-11. I guess I'll just keep booting on -13.

Revision history for this message
GreenSkol (greenskol) wrote :

In fact it's fixed since the update on psb-module package (which broke 2.6.28-11 support). I think psb-modules is dependent of the kernel version. Perhaps it's just a packaging problem with missing dependancy / version compatibility information (I don't know if I've made myself clear).

Revision history for this message
Pento (naplanetu) wrote :

In 2.6.28-14 same problem :(

From Xorg.0.log

(II) PSB(0): Debug: psbScreenInit
(II) PSB(0): Debug: psbDRIScreenInit
(II) PSB(0): Debug: SAREA size is 8192
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: Open failed
[drm] failed to load kernel module "psb"
(EE) [drm] drmOpen failed.
(EE) PSB(0): [dri] DRIScreenInit failed. Disabling DRI.
(EE) [drm] Could not uninstall irq handler.
(EE) PSB(0): This driver currently needs DRM to operate.

Fatal server error:
AddScreen/ScreenInit failed for driver 0

----------------------------------------------

Is there some workaround?

Revision history for this message
js1 (sujiannming) wrote :

Running into same problem as reported by Pento. Attached output as noted in Bryce Harrington's response.

Revision history for this message
dbazza (diegobazzanella) wrote :

Same problem on my Msi U115 (approx same /var/log/messages). After boot I've got a black screen.

Revision history for this message
Federico Churca-Torrusio (fchurca) wrote :

Solved here:
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-psb/+bug/406651

Short story:

sudo apt-get remove psb-kernel-source
sudo apt-get install psb-kernel-source

will fix it (provided you have the driver packages updated and installed already). install --reinstall won't work.

Bryce Harrington (bryce)
tags: added: jaunty
Revision history for this message
Bryce Harrington (bryce) wrote :

[Resetting to incomplete since we need a response from the original reporter on this].

Changed in xserver-xorg-video-psb (Ubuntu):
status: Incomplete → New
status: New → Incomplete
Revision history for this message
GreenSkol (greenskol) wrote :

Why reset to incomplete ?

Requested outputs have been posted 8 months ago by me (message #4) and later by js1 (message #8).

Thanks !

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for xserver-xorg-video-psb (Ubuntu) because there has been no activity for 60 days.]

Changed in xserver-xorg-video-psb (Ubuntu):
status: Incomplete → Expired
Revision history for this message
matteo pelà (matteo-pela) wrote :

please, can anyone help me?
unfortunately, yesterday i've upgraded my ACER aspire one 751, but when i switch my computer on this morning i could only use terminal-mode, i tried using " startx " it gave me the same problems you claimed to have had...
i've installed a ubuntu 10.10 version which has many problems with its graphics.
Can anyone tell me how to revert my last upgrade or how to fix this problem?

thanks
Matteo

Revision history for this message
matteo pelà (matteo-pela) wrote :

(EE) failed to load module "psb" (module does not exist, 0) (EE) no drivers available

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.