Bug#861137: xwindows crashes on startup with display with bad edid checksum
Package: xserver-xorg-video-nouveau Version: 1.0.13-2 I installed amd64 stretch. When I booted into stretch for the first time, it displayed some messages saying the EDID checksum was bad, then there was a black screen with an arrow shaped cursor in the center. The computer did not respond to the keyboard or mouse. I could not change to a different virtual terminal. No login prompt was displayed, so the crash probably occurred before the login prompt. Control-alternate-delete and control-alternate-backspace had no effect. The computer is hp pavilion a6110n with amd 64 bit cpu. Display controller is: 00:0d.0 VGA compatible controller [0300]: nVidia Corporation C61 [GeForce 6150SE nForce 430] [10de:03d0] (rev a2) Subsystem: Hewlett-Packard Company Device [103c:2a58] The display has an invalid edid checksum. The display works fine with any software which ignores the edid checksum. In fedora 13, I have been using the xorg nvidia driver which accepts option IgnoreEDIDChecksum in xorg.conf, and the display works perfectly. Stretch crashes in the same manner in recovery mode. Adding kernel boot parameters nomodeset nouveau.modeset=0 caused stretch to crash earlier in the boot process. The last message displayed on the screen was KVM: disabled by bios. Adding kernel boot parameters edid_strict=0 drm_edid_strict=0 drm.edid_strict=0 had no effect. This option is for a proposed kernel patch at https://lists.freedesktop.org/archives/dri-devel/2011-January/006778.html. I do not know if that proposed kernel patch was ever accepted into the kernel, and do not know the exact syntax, but I figured it would not hurt to try. Adding kernel boot parameter drm_kms_helper.edid_firmware=edid/1024x768.bin had no effect. Adding kernel boot parameter drm_kms_helper.edid_firmware=edid/1680x1050.bin resulted in smaller text in the displayed error messages, but otherwise stretch crashed the same. I tried kernel boot parameter drm_kms_helper.edid_firmware=edid.bin. /lib/firmware/edid.bin was a file created by the write edid to file function of the nvidia utilities on fedora 13. This resulted in an error message saying base block of edid firmware is invalid. I do not know if the edid file generated by nvidia utilities is the correct format for the kernel. I tried generating another edid file with get-edid, but get-edid failed. I borrowed a display from a different computer, and stretch xwindows ran ok. /var/log/syslog from the first boot to the first crash: Apr 16 14:32:49 hpx2 systemd[1]: Started Create list of required static device nodes for the current kernel. Apr 16 14:32:49 hpx2 systemd[1]: Starting Create Static Device Nodes in /dev... Apr 16 14:32:49 hpx2 systemd-modules-load[215]: Inserted module 'lp' Apr 16 14:32:49 hpx2 systemd-modules-load[215]: Inserted module 'ppdev' Apr 16 14:32:49 hpx2 systemd-modules-load[215]: Inserted module 'parport_pc' Apr 16 14:32:49 hpx2 systemd[1]: Started Load Kernel Modules. Apr 16 14:32:49 hpx2 systemd[1]: Starting Apply Kernel Variables... Apr 16 14:32:49 hpx2 systemd[1]: Mounted Huge Pages File System. Apr 16 14:32:49 hpx2 systemd[1]: Mounted POSIX Message Queue File System. Apr 16 14:32:49 hpx2 systemd[1]: Mounted Debug File System. Apr 16 14:32:49 hpx2 systemd[1]: Started Remount Root and Kernel File Systems. Apr 16 14:32:49 hpx2 systemd[1]: Starting Load/Save Random Seed... Apr 16 14:32:49 hpx2 systemd[1]: Starting Flush Journal to Persistent Storage... Apr 16 14:32:49 hpx2 systemd[1]: Starting udev Coldplug all Devices... Apr 16 14:32:49 hpx2 systemd[1]: Started Apply Kernel Variables. Apr 16 14:32:49 hpx2 systemd[1]: Started Load/Save Random Seed. Apr 16 14:32:49 hpx2 systemd[1]: Started Flush Journal to Persistent Storage. Apr 16 14:32:49 hpx2 systemd[1]: Started udev Coldplug all Devices. Apr 16 14:32:49 hpx2 systemd[1]: Started Set the console keyboard layout. Apr 16 14:32:49 hpx2 systemd[1]: Started Create Static Device Nodes in /dev. Apr 16 14:32:49 hpx2 systemd[1]: Reached target Local File Systems (Pre). Apr 16 14:32:49 hpx2 systemd[1]: Reached target Local File Systems. Apr 16 14:32:49 hpx2 systemd[1]: Starting Set console font and keymap... Apr 16 14:32:49 hpx2 systemd[1]: Starting Create Volatile Files and Directories... Apr 16 14:32:49 hpx2 systemd[1]: Starting Raise network interfaces... Apr 16 14:32:49 hpx2 systemd[1]: Starting udev Kernel Device Manager... Apr 16 14:32:49 hpx2 systemd[1]: Started Set console font and keymap. Apr 16 14:32:49 hpx2 systemd[1]: Started Create Volatile Files and Directories. Apr 16 14:32:49 hpx2 systemd[1]: Starting Network Time Synchronization... Apr 16 14:32:49 hpx2 systemd[1]: Starting Update UTMP about System Boot/Shutdown... Apr 16 14:32:49 hpx2 systemd[1]: Started Update UTMP about System Boot/Shutdown. Apr 16 14:32:49 hpx2 systemd[1]: Started Network Time Synchronization. Apr 16 14:32:49 hpx2 systemd[1]: Reached target System Time Synchronized. Apr 16 14:32:49 hpx2 systemd[1]: Reloading. Apr 16
xorg: Changes to 'ubuntu'
debian/changelog | 34 -- debian/compat |2 +- debian/control |7 ++- debian/rules |2 +- debian/x11-common.postinst |4 ++-- 5 files changed, 38 insertions(+), 11 deletions(-) New commits: commit 66373f4bd28bfe64d9e6f49cd75bb2757e77e3e1 Author: Timo AaltonenDate: Mon Apr 24 16:39:22 2017 +0300 update changelog, release diff --git a/debian/changelog b/debian/changelog index 242d090..48d61cf 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +xorg (1:7.7+18ubuntu1) artful; urgency=medium + + * Merge from Debian. +- drop -synaptics from -input-all Recommends (LP: #1685542) + + -- Timo Aaltonen Mon, 24 Apr 2017 16:38:55 +0300 + xorg (1:7.7+18) unstable; urgency=medium * Call db_purge without arguments in postinst to fix error uncovered by commit 1f4d2a18493f894bf63cc7587d7ef3806be1cd26 Author: Timo Aaltonen Date: Tue Apr 4 00:48:02 2017 +0300 release to zesty diff --git a/debian/changelog b/debian/changelog index 6accf06..8c68096 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,11 +1,11 @@ -xorg (1:7.7+16ubuntu3) UNRELEASED; urgency=medium +xorg (1:7.7+16ubuntu3) zesty; urgency=medium * control: Drop alt recommends on xorg-driver-video, because it makes no sense for Recommends. * control: Drop xserver-xorg-video-freedreno from video-all (arm). (LP: #1679323) - -- Timo Aaltonen Wed, 01 Feb 2017 10:44:07 +0200 + -- Timo Aaltonen Tue, 04 Apr 2017 00:47:23 +0300 xorg (1:7.7+16ubuntu2) zesty; urgency=medium commit e65d05182e7ce5958fd46435bbe3bfae36ab7fd4 Author: Timo Aaltonen Date: Tue Apr 4 00:47:20 2017 +0300 control: Drop xserver-xorg-video-freedreno from video-all (arm). (LP: #1679323) diff --git a/debian/changelog b/debian/changelog index 29066a0..6accf06 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,8 @@ xorg (1:7.7+16ubuntu3) UNRELEASED; urgency=medium * control: Drop alt recommends on xorg-driver-video, because it makes no sense for Recommends. + * control: Drop xserver-xorg-video-freedreno from video-all (arm). +(LP: #1679323) -- Timo Aaltonen Wed, 01 Feb 2017 10:44:07 +0200 diff --git a/debian/control b/debian/control index c2f2049..f23c79a 100644 --- a/debian/control +++ b/debian/control @@ -55,7 +55,6 @@ Depends: xserver-xorg-video-amdgpu [!hurd-any !kfreebsd-any !s390x], xserver-xorg-video-ati [!hurd-any !s390x], xserver-xorg-video-fbdev [!s390x], - xserver-xorg-video-freedreno [arm64 armel armhf], xserver-xorg-video-dummy [s390x], xserver-xorg-video-nouveau [amd64 arm64 armhf i386 powerpc x32], xserver-xorg-video-vesa [!s390x], commit 0dc2ca8b5d161437e49af9eb9adc5eecb7a9d950 Author: Julien Cristau Date: Wed Nov 23 08:50:59 2016 +0100 Upload to unstable diff --git a/debian/changelog b/debian/changelog index c794f9b..fd0a6a2 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,10 +1,10 @@ -xorg (1:7.7+18) UNRELEASED; urgency=medium +xorg (1:7.7+18) unstable; urgency=medium * Call db_purge without arguments in postinst to fix error uncovered by adding "set -e" in 1:7.7+17 (closes: #845398). Thanks, Samuel Thibault and Tianon Gravi! - -- Julien Cristau Wed, 23 Nov 2016 08:34:41 +0100 + -- Julien Cristau Wed, 23 Nov 2016 08:50:50 +0100 xorg (1:7.7+17) unstable; urgency=medium commit 2c7fd3d94825f4fd9a770a824a712dfcda109835 Author: Julien Cristau Date: Wed Nov 23 08:42:42 2016 +0100 Call db_purge without arguments in postinst Fixes error uncovered by adding "set -e" in 1:7.7+17 (closes: #845398). Thanks, Samuel Thibault and Tianon Gravi! The bug was introduced by me in 1:7.7+10 but was hidden until now because errors were being ignored. Yay me. diff --git a/debian/changelog b/debian/changelog index 8c53b1e..c794f9b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +xorg (1:7.7+18) UNRELEASED; urgency=medium + + * Call db_purge without arguments in postinst to fix error uncovered by +adding "set -e" in 1:7.7+17 (closes: #845398). Thanks, Samuel Thibault +and Tianon Gravi! + + -- Julien Cristau Wed, 23 Nov 2016 08:34:41 +0100 + xorg (1:7.7+17) unstable; urgency=medium [ Andreas Boll ] diff --git a/debian/x11-common.postinst b/debian/x11-common.postinst index 2230165..e84e126 100644 --- a/debian/x11-common.postinst +++ b/debian/x11-common.postinst @@ -4,8 +4,7 @@ set -e if [ -f /usr/share/debconf/confmodule ]; then . /usr/share/debconf/confmodule - db_purge x11-common/xwrapper/allowed_users - db_purge x11-common/xwrapper/actual_allowed_users + db_purge fi #DEBHELPER# commit
Bug#861073: libxinerama failed to cross build at configure
Source: libxinerama Version: 2:1.1.3-1 Severity: normal Tags: patch Hi, libxinerama fails when cross-compile with dpkg-buildpackage: $ CONFIG_SITE=/etc/dpkg-cross/cross-config.armhf DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -aarmhf By default, in configure, "malloc0returnsnull" is "auto" and it requires compile and run a test code which cannot execute when cross build. Error: | checking whether malloc(0) returns NULL... configure: error: in `libxinerama-1.1.3/build': | configure: error: cannot run test program while cross compiling The cross-compile could pass if option "malloc0returnsnull" is specified ("enable" or "disable"). I think we could add this option to debian/rules. I've attached a patch for this. In the patch, option "--disable-malloc0returnsnull" is default, but option "--enable-malloc0returnsnull" will be called if param "malloc0returnsnull" is passed to DEB_BUILD_OPTIONS. Trung. -- System Information: Debian Release: 9.0 APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: armhf Kernel: Linux 3.16.0-4-amd64 (SMP w/16 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash --- libxinerama-1.1.3/debian/rules 2017-04-20 03:52:14.0 -0400 +++ libxinerama-1.1.3/debian/rules 2017-04-20 03:52:35.4 -0400 @@ -28,6 +28,15 @@ endif confflags += $(shell DEB_CFLAGS_MAINT_APPEND=-Wall dpkg-buildflags --export=configure) +# cannot run test code for malloc0returnsnull when cross compile +ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE)) + ifeq (,$(findstring malloc0returnsnull,$(DEB_BUILD_OPTIONS))) + confflags += --disable-malloc0returnsnull + else + confflags += --enable-malloc0returnsnull + endif +endif + build: build-arch build-indep build-arch: build-stamp build-indep: -- This mail was scanned by BitDefender For more information please visit http://www.bitdefender.com
Bug#861071: x11-common_ssh-agent can be cleaned up
Package: x11-common Version: 1:7.7+18 Severity: minor Tags: patch Hi, the times of ssh 1 are long gone. Squeeze doesn't have it any more. I don't have any older releases handy to check, but I think that it is reasonably safe for stretch to clean up 90x11-common_ssh-agent: --- 90x11-common_ssh-agent 2017-04-24 12:56:05.131727153 +0200 +++ 90x11-common_ssh-agent.cleaned 2017-04-24 13:31:40.781613715 +0200 @@ -7,13 +7,8 @@ SSHAGENTARGS= if has_option use-ssh-agent; then - if [ -x "$SSHAGENT" ] && [ -z "$SSH_AUTH_SOCK" ] \ - && [ -z "$SSH2_AUTH_SOCK" ]; then + if [ -x "$SSHAGENT" ] && [ -z "$SSH_AUTH_SOCK" ]; then STARTSSH=yes -if [ -f /usr/bin/ssh-add1 ] && cmp -s $SSHAGENT /usr/bin/ssh-agent2; then - # use ssh-agent2's ssh-agent1 compatibility mode - SSHAGENTARGS=-1 -fi fi fi or even: --- 90x11-common_ssh-agent 2017-04-24 12:56:05.131727153 +0200 +++ 90x11-common_ssh-agent.cleaned 2017-04-24 13:33:07.377853464 +0200 @@ -7,18 +7,9 @@ SSHAGENTARGS= if has_option use-ssh-agent; then - if [ -x "$SSHAGENT" ] && [ -z "$SSH_AUTH_SOCK" ] \ - && [ -z "$SSH2_AUTH_SOCK" ]; then -STARTSSH=yes -if [ -f /usr/bin/ssh-add1 ] && cmp -s $SSHAGENT /usr/bin/ssh-agent2; then - # use ssh-agent2's ssh-agent1 compatibility mode - SSHAGENTARGS=-1 -fi + if [ -x "$SSHAGENT" ] && [ -z "$SSH_AUTH_SOCK" ]; then +STARTUP="$SSHAGENT $SSHAGENTARGS ${TMPDIR:+env TMPDIR=$TMPDIR} $STARTUP" fi fi -if [ -n "$STARTSSH" ]; then - STARTUP="$SSHAGENT $SSHAGENTARGS ${TMPDIR:+env TMPDIR=$TMPDIR} $STARTUP" -fi - # vim:set ai et sts=2 sw=2 tw=80: resulting in a very easy # $Id: 90x11-common_ssh-agent 305 2005-07-03 18:51:43Z dnusinow $ # This file is sourced by Xsession(5), not executed. STARTSSH= SSHAGENT=/usr/bin/ssh-agent SSHAGENTARGS= if has_option use-ssh-agent; then if [ -x "$SSHAGENT" ] && [ -z "$SSH_AUTH_SOCK" ]; then STARTUP="$SSHAGENT $SSHAGENTARGS ${TMPDIR:+env TMPDIR=$TMPDIR} $STARTUP" fi fi # vim:set ai et sts=2 sw=2 tw=80: Greetings Marc
Bug#658124: x11-common: Xsession should not start ssh-agent (should be a user-level choice)
On Wed, Feb 01, 2012 at 09:27:43PM +0100, Julien Cristau wrote: > On Tue, Jan 31, 2012 at 15:46:28 +0100, Vincent Lefevre wrote: > > Note: /etc/X11/Xsession.d/90x11-common_ssh-agent does some checks > > e.g. by testing whether $SSH_AUTH_SOCK is set, but unfortunately it > > is sourced before the user can get the control on the environment, > > so that there is no good workaround. > > > unset SSH_AUTH_SOCK in ~/.xsessionrc wouldn't work? As pointed out, that's a hack. More clear is this (untested) patch, which will honor STARTSSH pulled in from, e.g. .xsessionrc --- 90x11-common_ssh-agent 2017-04-24 12:56:05.131727153 +0200 +++ /etc/X11/Xsession.d/90x11-common_ssh-agent 2017-04-24 13:03:33.568948463 +0200 @@ -2,12 +2,12 @@ # This file is sourced by Xsession(5), not executed. -STARTSSH= +STARTSSH=${SSHAGENT:-} SSHAGENT=/usr/bin/ssh-agent SSHAGENTARGS= if has_option use-ssh-agent; then - if [ -x "$SSHAGENT" ] && [ -z "$SSH_AUTH_SOCK" ] \ + if [ -z "$STARTSSH" ] && [ -x "$SSHAGENT" ] && [ -z "$SSH_AUTH_SOCK" ] \ && [ -z "$SSH2_AUTH_SOCK" ]; then STARTSSH=yes if [ -f /usr/bin/ssh-add1 ] && cmp -s $SSHAGENT /usr/bin/ssh-agent2; then Greetings Marc -- - Marc Haber | "I don't trust Computers. They | Mailadresse im Header Leimen, Germany| lose things."Winona Ryder | Fon: *49 6224 1600402 Nordisch by Nature | How to make an American Quilt | Fax: *49 6224 1600421
Bug#859929: x11-common: unowned files after upgrade from jessie to stretch and purge: /etc/X11/Xwrapper.config
At 2017-04-23T11:45:03+0200, Julien Cristau wrote: > The wrapper was moved to the xserver-xorg-legacy package, and I'm a bit > worried removing the configuration file in the x11-common maintainer > scripts would break that transition. Ahhh. Did we never get solid support in dpkg for migrating conffiles? That was painful enough back in the XFree86 days that I remember it still. Regards, Branden