From owner-freebsd-stable@FreeBSD.ORG Thu Jun 14 17:36:39 2007 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BCC9216A400 for ; Thu, 14 Jun 2007 17:36:39 +0000 (UTC) (envelope-from fjwcash+freebsd@gmail.com) Received: from smtp.sd73.bc.ca (smtp.sd73.bc.ca [142.24.13.140]) by mx1.freebsd.org (Postfix) with ESMTP id 8ED9513C44C for ; Thu, 14 Jun 2007 17:36:39 +0000 (UTC) (envelope-from fjwcash+freebsd@gmail.com) Received: from localhost (localhost [127.0.0.1]) by localhost.sd73.bc.ca (Postfix) with ESMTP id 933271A000B06; Thu, 14 Jun 2007 10:36:36 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at smtp.sd73.bc.ca Received: from smtp.sd73.bc.ca ([127.0.0.1]) by localhost (smtp.sd73.bc.ca [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Q5648cgTUUyn; Thu, 14 Jun 2007 10:36:34 -0700 (PDT) Received: from coal (s10.sbo [192.168.0.10]) by smtp.sd73.bc.ca (Postfix) with ESMTP id 844DB1A000B0D; Thu, 14 Jun 2007 10:36:34 -0700 (PDT) From: Freddie Cash Organization: School District 73 To: stable@freebsd.org Date: Thu, 14 Jun 2007 10:36:33 -0700 User-Agent: KMail/1.9.5 References: <200706080913.37450.fjwcash+freebsd@gmail.com> <200706130901.39724.fjwcash+freebsd@gmail.com> <20070614035807.GB54650@cdnetworks.co.kr> In-Reply-To: <20070614035807.GB54650@cdnetworks.co.kr> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200706141036.33578.fjwcash+freebsd@gmail.com> Cc: pyunyh@gmail.com Subject: Re: Can't get if_txp(4) to attach to a 3CR990B-TXM NIC X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jun 2007 17:36:39 -0000 On Wednesday 13 June 2007 08:58 pm, Pyun YongHyeon wrote: > On Wed, Jun 13, 2007 at 09:01:39AM -0700, Freddie Cash wrote: > > On Tuesday 12 June 2007 09:15 pm, Pyun YongHyeon wrote: > > > On Tue, Jun 12, 2007 at 10:20:11AM -0700, Freddie Cash wrote: > > > > On Friday 08 June 2007 09:59 pm, Pyun YongHyeon wrote: > > > > > On Fri, Jun 08, 2007 at 09:13:37AM -0700, Freddie Cash wrote: > > > > > > Good morning, > > > > > > > > > > > > I'm having a bit of an issue getting a 3CR990B-TXM NIC > > > > > > detected and usable. Just wondering if anyone knows of > > > > > > any issues with this NIC chipset and/or with the > > > > > > motherboard chipset. > > > > > > > > > > > > The motherboard is a Biostar GeForce 6100 AM2 using an > > > > > > nVidia nForce 410 chipset and nVidia GeForce 6100 vide > > > > > > chipset. > > > > > > > > > > > > I've tried FreeBSD 6.1, 6.2, 6-STABLE (from Wed), and > > > > > > 7-CURRENT (from Thu) on this system. Everything installs > > > > > > nicely, everything on the board is detected correctly and > > > > > > usable. It's just the PCI NIC that doesn't work. > > > > > > > > > > > > If I compile a custom kernel without any network drivers > > > > > > in it, and then kldload if_txp, the following appears > > > > > > (same message on all 4 versions): > > > > > > > > > > > > txp0: <3Com 3cR990B-TXM Etherlink with 3XP Processor> port > > > > > > 0xbc00-0xbc7f mem 0xfdcff000-0xfdcff07f irq 16 at device > > > > > > 8.0 on pci3 txp0: not waiting for boot > > > > > > device_attach: txp0 attach returned -1 > > > > > > > > > > Would you try attached path? > > > > > It wouldn't fix your issue but it will handle failure of > > > > > contigmalloc as expected. > > > > > > > > Patch applies cleanly, module compiles cleanly, and module is > > > > kldloaded cleanly. But same error message as before, and no > > > > txp0 device is created. > > > > > > > > Tested on 7-CURRENT from last week. > > > > > > Thanks for testing! > > > > > > It seems that the message will show up in case of firmware > > > loading/ring initialization failure. Try attached patch which will > > > show failing function name. > > > > Patch uplied cleanly, module compiled clealy, and module was > > kldloaded cleanly. > > > > Error message is now: > > txp0: <3Com 3cR990B-TXM Etherlink with 3XP Processor> port > > 0xbc00-0xbc7f mem 0xfdcff000-0xfdcff07f irq 18 at device 6.0 on pci3 > > txp0: txp_download_fw: not waiting for boot > > device_attach: txp0 attach returned -1 > > > > The IRQ and device numbers changed as it's in a different PCI slot > > than before. > > > > Looks like your guess was right, there's something not working right > > in the firmware download. > > Revert previous patch and apply attached patch again. > Please give it spin and let me know result. Error message is now: txp0: <3Com 3cR990B-TXM Etherlink with 3XP Processor> port 0xbc00-0xbc7f mem 0xfdcff000-0xfdcff07f irq 18 at device 6.0 on pci3 txp0: txp_download_fw: not waiting for boot, status = 0x00008008 device_attach: txp0 attach returned -1 I'm going to try the updated firmware you mentioned in the followup message. I'll let you know how it goes. -- Freddie Cash, LPIC-2 CCNT CCLP Network Support Technician School District 73 (250) 377-HELP [377-4357] fjwcash+freebsd@gmail.com