On Thu, 09 Dec 2004 Marc Aurele La France wrote :
>On Wed, 8 Dec 2004, ASIF IQBAL wrote:
>
>>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.
>
>Excellent. This seems to be implying that the bus scan is crashing the system when it gets around to probing what's behind your PCI bridge. To confirm this, the command ...
>
> mmapr /dev/fbs/aperture 0x01FE01010000 4 > /dev/null
>
>... (as root) should consistently crash the system. Does it?
>
Marc you are right. The system is crashed after the execution of the command. I have confirmed this behaviour by repeating twice.
>Also, please do as root after a fresh reboot ...
>
> mmapr /dev/fbs/aperture 0x01FE01002800 256 > pci5.dat
>
>... and send me 'pci5.dat' as an attachment. This is a dump of the PCI bridge's configuration space (i.e. binary data), which hopefully will tell me what needs to be done to prevent the crash.
>
>Note that I'm assumning `mmapr` is in your $PATH. It should have been installed as '/usr/X11R6/bin/mmapr'. Be very careful with this utility. Typographical errors in its use can be disastrous.
>
I have attached the pci5.dat binary as requested which is got by executing the mmap command. And this didn't have any effect (ie. no system crash). Can you elaborate the significance of the address for mmapr function.
>Thanks.
>
>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.
Attachment:
pci5.dat
Description: Binary data