From owner-freebsd-current@FreeBSD.ORG Mon Jul 23 10:09:42 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6734616A41B for ; Mon, 23 Jul 2007 10:09:42 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.182]) by mx1.freebsd.org (Postfix) with ESMTP id 30A4B13C461 for ; Mon, 23 Jul 2007 10:09:41 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by wa-out-1112.google.com with SMTP id j37so2123771waf for ; Mon, 23 Jul 2007 03:09:41 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:received:received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=IkciD8y07VP4/m6feo/i5fjSmrL7tm68q/6yMJH2EFFJz5LxprqdOwv8OHOOpTuy7xguNu/hhdPcB1SofMIXE1CcCUNNBVv+fCRVFJcyCZ3NTFlWpOICWOOz6O2koAYwqvXG6ySH3baqwLljQlnB8/c7+b34XWkBDpXjLr0wO44= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=Pf+hZKriJ6ui2Fyp02rjlY7VuOp7Wu+z4XEOpvXD5gWEg4zlfNO9+L7e3JLWa8d08Ba1fHClyvk2mGxdWgffGICplFwS3K3jnyodQUomgMabfOh/AqRTOBN5RaYmex0mPbkwqkea09WNPo9tLmBMQCSLaOD+gw+lhA5cwsgXu9Y= Received: by 10.114.166.1 with SMTP id o1mr2829988wae.1185185380949; Mon, 23 Jul 2007 03:09:40 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.google.com with ESMTPS id n38sm9601619wag.2007.07.23.03.09.38 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 23 Jul 2007 03:09:39 -0700 (PDT) Received: from michelle.cdnetworks.co.kr (localhost.cdnetworks.co.kr [127.0.0.1]) by michelle.cdnetworks.co.kr (8.13.5/8.13.5) with ESMTP id l6NA9ZxM061061 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 23 Jul 2007 19:09:35 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id l6NA9XnZ061060; Mon, 23 Jul 2007 19:09:33 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Mon, 23 Jul 2007 19:09:33 +0900 From: Pyun YongHyeon To: "Andrey V. Elsukov" Message-ID: <20070723100933.GM58912@cdnetworks.co.kr> References: <180421185183327@webmail29.yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <180421185183327@webmail29.yandex.ru> User-Agent: Mutt/1.4.2.1i Cc: freebsd-current@freebsd.org, Pyun YongHyeon Subject: Re: Conflict between nfe(4) and x11/nvidia-driver X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2007 10:09:42 -0000 On Mon, Jul 23, 2007 at 01:35:27PM +0400, Andrey V. Elsukov wrote: > Hi, All. > > I have notebook with NVIDIA based network adapter and video. > >From dmesg: > > nvidia0: mem 0xc2000000-0xc2ffffff,0xd0000000-0xdfffffff,0xc1000000-0xc1ffffff irq 5 at device 5.0 on pci0 > nvidia0: [GIANT-LOCKED] > nvidia0: [ITHREAD] > ... > nfe0: port 0x30b8-0x30bf mem 0xc0007000-0xc0007fff irq 5 at device 20.0 on pci0 > miibus0: on nfe0 > rlphy0: PHY 1 on miibus0 > rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > nfe0: Ethernet address: 00:90:f5:4f:18:1b > nfe0: [FILTER] > > Some time ago i've used nve(4) and nvidia-driver without problems. > But nve(4) is buggy and sometimes have watchdog timeouts. > > After switching to nfe(4) i can't use x11/nvidia-driver. > After some time of running, Xorg process takes 100% of resources and > system not responds. But i can power off my system via ACPI. > After reboot i have following messages in the /var/log/messages: > > Jul 20 16:26:51 btr-nb kernel: nfe0: watchdog timeout (missed Tx interrupts) -- recovering > Jul 20 16:27:39 btr-nb last message repeated 3 times > Jul 20 16:27:58 btr-nb kernel: nfe0: watchdog timeout (missed Tx interrupts) -- recovering > Jul 20 16:28:08 btr-nb kernel: acpi_button0: power button pressed > > nfe(4) without x11/nvidia-driver and x11/nvidia-driver without nfe(4) > works stable. > But i want use both nfe(4) and x11/nvidia-driver... > Can somebody suggest me some tricks? > Show me the output of "vmstat -i". I guess nfe(4) shares interrupt with your video adapter. If this is the case use polling(4) which may fix the issue. -- Regards, Pyun YongHyeon