Processed: Reassigning to X.org...

2009-04-04 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> reassign 369202 xserver-xorg
Bug#369202: randomly activated 'access keys'
Bug reassigned from package `konqueror' to `xserver-xorg'.

> thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



xorg: Changes to 'ubuntu'

2009-04-04 Thread Bryce Harrington
 debian/apport/source_xorg.py |8 
 debian/changelog |7 +++
 2 files changed, 15 insertions(+)

New commits:
commit a84d559c00c94157e9f8128dd328445a4051aed1
Author: Bryce Harrington 
Date:   Sat Apr 4 00:17:32 2009 -0700

cl

diff --git a/debian/changelog b/debian/changelog
index ad08100..be4e0e4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+xorg (1:7.4~5ubuntu19) UNRELEASED; urgency=low
+
+  * apport/source_xorg.py: Detect ext4, which can indicate freeze bugs due
+to ext4 bug 354822.
+
+ -- Bryce Harrington   Sat, 04 Apr 2009 00:16:48 -0700
+
 xorg (1:7.4~5ubuntu18) jaunty; urgency=low
 
   * local/dexconf: Don't use cirrus on kvm (Technical Corp. Device )

commit c8c4dea6d09c41deec7a8d1f934829f2113c61c2
Author: Bryce Harrington 
Date:   Sat Apr 4 00:15:50 2009 -0700

Add capture of ext4 usage (could result in freeze bug #354822)

diff --git a/debian/apport/source_xorg.py b/debian/apport/source_xorg.py
index 3f0a9f8..dfbbaf4 100644
--- a/debian/apport/source_xorg.py
+++ b/debian/apport/source_xorg.py
@@ -98,6 +98,14 @@ def add_info(report):
 pass
 
 try:
+script = subprocess.Popen(['mount', '-t', 'ext4'], 
stdout=subprocess.PIPE)
+matches = script.communicate()[0]
+if (matches):
+report['ext4'] = matches
+except OSError:
+pass
+
+try:
 script = subprocess.Popen(['grep', 'fglrx', '/var/log/kern.log', 
'/proc/modules'], stdout=subprocess.PIPE)
 matches = script.communicate()[0]
 if (matches):


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



libdrm: Changes to 'ubuntu'

2009-04-04 Thread Christopher Halse Rogers
 debian/changelog  |   10 +
 debian/patches/02_libdrm_nouveau_update.patch |  160 ++
 debian/patches/series |1 
 3 files changed, 171 insertions(+)

New commits:
commit 261dc4b4786dca60167ef83bd43ea55efa1e1682
Author: Christopher James Halse Rogers 
Date:   Sat Apr 4 19:17:41 2009 +1100

Finalise changelog

diff --git a/debian/changelog b/debian/changelog
index 176504a..e0bfac9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+libdrm (2.4.5-0ubuntu5) jaunty; urgency=low
+
+  * debian/patches/02_libdrm_nouveau_update.patch:
+- Pull in upstream changes to libdrm-nouveau.  
+  + Fixes a memory leak in fence handling.
+  + Fixes an error the DDX reports in accessing the frontbuffer.
+  + Should be reverted for the next upstream version of libdrm.
+
+ -- Christopher James Halse Rogers   Sat, 04 Apr 2009 
17:54:51 +1100
+
 libdrm (2.4.5-0ubuntu4) jaunty; urgency=low
 
   * debian/libdrm-nouveau1.symbols:

commit a162a1c8507bec0bca25194a10767b9dc2054225
Author: Christopher James Halse Rogers 
Date:   Sat Apr 4 19:09:25 2009 +1100

debian/patches/02_libdrm_nouveau_update.patch - Pull in changes to 
libdrm-nouveau since 2.4.5.
This fixes some errors the DDX with otherwise generate regarding accessing 
the front buffer.

diff --git a/debian/patches/02_libdrm_nouveau_update.patch 
b/debian/patches/02_libdrm_nouveau_update.patch
new file mode 100644
index 000..3fef730
--- /dev/null
+++ b/debian/patches/02_libdrm_nouveau_update.patch
@@ -0,0 +1,160 @@
+diff --git a/libdrm/nouveau/Makefile.am b/libdrm/nouveau/Makefile.am
+index 80fb780..688eeca 100644
+--- a/libdrm/nouveau/Makefile.am
 b/libdrm/nouveau/Makefile.am
+@@ -19,7 +19,9 @@ libdrm_nouveau_la_SOURCES = \
+   nouveau_bo.c \
+   nouveau_resource.c \
+   nouveau_dma.c \
+-  nouveau_fence.c
++  nouveau_fence.c \
++  nouveau_dma.h \
++  nouveau_private.h
+ 
+ libdrm_nouveaucommonincludedir = ${includedir}/nouveau
+ libdrm_nouveaucommoninclude_HEADERS = \
+diff --git a/libdrm/nouveau/nouveau_bo.c b/libdrm/nouveau/nouveau_bo.c
+index 6b9877f..023c6be 100644
+--- a/libdrm/nouveau/nouveau_bo.c
 b/libdrm/nouveau/nouveau_bo.c
+@@ -347,24 +347,25 @@ nouveau_bo_handle_get(struct nouveau_bo *bo, uint32_t 
*handle)
+   if (!bo || !handle)
+   return -EINVAL;
+ 
+-  if (!nvdev->mm_enabled)
+-  return -ENODEV;
+-
+   if (!nvbo->global_handle) {
+   struct drm_gem_flink req;
+  
+   ret = nouveau_bo_kalloc(nvbo, NULL);
+   if (ret)
+   return ret;
+- 
+-  req.handle = nvbo->handle;
+-  ret = ioctl(nvdev->fd, DRM_IOCTL_GEM_FLINK, &req);
+-  if (ret) {
+-  nouveau_bo_kfree(nvbo);
+-  return ret;
++
++  if (nvdev->mm_enabled) {
++  req.handle = nvbo->handle;
++  ret = ioctl(nvdev->fd, DRM_IOCTL_GEM_FLINK, &req);
++  if (ret) {
++  nouveau_bo_kfree(nvbo);
++  return ret;
++  }
++   
++  nvbo->global_handle = req.name;
++  } else {
++  nvbo->global_handle = nvbo->offset;
+   }
+- 
+-  nvbo->global_handle = req.name;
+   }
+  
+   *handle = nvbo->global_handle;
+@@ -412,6 +413,8 @@ nouveau_bo_del_cb(void *priv)
+ {
+   struct nouveau_bo_priv *nvbo = priv;
+ 
++  nouveau_fence_ref(NULL, &nvbo->fence);
++  nouveau_fence_ref(NULL, &nvbo->wr_fence);
+   nouveau_bo_kfree(nvbo);
+   free(nvbo);
+ }
+diff --git a/libdrm/nouveau/nouveau_device.c b/libdrm/nouveau/nouveau_device.c
+index b5ac854..a61abb4 100644
+--- a/libdrm/nouveau/nouveau_device.c
 b/libdrm/nouveau/nouveau_device.c
+@@ -76,6 +76,22 @@ nouveau_device_open_existing(struct nouveau_device **dev, 
int close,
+   }
+   nvdev->base.vm_vram_base = value;
+ 
++  ret = nouveau_device_get_param(&nvdev->base,
++ NOUVEAU_GETPARAM_FB_SIZE, &value);
++  if (ret) {
++  nouveau_device_close((void *)&nvdev);
++  return ret;
++  }
++  nvdev->vram_aper_size = value;
++
++  ret = nouveau_device_get_param(&nvdev->base,
++ NOUVEAU_GETPARAM_AGP_SIZE, &value);
++  if (ret) {
++  nouveau_device_close((void *)&nvdev);
++  return ret;
++  }
++  nvdev->gart_aper_size = value;
++
+   ret = nouveau_bo_init(&nvdev->base);
+   if (ret) {
+   nouveau_device_close((void *)&nvdev);
+@@ -128,7 +144,7 @@ nouveau_device_close(struct nouveau_device **dev)
+ {
+  

Bug#522431: /usr/bin/xrandr: when changing the screen orientation, the resolution (dpi) is messed up

2009-04-04 Thread Sven Marnach
Julien Cristau schrieb am Fr, 03. Apr 2009, um 20:34:20 +0200:
> xrandr reports whatever the server tells it, reassigning.  Please send
> the X log so we know which version you're running.

Here you go:


This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.

X.Org X Server 1.5.99.902 (1.6.0 RC 2)
Release Date: 2009-1-30
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.18.3xenu i686 Debian
Current Operating System: Linux bagheera 2.6.29-1-686-bigmem #1 SMP Wed Mar 25 
00:01:39 UTC 2009 i686
Build Date: 12 February 2009  11:13:54AM
xorg-server 2:1.5.99.902-1 (buildd@) 
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sat Apr  4 12:02:53 2009
(==) Using config file: "/etc/X11/xorg.conf"
(==) No Layout section.  Using the first Screen section.
(**) |-->Screen "Default Screen" (0)
(**) |   |-->Monitor "Configured Monitor"
(==) No device specified for screen "Default Screen".
Using the first device section listed.
(**) |   |-->Device "Configured Video Device"
(**) Option "DontZap" "off"
(==) Automatically adding devices
(==) Automatically enabling devices
(==) No FontPath specified.  Using compiled-in default.
(==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/cyrillic,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType
(==) ModulePath set to "/usr/lib/xorg/modules"
(II) Cannot locate a core pointer device.
(II) Cannot locate a core keyboard device.
(II) The server relies on HAL to provide the list of input devices.
If no devices become available, reconfigure HAL or disable 
AllowEmptyInput.
(II) Loader magic: 0x6a0
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.4
X.Org Video Driver: 5.0
X.Org XInput driver : 4.0
X.Org Server Extension : 2.0
(II) Loader running on linux
(++) using VT number 7

(--) PCI:*(0...@0:2:0) Intel Corporation Mobile 4 Series Chipset Integrated 
Graphics Controller rev 7, Mem @ 0xf6c0/0, 0xe000/0, I/O @ 0xef70/0
(--) PCI: (0...@0:2:1) Intel Corporation Mobile 4 Series Chipset Integrated 
Graphics Controller rev 7, Mem @ 0xf6b0/0
(II) Open ACPI successful (/var/run/acpid.socket)
(II) System resource ranges:
[0] -1  0   0x - 0x (0x1) MX[B]
[1] -1  0   0x000f - 0x000f (0x1) MX[B]
[2] -1  0   0x000c - 0x000e (0x3) MX[B]
[3] -1  0   0x - 0x0009 (0xa) MX[B]
[4] -1  0   0x - 0x (0x1) IX[B]
[5] -1  0   0x - 0x (0x1) IX[B]
(II) LoadModule: "extmod"
(II) Loading /usr/lib/xorg/modules/extensions//libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
compiled for 1.5.99.902, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "dbe"
(II) Loading /usr/lib/xorg/modules/extensions//libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
compiled for 1.5.99.902, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions//libglx.so
(II) Module glx: vendor="X.Org Foundation"
compiled for 1.5.99.902, module version = 1.0.0
ABI class: X.Org Server Extension, version 2.0
(==) AIGLX enabled
(==) Exporting typical set of GLX visuals
(II) Loading extension GLX
(II) LoadModule: "record"
(II) Loading /usr/lib/xorg/modules/extensions//librecord.so
(II) Module record: vendor="X.Org Foundation"
compiled for 1.5.99.902, module version = 1.13.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension RECORD
(II) LoadModule: "dri"
(II) Loading /usr/lib/xorg/modu

Processed: found 522431 in 2:1.5.99.902-1

2009-04-04 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> found 522431 2:1.5.99.902-1
Bug#522431: /usr/bin/xrandr: when changing the screen orientation, the 
resolution (dpi) is messed up
Bug marked as found in version 2:1.5.99.902-1.

>
End of message, stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



[bts-link] source package mesa

2009-04-04 Thread bts-link-upstream
#
# bts-link upstream status pull for source package mesa
# see http://lists.debian.org/debian-devel-announce/2006/05/msg1.html
#

user bts-link-upstr...@lists.alioth.debian.org

# remote status report for #511494
#  * https://bugs.freedesktop.org/show_bug.cgi?id=17929
#  * remote status changed: ASSIGNED -> RESOLVED
#  * remote resolution changed: (?) -> FIXED
#  * closed upstream
tags 511494 + fixed-upstream
usertags 511494 - status-ASSIGNED
usertags 511494 + status-RESOLVED resolution-FIXED

thanks


--
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



[bts-link] source package xserver-xorg-video-intel

2009-04-04 Thread bts-link-upstream
#
# bts-link upstream status pull for source package xserver-xorg-video-intel
# see http://lists.debian.org/debian-devel-announce/2006/05/msg1.html
#

user bts-link-upstr...@lists.alioth.debian.org

# remote status report for #431032
#  * https://bugs.freedesktop.org/show_bug.cgi?id=11455
#  * remote status changed: RESOLVED -> REOPENED
#  * remote resolution changed: FIXED -> (?)
#  * reopen upstream
tags 431032 - fixed-upstream
usertags 431032 - status-RESOLVED resolution-FIXED
usertags 431032 + status-REOPENED

# remote status report for #514723
#  * https://bugs.freedesktop.org/show_bug.cgi?id=20690
#  * remote status changed: NEW -> RESOLVED
#  * remote resolution changed: (?) -> FIXED
#  * closed upstream
tags 514723 + fixed-upstream
usertags 514723 - status-NEW
usertags 514723 + status-RESOLVED resolution-FIXED

# remote status report for #518953
#  * https://bugs.freedesktop.org/show_bug.cgi?id=20689
#  * remote status changed: NEW -> RESOLVED
#  * remote resolution changed: (?) -> FIXED
#  * closed upstream
tags 518953 + fixed-upstream
usertags 518953 - status-NEW
usertags 518953 + status-RESOLVED resolution-FIXED

thanks


--
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Processed: [bts-link] source package xserver-xorg-video-intel

2009-04-04 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> #
> # bts-link upstream status pull for source package xserver-xorg-video-intel
> # see http://lists.debian.org/debian-devel-announce/2006/05/msg1.html
> #
> user bts-link-upstr...@lists.alioth.debian.org
Setting user to bts-link-upstr...@lists.alioth.debian.org (was 
bts-link-de...@lists.alioth.debian.org).
> # remote status report for #431032
> #  * https://bugs.freedesktop.org/show_bug.cgi?id=11455
> #  * remote status changed: RESOLVED -> REOPENED
> #  * remote resolution changed: FIXED -> (?)
> #  * reopen upstream
> tags 431032 - fixed-upstream
Bug#431032: xserver-xorg-video-i810: LCD won't turn off when docked, on Dell 
laptop
Tags were: fixed-upstream
Tags removed: fixed-upstream

> usertags 431032 - status-RESOLVED resolution-FIXED
Bug#431032: xserver-xorg-video-i810: LCD won't turn off when docked, on Dell 
laptop
Usertags were: status-RESOLVED resolution-FIXED.
Usertags are now: .
> usertags 431032 + status-REOPENED
Bug#431032: xserver-xorg-video-i810: LCD won't turn off when docked, on Dell 
laptop
There were no usertags set.
Usertags are now: status-REOPENED.
> # remote status report for #514723
> #  * https://bugs.freedesktop.org/show_bug.cgi?id=20690
> #  * remote status changed: NEW -> RESOLVED
> #  * remote resolution changed: (?) -> FIXED
> #  * closed upstream
> tags 514723 + fixed-upstream
Bug#514723: xserver-xorg-video-intel: After resuming from suspend, playing a 
movie kills the x server
There were no tags set.
Tags added: fixed-upstream

> usertags 514723 - status-NEW
Bug#514723: xserver-xorg-video-intel: After resuming from suspend, playing a 
movie kills the x server
Usertags were: status-NEW.
Usertags are now: .
> usertags 514723 + status-RESOLVED resolution-FIXED
Bug#514723: xserver-xorg-video-intel: After resuming from suspend, playing a 
movie kills the x server
There were no usertags set.
Usertags are now: status-RESOLVED resolution-FIXED.
> # remote status report for #518953
> #  * https://bugs.freedesktop.org/show_bug.cgi?id=20689
> #  * remote status changed: NEW -> RESOLVED
> #  * remote resolution changed: (?) -> FIXED
> #  * closed upstream
> tags 518953 + fixed-upstream
Bug#518953: xserver-xorg-video-intel: Signal 11 when x server exits
There were no tags set.
Tags added: fixed-upstream

> usertags 518953 - status-NEW
Bug#518953: xserver-xorg-video-intel: Signal 11 when x server exits
Usertags were: status-NEW.
Usertags are now: .
> usertags 518953 + status-RESOLVED resolution-FIXED
Bug#518953: xserver-xorg-video-intel: Signal 11 when x server exits
There were no usertags set.
Usertags are now: status-RESOLVED resolution-FIXED.
> thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Processed: [bts-link] source package mesa

2009-04-04 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> #
> # bts-link upstream status pull for source package mesa
> # see http://lists.debian.org/debian-devel-announce/2006/05/msg1.html
> #
> user bts-link-upstr...@lists.alioth.debian.org
Setting user to bts-link-upstr...@lists.alioth.debian.org (was 
bts-link-de...@lists.alioth.debian.org).
> # remote status report for #511494
> #  * https://bugs.freedesktop.org/show_bug.cgi?id=17929
> #  * remote status changed: ASSIGNED -> RESOLVED
> #  * remote resolution changed: (?) -> FIXED
> #  * closed upstream
> tags 511494 + fixed-upstream
Bug#511494: GL error messages while playing oolite
There were no tags set.
Tags added: fixed-upstream

> usertags 511494 - status-ASSIGNED
Bug#511494: GL error messages while playing oolite
Usertags were: status-ASSIGNED.
Usertags are now: .
> usertags 511494 + status-RESOLVED resolution-FIXED
Bug#511494: GL error messages while playing oolite
There were no usertags set.
Usertags are now: status-RESOLVED resolution-FIXED.
> thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#522226: xserver-xorg-video-intel: screen briefly flashes/flickers a few times an hour

2009-04-04 Thread David Härdeman

I'm pretty certain that what you're seeing is already reported upstream:
https://bugs.freedesktop.org/show_bug.cgi?id=17805

That particular bug is fixed in later versions of the intel driver.

--
David Härdeman



--
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



xorg-server: Changes to 'debian-experimental'

2009-04-04 Thread Julien Cristau
 debian/changelog|1 
 debian/control  |2 
 debian/patches/Add-libgcrypt-as-an-option-for-sha1.diff |   75 
 debian/patches/series   |1 
 4 files changed, 78 insertions(+), 1 deletion(-)

New commits:
commit b0e3c01f73d178d9485a64706b7186b71e3aa178
Author: Julien Cristau 
Date:   Sun Apr 5 00:17:00 2009 +0200

Use libgcrypt for SHA1 instead of OpenSSL's libcrypto.

diff --git a/debian/changelog b/debian/changelog
index 839ff19..4464561 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,7 @@ xorg-server (2:1.6.0-1) UNRELEASED; urgency=low
   * 0001-mi-force-the-paired-kbd-device-before-CopyKeyClass.patch: remove,
 included upstream.
   * Turn on ModeDebug by default.
+  * Use libgcrypt for SHA1 instead of OpenSSL's libcrypto.
 
  -- David Nusinow   Sun, 15 Feb 2009 18:49:51 -0500
 
diff --git a/debian/control b/debian/control
index 9c8ab13..15eb0c5 100644
--- a/debian/control
+++ b/debian/control
@@ -22,7 +22,7 @@ Build-Depends: debhelper (>= 4.0.0), lsb-release, pkg-config, 
bison, flex,
  x11proto-input-dev (>= 1.5), x11proto-dri2-dev (>= 1.99.3),
  libxdmcp-dev (>= 1:0.99.1), libxfont-dev, libfontenc-dev,
  libxkbfile-dev (>= 1:0.99.1), libpixman-1-dev (>= 0.13.2),
- libpciaccess-dev, libssl-dev,
+ libpciaccess-dev, libgcrypt-dev,
  x11proto-xf86dri-dev, libdrm-dev (>= 2.4.3) [!hurd-i386], 
  x11proto-print-dev, libfreetype6-dev, xfonts-utils,
  x11proto-gl-dev (>= 1.4.9), libgl1-mesa-dev (>= 7.2+git20081209.a0d5c3cf),
diff --git a/debian/patches/Add-libgcrypt-as-an-option-for-sha1.diff 
b/debian/patches/Add-libgcrypt-as-an-option-for-sha1.diff
new file mode 100644
index 000..c1cb9f3
--- /dev/null
+++ b/debian/patches/Add-libgcrypt-as-an-option-for-sha1.diff
@@ -0,0 +1,75 @@
+From 6c6bbefdcf8a41dc71f9cbeca7ce972e2661fade Mon Sep 17 00:00:00 2001
+From: Julien Cristau 
+Date: Thu, 2 Apr 2009 02:34:49 +0200
+Subject: [PATCH] Add libgcrypt as an option for sha1
+
+---
+ configure.ac|6 ++
+ include/dix-config.h.in |3 +++
+ render/glyph.c  |   12 
+ 3 files changed, 21 insertions(+), 0 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index f4e1dbb..29e3afc 100644
+--- a/configure.ac
 b/configure.ac
+@@ -1163,6 +1163,12 @@ if test "x$SHA1_LIB" = "x" ; then
+ [Use libmd SHA1 functions instead of OpenSSL libcrypto])])
+ fi
+ 
++if test "x$SHA1_LIB" = "x"; then
++  AC_CHECK_LIB([gcrypt], [gcry_md_open], [SHA1_LIB="-lgcrypt"
++AC_DEFINE([HAVE_SHA1_IN_LIBGCRYPT], [1],
++[Use libgcrypt SHA1 functions instead of OpenSSL libcrypto])])
++fi
++
+ if test "x$SHA1_LIB" = "x" ; then
+   PKG_CHECK_EXISTS([OPENSSL], [openssl], [HAVE_OPENSSL_PKC=yes],
+ [HAVE_OPENSSL_PKC=no])
+diff --git a/include/dix-config.h.in b/include/dix-config.h.in
+index 26ac223..53ce798 100644
+--- a/include/dix-config.h.in
 b/include/dix-config.h.in
+@@ -157,6 +157,9 @@
+ /* Define to use libmd SHA1 functions instead of OpenSSL libcrypto */
+ #undef HAVE_SHA1_IN_LIBMD
+ 
++/* Define to use libgcrypt SHA1 functions instead of OpenSSL libcrypto */
++#undef HAVE_SHA1_IN_LIBGCRYPT
++
+ /* Define to 1 if you have the `shmctl64' function. */
+ #undef HAVE_SHMCTL64
+ 
+diff --git a/render/glyph.c b/render/glyph.c
+index 7c044aa..007d472 100644
+--- a/render/glyph.c
 b/render/glyph.c
+@@ -28,6 +28,8 @@
+ 
+ #ifdef HAVE_SHA1_IN_LIBMD /* Use libmd for SHA1 */
+ # include 
++#elif defined(HAVE_SHA1_IN_LIBGCRYPT)
++# include 
+ #else /* Use OpenSSL's libcrypto */
+ # include   /* buggy openssl/sha.h wants size_t */
+ # include 
+@@ -205,6 +207,16 @@ HashGlyph (xGlyphInfo*gi,
+ SHA1Update (&ctx, gi, sizeof (xGlyphInfo));
+ SHA1Update (&ctx, bits, size);
+ SHA1Final (sha1, &ctx);
++#elif defined(HAVE_SHA1_IN_LIBGCRYPT) /* Use libgcrypt for SHA1 */
++gcry_md_hd_t h;
++gcry_error_t err;
++
++err = gcry_md_open(&h, GCRY_MD_SHA1, 0);
++if (err)
++  return BadAlloc;
++gcry_md_write(h, gi, sizeof (xGlyphInfo));
++gcry_md_write(h, bits, size);
++memcpy(sha1, gcry_md_read(h, GCRY_MD_SHA1), 20);
+ #else /* Use OpenSSL's libcrypto */
+ SHA_CTX ctx;
+ int success;
+-- 
+1.6.2.1
+
diff --git a/debian/patches/series b/debian/patches/series
index ac4fe41..2781388 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@
 #13_debian_add_xkbpath_env_variable.diff
 0001-xorg.conf-5-refer-to-mousedrv-4-.-Debian-394058.patch
 Turn-on-ModeDebug-by-default.patch
+Add-libgcrypt-as-an-option-for-sha1.diff


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



xorg-server: Changes to 'debian-experimental'

2009-04-04 Thread Julien Cristau
 debian/patches/Add-libgcrypt-as-an-option-for-sha1.diff |3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit f84272a81f0fe7f725bccd30543a69564c139c40
Author: Julien Cristau 
Date:   Sun Apr 5 01:06:47 2009 +0200

Fix memory leak in the libgcrypt patch

diff --git a/debian/patches/Add-libgcrypt-as-an-option-for-sha1.diff 
b/debian/patches/Add-libgcrypt-as-an-option-for-sha1.diff
index c1cb9f3..155f36d 100644
--- a/debian/patches/Add-libgcrypt-as-an-option-for-sha1.diff
+++ b/debian/patches/Add-libgcrypt-as-an-option-for-sha1.diff
@@ -53,7 +53,7 @@ index 7c044aa..007d472 100644
  #else /* Use OpenSSL's libcrypto */
  # include   /* buggy openssl/sha.h wants size_t */
  # include 
-@@ -205,6 +207,16 @@ HashGlyph (xGlyphInfo*gi,
+@@ -205,6 +207,17 @@ HashGlyph (xGlyphInfo*gi,
  SHA1Update (&ctx, gi, sizeof (xGlyphInfo));
  SHA1Update (&ctx, bits, size);
  SHA1Final (sha1, &ctx);
@@ -67,6 +67,7 @@ index 7c044aa..007d472 100644
 +gcry_md_write(h, gi, sizeof (xGlyphInfo));
 +gcry_md_write(h, bits, size);
 +memcpy(sha1, gcry_md_read(h, GCRY_MD_SHA1), 20);
++gcry_md_close(h);
  #else /* Use OpenSSL's libcrypto */
  SHA_CTX ctx;
  int success;


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#522226: xserver-xorg-video-intel: screen briefly flashes/flickers a few times an hour

2009-04-04 Thread Sanjoy Mahajan
> I'm pretty certain that what you're seeing is already reported upstream:
> https://bugs.freedesktop.org/show_bug.cgi?id=17805

I just read through that thread.  It looks similar but I'm not too sure.
The reports there were of the whole display blanking for a (short)
while.  Mine doesn't go blank.  Instead a portion of it jitters rapidly
sideways, then recovers (all under 0.1 seconds).  Seen out of the corner
of the eye, it looks like a flash.

But it seems similar to those reports in that sync timings are a likely
culprit.

I'll either wait for a new driver to make it into Debian unstable, or
compile 2.5.1 + patch myself.  Is it reasonable to try the version in
'experimental'?  That seems like it would be a big change to the xorg
file or package layout, so I was a bit worried about using those
packages.

By the way, I just saw the same flash now running 2.6.27.4, so the
problem is not a kernel problem (or not only a kernel problem).  I
wonder why I didn't notice it before though.

-Sanjoy



-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#522602: xdm randomly crashes on logout

2009-04-04 Thread Christian Kastner
Package: xdm
Version: 1:1.1.8-5
Severity: important

Sometimes, when I log out of XFCE4, xdm crashes. I have found four
different types of crashes in /var/log/xdm.log:
A) Crash (with backtrace) because of 'corrupted double-linked list'
B) Crash (with backtrace) because of 'double or free corruption (out)'
C) Crash (with backtrace) because of 'double or free corruption (!prev)'
D) Crash with no backtrace
All crash types produce a final message 'display :0 (pid ) exited with
unexpected status '.

The last step before each crash is 'sourcing /etc/X11/xdm/Xreset'. Setting
no-use-sessreg did not change anything.

The really frustrating part is that I cannot manage to reliably reproduce the
issue, even though I've tried it countless times.

I have attached some log snippets, one snippet for each of the described
crashes. Full logs are available if needed.

Christian


-- System Information:
Debian Release: 5.0
  APT prefers stable
  APT policy: (900, 'stable'), (800, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.29.1.20090404 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages xdm depends on:
ii  cpp   4:4.3.2-2  The GNU C preprocessor (cpp)
ii  debconf [debconf-2.0] 1.5.24 Debian configuration management sy
ii  libc6 2.7-18 GNU C Library: Shared libraries
ii  libice6   2:1.0.4-1  X11 Inter-Client Exchange library
ii  libpam0g  1.0.1-5Pluggable Authentication Modules l
ii  libselinux1   2.0.65-5   SELinux shared libraries
ii  libsm62:1.0.3-2  X11 Session Management library
ii  libx11-6  2:1.1.5-2  X11 client-side library
ii  libxau6   1:1.0.3-3  X11 authorisation library
ii  libxaw7   2:1.0.4-2  X11 Athena Widget library
ii  libxdmcp6 1:1.0.2-3  X11 Display Manager Control Protoc
ii  libxext6  2:1.0.4-1  X11 miscellaneous extension librar
ii  libxft2   2.1.12-3   FreeType-based font drawing librar
ii  libxinerama1  2:1.0.3-2  X11 Xinerama extension library
ii  libxmu6   2:1.0.4-1  X11 miscellaneous utility library
ii  libxpm4   1:3.5.7-1  X11 pixmap library
ii  libxrender1   1:0.9.4-2  X Rendering Extension client libra
ii  libxt61:1.0.5-3  X11 toolkit intrinsics library
ii  lsb-base  3.2-20 Linux Standard Base 3.2 init scrip
ii  x11-common1:7.3+18   X Window System (X.Org) infrastruc
ii  x11-utils 7.3+2+nmu1 X11 utilities
ii  xbase-clients 1:7.3+18   miscellaneous X clients - metapack

xdm recommends no packages.

Versions of packages xdm suggests:
pn  sessreg | xutils   (no description available)

-- debconf information:
  xdm/stop_running_server_with_children: false
  xdm/daemon_name: /usr/bin/xdm
* shared/default-x-display-manager: xdm
Sun Apr  5 06:45:37 2009 xdm info (pid 14984): sourcing /etc/X11/xdm/Xsetup
Sun Apr  5 06:45:54 2009 xdm info (pid 14984): sourcing /etc/X11/xdm/Xstartup
Sun Apr  5 06:45:55 2009 xdm info (pid 15044): executing session 
/etc/X11/xdm/Xsession
SetClientVersion: 0 9
SetKbdSettings - type: 1860 rate: 30 delay: 500 snumlk: 0
Sun Apr  5 06:46:11 2009 xdm info (pid 14984): sourcing /etc/X11/xdm/Xreset
*** glibc detected *** -:0 : corrupted double-linked list: 
0x020ee7c0 ***
=== Backtrace: =
/lib/libc.so.6[0x7fc5dcb37948]
/lib/libc.so.6[0x7fc5dcb37bda]
/lib/libc.so.6[0x7fc5dcb3a2c6]
/lib/libc.so.6(__libc_calloc+0x108)[0x7fc5dcb3b788]
/lib/libc.so.6(getifaddrs+0x237)[0x7fc5dcbb1a67]
-:0 [0x40655e]
-:0 [0x40694e]
-:0 [0x40cb2d]
-:0 [0x40d203]
-:0 [0x40920b]
-:0 [0x40858d]
-:0 [0x409a1a]
-:0 [0x40edb1]
-:0 [0x409eab]
/lib/libc.so.6(__libc_start_main+0xe6)[0x7fc5dcae21a6]
-:0 (getpwnam+0x91)[0x405d99]
=== Memory map: 
0040-0041f000 r-xp  08:01 12836  
/usr/bin/xdm
0061e000-00621000 rw-p 0001e000 08:01 12836  
/usr/bin/xdm
00621000-00623000 rw-p 00621000 00:00 0 
0203d000-02104000 rw-p 0203d000 00:00 0  [heap]
7fc5d400-7fc5d4021000 rw-p 7fc5d400 00:00 0 
7fc5d4021000-7fc5d800 ---p 7fc5d4021000 00:00 0 
7fc5d8b1c000-7fc5d8b26000 r-xp  08:01 24589  
/lib/libnss_files-2.7.so
7fc5d8b26000-7fc5d8d26000 ---p a000 08:01 24589  
/lib/libnss_files-2.7.so
7fc5d8d26000-7fc5d8d28000 rw-p a000 08:01 24589  
/lib/libnss_files-2.7.so
7fc5d8d28000-7fc5d8d32000 r-xp  08:01 24578  
/lib/libnss_nis-2.7.so
7f