Rayiner <heliosc@aircor.net> wrote:
: In message <8qt3sh$lbu$1@nntp.qnx.com>, David Donohoe wrote:
:> Rayiner <heliosc@aircor.net> wrote:
:> : I’ve been waiting for the QNX release a long time,
:> : and I have to say, I’m kind of dissapointed. The
:> : OS doesn’t work nearly as easily as it should.
:>
:> : 1) It only runs in VESA mode, even though I have
:> : a Creative Labs RivaTNT (AGP). Ph first detects and tries to use the
:> : devg-tnt.so driver, but then the system gives me
:> : a “Alloc mem failed” error, and switches to the VESA
:> : driver.
:>
:> This message is coming from pci-bios. If you can grab some info for us,
:> we can forward to the pci-bios developer.
:>
:> Kill pci-bios (‘slay pci-bios’) then restart it in verbose mode,
:> redirecting the output to a file, e.g.
:>
:> pci-bios -vvv 2>/tmp/pci-bios.out
:>
:> The run ‘crttrap trap’, and grab the output file.
:>
:> Also, post the output of ‘pci -v’.
We’re going to need some more info, so bear with me 
First of all, the output of pci-bios -vvv below, got truncated.
This is because the file did not get flushed. Slaying pci-bios
when done, would have cause the file to get flushed.
Could you do the following:
- Rebuild your boot image, without seedres, or pci-bios:
a) cd to /boot/build
b) edit qnxbase.build
c) Stick a ‘#’ in front of lines with ‘pci-bios’ or ‘seedres’
d) run 'mkifs qnxbase.build > /tmp/boot
- Copy the /tmp/boot file into your boot partition. (Back up the old
boot image first). If you boot from windows, the boot file
is qnxbase.ifs. If you boot off a QNX partition, the boot
file is /.boot
- Reboot. Log in.
- run ‘seedres -v 2>seedres.out’
- run ‘pci-bios -vvv 2>pci-bios.out’
- run ‘crttrap trap’
- run ‘slay pci-bios’
Now grab *.out and post them.
Thanks!
: Here are the outputs. Also, I noticed that there is no mention of any TNT cards
: in device.map. Another person on this board had this problem with a Matrox
: Millenium, and somebody suggested taking one of the lines for the G100 and
: replacing a value. I don’t know if this would work, and I can’t do it, since
: there are no lines at all for any NVIDIA cards.
: <<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>
: Low memory 8000000 - Xlate 8000000
: High memory ffefffff - Xlate fff00000
: Low port 200 - Xlate 200
: High port ffaf - Xlate ffb0
: Found host bridge 0 0
: Configure bridge - bus 0 - devfunc 0
: cb Bus 0 - Devfn 0 - dword ff0000
: find_bus 0
: alloc_bus 0 0
: Device 0 - Function 0 Vendor 8086 Device 7180 Index 0 ClassCode 60000
: find_bus 0
: Setup bridge 0 - Lastbus = 1
: Configure bridge - bus 0 - devfunc 8
: cb Bus 0 - Devfn 8 - dword 40ff0100
: find_bus 1
: alloc_bus 0 1
: find_bus 0
: Device 1 - Function 0 Vendor 8086 Device 7181 Index 0 ClassCode 60400
: find_bus 1
: Min_Gnt = 12 - Max_Lat = 0 - Bandwidth = 0
: Setup bridge 1 - Lastbus = 2
: find_bus 1
: tb Bus 0 - Devfn 8 - dword 40010100
: Device 7 - Function 0 Vendor 8086 Device 7110 Index 0 ClassCode 60100
: find_bus 0
: Device 7 - Function 1 Vendor 8086 Device 7111 Index 0 ClassCode 10180
: find_bus 0
: IO fcf0 10
: IO fcf0 10
: Device 7 - Function 2 Vendor 8086 Device 7112 Index 0 ClassCode c0300
: find_bus 0
: Range failed 0 - 20
: Range check failed (IO) - Dev 7112 - Vend 8086 - Class c0300 - Addr 0 - Size 20
: IO 0 20
: reserve IRQ 11
: Device 7 - Function 3 Vendor 8086 Device 7113 Index 0 ClassCode 68000
: find_bus 0
: Device 14 - Function 0 Vendor 11ad Device c115 Index 0 ClassCode 20000
: find_bus 0
: Min_Gnt = 8 - Max_Lat = 56 - Bandwidth = 115500000
: Range failed 0 - 100
: Range check failed (IO) - Dev c115 - Vend 11ad - Class 20000 - Addr 0 - Size 100
: IO 0 100
: Range failed 0 - 100
: Range check failed (MEM) - Dev c115 - Vend 11ad - Class 20000 - Addr 0 - Size
: 100
: MEM 0 100
: Range failed 0 - 40000
: Range check failed (ROM) - Dev c115 - Vend 11ad - Class 20000 - Addr 0 - Size
: 40000
: ROM 0 - 40000
: reserve IRQ 9
: Device 15 - Function 0 Vendor 1050 Device 940 Index 0 ClassCode 20000
: find_bus 0
: IO fe00 20
: Range failed 0 - 8000
: Range check failed (ROM) - Dev 940 - Vend 1050 - Class 20000 - Addr 0 - Size
: 8000
: ROM 0 - 8000
: IO fe00 20
: reserve IRQ 10
: Device 0 - Function 0 Vendor 10de Device 20 Index 0 ClassCode 30000
: find_bus 1
: Min_Gnt = 5 - Max_Lat = 1 - Bandwidth = -110000000
: find_bus 1
: MEM fd000000 1000000
: find_bus 1
: MEM f6000000 100
: <<<<<<<<<<<<< End pci-bios.out >>>>>>>>>>>>>>>>>>>
: <<<<<<<<<<<<< start pci.out >>>>>>>>>>>>>>>>>>>>>> (pci-v)
: PCI version = 2.10
: Class = Bridge (Host/PCI)
: Vendor ID = 8086h, Intel Corporation
: Device ID = 7180h, 82443LX/EX (PAC) Host/PCI bridge in 440LX/EX AGP chipset
: PCI index = 0h
: Class Codes = 060000h
: Revision ID = 3h
: Bus number = 0
: Device number = 0
: Function num = 0
: Status Reg = 2290h
: Command Reg = 106h
: Header type = 0h Single-function
: BIST = 0h Build-in-self-test not supported
: Latency Timer = 20h
: Cache Line Size= 0h
: Max Lat = 0ns
: Min Gnt = 0ns
: PCI Int Pin = NC
: Interrupt line = 0
: Capabilities Pointer = a0h
: Capability ID = 2h
: Capabilities = 10h - 1f000203h
: Class = Bridge (PCI/PCI)
: Vendor ID = 8086h, Intel Corporation
: Device ID = 7181h, AGP device in 440LX/EX AGP chipset
: PCI index = 0h
: Class Codes = 060400h
: Revision ID = 3h
: Bus number = 0
: Device number = 1
: Function num = 0
: Status Reg = 2a0h
: Command Reg = fh
: Header type = 1h Single-function
: BIST = 0h Build-in-self-test not supported
: Latency Timer = 60h
: Cache Line Size= 0h
: Primary Bus Number = 0h
: Secondary Bus Number = 1h
: Subordinate Bus Number = 1h
: Secondary Latency Timer = 40h
: I/O Base = f0h
: I/O Limit = 0h
: Secondary Status = 22a0h
: Memory Base = fd00h
: Memory Limit = fdf0h
: Prefetchable Memory Base = f600h
: Prefetchable Memory Limit= f6f0h
: Prefetchable Base Upper 32 Bits = 0h
: Prefetchable Limit Upper 32 Bits = 0h
: I/O Base Upper 16 Bits = 0h
: I/O Limit Upper 16 Bits = 0h
: Bridge Control = 12ns
: PCI Int Pin = NC
: Interrupt line = 0
: Class = Bridge (PCI/ISA)
: Vendor ID = 8086h, Intel Corporation
: Device ID = 7110h, 82371AB PIIX4 ISA Bridge
: PCI index = 0h
: Class Codes = 060100h
: Revision ID = 1h
: Bus number = 0
: Device number = 7
: Function num = 0
: Status Reg = 280h
: Command Reg = fh
: Header type = 0h Multi-function
: BIST = 0h Build-in-self-test not supported
: Latency Timer = 0h
: Cache Line Size= 0h
: Max Lat = 0ns
: Min Gnt = 0ns
: PCI Int Pin = NC
: Interrupt line = 0
: Class = Mass Storage (IDE)
: Vendor ID = 8086h, Intel Corporation
: Device ID = 7111h, 82371AB PIIX4 IDE Controller
: PCI index = 0h
: Class Codes = 010180h
: Revision ID = 1h
: Bus number = 0
: Device number = 7
: Function num = 1
: Status Reg = 280h
: Command Reg = 5h
: Header type = 0h Single-function
: BIST = 0h Build-in-self-test not supported
: Latency Timer = 40h
: Cache Line Size= 0h
: IO Address = fcf0h length 16 enabled
: Max Lat = 0ns
: Min Gnt = 0ns
: PCI Int Pin = NC
: Interrupt line = 0
: Class = Serial Bus (Universal Serial Bus)
: Vendor ID = 8086h, Intel Corporation
: Device ID = 7112h, 82371AB PIIX4 USB Interface
: PCI index = 0h
: Class Codes = 0c0300h
: Revision ID = 1h
: Bus number = 0
: Device number = 7
: Function num = 2
: Status Reg = 280h
: Command Reg = 4h
: Header type = 0h Single-function
: BIST = 0h Build-in-self-test not supported
: Latency Timer = 40h
: Cache Line Size= 0h
: IO Address = 0h length 32 disabled
: Max Lat = 0ns
: Min Gnt = 0ns
: PCI Int Pin = INT D
: Interrupt line = 11
: Class = Bridge (Unknown)
: Vendor ID = 8086h, Intel Corporation
: Device ID = 7113h, 82371AB PIIX4 Power Management Controller
: PCI index = 0h
: Class Codes = 068000h
: Revision ID = 1h
: Bus number = 0
: Device number = 7
: Function num = 3
: Status Reg = 280h
: Command Reg = 3h
: Header type = 0h Single-function
: BIST = 0h Build-in-self-test not supported
: Latency Timer = 0h
: Cache Line Size= 0h
: Max Lat = 0ns
: Min Gnt = 0ns
: PCI Int Pin = NC
: Interrupt line = 0
: Class = Network (Ethernet)
: Vendor ID = 11adh, Lite-On Communications Inc
: Device ID = c115h, LC82C115 PNIC II 10/100 PCI MAC/PHY
: PCI index = 0h
: Class Codes = 020000h
: Revision ID = 25h
: Bus number = 0
: Device number = 14
: Function num = 0
: Status Reg = 290h
: Command Reg = 284h
: Header type = 0h Single-function
: BIST = 0h Build-in-self-test not supported
: Latency Timer = 42h
: Cache Line Size= 8h un-cacheable
: IO Address = 0h length 256 disabled
: Subsystem Vendor ID = 11adh
: Subsystem ID = c001h
: Max Lat = 56ns
: Min Gnt = 8ns
: PCI Int Pin = INT A
: Interrupt line = 9
: Capabilities Pointer = 44h
: Capability ID = 1h
: Capabilities = f601h - 0h
: Class = Network (Ethernet)
: Vendor ID = 1050h, Winbond Electronics Corp.
: Device ID = 940h, w89c940f winbond pci ethernet
: PCI index = 0h
: Class Codes = 020000h
: Revision ID = 0h
: Bus number = 0
: Device number = 15
: Function num = 0
: Status Reg = 280h
: Command Reg = 1h
: Header type = 0h Single-function
: BIST = 0h Build-in-self-test not supported
: Latency Timer = 0h
: Cache Line Size= 0h
: IO Address = fe00h length 32 enabled
: Expansion ROM = ffef8000h length 32768 disabled
: Max Lat = 0ns
: Min Gnt = 0ns
: PCI Int Pin = INT A
: Interrupt line = 10
: Class = Display (VGA)
: Vendor ID = 10deh, Nvidia Corporation
: Device ID = 20h, Riva TNT AGP
: PCI index = 0h
: Class Codes = 030000h
: Revision ID = 4h
: Bus number = 1
: Device number = 0
: Function num = 0
: Status Reg = 2b0h
: Command Reg = 7h
: Header type = 0h Single-function
: BIST = 0h Build-in-self-test not supported
: Latency Timer = 40h
: Cache Line Size= 0h
: Mem Address = fd000000h 32bit length 16777216 enabled
: Mem Address = f6000000h prefetchable 32bit length 16777216 enabled
: Subsystem Vendor ID = 1102h
: Subsystem ID = 1015h
: Max Lat = 1ns
: Min Gnt = 5ns
: PCI Int Pin = INT A
: Interrupt line = 9
: Capabilities Pointer = 60h
: Capability ID = 1h
: Capabilities = 1h - 0h
: Capability ID = 2h
: Capabilities = 10h - f000203h
: <<<<<<<<<<<<<<<<<<<<< End pci.out >>>>>>>>>>>>>>>>>>>>>>>
: For some odd reason, crttrap wouldn’t redirect to a file. I grabbed as much
: of it as I could
: <<<<<<<<<<<<<<<<<<< Start crttrap.out >>>>>>>>>>>>>>>>>>>
: /usr/photon/bin/devgt-iographics -dldevg-tnt.so -I0 -d0x10de, 0x0020
: Alloc mem failed
: PCI device attach failed!
: mode switcher init: Invalid arguement
: /usr/photon/bin/devgt-iographics -dldevg-visabios.so -I0 -d0x10de, 0x0020
: Alloc mem failed.
: It then spews a bunch of messages like "BIOS call Int 10 eax=xxx (some number)
: crttrap: wrote config file (name of file.)
: <<<<<<<<<<<<<<<<<<< End crttrap.out >>>>>>>>>>>>>>>>>>>>>