Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 312013 - x11-base/xorg-server-1.7.6 does not start with intel driver and no KMS
Summary: x11-base/xorg-server-1.7.6 does not start with intel driver and no KMS
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-29 23:51 UTC by Andre
Modified: 2010-03-31 16:11 UTC (History)
0 users

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


Attachments
Xorg.0.log without KMS (failing case) (Xorg.0.log-no_kms,20.04 KB, text/plain)
2010-03-29 23:54 UTC, Andre
Details
Xorg.0.log with KMS (working case) (Xorg.0.log-kms,17.00 KB, text/plain)
2010-03-29 23:55 UTC, Andre
Details
xorg.conf (xorg.conf,932 bytes, text/plain)
2010-03-29 23:55 UTC, Andre
Details
My .config (for mainline 2.6.34-rc2) (.config,49.99 KB, text/plain)
2010-03-30 15:26 UTC, Andre
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andre 2010-03-29 23:51:23 UTC
In order to help test xorg-1.7 stabilization (Bug #308521), I added the stabilization list as of today to my package.keywords. 

Now an attempt to startx leaves the console, but no X display shows up.
The keyboard is dead, the machine seems to be fully hung -- it does
not react to acpi events (I wired powerbutton to "halt"), which
lets me "recover" from keyboard hangs. So I need to reboot hard.

I do not use KMS. When booting with KMS enabled, and all else
unchanged, X comes up nicely. 

Unfortunately, using KMS is not yet an option because I cannot 
suspend my machine with kms enabled.
https://bugzilla.kernel.org/show_bug.cgi?id=13805 

I do attach my emerge --info, xorg-logs for the KMS and non-KMS case
and my xorg.conf. 

Reproducible: Always




Portage 2.2_rc67 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.10.1-r1, 2.6.34-rc1 i686)
=================================================================
System uname: Linux-2.6.34-rc1-i686-Intel-R-_Celeron-R-_M_processor_1300MHz-with-gentoo-2.0.1
Timestamp of tree: Sun, 28 Mar 2010 21:45:02 +0000
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4-r1
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="Artistic Artistic-2 BSD BSD-2 GPL-1 GPL-2 GPL-3 LGPL-2 LGPL-2.1 LGPL-3 LPPL-1.2 LPPL-1.3 MIT MPL-1.1 X11 as-is freedist public-domain vim"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3m -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/init.d /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /usr/share/X11/xkb"
CXXFLAGS="-O2 -march=pentium3m -pipe -fomit-frame-pointer"
DISTDIR="/usr/src/packages"
EMERGE_DEFAULT_OPTS="--alphabetical"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
GENTOO_MIRRORS="http://mirror.cambrium.nl/pub/os/linux/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://mirror.leaseweb.com/gentoo/ http://de-mirror.org/distro/gentoo/ http://mirror.leaseweb.com/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS=""
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="gzip"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa bash-completion berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dri dts dvd dvdr eds emboss encode evo fam firefox flac fortran gif gnome gnutls gpm gstreamer iconv java jpeg kde ladspa lcms libnotify mad mikmod mmx mng modules mp3 mp4 mpeg mudflap ncurses nptl nptlonly ogg opengl openmp pcre pdf perl png ppds pppd python qt3support qt4 quicktime readline reflection sdl session spell spl sqlite sse sse2 ssl svg sysfs tcpd threads thunar tiff truetype unicode usb vim-syntax vorbis win32codecs wmf x264 x86 xml xorg xulrunner xv xvid zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" 
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Andre 2010-03-29 23:54:33 UTC
Created attachment 225753 [details]
Xorg.0.log without KMS (failing case)
Comment 2 Andre 2010-03-29 23:55:18 UTC
Created attachment 225755 [details]
Xorg.0.log with KMS (working case)
Comment 3 Andre 2010-03-29 23:55:47 UTC
Created attachment 225757 [details]
xorg.conf
Comment 4 Rafał Mużyło 2010-03-30 00:01:16 UTC
The problem here is that latest intel driver (2.10.0) is KMS-only.
Perhaps that's what's biting you.
Comment 5 Andre 2010-03-30 00:27:44 UTC
Sorry, I should have mentioned -- but no, 
I use x11-drivers/xf86-video-intel-2.9.1. 
(And I am stuck on the 2.9 branch until KMS suspend works for me).

Comment 6 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-03-30 10:42:39 UTC
Can you try without any xorg.conf at all?
Is the machine still accessible via network when the hang occurs?
Comment 7 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-03-30 11:05:08 UTC
Does the hang also occur with kernel 2.6.31 or 2.6.32?
Comment 8 Andre 2010-03-30 12:00:37 UTC
Starting X with no xorg.conf does not help any.
It comes up with KMS active, it does not without.
I usually do not do that because I do not use hal
but have a localized keyboard. 

I also tried a couple earlier kernels, specifically
2.6.31 and 2.6.33, plain vanilla sources. Note 
though, I only tried the failing case, and did 
not verify a working KMS setup on those.

Checking the machine via ssh when hung seems rather
unnecessary to me, as it does not listen to acpi
events along with the dead keyboard when hung. 
In my experience, the acpi signals failing can be 
associated with  a stone dead machine. I would have 
to set up the sshd -- /me is squatting behind a modem, 
and I do not need my laptop to serve at all. 
If you still think this would be necessary to check, 
please ask me to, but that would take some time to 
get some hardware and set sshd up.

Comment 9 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-03-30 12:58:52 UTC
Checking if it responds to ping would be enough for now. Only if it does then it makes sense to setup sshd. 
Comment 10 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-03-30 13:11:23 UTC
Some upstream bugs mentioned here seem to be related to your issue:
https://bugs.freedesktop.org/show_bug.cgi?id=27187#c4

Some users suggest to enable AGP built-in if it is not already, so it gets loaded before intel drm. Can you try this and/or attach your kernel config?
Comment 11 Andre 2010-03-30 15:24:45 UTC
I do have AGP builtin already, as there was trouble with KMS operation
otherwise, all right. I do attach my current .config.

Thank you for the pointer to the upstream bug, I think this one and
its relatives are some other problem, as they all describe bugs
kicking in after a successful start at some time or other.

Here, I do not get any X output in the first place.

I did a search on freedesktop for related issues to no success 
before opening this bug, though. Which does not say that I missed
an appropriate bug, though. 

...and I'll go digging for a crossover cable or a hub or sth when
I'm home, and will try pinging the machine.
Comment 12 Andre 2010-03-30 15:26:31 UTC
Created attachment 225835 [details]
My .config (for mainline 2.6.34-rc2)
Comment 13 Rémi Cardona (RETIRED) gentoo-dev 2010-03-30 21:29:52 UTC
Sorry, this won't be fixed, neither here nor upstream. UMS was completely dropped since xf86-video-intel 2.10 and KMS is now mandatory. I know you're talking about 2.9, but upstream just won't fix any bugs on that version.

If KMS works, then you should just use it, you'll be forced to at some point in the very near future.

Thanks
Comment 14 Andre 2010-03-31 15:24:51 UTC
Ok, before getting the bad news, I verified that the 
machine does not respond to a ping.

Sadly, KMS is currently not a real option because it won't allow me to suspend.
I would _love_ to adopt it.

I do agree to upstream in not spending their time fixing the old stuff,
but it certainly is somewhat sad to be left behind and lose functionality 
on the way, because the new stuff leaves me with a severe functional
regression. 

For the reasonable future, I do hope gentoo can keep xf86-video-intel-2.9.1
and xorg-server-1.6.x around, so I can get away by masking the new stable packages.
Comment 15 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-03-31 16:11:30 UTC
See bug 290739 comment 3 which packages to mask if you don't want xorg-server-1.7