From owner-freebsd-net@FreeBSD.ORG Fri Apr 6 02:05:56 2007 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3416316A401 for ; Fri, 6 Apr 2007 02:05:56 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.179]) by mx1.freebsd.org (Postfix) with ESMTP id CD76513C4BC for ; Fri, 6 Apr 2007 02:05:55 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by py-out-1112.google.com with SMTP id f31so348746pyh for ; Thu, 05 Apr 2007 19:05:55 -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=pTjZwvj+BP20e2U+UIyQpmAMXgY7vja1shM7q0dh6X55t5PxOkPlLoBoOFslfVKZ5lnbXwdbBjD4MItKtUIGmaFzwuHecT3YICona9A7JJ+fugFaZGAnwf5D/tHFgGRufmb8WuMIbCsjcRKaqd7aM7yViOgUNo0Wp3jTPVkvNDI= 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=libmarXE8Bj7wBuDm3LSAFVNwIaxEmLkKjWT0ZGUgcKB2MDu14dNz0205wYJ3a7CR0+pK9I+E7ToVzxea448WiQZoXkvrAAS0Cr5RuTs0IuGklE0KqICr5Tz+eW31Xv5r8uzAeoYGrOY4W4H5YhFjNAoC6nsFpb+mjfyjmz/wyI= Received: by 10.65.116.10 with SMTP id t10mr306340qbm.1175825155252; Thu, 05 Apr 2007 19:05:55 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.google.com with ESMTP id 15sm10830774nzn.2007.04.05.19.05.52; Thu, 05 Apr 2007 19:05:53 -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 l3626bWC020758 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 6 Apr 2007 11:06:37 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id l3626ZMS020757; Fri, 6 Apr 2007 11:06:35 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Fri, 6 Apr 2007 11:06:35 +0900 From: Pyun YongHyeon To: Marv Message-ID: <20070406020635.GB20103@cdnetworks.co.kr> References: <20070404100200.GA1167@home.bh.net> <20070404111158.GB11525@cdnetworks.co.kr> <20070404190649.GB986@home.bh.net> <20070405001533.GA15837@cdnetworks.co.kr> <20070405072945.GA1418@home.bh.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070405072945.GA1418@home.bh.net> User-Agent: Mutt/1.4.2.1i Cc: freebsd-net@freebsd.org Subject: Re: if_msk in 6.2 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Apr 2007 02:05:56 -0000 On Thu, Apr 05, 2007 at 09:29:45AM +0200, Marv wrote: > It works with acpi disabled: > > mskkc0: port 0x2000-0x20ff mem > 0xd0000000-0xd0003fff irq 16 at device 0.0 on pci2 > msk0: on mskc0 > msk0: Ethernet address: 00:16:36:8a:f4:a3 > miibus0: on msk0 > e1000phy0: on miibus0 > e1000phy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > > When using acpi I get the same error as before but without hang of > course. > Thanks for the report. Patch committed to HEAD. > On Thu, Apr 05, 2007 at 09:15:33AM +0900, Pyun YongHyeon wrote: > > On Wed, Apr 04, 2007 at 09:06:49PM +0200, Marv wrote: > > > Thanks for your reply. I checked out the kernel source tree of RELENG_6, > > > applied your patch and compiled a new kernel. > > > > > > The kernel boots and detects a 88E8038 Ethernet card but then hangs: > > > > > > mskc0: irq 16 at device 0.0 on > > > pci2 > > > mskc0: 0x4000 bytes of rid 0x10 res 3 failed (0, 0xffffffff). > > > mskc0: unknown device: id=0xff, rev=0x0f > > > > > > (doing nothing no more at this point). > > > > > > Was there some kind of detection failure or is my ethernet controller > > > not configured properly to fit the driver? > > > > > > > Since msk(4) supports 88E8038 I guess the device was not properly > > initialized/recognized by system BIOS. > > > > But it's driver bug if it hang your system when it encounter an > > exceptional condition. Try attached patch and report back the result. > > It wouldn't fix device recognization but it will not hang your system. > > -- Regards, Pyun YongHyeon