From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lucas Nussbaum Subject: [BUG] tg3 cannot do PXE (loses MAC address) after soft reboot Date: Thu, 13 Sep 2007 10:39:18 +0200 Message-ID: <20070913083918.GA5386@xanadu.blop.info> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: mchan@broadcom.com To: netdev@vger.kernel.org Return-path: Received: from xanadu.blop.info ([80.248.208.235]:46807 "EHLO xanadu.blop.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754351AbXIMIwZ (ORCPT ); Thu, 13 Sep 2007 04:52:25 -0400 Content-Disposition: inline Sender: netdev-owner@vger.kernel.org List-Id: netdev.vger.kernel.org Hi, We use PXE with Broadcom NetXtreme cards. After a soft reboot (using the "reboot" command), the system cannot get an IP address using DHCP. On the console, a MAC address of 00 00 00 00 00 00 is shown. When rebooting with "reboot -f" or with the reset button, everything works as expected. This used to work, and broke between 2.6.16 and 2.6.17. Using git bissect, I could trace this back to that commit: commit bc1c756741b065cfebf850e4164c0e2aae9d527f Author: Michael Chan Date: Mon Mar 20 17:48:03 2006 -0800 [TG3]: Support shutdown WoL. During boot, the following messages are displayed: Broadcom NetXtreme Gigabit Ethernet Boot Agent v2.2.8 [...] Broadcom UNDI, PXE-2.1 (build 082) v2.2.8 [...] CLIENT MAC ADDR: 00 10 18 01 E5 2F GUID: 44454C4C 4800 1052 8032 B9C04F53304A After a soft reboot, the last line is changed to: CLIENT MAC ADDR: 00 00 00 00 00 00 GUID: 44454C4C 4800 1052 8032 B9C04F53304A lspci -v for the card: 02:02.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5703X Gigabit Ethernet (rev 02) Subsystem: Broadcom Corporation NetXtreme BCM5703 1000Base-T Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 177 Memory at fcf00000 (64-bit, non-prefetchable) [size=64K] Capabilities: [40] PCI-X non-bridge device Capabilities: [48] Power Management version 2 Capabilities: [50] Vital Product Data Capabilities: [58] Message Signalled Interrupts: Mask- 64bit+ Queue=0/3 Enable- Thank you, -- | Lucas Nussbaum PhD student | | lucas.nussbaum@imag.fr LIG / Projet MESCAL | | jabber: lucas@nussbaum.fr +33 (0)6 64 71 41 65 | | homepage: http://www-id.imag.fr/~nussbaum/ |