nVidia Riva TNT2 M64 problem on FreeBSD4.9

Yuri Grebenkin rainbreath at hotpop.com
Mon Feb 9 03:33:51 PST 2004

On Sat, 7 Feb 2004 18:15:00 +0100, Ulrich Spoerlein <q at uni.de> wrote:

> On Mon, 02.02.2004 at 01:03:02 +0300, Yuri Grebenkin wrote:
>> And could anyone receive my attachments, is it possible or I'm in 
>> trouble?
>> Hell... |:-)
> Attachments get filtered. You would have to attach them inline.
> To your problem: Force AGP Mode to 1 (It won't make a difference
> anyway), then try this:
> In kernel: add 'device agp', recompile
> in /boot/loader/conf: remove agp_load="YES"
> Recompile the port with WITH_FREEBSD_AGP
> Edit XF86Config, add Option "NvAgp" "0"

Hangs up as usual.

> If this does not work, do the following:
> Remove 'device agp' from kernel, recompile
> recompile the port without any options
> Edit XF86Config, set NvAgp to 1.

Hangs too.

> Just make sure, to never mix two AGP drivers (kernel + module +
> XF86Config)
> Ulrich Spörlein

I've probed to use all flags to make this nvidia-driver with your first 
For example, I used FORCE_AGP_RATE and set hw.nvidia...ReqAGPRate to 1  
 from 7.
But still I get a hang up.
I've attached my configuration simply as text files.
But here is the strange thing:
After 'kldload nvidia' I do 'sysctl -a -o | grep nvidia' and get the 
following output:

hw.nvidia.agp.host-bridge.rates: 4x 2x 1x
hw.nvidia.agp.host-bridge.fw: supported
hw.nvidia.agp.host-bridge.sba: supported
hw.nvidia.agp.host-bridge.registers: 0x1f000217:0x00000000
hw.nvidia.agp.card.rates: 4x 2x 1x
hw.nvidia.agp.card.fw: not supported
hw.nvidia.agp.card.sba: not supported
hw.nvidia.agp.card.registers: 0x1f000007:0x00000000
hw.nvidia.agp.status.status: disabled
hw.nvidia.agp.status.driver: n/a
hw.nvidia.agp.status.rate: n/a
hw.nvidia.agp.status.fw: n/a
hw.nvidia.agp.status.sba: n/a
hw.nvidia.version: NVIDIA FreeBSD x86 nvidia.ko Kernel Module  1.0-4365  
Wed May 28 09:20:25 PDT 2003
hw.nvidia.registry.EnableVia4x: 0
hw.nvidia.registry.EnableALiAGP: 0
hw.nvidia.registry.ReqAGPRate: 7
hw.nvidia.registry.EnableAGPSBA: 0
hw.nvidia.registry.EnableAGPFW: 0
hw.nvidia.registry.SoftEDIDs: 1
hw.nvidia.registry.Mobile: 4294967295
hw.nvidia.registry.ResmanDebugLevel: 4294967295
hw.nvidia.registry.FlatPanelMode: 0
hw.nvidia.cards.0.model: RIVA TNT2 Model 64/Model 64 Pro
hw.nvidia.cards.0.irq: 11
hw.nvidia.cards.0.vbios: ??.??.??.??.??
hw.nvidia.cards.0.type: AGP

Isn't it strange that hw.nvidia.cards.0.vbios is set to ??.??.??.??.?? ?
Maybe I just have a broken BIOS on my card?
Besides I'm running it on VIA chipset motherboard that mentioned (even in 
this grep's output) as not a good combination with card in some way.
But, you know, it runs normally on RH Linux, thus, probably it's a problem 
with the driver.
And if hw.nvidia.cards.0.vbios must be set to some particular value and it 
don't seem to be so then It's possible to think that I have a wrong card 

Please everybody, who have such a card, check out what value do you have 
and reply me!

Thank you so much.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: loader.conf
Type: application/octet-stream
Size: 67 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-x11/attachments/20040209/394e37bc/loader.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: XF86Config
Type: application/octet-stream
Size: 1153 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-x11/attachments/20040209/394e37bc/XF86Config.obj
-------------- next part --------------
Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 4.9-RELEASE #3: Mon Feb  9 13:16:23 MSK 2004
    breath at breath.breath.home:/usr/obj/usr/src/sys/Y20040205
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 1008053650 Hz
CPU: Intel Celeron (1008.05-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x68a  Stepping = 10
real memory  = 134152192 (131008K bytes)
avail memory = 126160896 (123204K bytes)
Preloaded elf kernel "kernel" at 0xc044d000.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 7 entries at 0xc00fdb10
acpi0: <VIA694 AWRDACPI> on motherboard
acpi0: power button is handled as a fixed feature programming model.
Timecounter "ACPI-fast"  frequency 3579545 Hz
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_button0: <Power Button> on acpi0
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
agp0: <VIA 82C691 (Apollo Pro) host to PCI bridge> mem 0xd0000000-0xd3ffffff at device 0.0 on pci0
pcib1: <VIA 82C598MVP (Apollo MVP3) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <NVidia Riva Ultra Vanta TNT2 graphics accelerator> at 0.0 irq 11
isab0: <VIA 82C686 PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C686 ATA100 controller> port 0xd000-0xd00f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <VIA 83C572 USB controller> port 0xd400-0xd41f irq 9 at device 7.2 on pci0
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uaudio0: audio descriptors make no sense, error=4
device_probe_and_attach: uaudio0 attach returned 6
ugen0: Evolution Electronics Ltd. MK-361C USB MIDI keyboard, rev 1.00/2.52, addr 2
uhci1: <VIA 83C572 USB controller> port 0xd800-0xd81f irq 9 at device 7.3 on pci0
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
pci0: <unknown card> (vendor=0x1106, dev=0x3057) at 7.4
pcm0: <VIA VT82C686A> port 0xe400-0xe403,0xe000-0xe003,0xdc00-0xdcff irq 5 at device 7.5 on pci0
pcm0: <Realtek ALC100 AC97 Codec>
pcm1: <Crystal Semiconductor CS4281> mem 0xd8000000-0xd800ffff,0xd8010000-0xd8010fff irq 10 at device 10.0 on pci0
pcm1: <Cirrus Logic CS4297 AC97 Codec>
orm0: <Option ROM> at iomem 0xc0000-0xcffff on isa0
pmtimer0 on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
acpi_cpu: throttling enabled, 2 steps (100% to 50.0%), currently 100.0%
ad0: 19092MB <ST320410A> [38792/16/63] at ata0-master UDMA100
ad2: 4112MB <SAMSUNG SV0432D> [8912/15/63] at ata1-master UDMA66
acd0: CDROM <ASUS CD-S520/A> at ata0-slave PIO4
Mounting root from ufs:/dev/ad0s1a
WARNING: / was not properly dismounted
ad2s1c: UDMA ICRC error reading fsbn 48467 of 136-143 (ad2s1 bn 48467; cn 3 tn 4 sn 20) retrying
ad2s1c: UDMA ICRC error reading fsbn 48467 of 136-143 (ad2s1 bn 48467; cn 3 tn 4 sn 20) retrying
ad2: READ command timeout tag=0 serv=0 - resetting
ata1: resetting devices .. ata1-slave: ATA identify retries exceeded
ad2s1c: UDMA ICRC error reading fsbn 48467 of 136-143 (ad2s1 bn 48467; cn 3 tn 4 sn 20) falling back to PIO mode
link_elf: symbol linux_ioctl_register_handler undefined
link_elf: symbol linux_ioctl_register_handler undefined
link_elf: symbol linux_ioctl_register_handler undefined
nvidia0: <RIVA TNT2 Model 64/Model 64 Pro> mem 0xd4000000-0xd5ffffff,0xd6000000-0xd6ffffff irq 11 at device 0.0 on pci1
nvidia0: detached
pid 419 (kdeinit), uid 1000: exited on signal 11 (core dumped)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rc.conf
Type: application/octet-stream
Size: 257 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-x11/attachments/20040209/394e37bc/rc.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Y20040205
Type: application/octet-stream
Size: 9993 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-x11/attachments/20040209/394e37bc/Y20040205.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: XFree86.0.log
Type: application/octet-stream
Size: 12959 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-x11/attachments/20040209/394e37bc/XFree86.0.obj

More information about the freebsd-x11 mailing list