[i945] Cannot start with KMS enabled with intel 82945G

Bug #386315 reported by Yann Simon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xf86-video-intel
Fix Released
Undecided
Unassigned
xserver-xorg-video-intel (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: xorg

Starting with KMs enabled with intel 82945G and uptart leads to following stack trace:

Jun 11 14:39:57 unicorn kernel: [ 32.384805] ------------[ cut here ]------------
Jun 11 14:39:57 unicorn kernel: [ 32.384828] WARNING: at /home/kernel-ppa/mainline/build/drivers/gpu/drm/i915/i915_gem.c:3840 i915_gem_idle+0x259/0x270 [i915]()
Jun 11 14:39:57 unicorn kernel: [ 32.384833] Hardware name: OptiPlex GX620
Jun 11 14:39:57 unicorn kernel: [ 32.384835] Modules linked in: i915 drm i2c_algo_bit binfmt_misc video output lp snd_intel8x0 snd_ac97_codec ac97_bus snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event pcmcia snd_seq iTCO_wdt iTCO_vendor_support intel_agp ppdev psmouse snd_timer snd_seq_device dcdbas yenta_socket rsrc_nonstatic pcmcia_core parport_pc parport serio_raw agpgart snd soundcore snd_page_alloc usbhid tg3
Jun 11 14:39:57 unicorn kernel: [ 32.384884] Pid: 2479, comm: Xorg Not tainted 2.6.30-020630-generic #020630
Jun 11 14:39:57 unicorn kernel: [ 32.384887] Call Trace:
Jun 11 14:39:57 unicorn kernel: [ 32.384902] [<f849d979>] ? i915_gem_idle+0x259/0x270 [i915]
Jun 11 14:39:57 unicorn kernel: [ 32.384912] [<c013b7fc>] warn_slowpath_common+0x7c/0xa0
Jun 11 14:39:57 unicorn kernel: [ 32.384925] [<f849d979>] ? i915_gem_idle+0x259/0x270 [i915]
Jun 11 14:39:57 unicorn kernel: [ 32.384931] [<c013b835>] warn_slowpath_null+0x15/0x20
Jun 11 14:39:57 unicorn kernel: [ 32.384945] [<f849d979>] i915_gem_idle+0x259/0x270 [i915]
Jun 11 14:39:57 unicorn kernel: [ 32.384964] [<f849da07>] i915_gem_leavevt_ioctl+0x27/0x40 [i915]
Jun 11 14:39:57 unicorn kernel: [ 32.384985] [<f843936e>] drm_ioctl+0x14e/0x370 [drm]
Jun 11 14:39:57 unicorn kernel: [ 32.384992] [<c02cb5ff>] ? cpumask_any_but+0x1f/0x40
Jun 11 14:39:57 unicorn kernel: [ 32.385006] [<f849d9e0>] ? i915_gem_leavevt_ioctl+0x0/0x40 [i915]
Jun 11 14:39:57 unicorn kernel: [ 32.385012] [<c0122518>] ? arch_flush_lazy_mmu_mode+0x8/0x40
Jun 11 14:39:57 unicorn kernel: [ 32.385017] [<c0127d32>] ? kunmap_atomic+0x72/0x90
Jun 11 14:39:57 unicorn kernel: [ 32.385025] [<c01abfdc>] ? do_wp_page+0xbc/0x760
Jun 11 14:39:57 unicorn kernel: [ 32.385031] [<c015cfd6>] ? tick_dev_program_event+0x36/0xb0
Jun 11 14:39:57 unicorn kernel: [ 32.385037] [<c01ad1a3>] ? handle_mm_fault+0x233/0x260
Jun 11 14:39:57 unicorn kernel: [ 32.385044] [<c01d404c>] vfs_ioctl+0x6c/0x80
Jun 11 14:39:57 unicorn kernel: [ 32.385048] [<c01d42d2>] do_vfs_ioctl+0x62/0x150
Jun 11 14:39:57 unicorn kernel: [ 32.385054] [<c0291ce0>] ? security_file_ioctl+0x10/0x20
Jun 11 14:39:57 unicorn kernel: [ 32.385058] [<c01d4413>] sys_ioctl+0x53/0x70
Jun 11 14:39:57 unicorn kernel: [ 32.385063] [<c0102ebc>] sysenter_do_call+0x12/0x28
Jun 11 14:39:57 unicorn kernel: [ 32.385067] ---[ end trace db500cae0dc68f84 ]---

If I start in "recover" mode, and then resume booting, everything works. Gdm appears, I can login, and KMS is enabled (the resolution of the virtual terminals is higher).

ProblemType: Bug
Architecture: i386
CurrentDmesg:
 [ 21.845584] [drm] DAC-6: set mode 1024x768 2a
 [ 21.845589] [drm] TMDS-8: set mode 1024x768 2a
 [ 23.736009] eth0: no IPv6 routers present
 [ 37.140324] [drm] TMDS-8: set mode 29
Date: Fri Jun 12 14:27:51 2009
DistroRelease: Ubuntu 9.10
MachineType: Dell Inc. OptiPlex GX620
Package: xorg 1:7.4~5ubuntu21
ProcCmdLine: root=UUID=c4a6ed3a-50c8-48f6-83e8-8f7e697d49ec ro single
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.30-8.9-generic
RelatedPackageVersions:
 xserver-xorg 1:7.4~5ubuntu21
 libgl1-mesa-glx 7.4.1-1ubuntu2
 libdrm2 2.4.11-0ubuntu1
 xserver-xorg-video-intel 2:2.7.99.1+git20090602.ec2fde7c-0ubuntu2
 xserver-xorg-video-ati 1:6.12.2-2ubuntu1
SourcePackage: xorg
Uname: Linux 2.6.30-8-generic i686
dmi.bios.date: 11/30/2006
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A11
dmi.board.name: 0HH807
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 6
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA11:bd11/30/2006:svnDellInc.:pnOptiPlexGX620:pvr:rvnDellInc.:rn0HH807:rvr:cvnDellInc.:ct6:cvr:
dmi.product.name: OptiPlex GX620
dmi.sys.vendor: Dell Inc.
fglrx: Not loaded
system:
 distro: Ubuntu
 architecture: i686kernel: 2.6.30-8-generic

Revision history for this message
Yann Simon (yann-simon-fr) wrote :
Bryce Harrington (bryce)
affects: xorg (Ubuntu) → xserver-xorg-video-intel (Ubuntu)
Revision history for this message
Yann Simon (yann-simon-fr) wrote :

I removed the "splash" option on the kernel line and the problem does not occur anymore.

Revision history for this message
Yann Simon (yann-simon-fr) wrote :
Download full text (4.7 KiB)

After installing the version 0.5.32 of usplash
(https://launchpad.net/ubuntu/+source/usplash/0.5.32/+changelog - "Run usplash at the native resolution if KMS is available"), I can boot with the option "splash".

But then, no gdm. I cannot switch to a VT. The computer is dead.
Magic keys do not work. I could only hard reboot.

Stack trace:
Jun 22 15:08:52 unicorn kernel: [ 4.800127] agpgart-intel 0000:00:00.0: Intel 945G Chipset
Jun 22 15:08:52 unicorn kernel: [ 4.800901] agpgart-intel 0000:00:00.0: detected 7932K stolen memory
Jun 22 15:08:52 unicorn kernel: [ 4.808062] agpgart-intel 0000:00:00.0: AGP aperture is 256M @ 0xe0000000
Jun 22 15:08:52 unicorn kernel: [ 4.859694] [drm] Initialized drm 1.1.0 20060810
Jun 22 15:08:52 unicorn kernel: [ 4.924153] i915 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
Jun 22 15:08:52 unicorn kernel: [ 4.924165] i915 0000:00:02.0: setting latency timer to 64
Jun 22 15:08:52 unicorn kernel: [ 4.971377] i2c-adapter i2c-1: sendbytes: NAK bailout.
Jun 22 15:08:52 unicorn kernel: [ 5.729948] allocated 1280x1024 fb: 0x007df000, bo f72e5060
Jun 22 15:08:52 unicorn kernel: [ 5.736068] fb0: inteldrmfb frame buffer device
Jun 22 15:08:52 unicorn kernel: [ 5.736073] registered panic notifier
Jun 22 15:08:52 unicorn kernel: [ 5.736083] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
Jun 22 15:08:52 unicorn kernel: [ 5.808158] Console: switching to colour frame buffer device 160x64
Jun 22 15:08:52 unicorn kernel: [ 5.808893] general protection fault: 0000 [#1] SMP
Jun 22 15:08:52 unicorn kernel: [ 5.808899] last sysfs file: /sys/module/drm/initstate
Jun 22 15:08:52 unicorn kernel: [ 5.808902] Modules linked in: fbcon tileblit font bitblit softcursor i915 i2c_algo_bit video output drm intel_agp agpgart
Jun 22 15:08:52 unicorn kernel: [ 5.808919]
Jun 22 15:08:52 unicorn kernel: [ 5.808923] Pid: 895, comm: init Not tainted (2.6.30-9-generic #10-Ubuntu) OptiPlex GX620
Jun 22 15:08:52 unicorn kernel: [ 5.808928] EIP: 0060:[<c01fda4e>] EFLAGS: 00010292 CPU: 1
Jun 22 15:08:52 unicorn kernel: [ 5.808935] EIP is at load_script+0xe/0x270
Jun 22 15:08:52 unicorn kernel: [ 5.808938] EAX: f68de000 EBX: f68de000 ECX: c01fda40 EDX: f6991fb4
Jun 22 15:08:52 unicorn kernel: [ 5.808941] ESI: f68de000 EDI: 09743904 EBP: f6991f30 ESP: f6991e98
Jun 22 15:08:52 unicorn kernel: [ 5.808945] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
Jun 22 15:08:52 unicorn kernel: [ 5.808949] Process init (pid: 895, ti=f6990000 task=f6820c70 task.ti=f6990000)
Jun 22 15:08:52 unicorn kernel: [ 5.808952] Stack:
Jun 22 15:08:52 unicorn kernel: [ 5.808954] c01ae881 00000000 00000000 00000000 f6991eb0 c0122268 00000000 00000000
Jun 22 15:08:52 unicorn kernel: [ 5.808963] f6991f1c 00000020 f6991ec8 c0122268 f6991edc c053700a f6991edc 00000282
Jun 22 15:08:52 unicorn kernel: [ 5.808974] ff838000 f6991ef4 f6991ee8 c0122268 f6991efc c053700a f6991efc 00000286
Jun 22 15:08:52 unicorn kernel: [ 5.808985] Call Trace:
Jun 22 15:08:52 unicorn kernel: [ 5.808987] [<c01ae881>] ? __get_user_pages+0xf1/0x3a0
Jun 22 15:08:52 unicorn kernel: [...

Read more...

Bryce Harrington (bryce)
summary: - Cannot start with KMS enabled with intel 82945G
+ [i945] Cannot start with KMS enabled with intel 82945G
Bryce Harrington (bryce)
Changed in xserver-xorg-video-intel (Ubuntu):
status: New → Confirmed
Revision history for this message
Yann Simon (yann-simon-fr) wrote :

After last updates:
- linux kernel 2.6.30-10.12
- initramfs-tools 0.92bubuntu32

+ using upstream version of intel driver from http://ppa.launchpad.net/xorg-edgers/ubuntu/:
xserver-xorg-video-intel 2:2.7.99.901+git20090624.f0270bbb-0ubuntu0sarvatt~jaunty

the problem does not occur anymore.

Geir Ove Myhr (gomyhr)
tags: added: 945g karmic
Revision history for this message
Bryce Harrington (bryce) wrote :

Thanks, we now have a newer version than this included in karmic so guess we can consider this bug solved now.

Changed in xserver-xorg-video-intel (Ubuntu):
status: Confirmed → Fix Released
Changed in xserver-xorg-video-intel:
status: New → Fix Released
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.