Re: Linux 3.8-rc2

From: Alexey Zaytsev
Date: Thu Jan 03 2013 - 16:15:24 EST


On Thu, Jan 3, 2013 at 5:36 AM, Linus Torvalds
<torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
> It's a new year, people are getting back to work, and trying
> desperately to forget the over-eating that has been going on for the
> last two weeks. And hey, to celebrate, here's -rc2!
>
> The patch is fairly small, and largely dominated by the GPU updates
> and the trivial removal of __devinit/exit in the i2c layer. But
> there's some filesystem work (ext4, ecryptfs, ceph) and some VM fixes
> in there to. And some late ARM OMAP cleanups.
>
> The shortlog is appended, my "mergelog" looks like this:
>

Hi.

i915 got broken on my machine (Lenovo ThinkPad SL500) by this -rc. The screen
goes blank after loading the module. I've bisected the problem to
b0a2658acb5bf9ca86b4aab011b7106de3af0add "drm/i915: don't disable
disconnected outputs".
Here is the backtrace:
[ 176.446564] [drm] Initialized drm 1.1.0 20060810
[ 176.805864] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[ 176.805932] [drm] Driver supports precise vblank timestamp query.
[ 176.806063] vgaarb: device changed decodes:
PCI:0000:00:02.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem
[ 177.026017] fbcon: inteldrmfb (fb0) is primary device
[ 177.028509] i915: fixme: max PWM is zero
[ 177.700246] divide error: 0000 [#1] SMP
[ 177.700340] Modules linked in: i915(+) i2c_algo_bit drm_kms_helper
drm i2c_core cpufreq_conservative cpufreq_userspace cpufreq_stats
cpufreq_powersave binfmt_misc uinput fuse ext2 loop firewire_sbp2
snd_hda_codec_hdmi snd_hda_codec_conexant arc4 iwldvm snd_hda_intel
snd_hda_codec mac80211 snd_hwdep snd_pcm_oss snd_mixer_oss snd_pcm
iwlwifi snd_page_alloc snd_seq_midi snd_seq_midi_event snd_rawmidi
psmouse snd_seq cfg80211 iTCO_wdt iTCO_vendor_support acpi_cpufreq
mperf snd_timer snd_seq_device lpc_ich processor snd asus_laptop
input_polldev ehci_pci sparse_keymap rfkill serio_raw evdev button ac
battery mfd_core pcspkr soundcore video ext3 mbcache jbd
sha256_generic cbc dm_crypt dm_mod netconsole configfs sg sd_mod
crc_t10dif sdhci_pci firewire_ohci ahci thermal thermal_sys libahci
sdhci mmc_core libata firewire_core scsi_mod crc_itu_t r8169 mii
uhci_hcd ehci_hcd usbcore usb_common
[ 177.700363] CPU 1
[ 177.700364] Pid: 4048, comm: modprobe Not tainted 3.8.0-rc2 #32
LENOVO 2746EKU/2746EKU
[ 177.700438] RIP: 0010:[<ffffffffa048fabf>] [<ffffffffa048fabf>]
g4x_compute_wm0+0xc6/0x125 [i915]
[ 177.700441] RSP: 0018:ffff880035983200 EFLAGS: 00010216
[ 177.700444] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000040
[ 177.700447] RDX: 0000000000000000 RSI: 00000000000003e8 RDI: 0000000000000000
[ 177.700450] RBP: ffff880035983228 R08: ffffffffa04acca0 R09: 0000000000001388
[ 177.700453] R10: ffffffffa04acc70 R11: ffff88003598326c R12: ffff880035983264
[ 177.700456] R13: 0000000000000004 R14: 0000000000000000 R15: 0000000000001fc0
[ 177.700461] FS: 0000000000000000(0000) GS:ffff8800bdb00000(0063)
knlGS:00000000f75b4b40
[ 177.700464] CS: 0010 DS: 002b ES: 002b CR0: 000000008005003b
[ 177.700467] CR2: 00000000f7740000 CR3: 00000000b9ea9000 CR4: 00000000000007e0
[ 177.700469] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 177.700472] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[ 177.700477] Process modprobe (pid: 4048, threadinfo
ffff880035982000, task ffff8800b5e86a90)
[ 177.700478] Stack:
[ 177.700485] ffff8800b5654000 0000000000000001 ffff8800b9159800
0000000000000001
[ 177.700491] 0000000000000001 ffff880035983298 ffffffffa0493054
ffff880035983264
[ 177.700497] ffff88003598326c 0000000000061200 ffff880035c91500
ffff8800359832a8
[ 177.700498] Call Trace:
[ 177.700566] [<ffffffffa0493054>] g4x_update_wm+0x83/0x1d3 [i915]
[ 177.700633] [<ffffffffa04939e0>] intel_update_watermarks+0x19/0x1b [i915]
[ 177.700690] [<ffffffffa0479e1a>] i9xx_crtc_enable+0x65/0x1a0 [i915]
[ 177.700750] [<ffffffffa047fb78>] intel_set_mode+0x728/0x821 [i915]
[ 177.700813] [<ffffffffa0480226>] intel_crtc_set_config+0x5b5/0x75f [i915]
[ 177.700823] [<ffffffff810c662e>] ? ____cache_alloc+0x205/0x586
[ 177.700832] [<ffffffff811897a3>] ? rb_insert_color+0xf3/0xf5
[ 177.700845] [<ffffffffa045290f>] drm_fb_helper_set_par+0x69/0xb2
[drm_kms_helper]
[ 177.700852] [<ffffffff811c3bd9>] fbcon_init+0x30c/0x409
[ 177.700861] [<ffffffff8120fe34>] visual_init+0xb8/0x10f
[ 177.700868] [<ffffffff81210ef6>] bind_con_driver+0x163/0x263
[ 177.700875] [<ffffffff8121102e>] take_over_console+0x38/0x45
[ 177.700881] [<ffffffff811c0511>] fbcon_takeover+0x56/0x98
[ 177.700887] [<ffffffff811c42fb>] fbcon_event_notify+0x2c1/0x5ea
[ 177.700894] [<ffffffff81048dd4>] notifier_call_chain+0x32/0x5c
[ 177.700900] [<ffffffff81048f07>] __blocking_notifier_call_chain+0x41/0x5a
[ 177.700906] [<ffffffff81048f2f>] blocking_notifier_call_chain+0xf/0x11
[ 177.700913] [<ffffffff811b7e12>] fb_notifier_call_chain+0x16/0x18
[ 177.700918] [<ffffffff811b91b2>] register_framebuffer+0x1fd/0x261
[ 177.700929] [<ffffffffa0452b26>]
drm_fb_helper_single_fb_probe+0x1ce/0x297 [drm_kms_helper]
[ 177.700940] [<ffffffffa0452dc6>]
drm_fb_helper_initial_config+0x1d7/0x1f1 [drm_kms_helper]
[ 177.700946] [<ffffffff810c6a26>] ? __kmalloc+0x77/0xa1
[ 177.701012] [<ffffffffa0496d84>] intel_fbdev_init+0x6f/0x82 [i915]
[ 177.701059] [<ffffffffa045fcd8>] i915_driver_load+0xa34/0xc02 [i915]
[ 177.701097] [<ffffffffa040626d>] drm_get_pci_dev+0x15e/0x266 [drm]
[ 177.701143] [<ffffffffa045c483>] i915_pci_probe+0x60/0x69 [i915]
[ 177.701150] [<ffffffff811a2870>] pci_device_probe+0x6a/0xaf
[ 177.701158] [<ffffffff8122b2b6>] ? driver_probe_device+0x1c3/0x1c3
[ 177.701164] [<ffffffff8122b18d>] driver_probe_device+0x9a/0x1c3
[ 177.701170] [<ffffffff8122b310>] __driver_attach+0x5a/0x7e
[ 177.701176] [<ffffffff8122993f>] bus_for_each_dev+0x4f/0x81
[ 177.701182] [<ffffffff8122ac95>] driver_attach+0x19/0x1b
[ 177.701187] [<ffffffff8122a947>] bus_add_driver+0xe3/0x207
[ 177.701194] [<ffffffff8122b897>] driver_register+0x8e/0x114
[ 177.701200] [<ffffffff811a1efe>] __pci_register_driver+0x46/0x48
[ 177.701229] [<ffffffffa04063fb>] drm_pci_init+0x86/0xeb [drm]
[ 177.701244] [<ffffffffa04d1000>] ? 0xffffffffa04d0fff
[ 177.701284] [<ffffffffa04d1066>] i915_init+0x66/0x68 [i915]
[ 177.701292] [<ffffffff81000232>] do_one_initcall+0x7a/0x12c
[ 177.701302] [<ffffffffa04d1000>] ? 0xffffffffa04d0fff
[ 177.701309] [<ffffffff8106e55e>] load_module+0x1690/0x1945
[ 177.701314] [<ffffffff8106b8d2>] ? free_notes_attrs+0x48/0x48
[ 177.701321] [<ffffffff8102441f>] ? do_page_fault+0x9/0xe
[ 177.701328] [<ffffffff8106e8b5>] sys_init_module+0xa2/0xb1
[ 177.701336] [<ffffffff812d70e5>] sysenter_dispatch+0x7/0x1a
[ 177.701383] Code: 4f c7 31 d2 48 98 48 8d 44 01 ff 48 f7 f1 41 03
42 18 41 89 04 24 41 8b 52 08 39 d0 0f 4f c2 41 89 04 24 41 69 c6 e8
03 00 00 99 <f7> fb 41 89 c6 44 89 c8 99 41 f7 fe 05 e8 03 00 00 99 f7
fe 49
[ 177.701449] RSP <ffff880035983200>
[ 177.701454] ---[ end trace 43f59db2364f49ab ]---

I've also attached dmesg from the same system, -rc2 with the commit reverted.

Attachment: dmesg
Description: Binary data