Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Apr 2013 08:40:08 +0100
From:      "Thomas Sparrevohn" <Thomas.Sparrevohn@btinternet.com>
To:        "'Waitman Gobble'" <uzimac@da3m0n8t3r.com>, "'Alexey Dokuchaev'" <danfe@freebsd.org>
Cc:        ports@freebsd.org, "'Sergey V. Dyatko'" <sergey.dyatko@gmail.com>
Subject:   RE: ports/head@r314338 x11/nvidia-driver
Message-ID:  <01b601ce2f75$4f4f28b0$eded7a10$@btinternet.com>
In-Reply-To: <1364843130.35159@da3m0n8t3r.com>
References:  <20130401152210.GB75193@FreeBSD.org> <1364843130.35159@da3m0n8t3r.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org
[mailto:owner-freebsd-ports@freebsd.org] On Behalf Of Waitman Gobble
Sent: 01 April 2013 20:06
To: Alexey Dokuchaev
Cc: ports@freebsd.org; Sergey V. Dyatko
Subject: Re: ports/head@r314338 x11/nvidia-driver

Alexey Dokuchaev <danfe@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@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@freebsd.org mailing list 
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@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@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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01b601ce2f75$4f4f28b0$eded7a10$>