Alloc Mem Failed and other problems.

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.

  2. Networking doesn’t allow more than one card. It
    also doesn’t detect my Linksys LNE100TX card, even
    though every OS I’ve ever tried that had a tulip driver
    worked with it.

  3. This is just a random question. Does anyone
    know if RtP supports NAT?

Any help (especially with the graphics thing, the OS
looks really cool, but VESA blows chunks) would
be greatly appreciated.

In message <8qrjtc$a8m$1@inn.qnx.com>, “lawrenc” wrote:

look into use crttrap to get video options set and display
depending on the first line in the crttrap file that is the driver you will
use in photon

Could you elucidate this a little bit? I have tried using crttrap trap,
and what it does is give me a line about trying to load devg-tnt.so,
but then it says Alloc Mem Failed, and it loads the the VESA driver.
However, it says Alloc Mem Failed after the VESA driver as well, so
I’m not quite sure if that is the problem. Could you tell me if it is
possible to override the settings of crttrap and use the ones for devg-tnt?

Thanks in advance.

Rayiner wrote in message <8qrd2b$6ok$1@inn.qnx.com>…

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.
Depending on your individual system configuration not all hardware is
supported


  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.

look into use crttrap to get video options set and display
depending on the first line in the crttrap file that is the driver you will
use in photon

  1. Networking doesn’t allow more than one card. It
    also doesn’t detect my Linksys LNE100TX card, even
    though every OS I’ve ever tried that had a tulip driver
    worked with it.

Since this is still a BETA at a very good price I guess patience will have

to be used.In QNXs list of supported hardware I do not see a Linksys
hopefully its in development.


  1. This is just a random question. Does anyone
    know if RtP supports NAT?

Any help (especially with the graphics thing, the OS
looks really cool, but VESA blows chunks) would
be greatly appreciated.

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’.

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 >>>>>>>>>>>>>>>>>>>>>

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’.

Thanks!

: 2) Networking doesn’t allow more than one card. It
: also doesn’t detect my Linksys LNE100TX card, even
: though every OS I’ve ever tried that had a tulip driver
: worked with it.

: 3) This is just a random question. Does anyone
: know if RtP supports NAT?

: Any help (especially with the graphics thing, the OS
: looks really cool, but VESA blows chunks) would
: be greatly appreciated.

Rayiner <heliosc@aircor.net> wrote:

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.

device.map is no longer used. We need to remove it completely.

The list of supported cards is now in /etc/system/enum/devices/graphics

We’re going to need some more info, so bear with me > :wink:

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:

  1. 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
  2. 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
  3. Reboot. Log in.
  4. run ‘seedres -v 2>seedres.out’
  5. run ‘pci-bios -vvv 2>pci-bios.out’
  6. run ‘crttrap trap’
  7. run ‘slay pci-bios’

Now grab *.out and post them.

<<<<<<<<<<< pci-bios.out >>>>>>>>>>>>>
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
Addr fcf0 - Size 10
Alloc failed fcf1 - Size 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
Range failed 0 - 20
Range check failed (IO) - Dev 940 - Vend 1050 - Class 20000 - Addr 0 - Size 20
IO 0 20
Range failed 0 - 8000
Range check failed (ROM) - Dev 940 - Vend 1050 - Class 20000 - Addr 0 - Size
8000
ROM 0 - 8000
reserve IRQ 10
Device 0 - Function 0 Vendor 10de Device 20 Index 0 Clas
<<<<<<<<<<<<<<<<< end pci-bios.out >>>>>>>>>>>>>>

<<<<<<<<<<<<<<<<< seedres.out >>>>>>>>>>>>>>>>>>>>
Attach Start 4d0 - End 4d1 - Flags 8402
Unable to allocate resource: Resource temporarily unavailable
Attach Start 8000 - End 803f - Flags 8402
Unable to allocate resource: Resource temporarily unavailable
Attach Start 7000 - End 700f - Flags 8402
Unable to allocate resource: Resource temporarily unavailable
Attach Start 78 - End 80 - Flags 8402
Unable to allocate resource: Resource temporarily unavailable
Attach Start fffc0000 - End ffffffff - Flags 8400
Unable to allocate resource: Resource temporarily unavailable
Attach Start 0 - End 9ffff - Flags 8400
Unable to allocate resource: Resource temporarily unavailable
Attach Start e4000 - End fffff - Flags 8400
Unable to allocate resource: Resource temporarily unavailable
Attach Start 100000 - End 7ffffff - Flags 8400
Unable to allocate resource: Resource temporarily unavailable
Attach Start fff80000 - End fffbffff - Flags 8400
Unable to allocate resource: Resource temporarily unavailable
Attach Start 0 - End f - Flags 8402
Unable to allocate resource: Resource temporarily unavailable
Attach Start 81 - End 8f - Flags 8402
Unable to allocate resource: Resource temporarily unavailable
Attach Start c0 - End df - Flags 8402
Unable to allocate resource: Resource temporarily unavailable
Attach Start 20 - End 21 - Flags 8402
Unable to allocate resource: Resource temporarily unavailable
Attach Start a0 - End a1 - Flags 8402
Unable to allocate resource: Resource temporarily unavailable
Attach Start 2 - End 2 - Flags 8401
Unable to allocate resource: Resource temporarily unavailable
Attach Start 40 - End 43 - Flags 8402
Unable to allocate resource: Resource temporarily unavailable
Attach Start 70 - End 71 - Flags 8402
Unable to allocate resource: Resource temporarily unavailable
Attach Start 8 - End 8 - Flags 8401
Unable to allocate resource: Resource temporarily unavailable
Attach Start 60 - End 60 - Flags 8402
Unable to allocate resource: Resource temporarily unavailable
Attach Start 64 - End 64 - Flags 8402
Unable to allocate resource: Resource temporarily unavailable
Attach Start 1 - End 1 - Flags 8401
Unable to allocate resource: Resource temporarily unavailable
Attach Start f0 - End ff - Flags 8402
Unable to allocate resource: Resource temporarily unavailable
Attach Start d - End d - Flags 8401
Unable to allocate resource: Resource temporarily unavailable
Attach Start 61 - End 61 - Flags 8402
Unable to allocate resource: Resource temporarily unavailable
Attach Start cf8 - End cff - Flags 8402
Unable to allocate resource: Resource temporarily unavailable
Attach Start c - End c - Flags 8401
Unable to allocate resource: Resource temporarily unavailable
Attach Start 3f0 - End 3f5 - Flags 8402
Unable to allocate resource: Resource temporarily unavailable
Attach Start 3f7 - End 3f7 - Flags 8402
Unable to allocate resource: Resource temporarily unavailable
Attach Start 6 - End 6 - Flags 8401
Unable to allocate resource: Resource temporarily unavailable
Seed Start 8000000 - End fff00000 - Flags 8004
Low memory d4000
High memory e3fff
Attach Start a0000 - End d3fff - Flags 8400
Unable to allocate resource: Resource temporarily unavailable
Memory Start d4000 - End d5fff
Seed Start d4000 - End d5fff - Flags 8000
Attach Start 100 - End 1ff - Flags 8402
Unable to allocate resource: Resource temporarily unavailable
Attach Start e - End e - Flags 8401
Unable to allocate resource: Resource temporarily unavailable
Attach Start f - End f - Flags 8401
Unable to allocate resource: Resource temporarily unavailable
<<<<<<<<<<<<<<< end seedres.out >>>>>>>>>>>>>>>>>

As usual, crttrap doesn’t want to cooperate. The message it says
is about the same as usual, except right before it says “alloc mem failed”
it says memory request start fd000000 - end fdffffff size=65546"
Also, it keeps find_bus 1, and io_(something)_id=3. And thanks for your help.

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 :wink:

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:

  1. 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
  2. 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
  3. Reboot. Log in.
  4. run ‘seedres -v 2>seedres.out’
  5. run ‘pci-bios -vvv 2>pci-bios.out’
  6. run ‘crttrap trap’
  7. 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 >>>>>>>>>>>>>>>>>>>>>