Re: [git pull] drm fixes

Paul Bolle
2015-03-13T11:36:09Z

Dave Airlie schreef op vr 06-03-2015 om 21:52 [+0000]:
> Thierry Reding (1):
> drm/mm: Support 4 GiB and larger ranges

Yesterday the screen on my (outdated) ThinkPad X41 went, well, black
while it was busy compiling something unattended. I eventually had to
power cycle that laptop to regain control. I found a drm related BUG()
in the logs (pasted at the end of the message).

I only have three months worth of logs (a diagnoising session pushed
most of the logs into /dev/null a few weeks ago). But this is the only
time I saw that BUG in that period. Now that commit is the last thing
touching that code, and the various unsigned long to u64 conversions
_might_ just have gone wrong for 32 bits. I didn't spot anything utterly
obvious in that commit, but point a finger at it just in case.

Thanks,

Paul Bolle

mrt 12 19:29:00 x41 kernel: ------------[ cut here ]------------
mrt 12 19:29:00 x41 kernel: kernel BUG at drivers/gpu/drm/drm_mm.c:305!
mrt 12 19:29:01 x41 kernel: invalid opcode: 0000 [#1] SMP
mrt 12 19:29:01 x41 kernel: Modules linked in: bnep bluetooth fuse arc4 lib80211_crypt_wep ip6t_rpfilter ip6t_RE
JECT nf_reject_ipv6 xt_conntrack ebtable_nat ebtable_broute bridge stp llc ebtable_filter ebtables ip6table_nat
nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6table_security ip6table_raw ip6table_filter ip6_
tables iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_mangle iptable_secur
ity iptable_raw gpio_ich iTCO_wdt iTCO_vendor_support snd_intel8x0 snd_ac97_codec ppdev ipw2200 ac97_bus snd_seq
sdhci_pci pcspkr serio_raw sdhci snd_seq_device libipw i2c_i801 mmc_core snd_pcm lpc_ich lib80211 thinkpad_acpi
cfg80211 snd_timer irda snd parport_pc soundcore rfkill parport crc_ccitt acpi_cpufreq binfmt_misc i915 i2c_alg
o_bit drm_kms_helper tg3 drm ptp ata_generic
mrt 12 19:29:01 x41 kernel: yenta_socket pps_core pata_acpi video
mrt 12 19:29:01 x41 kernel: CPU: 0 PID: 1749 Comm: gnome-shell Not tainted 4.0.0-0.rc3.1.local0.fc21.i686 #1
mrt 12 19:29:01 x41 kernel: Hardware name: IBM 2525FAG/2525FAG, BIOS 74ET64WW (2.09 ) 12/14/2006
mrt 12 19:29:02 x41 kernel: task: e17cc5e0 ti: e1696000 task.ti: e1696000
mrt 12 19:29:06 x41 kernel: EIP: 0060:[<f80bc435>] EFLAGS: 00210206 CPU: 0
mrt 12 19:29:06 x41 kernel: EIP is at drm_mm_insert_node_in_range_generic+0x3b5/0x480 [drm]
mrt 12 19:29:06 x41 kernel: EAX: 00df0000 EBX: ef734c08 ECX: ef438d00 EDX: 00000000
mrt 12 19:29:06 x41 kernel: ESI: ef734c00 EDI: ef734c00 EBP: e1697c6c ESP: e1697bf0
mrt 12 19:29:06 x41 kernel: DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
mrt 12 19:29:06 x41 kernel: CR0: 80050033 CR2: a24b7000 CR3: 21632000 CR4: 000007d0
mrt 12 19:29:06 x41 kernel: Stack:
mrt 12 19:29:07 x41 kernel: e1697c54 00000000 005f0000 00000000 00800000 ef734c00 ffffffff f6b0de00
mrt 12 19:29:07 x41 kernel: 00000000 00000000 00930000 00000000 00000000 10000000 00000000 00320000
mrt 12 19:29:07 x41 kernel: 00000000 00000000 00000000 00c50000 00000000 00000000 f6bb434c 00800000
mrt 12 19:29:07 x41 kernel: Call Trace:
mrt 12 19:29:09 x41 kernel: [<f82905d6>] i915_gem_object_pin_view+0x666/0x8a0 [i915]
mrt 12 19:29:09 x41 kernel: [<f8283622>] i915_gem_execbuffer_reserve_vma.isra.11+0x62/0x100 [i915]
mrt 12 19:29:09 x41 kernel: [<f8283999>] i915_gem_execbuffer_reserve+0x2d9/0x350 [i915]
mrt 12 19:29:09 x41 kernel: [<f828441d>] i915_gem_do_execbuffer.isra.16+0x65d/0xe00 [i915]
mrt 12 19:29:09 x41 kernel: [<c05806e5>] ? __kmalloc+0x1f5/0x250
mrt 12 19:29:09 x41 kernel: [<f8285ca9>] ? i915_gem_execbuffer2+0x59/0x2d0 [i915]
mrt 12 19:29:09 x41 kernel: [<f8285cdb>] i915_gem_execbuffer2+0x8b/0x2d0 [i915]
mrt 12 19:29:09 x41 kernel: [<f8285c50>] ? i915_gem_execbuffer+0x510/0x510 [i915]
mrt 12 19:29:09 x41 kernel: [<c04b9f6a>] ? ktime_get+0x4a/0x110
mrt 12 19:29:09 x41 kernel: [<f80b3e60>] ? drm_getmap+0xc0/0xc0 [drm]
mrt 12 19:29:09 x41 kernel: [<c05a4c12>] do_vfs_ioctl+0x322/0x540
mrt 12 19:29:09 x41 kernel: [<c067e792>] ? inode_has_perm.isra.32+0x32/0x50
mrt 12 19:29:09 x41 kernel: [<c067e8f7>] ? file_has_perm+0x97/0xa0
mrt 12 19:29:09 x41 kernel: [<c067f51b>] ? selinux_file_ioctl+0x4b/0xe0
mrt 12 19:29:09 x41 kernel: [<c05a4e90>] SyS_ioctl+0x60/0x90
mrt 12 19:29:09 x41 kernel: [<c0a6689f>] sysenter_do_call+0x12/0x12
mrt 12 19:29:09 x41 kernel: Code: 05 0f 0b 8d 76 00 3b 55 e4 77 0b 72 05 3b 45 e0 73 04 0f 0b 66 90 8b 7d 98 03 47 20 13 57 24 3b 55 ec 72 12 77 05 3b 45 e8 76 0b <0f> 0b 89 f6 8d bc 27 00 00 00 00 39 55 cc 77 0b 72 05 39 45 b8
mrt 12 19:29:09 x41 kernel: EIP: [<f80bc435>] drm_mm_insert_node_in_range_generic+0x3b5/0x480 [drm] SS:ESP 0068:e1697bf0
mrt 12 19:29:10 x41 kernel: ---[ end trace 3402b5fea7a4b768 ]---