Strona 1 z 1

: 15 listopada 2010, 11:29
autor: t_l
Problem ze środowiskiem X - nie potrafi zeskanować PCI.

xorg.conf - http://pastebin.com/x5FfAnsL

(podejrzany z logów X-ów - to jest domyślny konfig) i na nim działa z oszałamiającymi ustawieniami - 640x480.

Polecenie:

Kod: Zaznacz cały

X -scanpci
daje wynik:

Kod: Zaznacz cały

Probing for PCI devices (Bus :D evice:Function)

(0:3:0) unknown card (0x108e/0x1647) using a Broadcom Corporation NetXtreme BCM5703 Gigabit Ethernet

Kod: Zaznacz cały

lspci
już zgoła inaczej:

Kod: Zaznacz cały

0000:00:03.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5703 Gigabit Ethernet
0001:00:02.0 PCI bridge: Intel Corporation 21154 PCI-to-PCI Bridge
0001:00:04.0 SCSI storage controller: LSI Logic / Symbios Logic 53c1010 66MHz  Ultra3 SCSI Adapter (rev 01)
0001:00:04.1 SCSI storage controller: LSI Logic / Symbios Logic 53c1010 66MHz  Ultra3 SCSI Adapter (rev 01)
0001:01:00.0 Ethernet controller: Sun Microsystems Computer Corp. Cassini 10/100/1000 (rev 20)
0002:00:04.0 PCI bridge: Texas Instruments PCI2250 PCI-to-PCI Bridge (rev 02)
0002:00:06.0 Non-VGA unclassified device: ALi Corporation M7101 Power Management Controller [PMU]
0002:00:07.0 ISA bridge: ALi Corporation M1533/M1535/M1543 PCI to ISA Bridge [Aladdin IV/V/V+]
0002:00:08.0 Multimedia audio controller: ALi Corporation M5451 PCI AC-Link Controller Audio Device (rev 02)
0002:00:0a.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
0002:00:0b.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
0002:00:0d.0 IDE interface: ALi Corporation M5229 IDE (rev c4)
0002:01:08.0 USB Controller: NEC Corporation USB (rev 43)
0002:01:08.1 USB Controller: NEC Corporation USB (rev 43)
0002:01:08.2 USB Controller: NEC Corporation USB 2.0 (rev 04)
0002:01:0b.0 FireWire (IEEE 1394): Texas Instruments TSB43AB23 IEEE-1394a-2000 Controller (PHY/Link)
0003:00:02.0 VGA compatible controller: ATI Technologies Inc Radeon RV100 QY [Radeon 7000/VE]
Podejrzałem poleceniem:

Kod: Zaznacz cały

strace
co robi:

Kod: Zaznacz cały

X -scanpci
a tam jakieś bezsensowne informacje, skanuje /proc/bus/pci:

Kod: Zaznacz cały

open("/proc/bus/pci/01/0e.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/proc/bus/pci/0000:01", 0xffebf110) = -1 ENOENT (No such file or directory)
open("/proc/bus/pci/01/0f.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/proc/bus/pci/0000:01", 0xffebf110) = -1 ENOENT (No such file or directory)
open("/proc/bus/pci/01/10.0", O_RDONLY) = -1 ENOENT (No such file or directory)
I robi tych beznadziejnych prób całą masę. Że beznadziejne to widzę po efekcie, czyli różnicy między:

Kod: Zaznacz cały

X -scanpci
a:

Kod: Zaznacz cały

lspci
Próba wymuszenia parametrem BusID:

Kod: Zaznacz cały

pci:bus:dev:func
dla fbdev nic nie pomaga, bo znowu zaczyna obłąkańcze macanie po /proc/bus/pci.

Efekt:

Kod: Zaznacz cały

Release Date: 11 June 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux Debian (xorg-server 2:1.4.2-10.lenny2)
Current Operating System: Linux hermes 2.6.26-2-sparc64 #1 Fri Sep 17 00:51:46 UTC 2010 sparc64
Build Date: 11 June 2009  10:44:40AM

        Before reporting problems, check [url]http://wiki.x.org[/url]
        to make sure that you have the latest version.
Module Loader present
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: Thu Nov 11 02:23:34 2010
(==) Using config file: "/etc/X11/xorg.conf"

Kod: Zaznacz cały

Backtrace:

Fatal server error:
Caught signal 11.  Server aborting

Aborted
Komputer to Sun Blade 2500 RED, znaczy się maszyna z architekturą sparc.

Dodane:
I nadal nie potrafi, straciłem już wszelkie siły do gada (zastąpiłem go porządnym intelem i 1920x1020 poszło z palucha). Jedyne co udało mi się wygrzebać to działający konfig. Działa ale i tak nie potrafiłem wydusić więcej niż 1024x768.

Dla porządku podaję działający konfig:

Kod: Zaznacz cały

Section "Device"
    Identifier     "VESA"
    Driver         "fbdev"
    Option         "UseFBDdev"          "true"
    Option      "fbdev" "/dev/fb0"             
    BusID       "00:02.0"                     
    VendorName     "Unknown"                   
    BoardName      "Unknown"                   
EndSection                                     


#Section "Monitor"
#       Identifier      "Configured Monitor"
#EndSection                                 

Section "Monitor"
    Identifier     "Monitor0"
    HorizSync       31.5 - 64.3
    VertRefresh     40.0 - 150.0
EndSection                     

Section "Screen"
    Identifier     "Screen0"
    Device         "VESA"   
    Monitor        "Monitor0"
    DefaultDepth    24       
    SubSection     "Display"
        Viewport    0 0     
        Depth       8
        Modes      "1024x768" "832x624" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       16
        Modes      "1024x768" "832x624"
#"800x600" "640x400"
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       24
        Modes      "1280x1024" "1024x768"
# "832x624" "800x600"
    EndSubSection
EndSection


#Section "Screen"
#       Identifier      "Screen0"
#       Device          "VESA"
#      Monitor         "Monitor0" 
Konfig wziąłem stąd:

http://forums.gentoo.org/viewtopic-p-62 ... 81b74dd64f

http://forums.gentoo.org/viewtopic-p-62 ... 81b74dd64f