NetBSD Problem Report #43493
From kivinen@tiiliskivi.i.kivinen.iki.fi Tue Jun 22 10:23:55 2010
Return-Path: <kivinen@tiiliskivi.i.kivinen.iki.fi>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by www.NetBSD.org (Postfix) with ESMTP id E779763BA4B
for <gnats-bugs@gnats.NetBSD.org>; Tue, 22 Jun 2010 10:23:54 +0000 (UTC)
Message-Id: <20100622102320.B7B167089E@tiiliskivi.i.kivinen.iki.fi>
Date: Tue, 22 Jun 2010 13:17:06 +0300 (EEST)
From: kivinen@iki.fi
Reply-To: kivinen@iki.fi
To: gnats-bugs@gnats.NetBSD.org
Subject: X11 pci enumeration problem
X-Send-Pr-Version: 3.95
>Number: 43493
>Category: pkg
>Synopsis: X11 cannot be started
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jun 22 10:25:00 +0000 2010
>Closed-Date: Thu Jan 03 12:54:44 +0000 2019
>Last-Modified: Thu Jan 03 13:05:01 +0000 2019
>Originator: Tero Kivinen
>Release: NetBSD 5.99.29
>Organization:
>Environment:
System: NetBSD tiiliskivi.i.kivinen.iki.fi 5.99.29 NetBSD 5.99.29 (TIILISKIVI) #1: Fri May 28 11:45:46 EEST 2010 root@tiiliskivi.i.kivinen.iki.fi:/usr/obj/sys/arch/amd64/compile/TIILISKIVI amd64
Architecture: x86_64
Machine: amd64
>Description:
Previously my machine was running 5.99.24 (current from
2010-02-22) and xorg xserver from pkgsrc from the same time
(February 2010).
Last month I updated my machine by getting latest current
(2010-05-15) from cvs and also pkg_deleted all packages, and
reinstalled all of them from the latest current pkgsrc
version.
After this I noticed that X11 does not work anymore, I get
message saying
"No screens found"
or
"Number of created screens does not match number of detected devices.
Configuration failed."
(if running X -configure).
I tried to fall back previous kernel, but that didn't help,
but when I switched back to pkgsrc-2010Q1 tag (matching about
the same time of Xorg xserver I had before update) then the
X11 started working again.
When diffing the log files from those two versions the
difference seems to be:
25c25
< (--) PCI:*(1:1:0:0) 10de:042d:1028:01ff rev 161, Mem @ 0xfd000000/16777216, 0xe0000000/268435456, 0xfa000000/33554432, I/O @ 0x0000df00/128
---
> (--) PCI:*(0:1:0:0) 10de:042d:1028:01ff rev 161, Mem @ 0xfd000000/16777216, 0xe0000000/268435456, 0xfa000000/33554432, I/O @ 0x0000df00/128
...
256c256,277
< (II) Primary Device is: PCI 01@01:00:0
---
> (II) Primary Device is: PCI 01@00:00:0
...
404,405c404,421
< Number of created screens does not match number of detected devices.
< Configuration failed.
---
> (--) NV: Found NVIDIA Quadro FX 360M at 01@00:00:0
> (II) resource ranges after probing:
> [0] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
> [1] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
> [2] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
> [3] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
> [4] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
I.e. it seems the working X11 founds my PCI nv device at
PCI:*(0:1:0:0) and the latest xorg server found from the
pkgsrc claims it is at PCI:*(1:1:0:0), and then when it
actually tries to use it cannot find it and fails with error
claiming that it cannot find any devices (i.e. it finds one
screen, but 0 devices, thus number of screens does not match
the number of detected devices).
This problem didn't seem to be nv specific, as even when I
tried to configure xorg to use vesa driver it didn't work with
even that.
Full Xorg.0.log files can be found from:
http://kivinen.iki.fi/Xorg.0.log-2010-06-20
http://kivinen.iki.fi/Xorg.0.log-2010-06-22
2010-06-20 is the pkgsrc head version and 2010-06-22 is the
pkgsrc-2010Q1 version.
>How-To-Repeat:
# cd /usr/src
# cvs -q up -A -d -P
# ./build release kernel
# install new kernel
# ./build install=/
# pkg_delete -r -k '*'
# cd /usr/pkgsrc
# cvs -q up -A -d -P
# cd x11/modular-xorg-drivers
# make update
# X -configure
(or so, i.e. install latest current, install latest xorg from
pkgsrc, try to use it)
>Fix:
Downgrade back to pkgsrc-2010Q1 tag.
>Release-Note:
>Audit-Trail:
From: Tobias Nygren <tnn@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/43493: X11 pci enumeration problem
Date: Tue, 22 Jun 2010 16:28:31 +0200
Please try up update everything to pkgsrc-current and then downgrade
sysutils/libpciaccess to the pkgsrc-2010Q1 tag.
If the problem is with libpciaccess then I guess native X11 should have
the same issue since the netbsd PCI enumeration code was copied from
there ...
You could also try to overwrite /usr/pkg/lib/libpciaccess.so.*
with binaries from native X11 in the daily builds.
( http://nyftp.netbsd.org/pub/NetBSD-daily/HEAD/ )
From: Tero Kivinen <kivinen@iki.fi>
To: gnats-bugs@NetBSD.org
Cc: pkg-manager@NetBSD.org, gnats-admin@NetBSD.org, pkgsrc-bugs@NetBSD.org
Subject: Re: pkg/43493: X11 pci enumeration problem
Date: Wed, 23 Jun 2010 12:31:17 +0300
Tobias Nygren writes:
> The following reply was made to PR pkg/43493; it has been noted by GNATS.
>
> From: Tobias Nygren <tnn@NetBSD.org>
> To: gnats-bugs@NetBSD.org
> Cc:
> Subject: Re: pkg/43493: X11 pci enumeration problem
> Date: Tue, 22 Jun 2010 16:28:31 +0200
>
> Please try up update everything to pkgsrc-current and then downgrade
> sysutils/libpciaccess to the pkgsrc-2010Q1 tag.
>
> If the problem is with libpciaccess then I guess native X11 should have
> the same issue since the netbsd PCI enumeration code was copied from
> there ...
>
> You could also try to overwrite /usr/pkg/lib/libpciaccess.so.*
> with binaries from native X11 in the daily builds.
> ( http://nyftp.netbsd.org/pub/NetBSD-daily/HEAD/ )
As recompiling whole x11 takes some time, I decided to do it otherway
around first, i.e. on a working pkgsrc-2010Q1 I said:
# cd /usr/pkgsrc/sysutils/libpciaccess/
# cvs -q up -A -d -P
# make replace
And verified that X11 does not work after that, i.e. updating
libpciaccess will cause the x11 to do pci device enumeration
incorrectly.
I will now update everything else than libpciaccess to current and
recompile everything and test if that works (I assume it does), but
this will take some time as this means I will be recompiling quite a
lot of stuff... (132 packages :-)
--
kivinen@iki.fi
Responsible-Changed-From-To: pkg-manager->tnn
Responsible-Changed-By: tnn@NetBSD.org
Responsible-Changed-When: Sun, 27 Jun 2010 10:21:56 +0000
Responsible-Changed-Why:
I have one machine on which I could reproduce the problem.
State-Changed-From-To: open->feedback
State-Changed-By: tnn@NetBSD.org
State-Changed-When: Sun, 27 Jun 2010 10:45:13 +0000
State-Changed-Why:
Should be fixed in modular-xorg-server-1.6.5nb7.
Please test it.
From: Tobias Nygren <tnn@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/43493 CVS commit: pkgsrc/x11/modular-xorg-server
Date: Sun, 27 Jun 2010 10:43:02 +0000
Module Name: pkgsrc
Committed By: tnn
Date: Sun Jun 27 10:43:02 UTC 2010
Modified Files:
pkgsrc/x11/modular-xorg-server: Makefile distinfo
pkgsrc/x11/modular-xorg-server/patches: patch-sb
Log Message:
- Add patch from xsrc to make the server deal w/ PCI domains the way
the new libpciaccess expects
- bump libpciaccess version requirement to current
- bump PKGREVISON
- Addresses PR pkg/43493
To generate a diff of this commit:
cvs rdiff -u -r1.60 -r1.61 pkgsrc/x11/modular-xorg-server/Makefile
cvs rdiff -u -r1.41 -r1.42 pkgsrc/x11/modular-xorg-server/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/x11/modular-xorg-server/patches/patch-sb
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: Antti Kantee <pooka@cs.hut.fi>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/43493
Date: Tue, 12 Oct 2010 08:31:12 +0300
Hi,
The problem still exists for me with libpciaccess 0.11.0 and
modular-xorg-server 1.6.5nb9. Reverting libpciaccess to -D20100101
still fixes it.
State-Changed-From-To: feedback->open
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Tue, 12 Oct 2010 08:06:08 +0000
State-Changed-Why:
Received some feedback.
Responsible-Changed-From-To: tnn->pkg-manager
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Fri, 01 Feb 2013 22:47:41 +0000
Responsible-Changed-Why:
Back to role account.
From: =?UTF-8?Q?Fr=C3=A9d=C3=A9ric_Fauberteau?= <triaxx@NetBSD.org>
To: gnats-bugs@NetBSD.org, kivinen@iki.fi, pooka@cs.hut.fi
Cc: pkg-manager@NetBSD.org, gnats-admin@NetBSD.org, pkgsrc-bugs@NetBSD.org
Subject: Re: pkg/43493: X11 pci enumeration problem
Date: Sat, 29 Dec 2018 21:01:02 +0100
Hello Tero and Antti,
Do you still have a problem with NVIDIA Quadro FX 360M on NetBSD? Are
the boards still alive?
libpciaccess is now at 0.14 and I have an older NVIDIA board that works
fine with modular Xorg.
Regards,
Fred
State-Changed-From-To: open->closed
State-Changed-By: triaxx@NetBSD.org
State-Changed-When: Thu, 03 Jan 2019 12:54:44 +0000
State-Changed-Why:
Tero says that laptop which embedded the graphic card got broken 5 years ago
From: =?UTF-8?Q?Fr=C3=A9d=C3=A9ric_Fauberteau?= <triaxx@NetBSD.org>
To: Tero Kivinen <kivinen@iki.fi>
Cc: gnats-bugs@netbsd.org, pooka@cs.hut.fi, pkg-manager@netbsd.org,
gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org
Subject: Re: pkg/43493: X11 pci enumeration problem
Date: Thu, 03 Jan 2019 13:54:52 +0100
Le 2019-01-03 13:46, Tero Kivinen a écrit :
> I think that was my Dell laptop that got broken about 5 years ago, so
> no I do not have access to anymore. My replacement laptop for that
> Dell (which also got broken few years back) could not run NetBSD
> anymore at all, so I had to switch to linux for my laptops.
Thank you very much for the feedback and sorry the very late answer.
From: Tero Kivinen <kivinen@iki.fi>
To: =?utf-8?Q?Fr=C3=A9d=C3=A9ric?= Fauberteau <triaxx@NetBSD.org>
Cc: gnats-bugs@NetBSD.org, pooka@cs.hut.fi, pkg-manager@NetBSD.org,
gnats-admin@NetBSD.org, pkgsrc-bugs@NetBSD.org
Subject: Re: pkg/43493: X11 pci enumeration problem
Date: Thu, 3 Jan 2019 14:46:14 +0200
Fr=E9d=E9ric Fauberteau writes:
> Do you still have a problem with NVIDIA Quadro FX 360M on NetBSD=3F A=
re=20
> the boards still alive=3F
I think that was my Dell laptop that got broken about 5 years ago, so
no I do not have access to anymore. My replacement laptop for that
Dell (which also got broken few years back) could not run NetBSD
anymore at all, so I had to switch to linux for my laptops.
> libpciaccess is now at 0.14 and I have an older NVIDIA board that wor=
ks=20
> fine with modular Xorg.
--=20
kivinen@iki.fi
>Unformatted:
Cvs checked current out on 2010-05-15.
(Contact us)
$NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.