Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 486346 - sys-kernel/gentoo-sources-3.11.2 - [drm:intel_pipe_config_compare] *ERROR* mismatch in adjusted_mode.flags (expected 2, found 0)
Summary: sys-kernel/gentoo-sources-3.11.2 - [drm:intel_pipe_config_compare] *ERROR* mi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL: http://git.kernel.org/cgit/linux/kern...
Whiteboard: linux-3.11.4
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-28 18:38 UTC by Scott Short
Modified: 2013-10-02 00:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
kernel .config (config.txt.gz,21.21 KB, application/gzip)
2013-09-28 18:38 UTC, Scott Short
Details
Backported patch for 3.11.3 (2800_i915-clear-adj-mode-flag.patch,568 bytes, patch)
2013-10-01 23:10 UTC, Mike Pagano
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Scott Short 2013-09-28 18:38:08 UTC
Created attachment 359696 [details]
kernel .config

kernel-3.11.2 trace

Sep 28 13:50:42 localhost kernel: [  757.167234] [drm:intel_pipe_config_compare] *ERROR* mismatch in adjusted_mode.flags (expected 2, found 0)
Sep 28 13:50:42 localhost kernel: [  757.167243] ------------[ cut here ]------------
Sep 28 13:50:42 localhost kernel: [  757.167260] WARNING: CPU: 1 PID: 3178 at drivers/gpu/drm/i915/intel_display.c:8299 check_crtc_state+0x57f/0xa10()
Sep 28 13:50:42 localhost kernel: [  757.167265] pipe state doesn't match!
Sep 28 13:50:42 localhost kernel: [  757.167269] Modules linked in:
Sep 28 13:50:42 localhost kernel: [  757.167279] CPU: 1 PID: 3178 Comm: X Tainted: G        W    3.11.2-gentoo #1
Sep 28 13:50:42 localhost kernel: [  757.167284] Hardware name: Dell Inc. Latitude D630                   /0KU184, BIOS A17 01/04/2010
Sep 28 13:50:42 localhost kernel: [  757.167288]  0000000000000009 ffff8800b600b678 ffffffff8185fd88 0000000000000007
Sep 28 13:50:42 localhost kernel: [  757.167297]  ffff8800b600b6c8 ffff8800b600b6b8 ffffffff81048e37 ffff8800b600b6c0
Sep 28 13:50:42 localhost kernel: [  757.167305]  ffff8800bb3096d0 0000000000000001 ffff8800bb20d000 ffff8800bb309000
Sep 28 13:50:42 localhost kernel: [  757.167313] Call Trace:
Sep 28 13:50:42 localhost kernel: [  757.167326]  [<ffffffff8185fd88>] dump_stack+0x46/0x58
Sep 28 13:50:42 localhost kernel: [  757.167336]  [<ffffffff81048e37>] warn_slowpath_common+0x87/0xb0
Sep 28 13:50:42 localhost kernel: [  757.167343]  [<ffffffff81048f01>] warn_slowpath_fmt+0x41/0x50
Sep 28 13:50:42 localhost kernel: [  757.167352]  [<ffffffff813ddb5f>] check_crtc_state+0x57f/0xa10
Sep 28 13:50:42 localhost kernel: [  757.167364]  [<ffffffff813e8d6d>] intel_modeset_check_state+0x2ad/0x750
Sep 28 13:50:42 localhost kernel: [  757.167371]  [<ffffffff813e92a0>] intel_set_mode+0x20/0x30
Sep 28 13:50:42 localhost kernel: [  757.167379]  [<ffffffff813ea509>] intel_get_load_detect_pipe+0x269/0x420
Sep 28 13:50:42 localhost kernel: [  757.167390]  [<ffffffff8140b582>] intel_tv_detect+0xf2/0x4a0
Sep 28 13:50:42 localhost kernel: [  757.167399]  [<ffffffff812da27e>] ? string.isra.3+0x3e/0xd0
Sep 28 13:50:42 localhost kernel: [  757.167409]  [<ffffffff813942fb>] drm_helper_probe_single_connector_modes+0x2bb/0x360
Sep 28 13:50:42 localhost kernel: [  757.167418]  [<ffffffff813a8337>] drm_mode_getconnector+0x387/0x3d0
Sep 28 13:50:42 localhost kernel: [  757.167427]  [<ffffffff813995e9>] drm_ioctl+0x519/0x650
Sep 28 13:50:42 localhost kernel: [  757.167434]  [<ffffffff813a7fb0>] ? drm_mode_getcrtc+0xd0/0xd0
Sep 28 13:50:42 localhost kernel: [  757.167445]  [<ffffffff81158197>] do_vfs_ioctl+0x87/0x510
Sep 28 13:50:42 localhost kernel: [  757.167454]  [<ffffffff8127f7df>] ? file_has_perm+0x8f/0xa0
Sep 28 13:50:42 localhost kernel: [  757.167461]  [<ffffffff811586b1>] SyS_ioctl+0x91/0xb0
Sep 28 13:50:42 localhost kernel: [  757.167470]  [<ffffffff81871f52>] system_call_fastpath+0x16/0x1b
Sep 28 13:50:42 localhost kernel: [  757.167476] ---[ end trace 269808ab4f916a42 ]---

info

Portage 2.2.7 (default/linux/amd64/13.0, gcc-4.7.3, glibc-2.17, 3.11.2-gentoo x86_64)
=================================================================
System uname: Linux-3.11.2-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7500_@_2.20GHz-with-gentoo-2.2
KiB Mem:     3072572 total,   2094584 free
KiB Swap:     524284 total,    524284 free
Timestamp of tree: Sat, 28 Sep 2013 17:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.5-r2, 3.2.5-r2, 3.3.2-r2
dev-util/cmake:           2.8.11.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.13.4, 1.14
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.11 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo science
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.mirrors.tds.net/gentoo ftp://gentoo.mirrors.tds.net/gentoo ftp://gentoo.cites.uiuc.edu/pub/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/science"
USE="256-color X acl alsa amd64 apng bazaar berkdb bluetooth bluray bzip2 cairo cli clucene consolekit cracklib crypt cups curl cvs cxx darcs dbus declarative dri dvd encode exif experimental ffmpeg flac fontconfig fortran freeimage gbm gcj gdbm gif gimp gl2ps gnutls gphoto2 gstreamer gtk gudev hddtemp http hwdb iconv icu imagemagick imap ipv6 java jpeg jpeg2k keymap libcanberra libkms lm_sensors mad mercurial minizip mmx modules mp3 mpeg mudflap multilib ncurses newnet nls nptl nsplugin objc objc++ offensive ogg opengl openmp openssl pam pcre pdf perl pixbuf png policykit portaudio pulseaudio python qt3support qt4 quicktime raw readline rpc ruby scanner script scsi secure-delete server session smp smtp snmp speex spell sql sqlite sse sse2 sse3 ssh ssl ssse3 subversion svg system-cairo system-jpeg system-sqlite tcpd threads tiff truetype udev unicode usb vim-pager vim-syntax vorbis webkit wmf xcb xft xgetdefault xpm xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CURL_SSL="gnutls" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="synaptics evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2 python3_3" RUBY_TARGETS="ruby18 ruby19 ruby20" SANE_BACKENDS="hp hp3500 hp3900 hp4200 hp5400 hp5590 hpljm1005 hpsj5s hs2p net" USERLAND="GNU" VIDEO_CARDS="intel i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
USE_PYTHON="2.7 3.2 3.3"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC
Comment 1 Mike Pagano gentoo-dev 2013-10-01 23:01:40 UTC
Upstream bug

https://bugs.freedesktop.org/show_bug.cgi?id=69791

Patch
http://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/patch/drivers/gpu/drm/i915/intel_tv.c?id=1062b81598bc00e2f6620e6f3788f8f8df2f01e7

Can you give that patch a test. It will be in 3.11.4, but if you test it successfully, we'll add it to gentoo-sources 3.11.3.
Comment 2 Mike Pagano gentoo-dev 2013-10-01 23:10:18 UTC
Created attachment 359942 [details, diff]
Backported patch for 3.11.3

Please test with this patch
Comment 3 Scott Short 2013-10-02 00:06:41 UTC
(In reply to Mike Pagano from comment #2)
> Created attachment 359942 [details, diff] [details, diff]
> Backported patch for 3.11.3
> 
> Please test with this patch

Problem corrected w/applied patch.
Thanks for your quick solution :)
Comment 4 Mike Pagano gentoo-dev 2013-10-02 00:38:07 UTC
Great. Thanks for testing so fast.

Released in gentoo-sources-3.11.3.