Bug#579425: Still no dice, but a segfault instead

2010-09-28 Thread Sven Joachim
On 2010-05-13 02:15 +0200, Stefan Monnier wrote:

> Package: xserver-xorg-video-nouveau
> Version: 1:0.0.15+git20100329+7858345-3
> Severity: normal
>
> So I upgraded to 2.6.32-12 (after spending some time to finally understand 
> it's
> named 2.6.32-5) as well as 2.6.33-experimentl4 (couldn't find the 
> experimental5
> you mention), and booted without the vga= argument.
> The result is a segfault apparently related to libdrm-nouveau, so I tried to
> upgrade the packages that seemed relevant to `unstable', but it did not make
> any difference as you can see in the attached "system info".

The segfault in libdrm-nouveau has been fixed in the meantime, could you
give xserver-xorg-video-nouveau another try?  If you use a kernel later
than 2.6.33, you need the package from experimental.

Thanks,
   Sven



-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87vd5p7lhc@turtle.gmx.de



Bug#579425: Still no dice, but a segfault instead

2010-05-13 Thread Sven Joachim
On 2010-05-13 15:14 +0200, Stefan Monnier wrote:

>>> So I upgraded to 2.6.32-12 (after spending some time to finally understand 
>>> it's
>>> named 2.6.32-5) as well as 2.6.33-experimentl4 (couldn't find the 
>>> experimental5
>>> you mention), and booted without the vga= argument.
>>> The result is a segfault apparently related to libdrm-nouveau, so I tried to
>>> upgrade the packages that seemed relevant to `unstable', but it did not make
>>> any difference as you can see in the attached "system info".
>
>> Could you please apply the following patch to libdrm?  Alternatively,
>> use the libdrm packages from experimental where the segfault should also
>> be fixed.
>
> I installed libdrm-nouveau1 2.4.20-2 from experimental and tried again,
> but the result is unchanged.

Sorry, my fault.  The segfault is fixed in 2.4.20 upstream but not in
the Debian 2.4.20-2 version.  Please apply the patch instead.

Sven



-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87vdarap4x@turtle.gmx.de



Bug#579425: Still no dice, but a segfault instead

2010-05-13 Thread Stefan Monnier
>> So I upgraded to 2.6.32-12 (after spending some time to finally understand 
>> it's
>> named 2.6.32-5) as well as 2.6.33-experimentl4 (couldn't find the 
>> experimental5
>> you mention), and booted without the vga= argument.
>> The result is a segfault apparently related to libdrm-nouveau, so I tried to
>> upgrade the packages that seemed relevant to `unstable', but it did not make
>> any difference as you can see in the attached "system info".

> Could you please apply the following patch to libdrm?  Alternatively,
> use the libdrm packages from experimental where the segfault should also
> be fixed.

I installed libdrm-nouveau1 2.4.20-2 from experimental and tried again,
but the result is unchanged.


Stefan



-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/jwv39xw6j5d.fsf-monnier+in...@gnu.org



Bug#579425: Still no dice, but a segfault instead

2010-05-12 Thread Sven Joachim
On 2010-05-13 02:15 +0200, Stefan Monnier wrote:

> So I upgraded to 2.6.32-12 (after spending some time to finally understand 
> it's
> named 2.6.32-5) as well as 2.6.33-experimentl4 (couldn't find the 
> experimental5
> you mention), and booted without the vga= argument.
> The result is a segfault apparently related to libdrm-nouveau, so I tried to
> upgrade the packages that seemed relevant to `unstable', but it did not make
> any difference as you can see in the attached "system info".

Could you please apply the following patch to libdrm?  Alternatively,
use the libdrm packages from experimental where the segfault should also
be fixed.

--8<---cut here---start->8---
diff -u libdrm-2.4.18/debian/changelog libdrm-2.4.18/debian/changelog
--- libdrm-2.4.18/debian/changelog
+++ libdrm-2.4.18/debian/changelog
@@ -1,3 +1,10 @@
+libdrm (2.4.18-6) UNRELEASED; urgency=low
+
+  * New patch 04_fix_nouveau_bo_new_tile_segfault.diff, backported from
+upstream commit df32c307e8f81b46ee8aa4dd7222fc18f175bbb3.
+
+ -- Sven Joachim   Thu, 13 May 2010 07:06:57 +0200
+
 libdrm (2.4.18-5) unstable; urgency=low
 
   * Upload to unstable.
diff -u libdrm-2.4.18/debian/patches/series libdrm-2.4.18/debian/patches/series
--- libdrm-2.4.18/debian/patches/series
+++ libdrm-2.4.18/debian/patches/series
@@ -2,0 +3 @@
+04_fix_nouveau_bo_new_tile_segfault.diff
only in patch2:
unchanged:
--- libdrm-2.4.18.orig/debian/patches/04_fix_nouveau_bo_new_tile_segfault.diff
+++ libdrm-2.4.18/debian/patches/04_fix_nouveau_bo_new_tile_segfault.diff
@@ -0,0 +1,21 @@
+Index: b/nouveau/nouveau_bo.c
+===
+--- a/nouveau/nouveau_bo.c
 b/nouveau/nouveau_bo.c
+@@ -198,14 +198,14 @@
+   if (flags & (NOUVEAU_BO_VRAM | NOUVEAU_BO_GART)) {
+   ret = nouveau_bo_kalloc(nvbo, NULL);
+   if (ret) {
+-  nouveau_bo_ref(NULL, (void *)nvbo);
++  nouveau_bo_ref(NULL, (void *)&nvbo);
+   return ret;
+   }
+ 
+   if (flags & NOUVEAU_BO_PIN) {
+   ret = nouveau_bo_pin((void *)nvbo, nvbo->flags);
+   if (ret) {
+-  nouveau_bo_ref(NULL, (void *)nvbo);
++  nouveau_bo_ref(NULL, (void *)&nvbo);
+   return ret;
+   }
+   }

--8<---cut here---end--->8---

Sven



-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87k4r8bce8@turtle.gmx.de



Bug#579425: Still no dice, but a segfault instead

2010-05-12 Thread Stefan Monnier
Package: xserver-xorg-video-nouveau
Version: 1:0.0.15+git20100329+7858345-3
Severity: normal

So I upgraded to 2.6.32-12 (after spending some time to finally understand it's
named 2.6.32-5) as well as 2.6.33-experimentl4 (couldn't find the experimental5
you mention), and booted without the vga= argument.
The result is a segfault apparently related to libdrm-nouveau, so I tried to
upgrade the packages that seemed relevant to `unstable', but it did not make
any difference as you can see in the attached "system info".



-- Package-specific info:
/var/lib/x11/X.roster does not exist.

/var/lib/x11/X.md5sum does not exist.

X server symlink status:
lrwxrwxrwx 1 root root 13 Jul  5  2006 /etc/X11/X -> /usr/bin/Xorg
-rwxr-xr-x 1 root root 1725256 May  4 09:51 /usr/bin/Xorg

/var/lib/x11/xorg.conf.roster does not exist.

VGA-compatible devices on PCI bus:
01:00.0 VGA compatible controller: nVidia Corporation NV44 [GeForce 6200 
TurboCache(TM)] (rev a1)

/etc/X11/xorg.conf does not exist.

Kernel version (/proc/version):
Linux version 2.6.32-3-686-bigmem (Debian 2.6.32-9) (m...@debian.org) (gcc 
version 4.3.4 (Debian 4.3.4-8) ) #1 SMP Thu Feb 25 06:54:30 UTC 2010

Xorg X server log files on system:
-rw-r--r-- 1 root root 45803 Aug 10  2006 /var/log/Xorg.4.log
-rw-r--r-- 1 root root 48171 Jun 13  2007 /var/log/Xorg.23.log
-rw-r--r-- 1 root root 48301 Jun 13  2007 /var/log/Xorg.22.log
-rw-r--r-- 1 root root 22167 Mar  5  2009 /var/log/Xorg.3.log
-rw-r--r-- 1 root root 48193 Sep 14  2009 /var/log/Xorg.21.log
-rw-r--r-- 1 root root 44255 May  3 08:53 /var/log/Xorg.20.log
-rw-r--r-- 1 root root 19083 May 12 19:49 /var/log/Xorg.2.log
-rw-r--r-- 1 root root 44579 May 12 19:58 /var/log/Xorg.1.log
-rw-r--r-- 1 root root 19082 May 12 20:06 /var/log/Xorg.0.log

Contents of most recent Xorg X server log file
/var/log/Xorg.0.log:

X.Org X Server 1.7.7
Release Date: 2010-05-04
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.32-4-686 i686 Debian
Current Operating System: Linux pastel 2.6.32-5-686-bigmem #1 SMP Sat May 1 
05:03:27 UTC 2010 i686
Kernel command line: root=/dev/mapper/Pastel-root ro 
Build Date: 04 May 2010  03:43:42PM
xorg-server 2:1.7.7-1 (Julien Cristau ) 
Current version of pixman: 0.16.4
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: Wed May 12 19:54:50 2010
(++) Using config file: "/etc/X11/xorg.conf.nouveau"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(==) No Layout section.  Using the first Screen section.
(==) No screen section available. Using defaults.
(**) |-->Screen "Default Screen Section" (0)
(**) |   |-->Monitor ""
(==) No device specified for screen "Default Screen Section".
Using the first device section listed.
(**) |   |-->Device "NV44 with nouveau driver"
(==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
Entry deleted from font path.
(==) FontPath set to:
/usr/share/fonts/X11/misc,
/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,
built-ins
(==) ModulePath set to "/usr/lib/xorg/modules"
(II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable 
AutoAddDevices.
(II) Loader magic: 0x81ea020
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.4
X.Org Video Driver: 6.0
X.Org XInput driver : 7.0
X.Org Server Extension : 2.0
(--) using VT number 5

(--) PCI:*(0:1:0:0) 10de:0161:1043:81ba nVidia Corporation NV44 [GeForce 6200 
TurboCache(TM)] rev 161, Mem @ 0xd000/16777216, 0xc000/268435456, 
0xd100/16777216, BIOS @ 0x/131072
(II) Open ACPI successful (/var/run/acpid.socket)
(II) LoadModule: "extmod"
(II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension SELinux
(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