Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752248AbbBWUK7 (ORCPT ); Mon, 23 Feb 2015 15:10:59 -0500 Received: from mail-la0-f51.google.com ([209.85.215.51]:41504 "EHLO mail-la0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751249AbbBWUK5 (ORCPT ); Mon, 23 Feb 2015 15:10:57 -0500 From: Andrey Skvortsov X-Google-Original-From: Andrey Skvortsov Date: Mon, 23 Feb 2015 23:10:46 +0300 To: Chris Wilson , Daniel Vetter , Jani Nikula , David Airlie , intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Sitsofe Wheeler Subject: [Intel-gfx] [Regression] WARNING: drivers/gpu/drm/i915/i915_gem.c:4525 i915_gem_free_object Message-ID: <20150223201046.GB3871@crion86> Mail-Followup-To: Andrey Skvortsov , Chris Wilson , Daniel Vetter , Jani Nikula , David Airlie , intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Sitsofe Wheeler References: <20150203191507.GA2374@crion86> <20150203202152.GD5784@nuc-i3427.alporthouse.com> <20150204182627.GA2272@crion86> <20150204184217.GG10991@nuc-i3427.alporthouse.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="GRPZ8SYKNexpdSJ7" Content-Disposition: inline In-Reply-To: <20150204184217.GG10991@nuc-i3427.alporthouse.com> X-PGP-Key: fp="21AF 2E6F 04EC 7E11 21C6 E399 2236 2F26 57A3 AEAD"; id="0x57A3AEAD"; get=; User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 8825 Lines: 178 --GRPZ8SYKNexpdSJ7 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > > > Those two warnings are more or less symptoms of the black screen (well > > > the first is just overzealous). More important would be the drm.debug= =3D6 > > > dmesg from boot along with the gdm.log (or equivalent) aned Xorg.0.log > > > as my guess is that X (or the display server) is crashing. > >=20 > > Requested logs with drm.debug=3D6 are attached. lightdm was running aft= er WARN_ON, but I couldn't restart it. > > The command hanged. > >=20 > > As I booted next-20150202 system crashed several times with a lot of dr= m_ calls in the backtrace, but I couldn't catch kernel logs, > > because I have not serial port on the laptop. > >=20 > > If you need to get other information or to test patches, I would be gla= d to help. >=20 > Right, here it looks like it freezing in intel_get_load_detect_pipe() > during the initial configuration probe of X. Given the other crashes, > we're back to worring about memory corruption. >=20 > > [ 29.292333] [drm:intel_tv_detect] [CONNECTOR:33:SVIDEO-1] force=3D1 > > [ 29.292336] [drm:intel_get_load_detect_pipe] [CONNECTOR:33:SVIDEO-1]= , [ENCODER:34:TV-34] > > [ 29.292339] [drm:intel_get_load_detect_pipe] creating tmp fb for loa= d-detection > > [ 29.292396] [drm:intel_modeset_affected_pipes] set mode pipe masks: = modeset: 1, prepare: 1, disable: 0 > > [ 29.292408] [drm:connected_sink_compute_bpp] [CONNECTOR:33:SVIDEO-1]= checking for sink bpp constrains > > [ 29.292413] [drm:intel_tv_compute_config] forcing bpc to 8 for TV > > [ 29.292416] [drm:intel_modeset_pipe_config] plane bpp: 24, pipe bpp:= 24, dithering: 0 > > [ 29.292418] [drm:intel_dump_pipe_config] [CRTC:20][modeset] config f= or pipe A > > [ 29.292419] [drm:intel_dump_pipe_config] cpu_transcoder: A > > [ 29.292421] [drm:intel_dump_pipe_config] pipe bpp: 24, dithering: 0 > > [ 29.292423] [drm:intel_dump_pipe_config] fdi/pch: 0, lanes: 0, gmch_= m: 0, gmch_n: 0, link_m: 0, link_n: 0, tu: 0 > > [ 29.292425] [drm:intel_dump_pipe_config] dp: 0, gmch_m: 0, gmch_n: 0= , link_m: 0, link_n: 0, tu: 0 > > [ 29.292428] [drm:intel_dump_pipe_config] dp: 0, gmch_m2: 0, gmch_n2:= 0, link_m2: 0, link_n2: 0, tu2: 0 > > [ 29.292429] [drm:intel_dump_pipe_config] audio: 0, infoframes: 0 > > [ 29.292431] [drm:intel_dump_pipe_config] requested mode: > > [ 29.292433] [drm:drm_mode_debug_printmodeline] Modeline 0:"NTSC 480i= " 0 107520 1280 1368 1496 1712 1024 1027 1034 1104 0x40 0x0 > > [ 29.292435] [drm:intel_dump_pipe_config] adjusted mode: > > [ 29.292438] [drm:drm_mode_debug_printmodeline] Modeline 0:"NTSC 480i= " 0 107520 1280 1368 1496 1712 1024 1027 1034 1104 0x40 0x0 > > [ 29.292440] [drm:intel_dump_crtc_timings] crtc timings: 108000 1280 = 1368 1496 1712 1024 1027 1034 1104, type: 0x40 flags: 0x0 > > [ 29.292442] [drm:intel_dump_pipe_config] port clock: 108000 > > [ 29.292444] [drm:intel_dump_pipe_config] pipe src size: 1280x1024 > > [ 29.292446] [drm:intel_dump_pipe_config] gmch pfit: control: 0x00000= 000, ratios: 0x00000000, lvds border: 0x00000000 > > [ 29.292447] [drm:intel_dump_pipe_config] pch pfit: pos: 0x00000000, = size: 0x00000000, disabled > > [ 29.292449] [drm:intel_dump_pipe_config] ips: 0 > > [ 29.292451] [drm:intel_dump_pipe_config] double wide: 0 > > [ 29.292565] ------------[ cut here ]------------ > > [ 29.293785] WARNING: CPU: 0 PID: 53 at include/linux/kref.h:47 drm_f= ramebuffer_reference+0x5b/0x64 [drm]() > > [ 29.295032] Modules linked in: bnep(E) cfg80211(E) cpufreq_stats(E) = cpufreq_powersave(E) cpufreq_userspace(E) cpufreq_conservative(E) nfsd(E) a= uth_rpcgss(E) nfs_acl(E) lockd(E) grace(E) sunrpc(E) cdc_wdm(E) cdc_acm(E) = cdc_ether(E) usbnet(E) joydev(E) coretemp(E) kvm_intel(E) kvm(E) i8k(E) btu= sb(E) psmouse(E) snd_pcsp(E) i915(E) evdev(E) bluetooth(E) i2c_i801(E) snd_= hda_codec_generic(E) lpc_ich(E) mfd_core(E) xhci_pci(E) xhci_hcd(E) serio_r= aw(E) rfkill(E) drm_kms_helper(E) drm(E) i2c_algo_bit(E) i2c_core(E) snd_hd= a_intel(E) snd_hda_controller(E) snd_hda_codec(E) button(E) snd_hwdep(E) ba= ttery(E) snd_pcm(E) snd_timer(E) snd(E) soundcore(E) video(E) ac(E) acpi_cp= ufreq(E) processor(E) fuse(E) parport_pc(E) ppdev(E) lp(E) parport(E) autof= s4(E) ext4(E) crc16(E) jbd2(E) mbcache(E) sd_mod(E) ata_generic(E) > > [ 29.295080] ahci(E) libahci(E) ata_piix(E) libata(E) scsi_mod(E) b4= 4(E) firewire_ohci(E) sdhci_pci(E) sdhci(E) firewire_core(E) crc_itu_t(E) m= ii(E) ssb(E) mmc_core(E) libphy(E) uhci_hcd(E) ehci_pci(E) ehci_hcd(E) ther= mal(E) thermal_sys(E) usbcore(E) usb_common(E) > > [ 29.296301] CPU: 0 PID: 53 Comm: kworker/0:3 Tainted: G W E= 3.19.0-rc6-next-20150202-150201- #4 > > [ 29.296303] Hardware name: Dell Inc. Vostro 1500 = /0NX907, BIOS A06 04/21/2008 > > [ 29.296314] Workqueue: events output_poll_execute [drm_kms_helper] > > [ 29.296316] 0000000000000000 0000000000000009 ffffffff813e790a 0000= 000000000000 > > [ 29.296319] ffffffff8104178e ffff880197a38e40 ffffffffa04eb56d 0000= 000000000000 > > [ 29.296323] ffff880195844d80 0000000000000500 0000000000000400 0000= 000000000000 > > [ 29.296326] Call Trace: > > [ 29.296332] [] ? dump_stack+0x4a/0x74 > > [ 29.296337] [] ? warn_slowpath_common+0x9d/0xb5 > > [ 29.296354] [] ? drm_framebuffer_reference+0x5b/0= x64 [drm] > > [ 29.296368] [] ? drm_framebuffer_reference+0x5b/0= x64 [drm] > > [ 29.296408] [] ? intel_plane_duplicate_state+0x4d= /0x69 [i915] > > [ 29.296415] [] ? drm_plane_helper_update+0x61/0xf= f [drm_kms_helper] > > [ 29.296439] [] ? __intel_set_mode+0x796/0x89a [i9= 15] > > [ 29.296464] [] ? intel_set_mode+0x6e/0x8f [i915] > > [ 29.296489] [] ? intel_get_load_detect_pipe+0x382= /0x420 [i915] > > [ 29.296517] [] ? intel_tv_detect+0x116/0x43d [i91= 5] > > [ 29.296522] [] ? preempt_count_sub+0xab/0xca > > [ 29.296529] [] ? drm_helper_probe_single_connecto= r_modes_merge_bits+0xc7/0x392 [drm_kms_helper] > > [ 29.296538] [] ? drm_fb_helper_probe_connector_mo= des+0x3d/0x51 [drm_kms_helper] > > [ 29.296545] [] ? drm_fb_helper_hotplug_event+0x75= /0xac [drm_kms_helper] > > [ 29.296551] [] ? output_poll_execute+0x125/0x154 = [drm_kms_helper] > > [ 29.296555] [] ? process_one_work+0x171/0x28e > > [ 29.296558] [] ? worker_thread+0x1a5/0x272 > > [ 29.296560] [] ? process_scheduled_works+0x2a/0x2a > > [ 29.296564] [] ? kthread+0x9e/0xa6 > > [ 29.296567] [] ? __kthread_parkme+0x5c/0x5c > > [ 29.296571] [] ? ret_from_fork+0x7c/0xb0 > > [ 29.296574] [] ? __kthread_parkme+0x5c/0x5c > > [ 29.296576] ---[ end trace 4742dbfffee243fc ]--- >=20 > Which makes me wonder whether this is not the more significant warning? > -Chris Hi,=20 This warning is moved from linux-next to v4.0-rc1 now. After system boot is= just a black screen. I ssh'ed into the machine and saved the log. I attached updated dmesg.log w= ith drm.debug=3D6. Hopefully it helps.=20 If you need any other debug information, traces, core dump or something els= e. Feel free to ask. --=20 Best regards, Andrey Skvortsov PGP Key ID: 0x57A3AEAD --GRPZ8SYKNexpdSJ7 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJU64lFAAoJEAF8y6L1SLCtNZIQAIwdxSWuF3EdThKu2axKot0/ ugPSolPnK02cVnF4MGc6RWtF/DCf2+xTvSODN29f2eCogYG7kPqb21AfH4wEBlQM FCQ0nJTRRT0pHCXkVJ2zQJl9E//F0E9twr3BU+TxnumUK9VbS55LaTfu0oQlrAOY KNSCKlE0PQWPDeBUJA8fdhQ8+vpmsP837jNP6mPWwh7F9Q9hvT2vqGV2m4FhvL1T jCtdl6JM/R4zokuNwH50zStex3hTNU71yd/+hCe0Ks+sKDQTysLZx36FHRqsqIjw zZVraOhqFSmoaY4GYwHkPE6nvSU9+FGCx/eiUKyI1hkq7yQF+vhm2HgmWKpsrnPM Ojq3kgVVDhbhurCOqrS5TLv8KI8ccidtiBuhSJez+UhymNSOJVN3lZHk3zg2SWip TTqngIBWmVTEkPobSkEyqpe5/JCL3RKtom65v8oQQ9zbwcP8bUUkjnjqx8pCFQe1 1NavZMjQxtk5X0uH+IvFA3UCbKRYgbaG0bZcZw1gUbOrafj2EnxcWC5W4FHO16yA 2t7bZi/2O5hjO/Iw49+61JwrwokMthtXJVue0Zuc7CvWGNH/G7HQEhP4uS3Xc233 4aaIrsed5D+dQ0GmDxO3BIgnwgEVMD8WErgSsxqBPM2yL9DxBG1xWaE9wj9mDJPl wmzBOBvOYbmDlWrdV8Mj =bMw8 -----END PGP SIGNATURE----- --GRPZ8SYKNexpdSJ7-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/