From owner-freebsd-drivers@FreeBSD.ORG Sun Nov 4 09:49:24 2007 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6A3A816A41B for ; Sun, 4 Nov 2007 09:49:24 +0000 (UTC) (envelope-from andrey.kosachenko@gmail.com) Received: from hu-out-0506.google.com (hu-out-0506.google.com [72.14.214.231]) by mx1.freebsd.org (Postfix) with ESMTP id DB80913C4B5 for ; Sun, 4 Nov 2007 09:49:23 +0000 (UTC) (envelope-from andrey.kosachenko@gmail.com) Received: by hu-out-0506.google.com with SMTP id 28so797660hub for ; Sun, 04 Nov 2007 01:49:09 -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=50rAn/6T7wpblJ4QSuIVm8ghug4bzThHUq1+r5cjSTY=; b=Mrs7CmGlWCYwLk2HbIY4D2oVVupGCNy8ugqQYVPgIIazI1yz3WQNgcqL4RJlu/n+2FSohMUC6CINiuIl3/xhaC/GGX7ulAUBY6umIln7L2pXEBrE5vEJlzYxp1rA8Cl2iMlGwrJOvXnmOfUCve+CbbKwoTWB1xC64mdN/xS4VFg= 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=nyhfcsRk//NN60x34A6Hp0g0Bk/6hQoaxOHvqqBdo/r9BrrSStM2kZ3YUXvYIzRJt/KXLIHK5LmQN/dIPtspxISglJSu5MVMbBpGdvUmRF0mvTEfFo6KpXgDFG6RMACvPr2tM1XvAtKWMh3e+L9oGqnLJITknvg1n/DYW0w0HtU= Received: by 10.82.138.6 with SMTP id l6mr6885451bud.1194168764316; Sun, 04 Nov 2007 01:32:44 -0800 (PST) Received: from avalon.lan ( [195.60.174.17]) by mx.google.com with ESMTPS id z33sm5959856ikz.2007.11.04.01.32.41 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 04 Nov 2007 01:32:42 -0800 (PST) Message-ID: <472D924E.7090701@gmail.com> Date: Sun, 04 Nov 2007 11:35:10 +0200 From: Andrey Kosachenko User-Agent: Thunderbird 2.0.0.6 (X11/20070808) MIME-Version: 1.0 To: freebsd-drivers@freebsd.org Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit Subject: IF_BGE: BCM5787 10/100/1000baseTX PHY freezes RELENG_7-based system (HP Compaq 6710b) X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Nov 2007 09:49:24 -0000 Good time of the day. There is HP Compaq 6710b. It works fine with 6.2-STABLE or 6.3-PRERELEASE and there is no issues connected with bge driver ('pciconf -lv', 'dmesg' excerpt and 'uname -a' are enclosed below). Unfortunately it does not work with 7.0 (I've tried snapshots 200708, 200709, 200710, 7.0 BETA 1.5 and the latest sources of RELENG_7 (csup with RELENG_7 tag on 03-11-2007). 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 during boot. Setting up hw.bge.allow_asf=0 does not help. (also, if I'm not mistaken there was a commit to sys/dev/bge/if_bge.c connected with asf parameter default state. Now it is 0 by default). I excluded 'device bge' from kernel and recompiled it. 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. I would like to know if there exists a way to pass if_bge issue. Even pointing "where to dig" is appreciated too :o).And as far as I know I'm not alone with similar issue. So let me know if you need more detailed information. Thank you. -- Sincerely, Andrey Kosachenko andrey.kosachenko ~at~ gmail.com *** BEGIN OF ENCLOSURE *** # 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 ... #pciconf -lv hostb0@pci0:0:0: class=0x060000 card=0x30c0103c chip=0x2a008086 rev=0x0c hdr=0x00 vendor = 'Intel Corporation' class = bridge subclass = HOST-PCI none0@pci0:2:0: class=0x030000 card=0x30c0103c chip=0x2a028086 rev=0x0c hdr=0x00 vendor = 'Intel Corporation' class = display subclass = VGA none1@pci0:2:1: class=0x038000 card=0x30c0103c chip=0x2a038086 rev=0x0c hdr=0x00 vendor = 'Intel Corporation' class = display uhci0@pci0:26:0: class=0x0c0300 card=0x30c0103c chip=0x28348086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' class = serial bus subclass = USB uhci1@pci0:26:1: class=0x0c0300 card=0x30c0103c chip=0x28358086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' class = serial bus subclass = USB ehci0@pci0:26:7: class=0x0c0320 card=0x30c0103c chip=0x283a8086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' class = serial bus subclass = USB pcm0@pci0:27:0: class=0x040300 card=0x30c0103c chip=0x284b8086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' class = multimedia pcib1@pci0:28:0: class=0x060400 card=0x30c0103c chip=0x283f8086 rev=0x03 hdr=0x01 vendor = 'Intel Corporation' class = bridge subclass = PCI-PCI pcib2@pci0:28:1: class=0x060400 card=0x30c0103c chip=0x28418086 rev=0x03 hdr=0x01 vendor = 'Intel Corporation' class = bridge subclass = PCI-PCI pcib3@pci0:28:2: class=0x060400 card=0x30c0103c chip=0x28438086 rev=0x03 hdr=0x01 vendor = 'Intel Corporation' class = bridge subclass = PCI-PCI pcib4@pci0:28:4: class=0x060400 card=0x30c0103c chip=0x28478086 rev=0x03 hdr=0x01 vendor = 'Intel Corporation' class = bridge subclass = PCI-PCI uhci2@pci0:29:0: class=0x0c0300 card=0x30c0103c chip=0x28308086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' class = serial bus subclass = USB uhci3@pci0:29:1: class=0x0c0300 card=0x30c0103c chip=0x28318086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' class = serial bus subclass = USB uhci4@pci0:29:2: class=0x0c0300 card=0x30c0103c chip=0x28328086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' class = serial bus subclass = USB ehci1@pci0:29:7: class=0x0c0320 card=0x30c0103c chip=0x28368086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' class = serial bus subclass = USB pcib5@pci0:30:0: class=0x060401 card=0x30c0103c chip=0x24488086 rev=0xf3 hdr=0x01 vendor = 'Intel Corporation' device = '82801BAM/CAM/DBM (ICH2-M/3-M/4-M) Hub Interface to PCI Bridge' class = bridge subclass = PCI-PCI isab0@pci0:31:0: class=0x060100 card=0x30c0103c chip=0x28158086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' class = bridge subclass = PCI-ISA atapci0@pci0:31:1: class=0x01018a card=0x30c0103c chip=0x28508086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' class = mass storage subclass = ATA atapci1@pci0:31:2: class=0x010601 card=0x30c0103c chip=0x28298086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' class = mass storage none2@pci16:0:0: class=0x028000 card=0x135c103c chip=0x42228086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' class = network bge0@pci24:0:0: class=0x020000 card=0x30c0103c chip=0x169314e4 rev=0x02 hdr=0x00 vendor = 'Broadcom Corporation' class = network subclass = ethernet cbb0@pci2:4:0: class=0x060700 card=0x30c0103c chip=0x04761180 rev=0xb6 hdr=0x02 vendor = 'Ricoh Co Ltd' device = 'RL5c476 CardBus Controller' class = bridge subclass = PCI-CardBus *** END OF ENCLOSURE ***