From owner-freebsd-current@FreeBSD.ORG Fri Nov 16 23:38:15 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 9ABFA16A420 for ; Fri, 16 Nov 2007 23:38:15 +0000 (UTC) (envelope-from andrey.kosachenko@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.170]) by mx1.freebsd.org (Postfix) with ESMTP id 2B78513C465 for ; Fri, 16 Nov 2007 23:38:14 +0000 (UTC) (envelope-from andrey.kosachenko@gmail.com) Received: by ug-out-1314.google.com with SMTP id y2so888959uge for ; Fri, 16 Nov 2007 15:38:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:user-agent:mime-version:to:subject:content-type:content-transfer-encoding:from; bh=rCTSHUzojSfyI5RDlC1T4+8CHNpshOo0hvdAYlIYIvU=; b=RysbY+/kUknHRFYX7qPSpdlR0kV7RTh21EaxlOtpPjY7yDh46ffPOrTejTbEka8GCtAMIydCJof2HWOjXuC8/p7V/93tdydeVr1kVdpaevHm3gelixIdikwoW+9lyjtlhsSdCMKin/5SEnn1kqDspKmGosl7YpxR5gw7Ct+vxvg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:user-agent:mime-version:to:subject:content-type:content-transfer-encoding:from; b=t9icmXb+JOBYTkH6+6GYp4IhlGuJtzv0SaxRev8rqR5Cj6MosJCxRHGdyzcCNJBQ6eRA221Bj3EArtsKlrkeM7zULrFc5/KxQqYeJgCt0HVtuQtdb6I+Of8NBtT2V0RepVcGKjuzTCveprPXiglVkIp3sB6H2w0L97Sm4IL+wbs= Received: by 10.67.20.3 with SMTP id x3mr1489804ugi.1195256293905; Fri, 16 Nov 2007 15:38:13 -0800 (PST) Received: from avalon.lan ( [195.60.174.17]) by mx.google.com with ESMTPS id z33sm4119941ikz.2007.11.16.15.38.11 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 16 Nov 2007 15:38:12 -0800 (PST) Message-ID: <473E2A9C.1050808@gmail.com> Date: Sat, 17 Nov 2007 01:41:16 +0200 User-Agent: Thunderbird 2.0.0.6 (X11/20071111) MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit From: Andrey Kosachenko Subject: Re: RELENG_7 and HEAD: bge causes system hang X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Nov 2007 23:38:15 -0000 Good time of the day, Jung-uk Kim! Thank you for good news! I've just tried fresh revision of sys/dev/pci/pci.c you pointed me to and it solved the problem for me. Actually, now I can state that there is no problem "bge causes system hang" on RELENG_7 with bge driver (on HP machine with Broadcom Netlink Gigabit Ethernet, chipset BCM5787). There are several excerpts below(I think you may be interested in): ------------ # dmesg ... pcib2: irq 18 at device 28.2 on pci0 pci24: on pcib2 pci0:24:0:0: failed to read VPD data. bge0: mem 0xe4000000-0xe400ffff irq 18 at device 0.0 on pci24 miibus0: on bge0 brgphy0: PHY 1 on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto bge0: Ethernet address: 00:1a:4b:66:1b:0e bge0: [ITHREAD] ... ------------ # pciconf -lv ... bge0@pci0:24:0:0: class=0x020000 card=0x30c0103c chip=0x169314e4 rev=0x02 hdr=0x00 vendor = 'Broadcom Corporation' device = 'BCM 5787A Ethernet Controller Broadcom Netlink Gigabit' class = network subclass = ethernet ... ------------ # ifconfig bge0 bge0: flags=8843 metric 0 mtu 1500 options=9b ether 00:1a:4b:66:1b:0e inet 10.10.0.2 netmask 0xffffff00 broadcast 10.10.0.255 media: Ethernet autoselect (100baseTX ) status: active ------------ So, great work :o). Thank you. Jung-uk Kim wrote: > > Please try: > > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/pci/pci.c.diff?r1=1.355;r2=1.356 > > Jung-uk Kim -- Sincerely, Andrey