From owner-freebsd-bugs@FreeBSD.ORG Sun Jul 16 20:40:34 2006 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0C7A116A4E0 for ; Sun, 16 Jul 2006 20:40:34 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id CE1B243D5C for ; Sun, 16 Jul 2006 20:40:15 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k6GKeFsN091303 for ; Sun, 16 Jul 2006 20:40:15 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k6GKeFY2091298; Sun, 16 Jul 2006 20:40:15 GMT (envelope-from gnats) Resent-Date: Sun, 16 Jul 2006 20:40:15 GMT Resent-Message-Id: <200607162040.k6GKeFY2091298@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Eric Lakin Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A3C216A4DF for ; Sun, 16 Jul 2006 20:38:26 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id F420F43D46 for ; Sun, 16 Jul 2006 20:38:25 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k6GKcPlJ098026 for ; Sun, 16 Jul 2006 20:38:25 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k6GKcP93098010; Sun, 16 Jul 2006 20:38:25 GMT (envelope-from nobody) Message-Id: <200607162038.k6GKcP93098010@www.freebsd.org> Date: Sun, 16 Jul 2006 20:38:25 GMT From: Eric Lakin To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: kern/100410: bge driver disables access to shared iLo on HP DL360 G4 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Jul 2006 20:40:34 -0000 >Number: 100410 >Category: kern >Synopsis: bge driver disables access to shared iLo on HP DL360 G4 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jul 16 20:40:14 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Eric Lakin >Release: 6.1 >Organization: >Environment: FreeBSD amun-ra.priv.infohell.net 6.1-RELEASE-p2 FreeBSD 6.1-RELEASE-p2 #7: Sat Jul 15 20:53:49 PDT 2006 root@amun-ra.priv.infohell.net:/usr/obj/usr/src/sys/AMUN-RA amd64 >Description: One of the configuration options of the iLo (integrated lights-out management device) on the HP DL360 G4 and later is to use a "shared network" setup. Normally, the iLo device uses a dedicated network interface. With the shared network, the iLo shares the first onboard ethernet device with the host computer. Under FreeBSD this is bge0. When a kernel containing the bge0 driver is booted, or the 'if_bge' module is loaded, access to the iLo is interrupted - the ilo can no longer be pinged or ssh'd into. When if_bge is loaded on the DL360, the following is logged: bge0: mem 0xfdff0000-0xfdffffff irq 25 at device 2.0 on pci2 bge0: Ethernet address: 00:12:79:8f:8f:54 bge1: mem 0xfdfe0000-0xfdfeffff irq 26 at device 2.1 on pci2 bge1: Ethernet address: 00:12:79:8f:8f:53 miibus0: on bge0 brgphy0: on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto miibus1: on bge1 brgphy1: on miibus1 brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto Also, if a host is pinging the iLo IP address when if_bge is loaded, the FreeBSD host can see the ICMP packets that should be destined for iLo. Because of this, it looks as though the FreeBSD driver is accessing the bge device at a lower level than it needs, and is reading packets from the HW that should be going to the iLo. This is kind of a strange setup - basically, two computers are sharing the same network interface (the iLo and the computer running FreeBSD). However, it's something that I also tested under linux - and linux is able to utilize the ethernet interface w/o impacting the iLo using it as well. The machine that I discovered this on is not yet in active service, and so I can help test and provide more information for a while, as needed. >How-To-Repeat: Load if_bge, or boot a kernel that includes 'device bge' >Fix: >Release-Note: >Audit-Trail: >Unformatted: