Go Back   nV News Forums > Linux Support Forums > NVIDIA FreeBSD

Newegg Daily Deals

Reply
 
Thread Tools
Old 12-16-06, 02:58 PM   #1
SirDice
Registered User
 
Join Date: Jul 2005
Posts: 79
Default 9631 freezes

I have 2 machines. One dual athlon and one amd64. Both are running freebsd-i386 (RELENG_6).

I had some problems a while back with the dual athlon, these seem to be resolved right now.

GA-7DPX mainboard
FX5200 graphics card.
Xorg 7.2-RC2
nvidia-driver 9631 (NvAGP=1)

Works fine, I can even set the AGP rate to 4x. With the previous driver I had to lower it to 2x because of stability problems.

My other machine:
MSI Neo2 mainboard
6600GT graphics card
Xorg 7.2-RC3
nvidia-driver 9631

I've tried using the nvidia AGP and the FreeBSD AGP, I even tried NvAGP=0. Also tried to lower the AGP rate. Nothing seems to help. At some point the machine just freezes up. Numlock still responds, mouse moves, nothing else. If I ssh into the machine or ping it, it's dead. If I ssh into it before the freeze I can see Xorg going to 99.99% cpu. During the freeze it's dead slow over ssh, sometimes I even get disconnected.

/var/log/messages shows:
Dec 16 21:35:02 williscorto kernel: NVRM: AGP cannot be enabled on this combination of the AMD CPU and OS kernel
Dec 16 21:35:02 williscorto kernel: NVRM: kernel upgrade recommended.
Dec 16 21:35:38 williscorto kernel: NVRM: Xid (0001:00): 16, Head 00000000 Count 00000ba1
Dec 16 21:35:39 williscorto kernel: NVRM: Xid (0001:00): 8, Channel 00000000
Dec 16 21:35:46 williscorto kernel: NVRM: Xid (0001:00): 16, Head 00000000 Count 00000ba2
Dec 16 21:35:47 williscorto kernel: NVRM: Xid (0001:00): 8, Channel 0000001e
Dec 16 21:35:54 williscorto kernel: NVRM: Xid (0001:00): 16, Head 00000000 Count 00000ba3
Dec 16 21:35:55 williscorto kernel: NVRM: Xid (0001:00): 8, Channel 00000020
Dec 16 21:36:01 williscorto kernel: re0: watchdog timeout
Dec 16 21:36:01 williscorto kernel: re0: link state changed to DOWN
Dec 16 21:36:02 williscorto kernel: NVRM: Xid (0001:00): 16, Head 00000000 Count 00000ba4
Dec 16 21:36:03 williscorto kernel: re0: link state changed to UP
Dec 16 21:36:03 williscorto kernel: NVRM: Xid (0001:00): 8, Channel 00000020
Dec 16 21:36:08 williscorto kernel: re0: watchdog timeout
Dec 16 21:36:08 williscorto kernel: re0: link state changed to DOWN
Dec 16 21:36:10 williscorto kernel: re0: link state changed to UP
Dec 16 21:36:10 williscorto kernel: NVRM: Xid (0001:00): 16, Head 00000000 Count 00000ba5
Dec 16 21:36:11 williscorto kernel: NVRM: Xid (0001:00): 8, Channel 0000001e
Dec 16 21:36:15 williscorto kernel: re0: watchdog timeout
Dec 16 21:36:15 williscorto kernel: re0: link state changed to DOWN
Dec 16 21:36:18 williscorto kernel: re0: link state changed to UP
Dec 16 21:36:18 williscorto kernel: NVRM: Xid (0001:00): 16, Head 00000000 Count 00000ba6
Dec 16 21:36:19 williscorto kernel: NVRM: Xid (0001:00): 8, Channel 00000020
Dec 16 21:36:23 williscorto kernel: re0: watchdog timeout
Dec 16 21:36:23 williscorto kernel: re0: link state changed to DOWN
Dec 16 21:36:26 williscorto kernel: re0: link state changed to UP
Dec 16 21:36:26 williscorto kernel: NVRM: Xid (0001:00): 16, Head 00000000 Count 00000ba7
Dec 16 21:36:27 williscorto kernel: NVRM: Xid (0001:00): 8, Channel 00000020

/var/log/Xorg.0.log shows:
(WW) NVIDIA(0): WAIT (0, 7, 0x8000, 0x00005aac, 0x00005aac)
(WW) NVIDIA(0): WAIT (2, 7, 0x8000, 0x00005aac, 0x00005ad0)
(WW) NVIDIA(0): WAIT (0, 7, 0x8000, 0x00000024, 0x00000024)
(WW) NVIDIA(0): WAIT (2, 7, 0x8000, 0x00000024, 0x00000048)
(WW) NVIDIA(0): WAIT (0, 7, 0x8000, 0x00000048, 0x00000048)
(WW) NVIDIA(0): WAIT (0, 7, 0x8000, 0x0000006c, 0x0000006c)
(WW) NVIDIA(0): WAIT (2, 7, 0x8000, 0x0000006c, 0x00000090)
(WW) NVIDIA(0): WAIT (0, 7, 0x8000, 0x00000090, 0x00000090)
(WW) NVIDIA(0): WAIT (0, 7, 0x8000, 0x000000b4, 0x000000b4)
(WW) NVIDIA(0): WAIT (2, 7, 0x8000, 0x000000b4, 0x000000d8)
(WW) NVIDIA(0): WAIT (0, 7, 0x8000, 0x000000d8, 0x000000d8)
(WW) NVIDIA(0): WAIT (0, 7, 0x8000, 0x000000fc, 0x000000fc)
(WW) NVIDIA(0): WAIT (2, 7, 0x8000, 0x000000fc, 0x00000120)
(WW) NVIDIA(0): WAIT (0, 7, 0x8000, 0x00000120, 0x00000120)
(WW) NVIDIA(0): WAIT (0, 7, 0x8000, 0x00000144, 0x00000144)
(WW) NVIDIA(0): WAIT (2, 7, 0x8000, 0x00000144, 0x00000168)

This was with the FreeBSD AGP. Without it I get similar messages. The only thing I can think of is the AGP and on-board ethernet share the same irq(16). There's no way to change this in the BIOS so I guess they're hardwired. I'm currently cvsupping src and rebuilding the kernel and world to see if that'll help.
SirDice is offline   Reply With Quote
Old 12-16-06, 05:22 PM   #2
SirDice
Registered User
 
Join Date: Jul 2005
Posts: 79
Default Re: 9631 freezes

I cvsupped src, rebuild kernel and world.. same problem..

I installed the 9742 beta driver, same problem.

Oh, It's a MSI Neo mainboard with a K8T800 chipset not a Neo2.

Last /var/log/messages are:
Code:
Dec 17 00:06:44 williscorto kernel: NVRM: Xid (0001:00): 16, Head 00000000 Count 00001e61
Dec 17 00:06:47 williscorto kernel: re0: watchdog timeout
Dec 17 00:06:47 williscorto kernel: NVRM: Xid (0001:00): 8, Channel 00000000
Dec 17 00:06:47 williscorto kernel: re0: link state changed to DOWN
Dec 17 00:06:50 williscorto kernel: re0: link state changed to UP
Dec 17 00:06:52 williscorto kernel: NVRM: Xid (0001:00): 16, Head 00000000 Count 00001e62
Dec 17 00:06:55 williscorto kernel: NVRM: Xid (0001:00): 8, Channel 0000001e
Dec 17 00:07:00 williscorto kernel: NVRM: Xid (0001:00): 16, Head 00000000 Count 00001e63
Dec 17 00:07:03 williscorto kernel: NVRM: Xid (0001:00): 8, Channel 00000020
Dec 17 00:07:08 williscorto kernel: NVRM: Xid (0001:00): 16, Head 00000000 Count 00001e64
Dec 17 00:07:11 williscorto kernel: NVRM: Xid (0001:00): 8, Channel 00000020
Dec 17 00:07:16 williscorto kernel: NVRM: Xid (0001:00): 16, Head 00000000 Count 00001e65
Dec 17 00:07:17 williscorto kernel: re0: watchdog timeout
Dec 17 00:07:17 williscorto kernel: re0: link state changed to DOWN
Dec 17 00:07:19 williscorto kernel: NVRM: Xid (0001:00): 8, Channel 0000001e
Dec 17 00:07:19 williscorto kernel: re0: link state changed to UP
Dec 17 00:07:24 williscorto kernel: NVRM: Xid (0001:00): 16, Head 00000000 Count 00001e66
Dec 17 00:07:27 williscorto kernel: NVRM: Xid (0001:00): 8, Channel 00000020
Dec 17 00:07:30 williscorto kernel: re0: watchdog timeout
Dec 17 00:07:30 williscorto kernel: re0: link state changed to DOWN
Dec 17 00:07:32 williscorto kernel: re0: link state changed to UP
Dec 17 00:07:33 williscorto kernel: NVRM: Xid (0001:00): 16, Head 00000000 Count 00001e67
Dec 17 00:07:36 williscorto kernel: NVRM: Xid (0001:00): 8, Channel 00000020
Dec 17 00:07:37 williscorto kernel: re0: watchdog timeout
Dec 17 00:07:37 williscorto kernel: re0: link state changed to DOWN
Dec 17 00:07:39 williscorto kernel: re0: link state changed to UP
Dec 17 00:07:41 williscorto kernel: NVRM: Xid (0001:00): 16, Head 00000000 Count 00001e68
Dec 17 00:07:44 williscorto kernel: NVRM: Xid (0001:00): 8, Channel 0000001e
Dec 17 00:07:49 williscorto kernel: re0: watchdog timeout
Dec 17 00:07:49 williscorto kernel: re0: link state changed to DOWN
Dec 17 00:07:51 williscorto kernel: re0: link state changed to UP
Dec 17 00:08:21 williscorto kernel: re0: watchdog timeout
Dec 17 00:08:21 williscorto kernel: re0: link state changed to DOWN
Dec 17 00:08:25 williscorto kernel: re0: link state changed to UP
Dec 17 00:08:30 williscorto kernel: re0: watchdog timeout
Dec 17 00:08:30 williscorto kernel: re0: link state changed to DOWN
Which suggest a conflict with the on-board ethernet (re0).

And Xorg.0.log:
Code:
(WW) NVIDIA(0): WAIT (0, 6, 0x8000, 0x0000c950, 0x0000c950)
(WW) NVIDIA(0): WAIT (0, 6, 0x8000, 0x0000ca00, 0x0000ca00)
(WW) NVIDIA(0): WAIT (2, 6, 0x8000, 0x0000ca00, 0x00007c10)
SirDice is offline   Reply With Quote
Old 12-16-06, 05:44 PM   #3
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: 9631 freezes

It looks like there's an interrupt delivery problem of some kind. Do the NVIDIA GPU and the network device share an interrupt?
zander is offline   Reply With Quote
Old 12-16-06, 05:49 PM   #4
SirDice
Registered User
 
Join Date: Jul 2005
Posts: 79
Default Re: 9631 freezes

Yes, they do Probably hardwired too as I have no option to change either in the BIOS..

Disabling the on-board LAN seems to help.... Haven't had any problems after that.. but this kind of sucks.. A workstation without networking is of no use to me..

As for the beta driver.. The Makefile in x11 seems to be missing a backslash

Edit: I rummaged through some drawers and found a realtek 100mbit PCI, stuck that in and disabled the onboard LAN.. That helps.. No more freezes.. I'll try the on-board again when a new driver comes out.. In the mean time I'm going to have some fun with beryl

Last edited by SirDice; 12-16-06 at 06:47 PM.
SirDice is offline   Reply With Quote
Old 12-17-06, 01:13 PM   #5
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: 9631 freezes

I'm sceptical that an updated NVIDIA graphics driver wouldn't suffer from the same problem, the current driver already supports interrupt sharing. Does the Realtek card share its interrupt with the NVIDIA GPU? Which Makefile is missing a backslash in the BETA driver?
zander is offline   Reply With Quote
Old 12-17-06, 01:26 PM   #6
SirDice
Registered User
 
Join Date: Jul 2005
Posts: 79
Default Re: 9631 freezes

The realtek pci card isn't sharing the interrupt. The videocard is on 16 and the NIC is on 18 now. I'll see if I can put the PCI NIC on the same interrupt as the videocard and try to reproduce the problem. Perhaps the problem is related to the re driver, the realtek pci card uses the rl driver..

Ah.. I rechecked the beta.. I copied then modified the freebsd x11/nvidia-driver port. Seems the missing backslash was caused by the port's 'make patch'. My bad.. It's fine in the original archive.
SirDice is offline   Reply With Quote
Old 01-05-07, 08:22 AM   #7
Grzesiek
Registered User
 
Join Date: Dec 2006
Posts: 2
Default Re: 9631 freezes

Hi everyone
I know that this post was published long time ago, but I know the solution on this problem:
(WW) NVIDIA(0): WAIT (0, 1, 0x8000, 0x00000700, 0x00000700, 0)

You should paste into your /etc/xorg.conf file this line: Option "NvAgp" "1"
for example:

Section "Device"
Identifier "NVIDIA Corporation NV5M64 [RIVA TNT2 Model 64/Model 64 Pro]"
Driver "nvidia"
BusID "PCI:1:0:0"
Option "NvAgp" "1"
Option "DPMS" "yes"

EndSection

regards from Poland
Grzesiek is online now Reply With Quote
Grzesiek is offline   Reply With Quote
Old 01-05-07, 09:25 PM   #8
SirDice
Registered User
 
Join Date: Jul 2005
Posts: 79
Default Re: 9631 freezes

Quote:
Originally Posted by Grzesiek
Hi everyone
You should paste into your /etc/xorg.conf file this line: Option "NvAgp" "1"
Been there, done that..

Quote:
I've tried using the nvidia AGP and the FreeBSD AGP, I even tried NvAGP=0.
Which translates to NvAGP=1, NvAGP=2 and NvAGP=0
SirDice is offline   Reply With Quote

Old 01-16-07, 09:53 AM   #9
AlienZoo
Registered User
 
Join Date: Jul 2005
Posts: 8
Default Re: 9631 freezes

Downgrading to 8178 fixed a "similar" problem for me. See
http://www.nvnews.net/vbulletin/showthread.php?t=73644

Not the best solution but I just need *any* driver that actually works - nv just locked up when I tried it.
AlienZoo is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
GeForce 2 freezes system under Direct3D Matthius NVIDIA GeForce 7, 8, And 9 Series 20 06-05-12 02:46 AM
crashes and freezes Lethal Weapon NVIDIA Linux 9 09-27-02 08:23 PM
Recompiled Kernel freezes H3g3m0n NVIDIA Linux 4 08-17-02 10:09 AM
X freezes when agp 4x is enabled jinksed NVIDIA Linux 1 08-07-02 04:56 PM
System freezes while gaming with a GeForce4 Grimwall NVIDIA GeForce 7, 8, And 9 Series 12 07-31-02 07:50 AM

All times are GMT -5. The time now is 03:44 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.