[i945gm] Unexpected X-server restarts on system with Intel 945GM

Bug #384937 reported by alcCapone
16
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xserver-xorg-video-intel (Ubuntu)
Invalid
Low
Unassigned

Bug Description

On my jaunty I just upgraded from xserver-xorg-video-intel 2:2.6.3-0ubuntu9.2 to xserver-xorg-video-intel_2%3a2.6.3-0ubuntu9.3. While 3d/compiz performance is significantly better one annoying thing isn't fixed:

There are several unexpected X-server restarts. Examples:

- Go to tty1 (CTRL+ALT+F1) and then go back to the screen where gnome ran -> X-server restarts
- Hibernate/suspend and wake up after -> X-server sometimes restarts

$ uname -a
Linux x60s 2.6.28-12-generic #43-Ubuntu SMP Fri May 1 19:27:06 UTC 2009 i686 GNU/Linux

$ dpkg -l | grep xorg | grep ^ii| sed 's/ */?/g' | cut -d "?" -f1,2,3 | sed 's/?/ /g'
...
ii xserver-xorg-video-intel 2:2.6.3-0ubuntu9.3
ii xserver-xorg-video-vesa 1:2.0.0-1ubuntu6
...

$ lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)
00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02)
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)
00:1f.2 SATA controller: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA AHCI Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
02:00.0 Ethernet controller: Intel Corporation 82573L Gigabit Ethernet Controller
03:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)
15:00.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev b4)
15:00.1 FireWire (IEEE 1394): Ricoh Co Ltd R5C552 IEEE 1394 Controller (rev 09)
15:00.2 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 18)

[lspci]
00:00.0 Host bridge [0600]: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub [8086:27a0] (rev 03)
 Subsystem: Lenovo Device [17aa:2017]
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller [8086:27a2] (rev 03)
 Subsystem: Lenovo Device [17aa:201a]

Revision history for this message
alcCapone (alcc) wrote :
Revision history for this message
alcCapone (alcc) wrote :
Revision history for this message
alcCapone (alcc) wrote :
affects: ubuntu → xserver-xorg-video-intel (Ubuntu)
description: updated
alcCapone (alcc)
description: updated
Revision history for this message
Geir Ove Myhr (gomyhr) wrote :

Thank you for taking the time to report this bug. The real problem in this case is that X exits or crashes, a new session is then automatically started. To find out why this happens, we need Xorg.0.log for the session that crashed/exited. When the new session is started the old one is moved to /var/log/Xorg.0.log.old. In that file there should be a backtrace or some other error message indicating what went wrong (hopefully). Could you please provoke the bug and upload this file?

Revision history for this message
Geir Ove Myhr (gomyhr) wrote :

By the way, the reason this happens for suspend/hibernate as well is that there is a VT switch before this happens. So anything that breaks on a VT switch (Ctrl+Alt+F1, etc.) also breaks on suspend and hibernate.

description: updated
tags: added: 945gm intel needs-xorglog xorg
summary: - Unexpected X-server restarts on system with Intel 945GM
+ [i945gm] Unexpected X-server restarts on system with Intel 945GM
Changed in xserver-xorg-video-intel (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
alcCapone (alcc) wrote : Re: [Bug 384937] Re: Unexpected X-server restarts on system with Intel 945GM

Yesterday I upgraded to a new generic kernel image:

$ uname -a
Linux x60s 2.6.28-13-generic #44-Ubuntu SMP Tue Jun 2 07:57:31 UTC 2009
i686 GNU/Linux

After starting X and gdm for the first time I already saw some
flickering Image equal to this here http://pkqs.net/~cf/small-IMG_1303
but the X server started after that. When I now press CTRL+ALT+F1 then
there's only that picture - no terminal to log on. I can then get back
to X/Gnome with pressing CTRL+ALT+F9 - so X doesn't restart. I'll append
the log.

Do you want me to degrade the kernel again so I can check the earlier
behavior or are you more interested in how the new kernel behaves?

Revision history for this message
DexterLexter (dexter-5th-heaven) wrote :

I have a different card than the original reporter, but it is also the intel driver and I also get X restarts upon hibernation, but not upon VT switches.

With some experimenting, I found that the X server start does not occur, if the screen lock upon hibernation is disabled.

00:00.0 Host bridge: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
00:00.1 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
00:00.3 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)
00:02.1 Display controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 83)
00:1f.0 ISA bridge: Intel Corporation 82801DBM (ICH4-M) LPC Interface Bridge (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 03)
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 03)
00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 03)
01:03.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus Controller (rev 02)
01:07.0 Network controller: Intel Corporation PRO/Wireless LAN 2100 3B Mini PCI Adapter (rev 04)
01:0a.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link)
01:0c.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)

Revision history for this message
Geir Ove Myhr (gomyhr) wrote :

@alcCapone: We are really more interested in how the new kernel behaves. Actually, what we are _really_ interested in is how kernel 2.6.30 behaves. It would be really nice if you could test the newly released Karmic alpha-2, available from http://cdimage.ubuntu.com/releases/9.10/ . This has newer versions of both the -intel xorg driver and the linux kernel (the latest daily-live at http://cdimage.ubuntu.com/daily-live/ would also have the final version of 2.6.30). The reason this is very interesting is that it is very close to the latest upstream version which makes it easier to get it fixed (upstream don't worry too much about problems they have already solved). So would you mind testing a recent daily-live or alpha-2 LiveCD (on a USB stick if you prefer) and tell us what the status there is? (Xorg.0.log and output of dmesg also appreciated)

@DexterLexter: Since you have a different card, you probably don't have the same problem. We would appreciated if you could file separate bug report. While comments saying "I have a similar problem" are made in good faith, they actually make the bug reports longer and sometimes more confusing. It is better to file a separate bug report and mention that it is similar to some other bug (and list the differences, in your case: different graphics card and does not happen on VT switch). However, if you find a similar bug it can be useful to see what information is provided and what kinds of questions are asked. I would invite you to provide the same information as alcCapone has provided here in a new bug report. As for him, I really would like to see your problem tested on Karmic.

Revision history for this message
alcCapone (alcc) wrote :

I downloaded karmic-desktop-i386.iso and used usb-creator ... well ... to create a boot-able usb stick since my X60s doesn't have a CD drive. Booting works fine until the init process starts. Then I receive these messages here: http://pkqs.net/~cf/small-IMG_1310.JPG .

These last for hours.

Revision history for this message
Geir Ove Myhr (gomyhr) wrote :

I use the same method, since I have an X61 Tablet. Every now and then the daily images break because some packages are not synchronized properly. This may have happend in your case. Often the next day's image will be okay again. You may try the alpha-2 image, since that should have been tested for boot problems etc.

PS: My ubuntu-testing USB stick is only 1 GB, so I usually turn off the persistent file system feature. It is possible that this could make a difference.

Revision history for this message
alcCapone (alcc) wrote :

I used the one from that link here: http://cdimage.ubuntu.com/releases/9.10/ . I downloaded it again (to ensure the image hasn't been corrupted) and used usb-creator again with deactivated persistent file system feature but the result is the same.

Btw: If I boot the ubuntu from my hard disk then I get exactly 2 of these hundreds of lines from the linked picture.

Revision history for this message
Geir Ove Myhr (gomyhr) wrote : Re: [Bug 384937] Re: [i945gm] Unexpected X-server restarts on system with Intel 945GM

> I used the one from that link here:
> http://cdimage.ubuntu.com/releases/9.10/ . I downloaded it again (to
> ensure the image hasn't been corrupted) and used usb-creator again with
> deactivated  persistent file system feature but the result is the same.

Strange. I downloaded alpha-2 from there to check if it would work on
my computer, and it worked just fine (X61 Tablet and SanDisk Cruzer
Titanium 1.0 GB USB stick). Probably some unrelated bug, but I'm not
sure which package. We should probably check if this is a known bug
and otherwise file a bug report. For that it would probably be nice to
have pictures of the messages that come before the error messages you
showed.

Geir Ove Myhr (gomyhr)
tags: removed: needs-xorglog
Revision history for this message
alcCapone (alcc) wrote :

Although its getting off-topic here:

- Downloaded the alpha-2 image _again_
- Put it on _another usb-stick_
- Tried to boot _another laptop_ (IBM T43p) with it

Same Error. ( The only difference: it's not "sd:6:0:0:0: [sdb]" but "sd:2:0:0:0: [sdb]" )

Revision history for this message
Geir Ove Myhr (gomyhr) wrote :

Wow, strange it wasn't caught in alpha-2 testing then. Btw, you don't need to download the image again to check that it is without errors, you can just check the MD5 sum:
gomyhr@storhaugen:~$ md5sum karmic-desktop-i386-alpha2.iso
e42cfbecfb1d1cc493bdb5053b0f5f44 karmic-desktop-i386-alpha2.iso

The MD5 sums of the images are available in the same directory as the files themselves:
http://cdimage.ubuntu.com/releases/9.10/alpha-2/MD5SUMS

Revision history for this message
alcCapone (alcc) wrote :

Problem still present with xserver-xorg-video-intel 2:2.6.3-0ubuntu9.4

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

Well, next I'd like to forward this issue upstream, but first it must be retested on latest development version of Karmic to make sure the issue still happens there with the latest code. ISO images are available at http://cdimages.ubuntu.com/releases/karmic/. If you can reproduce it in the LiveCD environment, you shouldn't need to modify your installed system. Also please attach a fresh Xorg.0.log and dmesg from this testing.

Changed in xserver-xorg-video-intel (Ubuntu):
status: Incomplete → New
status: New → Incomplete
Bryce Harrington (bryce)
tags: added: jaunty
Revision history for this message
Bryce Harrington (bryce) wrote :

We're closing this bug since it is has been some time with no response from the original reporter. However, if the issue still exists please feel free to reopen with the requested information. Also, if you could, please test against the latest development version of Ubuntu, since this confirms the bug is one we may be able to pass upstream for help.

Changed in xserver-xorg-video-intel (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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