Re: XFree86-4.4.0 Build On Solaris-8/SPARC [Configuration Problem]

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

 




Hi Marc,

Still the system is hanging even after moving the drivers from the directory "mv /usr/X11R6/lib/modules/drivers/sun*_drv.o /temp".

On further debugging the code I identified that the system is hanging in function call xf86scanpci () within the while loop "while (idx < MAX_PCI_DEVICES && tag != PCI_NOT_FOUND)". I think this function scans for PCI devices present in the system by iterating through the while loop. On further debugging I found out that the while loop in this function is executing for 10 iterations only ie if the "idx <=10". Within this 10 iterations it prints the vendor id and device id of the PCI devices present on the system. For the 11th iteration it gets the chip information 1002,4752 and it try to get the next PCI dev information using the function pciFindNext () were exactly it hangs. Following is the XFree86.log with debug messages before it actually hangs:
(II) LoadModule: "pcidata"
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
(II) Module pcidata: vendor="The XFree86 Project"
        compiled for 4.4.99.17, module version = 1.0.0
        ABI class: XFree86 Video Driver, version 0.7
(II) Sabre or Hummingbird PCI host bridge found ("pci108e,a001")
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 100:00:0: chip 108e,a001 card 0000,0000 rev 00 class 06,00,00 hdr 00
(II) PCI: 100:03:0: chip 10b9,7101 card 0000,0000 rev 00 class 00,00,00 hdr 00
(II) PCI: 100:05:0: chip 1011,0024 card 0000,0000 rev 03 class 06,04,00 hdr 01
(II) PCI: 100:07:0: chip 10b9,1533 card 10b9,1533 rev 00 class 06,01,00 hdr 00
(II) PCI: 100:08:0: chip 10b9,5451 card 10b9,5451 rev 01 class 04,01,00 hdr 00
(II) PCI: 100:0c:0: chip 108e,1100 card 0000,0000 rev 01 class 06,80,00 hdr 80
(II) PCI: 100:0c:1: chip 108e,1101 card 0000,0000 rev 01 class 02,00,00 hdr 80
(II) PCI: 100:0c:2: chip 108e,1102 card 0000,0000 rev 01 class 0c,00,10 hdr 80
(II) PCI: 100:0c:3: chip 108e,1103 card 0000,0000 rev 01 class 0c,03,10 hdr 80
(II) PCI: 100:0d:0: chip 10b9,5229 card 0000,0000 rev c3 class 01,01,ff hdr 00
(II) PCI: 100:13:0: chip 1002,4752 card 0000,0000 rev 27 class 03,00,00 hdr 00

This is my console output of prtconf command in my system
# prtconf -Ppv | grep pci
        bootpath:  '/pci@1f,0/ide@d/disk@0,0:a'
        pci-probe-list:  '7,c,3,8,d,5,13'
        screen:  '/pci@1f,0/SUNW,m64B@13'
        keyboard:  '/pci@1f,0/usb@c,3/keyboard@2'
        mouse:  '/pci@1f,0/usb@c,3/mouse@1'
        net:  '/pci@1f,0/network@c,1'
        cdrom2:  '/pci@1f,0/ide@d/cdrom@2,0:f'
        cdrom1:  '/pci@1f,0/ide@d/cdrom@1,0:f'
        cdrom:  '/pci@1f,0/ide@d/cdrom@1,0:f'
        disk:  '/pci@1f,0/ide@d/disk@0,0'
        disk3:  '/pci@1f,0/ide@d/disk@3,0'
        disk2:  '/pci@1f,0/ide@d/disk@2,0'
        disk1:  '/pci@1f,0/ide@d/disk@1,0'
        disk0:  '/pci@1f,0/ide@d/disk@0,0'
        ide:  '/pci@1f,0/ide@d'
        floppy:  '/pci@1f,0/isa@7/dma/floppy'
        ttyb:  '/pci@1f,0/isa@7/serial@0,2e8'
        ttya:  '/pci@1f,0/isa@7/serial@0,3f8'
        compatible: 'pci108e,a001'
        name:  'pci'
        device_type:  'pci'
            model:  'SUNW,pci-eri'
            compatible: 'pci108e,1101.1' + 'pci108e,1101' + 'pciclass,020000' + 'pciclass,0200'
            compatible: 'pci108e,1102.1001' + 'pci108e,1102' + 'pciclass,0c0010' + 'pciclass,0c00'
            compatible: 'pci108e,1103.1' + 'pci108e,1103' + 'pciclass,0c0310' + 'pciclass,0c03'
            compatible: 'pci10b9,7101.0' + 'pci10b9,7101' + 'pciclass,000000' + 'pciclass,0000'
            compatible: 'pci10b9,5451.10b9.5451.1' + 'pci10b9,5451.10b9.5451' + 'pci10b9,5451' + 'pci10b9,5451.1' + 'pci10b9,5451' + 'pciclass,040100' + 'pciclass,0401'
            compatible: 'pci10b9,5229.c3' + 'pci10b9,5229' + 'pciclass,0101ff' + 'pciclass,0101'
            compatible: 'pci1011,24.3' + 'pci1011,24' + 'pciclass,060400' + 'pciclass,0604'
            device_type:  'pci'
            name:  'pci'


Why is that XFree86 not able complete the system PCI scanning? Can you throw some light on the reason for this failure. Is there anyhting specific I am missing.
Also one thing I noticed that all the PCI devices listed by XFree86 are not shown when I issue prtconf command. Why is this behaviour happening?

Is there any faster method to build and test XFree86 source. Because each time after performing any changes in the source I do "make" followed by "make install" which actually takes lot of time. 

Regards
ASIF IQBAL
 




On Sun, 28 Nov 2004 Marc Aurele La France wrote :
>On Sat, 27 Nov 2004, ASIF IQBAL wrote:
>
>>>If /dev/fbs/aperture still does not exist on your system, then either you did not do a reconfigure boot (a simple reboot won't
>>>suffice), or it failed for some reason.
>
>>After installing the aperture driver I performed "touch /reconfigure" followed by a "init 6" as specified in README. And also after reboot I confirmed the existence of /dev/fbs/aperture in the system. Then I issued the command to configure XFree86 using "XFree86 -configure" which resulted in a system hang. I power-cycled the system and checked the /var/log/messages, couldn't see any messages. How can I confirm that my aperture driver is working fine ? And I am not getting the reason for system hang when I ran XFree86 -configure. Am I missing any other configuration ?...
>
>>>Also, if you used gcc to generate the aperture driver, ensure its
>>>version is 3.2 or later.  Earlier gcc's simply won't work.
>
>>My gcc version is 3.4.2 and version details are
>>bash-2.03# gcc -v
>>Reading specs from /usr/local/lib/gcc/sparc-sun-solaris2.8/3.4.2/specs
>>Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --disable-nls
>>Thread model: posix
>>gcc version 3.4.2
>
>>My system configuration is $uname -a
>>SunOS testhost 5.8 Generic_108528-13 sun4u sparc SUNW,Sun-Blade-100
>
>The only possible explanation for this behaviour that I can think of right now is that this system contains one or more SBUS or UPA display adapter(s). Only PCI display adapters are known to work in the UltraSPARC/SunOS port. Although I'm working to correct that, that code just isn't ready yet.
>
>Move /usr/X11R6/lib/modules/drivers/sun*_drv.o elsewhere, and retry
>`XFree86 -configure`
>
>Marc.
>
>+----------------------------------+-----------------------------------+
>|  Marc Aurele La France          |  work:  1-780-492-9310          |
>|  Computing and Network Services  |  fax:    1-780-492-1729          |
>|  352 General Services Building  |  email:  tsi@xxxxxxxxxxx          |
>|  University of Alberta          +-----------------------------------+
>|  Edmonton, Alberta              |                                  |
>|  T6G 2H1                        |    Standard disclaimers apply    |
>|  CANADA                          |                                  |
>+----------------------------------+-----------------------------------+
>XFree86 developer and VP.  ATI driver and X server internals.
>_______________________________________________
>XFree86 mailing list
>XFree86@xxxxxxxxxxx
>http://XFree86.Org/mailman/listinfo/xfree86




[Index of Archives]     [X Forum]     [Xorg]     [XFree86 Newbie]     [IETF Announce]     [Security]     [Font Config]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux Kernel]

  Powered by Linux