Hi Marc
Some more inputs I gathered on the scanpci issue are as follows:
1) scanpci () crashing is not consistent all the time. After removing my fix, and with the build procedure suggested by you, once it executed without system crashing, for a longer duration. But it was running for half an hour or so never ending, until I killed the process using Ctrl-c.
2) When I tried connecting remotely to the sparc, it never gave me a consistent output. The best last few lines that I could get are given below (and is got through the visual observation only).
pciGenFindNext: pciDeviceTag = 0x100f800, devid = 0xffffffff
pciGenFindNext: pciBusNum 256
pciGenFindNext: pciFuncNum 0
pciReadLong(0x100f800, 0)
pciGenFindNext: next bus
pciGenFindNext: pciBusInfo[257] = 0x891b0
pciGenFindNext: [257, 0, 0]
pciReadLong(0x1010000, 0)

This I got with a slight delay placed in pciReadLong () function within the “if” condition. This delay was added by me to breath for some time to place the log output in the console.

Regards
ASIF IQBAL 


On Tue, 07 Dec 2004 Marc Aurele La France wrote :
>On Tue, 7 Dec 2004, ASIF IQBAL wrote:
>
>>>>>>On further debugging I identifed that the last scanned PCI device was "ATI Technologies Inc Rage XL" which is our display card and its tag is 0x1009800. Please refer the following log details of tag numbers and the PCI device details got from the /varlog/XFree86.log.
>
>>>>>>Following is the scanpci command output for exiting when idx = 10 (my hack to stop scanning PCI).
>
>>>>>This isn't quite what I need to know.  For this test, please undo your "hack" (which I assume is in Pci.c).  Then
>
>>>>>      cd xc/programs/Xserver/hw/xfree86/os-support/bus
>>>>>      rm -f Pci.o
>>>>>      makeg EXTRA_DEFINES=-DDEBUGPCI Pci.o
>>>>>      cd ../
>>>>>      make
>>>>>      cd ../etc
>>>>>      make scanpci
>>>>>      sync;sync;sync
>>>>>      ./scanpci
>
>>>>>I need to know the last line `scanpci` (as build above) produces before it crashes the system.
>
>>>>Attatched is the complete log file got during the execution of "scanpci" command. Sorry for bothering too much.
>
>>>This file is incomplete.  It has been truncated by the fsck that results after the system crashed.
>
>>>I need to know the last line you see WITH YOUR EYES when you run the specially compiled `scanpci`.  In fact it would be better if you ran it
>  ^^^^^^^^^^^^^^^^^^
>  ******************
>
>>> from a remote root login into the machine.
>
>>I have connected to the SUN Blade/SPARC server through putty login and when i ran the "/usr/X11R6/bin/scanpci", the last two lines that i got are as bellow.
>"pci bus 0x0100 cardnum 0x13 function 0x00: vendor 0x1002 device 0x4752"
>  "ATI Technologies Inc Rage XL".
>
>>and can you please elaborate your words "It has been truncated by the fsck that results after the system crashed".
>
>I didn't say "/usr/X11R6/bin/scanpci".  I'm refering to the
>/export/XFree86/XFree86-4.4/xc/programs/Xserver/hw/xfree86/etc/scanpci that was specially built for this test.
>
>Marc.
>
>PS:  Please reply in-line, not at the top.
>
>+----------------------------------+-----------------------------------+
>|  Marc Aurele La France          |  work:  1-780-492-9310          |
>|  Computing and Network Services  |  fax:    1-780-492-1729          |
>|  352 General Services Building  |  email:  [EMAIL PROTECTED]          |
>|  University of Alberta          +-----------------------------------+
>|  Edmonton, Alberta              |                                  |
>|  T6G 2H1                        |    Standard disclaimers apply    |
>|  CANADA                          |                                  |
>+----------------------------------+-----------------------------------+
>XFree86 developer and VP.  ATI driver and X server internals.
>_______________________________________________
>XFree86 mailing list
>[EMAIL PROTECTED]
>http://XFree86.Org/mailman/listinfo/xfree86



Reply via email to