pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/43493: X11 pci enumeration problem



>Number:         43493
>Category:       pkg
>Synopsis:       X11 cannot be started
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 22 10:25:00 +0000 2010
>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@localhost:/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. 

>Unformatted:
 
 Cvs checked current out on 2010-05-15.
 


Home | Main Index | Thread Index | Old Index