9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Martin Althoff <martin.althoff@tiscali.co.uk>
To: "jmk@plan9.bell-labs.com" <9fans@cse.psu.edu>
Subject: Re[2]: [9fans] nvidia problems
Date: Wed, 23 Jul 2003 22:08:53 +0100	[thread overview]
Message-ID: <16712074125.20030723220853@tiscali.co.uk> (raw)
In-Reply-To: <0c673154619ee7d236b650797c840846@plan9.bell-labs.com>

OK, here goes what I got.
Even with unmodified VGADB (full nvidia listing), aux/vga tries to use
the first pci device available (DID 01E0) which, on the main board
with nvidia2 chipset, happens to be the hostbridge. Not to good as vga
device I'd guess... Somehow it seems the search sees the first nvidia
VID, grabs the corresponding DID (01E0), concludes correctly that is
unuseable and quits.
Correlating to that is the message:
pcirouting: Southbridge 10DE/01E0 not found
and then later ignoring that.
The same DID as the TNT2...
If I missed any details, I'm happy to try again.

Martin


Hardware used:
----------------------------
NVIDIA TNT2 Model 64 (10de/002d)
on motherboard Asus A7N8X using nvidia2 chipset
using ISO and boot diskette downloaded from
http://www.cs.bell-labs.com/plan9dist/download.html
To identify the ISO: plan9.iso/bootdisk.img is dated 26/9/2002

Bootup messages with unmodified VGADB
----------------------------
pcirouting: Southbridge 10DE/01E0 not found

PCI.0.0.0 10DE/01E0
....
aux/vga: nvidia: DID 01E0 unsupported
aux/vga: nvidia: DID 01E0 unsupported (line is twice)
...
rio: can't open display....

output in pci.txt:
-------------
0.0.0:  06.00.00 10de/01e0   0
0.0.1:  05.00.00 10de/01eb 255
0.0.2:  05.00.00 10de/01ee 255
0.0.3:  05.00.00 10de/01ed   0
0.0.4:  05.00.00 10de/01ec 255
0.0.5:  05.00.00 10de/01ef 255
0.1.0:  06.01.00 10de/0060   0
0.1.1:  0c.05.00 10de/0064   3 0:0000e401 32
0.12.0: 06.04.00 10de/006d   0
0.2.0:  0c.03.10 10de/0067  11 0:ea080000 4096
0.2.1:  0c.03.10 10de/0067   7 0:ea083000 4096
0.2.2:  0c.03.20 10de/0068   5 0:ea084000 256
0.30.0: 06.04.00 10de/01e8   0
0.4.0:  02.00.00 10de/0066   5 0:ea085000 4096 1:0000d001 16 [ONBOARD nvidia ethernet]
0.5.0:  04.01.00 10de/006b   3 0:ea000000 524288
0.6.0:  04.01.00 10de/006a  11 0:0000d401 256 1:0000d801 128 2:ea081000 4096
0.8.0:  06.04.00 10de/006c   0
0.9.0:  01.01.8a 10de/0065   0 4:0000f001 16
1.6.0:  03.00.00 10de/002d   7 0:e6000000 16777216 1:e4000008 33554432 [the TNT]
2.1.0:  02.00.00 10b7/9201  11 0:0000c001 128 1:e9000000 128 [ONBOARD 3COM]

--------------------------

file vgainfo.txt after booting with "vid=0x10DE did=*" entered into VGADB
on the boot diskette

aux/vga: controller not in /lib/vgadb
0xC0000 55 AA 54 EB 4B 37 34 30 30 E9 4C 19 77 CC 56 49  U.T.K7400.L.w.VI
0xC0010 44 45 4F 20 0D 00 00 00 BC 02 00 00 00 00 49 42  DEO ..........IB
0xC0020 4D 20 56 47 41 20 43 6F 6D 70 61 74 69 62 6C 65  M VGA Compatible
0xC0030 01 00 00 00 90 08 90 A5 30 33 2F 32 30 2F 30 30  ........03/20/00
0xC0040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
0xC0050 E9 5B 0A 00 00 00 00 00 E9 5D 1B E9 65 1B 50 4D  .[.......]..e.PM
0xC0060 49 44 58 00 5B 00 00 00 00 A0 00 B0 00 B8 00 C0  IDX.[...........
0xC0070 00 5B FF 7F 4E 56 00 05 06 D3 A4 E0 02 20 05 02  .[..NV....... ..
0xC0080 00 00 00 00 4E 01 57 02 6D 01 B8 04 00 00 00 00  ....N.W.m.......
0xC0090 BD 00 50 00 60 13 71 28 0B 97 65 97 EF 99 A4 99  ..P.`.q(..e.....
0xC00A0 B8 99 30 03 53 03 D4 02 00 01 01 00 3F 3E 37 36  ..0.S.......?>76
0xC00B0 00 76 97 76 98 00 E8 03 00 00 F4 01 00 4E 56 49  .v.v.........NVI
0xC00C0 44 49 41 20 54 4E 54 32 20 4D 6F 64 65 6C 20 36  DIA TNT2 Model 6
0xC00D0 34 20 56 47 41 20 42 49 4F 53 0D 0A 00 00 00 00  4 VGA BIOS......
0xC00E0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
0xC00F0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
main->snarf
vga->snarf
vga->dump
vga misc             67
vga feature          00
vga sequencer        03 00 03 00 02
vga crt              5F 4F 50 82 54 80 BF 1F - 00 4F 0E 0F 00 00 07 80
                     9C 8E 8F 28 1F 96 B9 A3 - FF
vga graphics         00 00 00 00 00 10 0E 00 - FF
vga attribute        00 01 02 03 04 05 14 07 - 38 39 3A 3B 3C 3D 3E 3F
                     0C 00 0F 08 00
vga virtual         0 0
vga panning         off
vga apz                     0
vga linear                  0

vmf 25175000 vmdf 0 vf1 0 vbw 0
vga->init
dbdumpmode
type=vga, size=640x480x1
frequency=25175000
x=640 (0x280), y=480 (0x1E0), z=1 (0x1)
ht=800 (0x320), shb=664 (0x298), ehb=760 (0x2F8)
shs=664 (0x298), ehs=760 (0x2F8)
vt=525 (0x20D), vrs=491 (0x1EB), vre=493 (0x1ED)
hsync=0, vsync=0, interlace=0
vga->dump
vga flag             Fdump|Finit|Fsnarf
vga misc             E3
vga feature          00
vga sequencer        03 01 0F 00 06
vga crt              5F 4F 52 9F 53 1F20B 3E - 00 40 00 00 00 00 00 00
                    1EB 2D1DF 28 001EB1EC C3 -7FF
vga graphics         00 00 00 00 00 00 05 0F - FF
vga attribute        00 01 02 03 04 05 06 07 - 08 09 0A 0B 0C 0D 0E 0F
                     01 FF 0F 00 00
vga virtual         640 480
vga panning         off
vga apz                     0
vga linear                  0

main->exits

--------------------------
excerpt from original VGADB
ctlr
        vid=0x10DE did=0x0020           # Riva TNT
        vid=0x10DE did=0x0028           # Riva TNT2
        vid=0x10DE did=0x0029           # Riva TNT2 Ultra
        vid=0x10DE did=0x002C           # Riva TNT2 Vanta
        vid=0x10DE did=0x002D           # Riva TNT2 M64
        vid=0x10DE did=0x00A0           # Riva TNT2 Integrated
        vid=0x10DE did=0x0100           # GeForce 256
        vid=0x10DE did=0x0101           # GeForce DDR
        vid=0x10DE did=0x0103           # Quadro
        vid=0x10DE did=0x0110           # GeForce2 MMX
        vid=0x10DE did=0x0111           # GeForce2 MMX DDR
        vid=0x10DE did=0x0112           # GeForce2 Go
        vid=0x10DE did=0x0113           # Quadro 2 MXR
        vid=0x10DE did=0x0150           # GeForce2 GTS
        vid=0x10DE did=0x0151           # GeForce2 GTS (rev 1)
        vid=0x10DE did=0x0152           # GeForce2 Ultra
        vid=0x10DE did=0x0153           # Quadro 2 Pro
        vid=0x10DE did=0x0200           # GeForce3
        link=vga
        ctlr=nvidia linear=1
        hwgc=nvidiahwgc


> output from the new aux/vga -p (you should be able to do this on
> an old system) with the vgadb entry set to

> ctlr
>         vid=0x10DE did=*                        # NVidia cards all talk the same
>         link=vga
>         ctlr=nvidia linear=1
>         hwgc=nvidiahwgc

> would be helpful.

> thanks.




  reply	other threads:[~2003-07-23 21:08 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-23 15:54 david presotto
2003-07-23 15:33 ` jmk
2003-07-23 21:08   ` Martin Althoff [this message]
2003-07-23 21:16     ` Re[3]: " Martin Althoff
2003-07-23 23:34       ` Martin Harriss
2003-07-23 23:53         ` jmk
2003-07-23 21:23     ` Re[2]: " jmk
2003-07-23 21:25       ` jmk
2003-07-24  8:42   ` Ram'on Garc'ia Fern'andez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=16712074125.20030723220853@tiscali.co.uk \
    --to=martin.althoff@tiscali.co.uk \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).