Summary: | >=x11-base/xorg-server-1.5.3-r2: X are launched in tty8 instead of tty7 since xorg update | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Pacho Ramos <pacho> |
Component: | Current packages | Assignee: | Gentoo X packagers <x11> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | gentoo.bugs.10, mike.delorme, netbox253 |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
xorg.conf
Xorg.0.log gdb session: X segfaults on SIGTERM |
Description
Pacho Ramos
2009-02-26 21:15:25 UTC
Created attachment 183299 [details]
xorg.conf
Created attachment 183301 [details]
Xorg.0.log
Yeah, I've had this bug too. Except I really have no idea who's at fault here : xorg, openrc, gdm, xinit? If anyone has clues to figure this out, I'm all ears. Thanks (In reply to comment #3) > Yeah, I've had this bug too. Except I really have no idea who's at fault here : > xorg, openrc, gdm, xinit? > I still have stable baselayout and no openrc. I use gdm, but also tried with "startx" and I get the same result I have just tried to downgrade xinit to stable version and I get the same. Then, seems other xorg portion :-/ *** Bug 263306 has been marked as a duplicate of this bug. *** I had the same problem since my upgrade from xorg-server 1.4.2 to 1.5.3, and it seems it has been resolved when i upgraded xorg-x11 from 7.3 to 7.4 For the latter upgrade to happen, i had to unmask those : =x11-base/xorg-x11-7.4 =x11-apps/x11perf-1.5 =x11-apps/mkfontdir-1.0.4 =x11-apps/xprop-1.0.4 =media-fonts/font-xfree86-type1-1.0.1 =x11-apps/sessreg-1.0.4 =x11-apps/xset-1.0.4 =x11-apps/mkfontscale-1.0.5 =x11-apps/xdpyinfo-1.0.3 =x11-apps/xrdb-1.0.5 =x11-libs/libFS-1.0.1 =x11-apps/xwininfo-1.0.4 =x11-apps/luit-1.0.3 =x11-apps/xwd-1.0.2 Some other packages were installed too but were already stable in the tree. Hi, I experienced the same problem on my gentoo amd64. I did the following update. From: Wed Dec 24 13:43:31 2008 >>> x11-base/xorg-server-1.3.0.0-r6 To: Mon Apr 6 17:43:37 2009 >>> x11-base/xorg-server-1.5.3-r5 Updating from stable: Sat Dec 8 22:15:23 2007 >>> x11-base/xorg-x11-7.2 to: Tue Apr 7 09:35:39 2009 >>> x11-base/xorg-x11-7.4 with all dependencies didn't change anything. Interestingly I also experience the problem that I can't see a prompt when changing to any tty[1-6]. To get to the text console, the only way I discovered is to log-out of my KDE-session thus coming to the login manager (KDM). Using "Alt + N" there, gives me the usual login-prompt and I can switch to tty[1-6]. To get back to my Xsession, I need to wait a few seconds and it get's automatically back. I can't switch back by hand. (In reply to comment #8) > Hi, > > I experienced the same problem on my gentoo amd64. I did the following update. > From: > Wed Dec 24 13:43:31 2008 >>> x11-base/xorg-server-1.3.0.0-r6 > To: > Mon Apr 6 17:43:37 2009 >>> x11-base/xorg-server-1.5.3-r5 > > Updating from stable: > Sat Dec 8 22:15:23 2007 >>> x11-base/xorg-x11-7.2 > to: > Tue Apr 7 09:35:39 2009 >>> x11-base/xorg-x11-7.4 > with all dependencies didn't change anything. > > Interestingly I also experience the problem that I can't see a prompt when > changing to any tty[1-6]. To get to the text console, the only way I discovered > is to log-out of my KDE-session thus coming to the login manager (KDM). Using > "Alt + N" there, gives me the usual login-prompt and I can switch to tty[1-6]. > To get back to my Xsession, I need to wait a few seconds and it get's > automatically back. I can't switch back by hand. > Addition: Good news! I made it work! Interestingly all I had to do was to use a new xorg.conf (generated by nvidia-xorgconfig) and the basic features worked, inlcuding switching to TTY[1-6]. As I'm using 2 monitors, I needed to figure out how to make TwinView work. The xorg.conf resulting from this: #============== # nvidia-xconfig: X configuration file generated by nvidia-xconfig # nvidia-xconfig: version 1.0 (buildmeister@builder62) Tue Mar 24 06:15:32 PST 2009 # modified by Cedric Section "ServerLayout" Identifier "Layout0" Screen 0 "Screen0" EndSection Section "Files" EndSection Section "Module" Load "dbe" Load "extmod" Load "type1" Load "glx" EndSection Section "Device" Identifier "Device0" Driver "nvidia" VendorName "NVIDIA Corporation" Option "TwinView" "true" Option "ConnectedMonitor" "DFP-0, CRT-1" Option "MetaModes" "DFP-0: 1280x1024, CRT-1: 1280x1024" Option "TwinViewOrientation" "CRT-1 RightOf DFP-0" Option "TwinViewXineramaInfoOrder" "DFP-0, CRT-1" EndSection Section "Screen" Identifier "Screen0" Device "Device0" Monitor "TEAC" DefaultDepth 24 SubSection "Display" Depth 24 EndSubSection EndSection Section "Screen" Identifier "Screen1" Device "Device0" Monitor "HSL" DefaultDepth 24 SubSection "Display" Depth 24 EndSubSection EndSection Section "Monitor" Identifier "TEAC" VendorName "TVT" ModelName "DVI" HorizSync 30 - 80 VertRefresh 50 - 75 Option "DPMS" EndSection Section "Monitor" Identifier "HSL" VendorName "HSL" ModelName "H750" HorizSync 30-81 VertRefresh 56-77 Option "DPMS" EndSection #============== I come from #263306. Same behavior here. I found an explanation on french forums for my setup : - xorg-server-1.5.3-r6 - gnome-light-2.26.3 - gdm-2.20.9-r1 - consolekit-0.3.0-r2 consolekit is installed but is NOT started by default : # rc-update show | grep console consolefont | boot The first time, gdm is launched on tty7. When I login through gdm to my gnome session, something auto-magically launch the console-kit-daemon : $ ps aux | grep console root 7804 0.0 0.1 16952 2396 ? Ssl 17:36 0:00 /usr/sbin/console-kit-daemon But when I logout, this process is not killed and grab on VT7. rc-update add consolekit default solve this mistery. hald is the one that autolaunches consolekit when it's not already running I cannot test it now but, if hald/consolekit is the problem, that can be solved simply upgrading to sys-apps/baselayout-1.12.12. Then, the test would be update to that version and try if still valid Still the same even with latest xorg-server and baselayout-1.12.12. I am not sure if I should reports this to upstream as I don't know where exactly could be the problem :-/ So guys still an issue? Can't reproduce here :) I am still able to reproduce: 1. At boot time, gdm is launched and X are launched in tty7 2. Once I logout, X move to tty8 (even launching them simply running "X") Created attachment 277483 [details] gdb session: X segfaults on SIGTERM (In reply to comment #15) > I am still able to reproduce: > 1. At boot time, gdm is launched and X are launched in tty7 > 2. Once I logout, X move to tty8 (even launching them simply running "X") I’ve been experiencing this for almost one year. Since I almost never logoff without restarting, I never considered it too much a bother, but a recent escalation in the number of problems I have with X.org, made me want to report this (as well as the 3/4 other much more serious issues I’m having). I use gdm, but I remember reproducing this accidentally with plain X. What I found out, at least in my case, is that X segfaults when it receives SIGTERM, leaving a busy vt7 (which in my case is actually vt4 as I set it up, but that’s irrelevant) with a glibc memory-related warning message “*** glibc detected ***”. This causes vt7 to be unavailable to any other programs. What’s weird is that it only happens once: it’s not like the next-started X will crash on vt8 leaving that busy, forcing the next to take vt9 and so on; instead, any X started after the segfaulting first one will terminate properly. This is why we all experience X “moving” from vt7 to vt8, instead of vt7 to vt8 to vt9 and so on. Last night I finally decided to remotely run gdb on the running X via ssh, after ensuring most loaded binaries had their symbols available; attached is the entire gdb session. $ emerge --info Portage 2.1.9.42 (default/linux/x86/10.0, gcc-4.4.5, libc-0-r0, 2.6.38-gentoo-r6 i686) ================================================================= System uname: Linux-2.6.38-gentoo-r6-i686-Intel-R-_Core-TM-2_Duo_CPU_T8100_@_2.10GHz-with-gentoo-2.0.2 Timestamp of tree: Fri, 17 Jun 2011 23:15:01 +0000 distcc 3.1 i686-pc-linux-gnu [disabled] app-shells/bash: 4.1_p9 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.1-r1, 3.1.3-r1::local overlay dev-util/cmake: 2.8.4-r1 sys-apps/baselayout: 2.0.2 sys-apps/openrc: 0.8.2-r1 sys-apps/sandbox: 2.4 sys-devel/autoconf: 2.13, 2.65-r1 sys-devel/automake: 1.9.6-r3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.5 sys-devel/gcc-config: 1.4.1-r1 sys-devel/libtool: 2.2.10 sys-devel/make: 3.82 sys-kernel/linux-headers: 2.6.36.1 sys-libs/glibc: 2.12.2 virtual/os-headers: 0 ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="* -@EULA AdobeFlash-10.1 PUEL skype-eula" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=core2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php4/ext-active/ /etc/php/apache2-php5.2/ext-active/ /etc/php/cgi-php4/ext-active/ /etc/php/cgi-php5.2/ext-active/ /etc/php/cli-php4/ext-active/ /etc/php/cli-php5.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -march=core2 -pipe" DISTDIR="/depot/portage/distfiles" FEATURES="assume-digests binpkg-logs buildpkg distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch usersync" FFLAGS="" GENTOO_MIRRORS=" ftp://mirrors.rit.edu/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ " LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="it" MAKEOPTS="-j4" PKGDIR="/depot/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync.exclude" 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="/var/tmp" PORTDIR="/var/lib/portage/tree" PORTDIR_OVERLAY="/var/lib/portage/overlays/local" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X acl acpi aio alsa bash-completion branding bzip2 cairo cdda cddb cdr cli consolekit crypt cups cxx dbus dga dri eds encode exif fat fbcon ffmpeg flac fontconfig ftp fuse gconf gd gif gimp gnome gnome-keyring gnutls gphoto2 gstreamer gtk hddtemp iconv ieee1394 ipv6 jpeg jpeg2k lcms libnotify lm_sensors lzma midi mmap mmx mng modules mp3 mpeg mudflap nautilus ncurses nls nptl nptlonly nsplugin ntfs offensive ogg opengl openmp pam pch pcre pdf png policykit posix pppd qt3support samba session smp sockets sqlite sqlite3 sse sse2 sse3 ssl ssse3 startup-notification svg symlink sysfs syslog system-sqlite sysvipc tcpd theora threads thumbnail tiff truetype udev unicode v4l v4l2 vaapi vorbis wifi x86 xattr xorg xpm xulrunner xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" APACHE2_MODULES="actions alias asis auth_basic authz_host autoindex cgi cgid dir env headers ident include log_config mime mime_magic negotiation rewrite version" APACHE2_MPMS="worker" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="i386 ppc x86_64" QEMU_USER_TARGETS="ppc x86_64" RUBY_TARGETS="ruby18" SANE_BACKENDS="epson epson2" USERLAND="GNU" VIDEO_CARDS="intel" 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" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS A ton of stuff has changed since 2011. Do we still care? Reopen if we do... |