On Wed, Feb 04, 2015 at 09:26:27PM +0300, Andrey Skvortsov wrote:
> On Tue, Feb 03, 2015 at 08:21:52PM +, Chris Wilson wrote:
> > On Tue, Feb 03, 2015 at 10:15:47PM +0300, Andrey Skvortsov wrote:
> > > Hi,
> > >
> > > tested next-20150202. System boots, but graphic output is broken (empty
> > > black screen).
> > > Booted five times the same kernel, always got the same result. The system
> > > works with 3.19-rc7.
> >
> > 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=6
> > 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.
>
> Requested logs with drm.debug=6 are attached. lightdm was running after
> WARN_ON, but I couldn't restart it.
> The command hanged.
>
> As I booted next-20150202 system crashed several times with a lot of drm_
> calls in the backtrace, but I couldn't catch kernel logs,
> because I have not serial port on the laptop.
>
> If you need to get other information or to test patches, I would be glad to
> help.
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.
> [ 29.292333] [drm:intel_tv_detect] [CONNECTOR:33:SVIDEO-1] force=1
> [ 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
> load-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 for
> 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: 0x,
> ratios: 0x, lvds border: 0x
> [ 29.292447] [drm:intel_dump_pipe_config] pch pfit: pos: 0x, size:
> 0x, 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_framebuffer_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)
> auth_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)
> btusb(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_raw(E) rfkill(E) drm_kms_helper(E) drm(E) i2c_algo_bit(E) i2c_core(E)
> snd_hda_intel(E) snd_hda_controller(E) snd_hda_codec(E) button(E)
> snd_hwdep(E) battery(E) snd_pcm(E) snd_timer(E) snd(E) soundcore(E) video(E)
> ac(E) acpi_cpufreq(E) processor(E) fuse(E) parport_pc(E) ppdev(E) lp(E)
> parport(E) autofs4(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) b44(E)
> firewire_ohci(E) sdhci_pci(E) sdhci(E) firewire_core(E) crc_itu_t(E) mii(E)
> ssb(E) mmc_core(E) libphy(E) uhci_hcd(E) ehci_pci(E) ehci_hcd(E) thermal(E)
> thermal_sys(E) usbcore(E) usb_common(E)
> [ 29.296301] CPU: 0 PID: 53 Comm: kworker/0:3 Tainted: GW E
> 3.19.0-rc6-next-2015