ports/head at r314338 x11/nvidia-driver

Thomas Sparrevohn Thomas.Sparrevohn at btinternet.com
Tue Apr 2 07:47:03 UTC 2013


As far as I can tell the reboots are related to a faulty strlen call when
compiled with clang. Change compiler to gcc the problem goes away

-----Original Message-----
From: owner-freebsd-ports at freebsd.org
[mailto:owner-freebsd-ports at freebsd.org] On Behalf Of Waitman Gobble
Sent: 01 April 2013 20:06
To: Alexey Dokuchaev
Cc: ports at freebsd.org; Sergey V. Dyatko
Subject: Re: ports/head at r314338 x11/nvidia-driver

Alexey Dokuchaev <danfe at freebsd.org> wrote ..
> On Mon, Apr 01, 2013 at 03:39:37PM +0300, Sergey V. Dyatko wrote:
> > On Mon, 1 Apr 2013 05:28:27 -0700
> > David Wolfskill <david at catwhisker.org> wrote:
> > > On Mon, Apr 01, 2013 at 03:24:33PM +0300, Sergey V. Dyatko wrote:
> > > > ...
> > > > looks like r248084-patch-src-nvidia_subr.c is incomplete ...
> > > > here complete patch I use on my desktop:
> > > > http://svn.freebsd.by/files/patch-src__nvidia_subr.c.txt
> > > > ....
> > > 
> > > Please refer to http://www.freebsd.org/cgi/query-pr.cgi?pr=177459
> > > (Not my PR, but I have tested that it works for my environment.)
> > 
> > Ooops,
> > My bad, I did not take advantage of the power of search, sorry.
> > What are the chances of this change to get into the ports tree, 
> > before 8.4-R ?:) If I understand correctly It is one of cases, when 
> > committer may commit it without portmgr approval ?
> 
> No, it still requires portmgr@ approval.  I will handle it shortly.
> 
> ./danfe
> _______________________________________________
> freebsd-ports at freebsd.org mailing list 
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"

RE: http://www.freebsd.org/cgi/query-pr.cgi?pr=177459 

After rebuilding FreeBSD 10.0-CURRENT from SVN the other night, the machine
would reboot randomly, either instantly or within 5 minutes or so, it seemed
to be related to the nvidia driver. The patch allowed me to update the
driver.. which seemed to work. BUT the machine did reboot again maybe an
hour later. I've disabled the driver again.. so far it's been running OK
without reboot. 

 > uptime
12:02PM  up 1 day,  1:45

> uname -a
FreeBSD dx.burplex.com 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r248937: Sat Mar
30 21:53:14 PDT 2013     root at dx.burplex.com:/usr/obj/usr/src/sys/FURAHA
amd64

 > dmesg | grep NVID
hdac1: <NVIDIA (0x0be2) HDA Controller> mem 0xfcffc000-0xfcffffff irq 17 at
device 0.1 on pci4
hdacc1: <NVIDIA GT220 HDA CODEC> at cad 0 on hdac1
hdaa1: <NVIDIA GT220 Audio Function Group> at nid 1 on hdacc1
pcm3: <NVIDIA GT220 (HDMI/DP 8ch)> at nid 5 on hdaa1
hdacc2: <NVIDIA GT220 HDA CODEC> at cad 1 on hdac1
hdaa2: <NVIDIA GT220 Audio Function Group> at nid 1 on hdacc2
pcm4: <NVIDIA GT220 (HDMI/DP 8ch)> at nid 5 on hdaa2
hdacc3: <NVIDIA GT220 HDA CODEC> at cad 2 on hdac1
hdaa3: <NVIDIA GT220 Audio Function Group> at nid 1 on hdacc3
pcm5: <NVIDIA GT220 (HDMI/DP 8ch)> at nid 5 on hdaa3
hdacc4: <NVIDIA GT220 HDA CODEC> at cad 3 on hdac1
hdaa4: <NVIDIA GT220 Audio Function Group> at nid 1 on hdacc4
pcm6: <NVIDIA GT220 (HDMI/DP 8ch)> at nid 5 on hdaa4


*** I'm not 100% it's the nvidia driver to blame but it could be.. anyone
else have a reboot issue? 
I actually have another card (non-nvidia) I'm thinking about putting into
that machine so it might not be an issue for me anymore, anyway :)

Thanks

--
Waitman Gobble
San Jose California USA



More information about the freebsd-ports mailing list