From owner-freebsd-current@FreeBSD.ORG Sun Nov 4 21:50:56 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 8B62116A421 for ; Sun, 4 Nov 2007 21:50:56 +0000 (UTC) (envelope-from andrey.kosachenko@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.169]) by mx1.freebsd.org (Postfix) with ESMTP id 125DD13C48D for ; Sun, 4 Nov 2007 21:50:55 +0000 (UTC) (envelope-from andrey.kosachenko@gmail.com) Received: by ug-out-1314.google.com with SMTP id y2so977635uge for ; Sun, 04 Nov 2007 13:50:45 -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:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; bh=oKLJiLdUU6auMqVB6Bs0eQFgkJWnqpAOb69bjz7uIT4=; b=E6ScV5V4YydaVp5p2U7ZuGQkFb3lOzHIlyFgVBMgCRmUbjHeR17A4KtenAaEYOGsJNGqgKaBcdThBPMfykiBsI3IG+kPbXMce2evtZ9+TpUjwd/fZwESqTTGz2M5Y1apHa7VygiCIvLHbaxoyMTQRyEiKkdslKL/2m3AMI/PkvE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; b=fMr4fnumLcsgAN5Kw9Ht+OTFTLQd+opwIJmqPbxUPmMOWqYWdOD0jbWZe7twQmaCWlz8cm+by/fA/dcnYIcbc7jjyh1bfzVW1SPGGajLNyUbUJeX5SBMnOJnze33IPtzo33qHRN+ePdonll4KB1chTOYW4OcJRry+vYlv9cvGZ0= Received: by 10.66.221.6 with SMTP id t6mr669589ugg.1194211545444; Sun, 04 Nov 2007 13:25:45 -0800 (PST) Received: from avalon.lan ( [195.60.174.17]) by mx.google.com with ESMTPS id z40sm6812788ikz.2007.11.04.13.25.42 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 04 Nov 2007 13:25:43 -0800 (PST) Message-ID: <472E396B.6030307@gmail.com> Date: Sun, 04 Nov 2007 23:28:11 +0200 From: Andrey Kosachenko User-Agent: Thunderbird 2.0.0.6 (X11/20070808) MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit Subject: Issue: bge still freezes RELENG_7 system on HP Compaq 6710b 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: Sun, 04 Nov 2007 21:50:56 -0000 Good time of the day. There is a HP Compaq 6710b with NetLink BCM5787M Gigabit Ethernet. bge device driver fits mentioned NIC and works fine as for 6.2-STABLE or 6.3-PRERELEASE systems. Unfortunately it does not work with 7.0. Actually it completely freezes system (I've tried snapshots 200708, 200709, 200710, 7.0-BETA1.5 and finally 7.0-BETA2 - the scenario is identical). There is only possible way to install the system by means of disabling Ethernet in BIOS (BTW: ACPI is also should be OFF). Otherwise system freezes directly during the boot process. Setting up hw.bge.allow_asf=0 does not help (referring to the possible solution for similar problem with bge driver). I excluded 'device bge' from kernel and recompiled it. Then system boots normally even in the case when Ethernet controller is enabled in BIOS. But it freezes immediately as soon as try to 'kldload if_bge'. No messages, no warnings, no panic... just freezes. Below there are several excerpts which I've captured from both: RELENG_6 and RELENG_7 based systems installed on the same machine: *** BEGIN OF ENCLOSURE *** -- RELENG_6 # uname -a FreeBSD free.lan 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #0: Sat Nov 3 03:32:27 EET 2007 root@free.lan:/usr/obj/usr/src/sys/AVALON-SMP-03112007-v1 i386 #dmesg ... pcib3: irq 18 at device 28.2 on pci0 pci24: on pcib3 bge0: mem 0xe4000000-0xe400ffff irq 18 at device 0.0 on pci24 miibus0: on bge0 brgphy0: on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto bge0: Ethernet address: xx:xx:xx:xx:xx:xx pcib4: irq 16 at device 28.4 on pci0 pci40: on pcib4 ... #pciconf -lv ... bge0@pci24:0:0: class=0x020000 card=0x30c0103c chip=0x169314e4 rev=0x02 hdr=0x00 vendor = 'Broadcom Corporation' class = network subclass = ethernet ... -- RELENG_7 # uname -a FreeBSD 7.0-BETA2 FreeBSD 7.0-BETA2 #1: Sun Nov 4 19:00:13 EET 2007 root@:/usr/obj/usr/src/sys/FREE-SMP-04112007-v3 i386 # dmesg ... pcib3: irq 18 at device 28.2 on pci0 pci24: on pcib3 pci24: at device 0.0 (no driver attached) pcib4: irq 16 at device 28.4 on pci0 pci40: on pcib4 ... # pciconf -lv ... none2@pci0:24:0:0: class=0x020000 card=0x30c0103c chip=0x169314e4 rev=0x02 hdr=0x00 vendor = 'Broadcom Corporation' device = 'NetLink BCM5787M Gigabit Ethernet PCI Express' class = network subclass = ethernet ... *** END OF ENCLOSURE *** I would like to know if there exists a way to overcome bge issue. Even pointing "where to dig" is appreciated. Unfortunately staying with RELENG_6 is difficult because of absence support for 965GM. Thank you. PS: Sorry for noise, I've mistakenly posted similar message to the freebsd-drivers@ queue. -- Sincerely, Andrey Kosachenko