Comment 0 for bug 605124

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

I hope the title pasted from dmesg output makes sense to you guys.

Forwarding my own Ubuntu bug report:
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/605124

On current Ubuntu 10.10 development edition with kernel based on 2.6.35-rc4 I sometimes (i.e. between 20% and 50% of the times) get this error in dmesg at boot:

[ 11.287021] BUG: unable to handle kernel NULL pointer dereference at (null)
[ 11.287368] IP: [<c05cb14a>] __mutex_lock_slowpath+0x9a/0x140
[ 11.287647] *pde = 7ce57067
[ 11.287790] Oops: 0002 [#1] SMP
[ 11.287957] last sysfs file: /sys/module/snd_rawmidi/initstate
[ 11.288226] Modules linked in: snd_rawmidi(+) i915(+) snd_seq_midi_event snd_seq drm_kms_helper iwlcore snd_timer mac80211 snd_seq_device drm snd yenta_socket pcmcia_rsrc intel_agp cfg80211 psmouse tpm_tis serio_raw pcmcia_core nvram i2c_algo_bit video tpm tpm_bios soundcore snd_page_alloc agpgart output lp parport usbhid hid firewire_ohci sdhci_pci firewire_core ahci sdhci led_class crc_itu_t e1000e libahci
[ 11.289012]
[ 11.289012] Pid: 370, comm: plymouthd Not tainted 2.6.35-7-generic #12-Ubuntu 7764CTO/7764CTO
[ 11.289012] EIP: 0060:[<c05cb14a>] EFLAGS: 00010246 CPU: 1
[ 11.289012] EIP is at __mutex_lock_slowpath+0x9a/0x140
[ 11.289012] EAX: 00000000 EBX: f40aaa90 ECX: f40aaa98 EDX: f6a77ec0
[ 11.289012] ESI: f40aaa94 EDI: f40aaa90 EBP: f6a77ed8 ESP: f6a77eb4
[ 11.289012] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
[ 11.289012] Process plymouthd (pid: 370, ti=f6a76000 task=f70fe580 task.ti=f6a76000)
[ 11.289012] Stack:
[ 11.289012] f6a77ec4 f70fe580 f40aaa98 f40aaa98 00000000 f6a77ed8 f40aaa90 f45be700
[ 11.289012] <0> f40aaa90 f6a77ee8 c05cb095 f45be700 f45be700 f6a77efc f8393dc3 f45be700
[ 11.289012] <0> f45be760 f40aa800 f6a77f44 f838b337 00000001 f839be25 f839b220 f839d590
[ 11.289012] Call Trace:
[ 11.289012] [<c05cb095>] ? mutex_lock+0x25/0x40
[ 11.289012] [<f8393dc3>] ? drm_fb_release+0x23/0x70 [drm]
[ 11.289012] [<f838b337>] ? drm_release+0x3e7/0x4c0 [drm]
[ 11.289012] [<c021a13f>] ? __fput+0xdf/0x1f0
[ 11.289012] [<c021a26d>] ? fput+0x1d/0x30
[ 11.289012] [<c0216b5c>] ? filp_close+0x4c/0x80
[ 11.289012] [<c0216c05>] ? sys_close+0x75/0xc0
[ 11.289012] [<c05cc7dc>] ? syscall_call+0x7/0xb
[ 11.289012] Code: 83 79 18 63 7f b3 8d 76 00 8d 73 04 89 f0 e8 5e 11 00 00 8d 53 08 89 55 e4 8d 55 e8 8b 43 0c 89 53 0c 8b 4d e4 89 45 ec 89 4d e8 <89> 10 8b 45 e0 ba ff ff ff ff 89 45 f0 89 d0 87 03 83 f8 01 74
[ 11.289012] EIP: [<c05cb14a>] __mutex_lock_slowpath+0x9a/0x140 SS:ESP 0068:f6a77eb4
[ 11.289012] CR2: 0000000000000000
[ 11.383770] ---[ end trace b880c9a6dbf71a43 ]---

/var/log/gdm/:0.log then says:

(EE) intel(0): [drm] failed to set drm interface version.
(EE) intel(0): Failed to become DRM master.
[...]
DRM_IOCTL_I915_GEM_APERTURE failed: Bad file descriptor
Assuming 131072kB available aperture size.
May lead to reduced performance or incorrect rendering.
get chip id failed: -1 [9]
param: 4, val: 0
(EE) intel(0): failed to get resources: Bad file descriptor
(EE) intel(0): Kernel modesetting setup failed
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found

After 4-5 attempts to start gdm, Ubuntu's failsafeX starts up.

System information:

DistroRelease: Ubuntu 10.10
Package: xorg 1:7.5+6ubuntu2
ProcVersionSignature: Ubuntu 2.6.35-7.12-generic 2.6.35-rc4
Uname: Linux 2.6.35-7-generic i686
Architecture: i386
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Alpha i386 (20100630.2)
MachineType: LENOVO 7764CTO
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.35-7-generic root=UUID=460f28a3-969c-409a-ab57-6070e2c7288e ro quiet splash drm.debug=0x04
dmi.product.version: ThinkPad X61 Tablet
dmi.sys.vendor: LENOVO
system:
 distro: Ubuntu
 codename: maverick
 architecture: i686
 kernel: 2.6.35-7-generic