[gPXE] [gPXE-devel] New tg3 driver - Call for testers

Quinn Plattel qiet72 at gmail.com
Thu Jan 26 07:21:00 EST 2012


Hi Thomas,

I have started testing your code on a HP Z800 Workstation.  The network
card is listed under Linux as "Broadcom Corporation NetXtreme BCM5764M
Gigabit Ethernet PCIe (rev 10)" (14e4:1684).
The latest code i got by doing a "git clone -b tg3 git://
git.etherboot.org/people/meteger/gpxe.git". If I use the following make
line: make clean ; make -j 10 DEBUG=tg3_main,tg3_hw,tg3_phy
EMBEDDED_IMAGE=~/disk-images/tftp.gpxe   ,then I get the following output:
----------------------------------------------------
Link is down
ok



gPXE 1.0.1+ -- Open Source Boot Firmware -- http://etherboot.org
Features: AoE HTTP iSCSI DNS TFTP bzImage COMBOOT ELF Multiboot PXE PXEXT

Link is down
Waiting for link-up on net0...Link is up at 1000 Mbps, full duplex
Flow control is off for TX and off for RX
 ok
DHCP (net0 00:1f:29:05:2b:9a)................ Connection timed out
(0x4c106035)
Could not configure net0: Connection timed out (0x4c106035)
Could not configure any interface.

--------------------------------------------------------

To me it looks like packet loss but Linux has no problems with the card at
the 2.6.38 kernel level.
Is there any debug options I can use to get more info?

btw, if you didn't get my mail earlier, the embedded script problem I had
earlier was caused by a missing "#!gpxe" header.  Without it, the script is
not recognized.

br,
Quinn Plattel


On Fri, Jan 20, 2012 at 8:59 AM, Quinn Plattel <qiet72 at gmail.com> wrote:

> Hi Thomas,
>
> I found my problem as I mentioned on the list earlier.  The embedded
> script needs to have "#!gpxe" as the first line otherwise the script won't
> execute.
> I will be testing gpxe on an HP Z800 soon.  It also has a broadcom chipset
> so I will give my report when I am ready.
>
> br,
> Quinn
>
>
> On Wed, Jan 11, 2012 at 2:14 PM, Thomas Miletich <
> thomas.miletich at gmail.com> wrote:
>
>> On Fri, Jan 6, 2012 at 9:41 AM, Quinn Plattel <qiet72 at gmail.com> wrote:
>> > Hi,
>> >
>> > I have now finished my testing of your code.  It works but
>> EMBEDDED_IMAGE
>> > support seems to be broken.
>> > Can you or anyone on the mailing list confirm this?
>>
>> Hello Quinn,
>> I just pulled the code from the git repository and built an image with:
>>
>> make bin/tg3_main.usb NO_WERROR=1 EMBEDDED_IMAGE=/boot/memtest86+.bin
>>
>> I booted tg3_main.usb in qemu and 'imgstat' shows the embedded image.
>> It won't boot because gPXE's multiboot support isn't complete(linux
>> kernel format memtest binaries should work), but at least the image is
>> there. Checking the md5 sum of the embedded image reveals that the md5
>> sum is also correct.
>>
>> What exactly is the behavior you're seeing / how did you determine
>> that EMBEDDED_IMAGE doesn't work?
>>
>> Thomas
>>
>> > br,
>> > Quinn
>> >
>> > On Sat, Aug 20, 2011 at 6:07 PM, Thomas Miletich <
>> thomas.miletich at gmail.com>
>> > wrote:
>> >>
>> >> Hello everyone,
>> >> For my GSoC project I have been working on updating the tg3 driver for
>> >> Broadcom BCM57xx NICs.
>> >> The old driver was still from etherboot and severely out of date.
>> >> The new driver is based on the driver of a recent linux version and
>> >> supports 79 NIC variants, as opposed to the 31 supported variants of
>> >> the old driver.
>> >>
>> >> We don't have hardware to test the fiber PHY codepath, so no fiber
>> >> code is implemented in the current version. If you have fiber tg3 NICs
>> >> and would be interested in helping us test/implement this feature,
>> >> please let us know.
>> >>
>> >> This driver was tested with the following cards: BCM5788, BCM5789,
>> >> BCM57780, BCM5761.
>> >> There is a know bug that freezes the machine with mdc's test card, a
>> >> BCM5701 that we still have to sort out.
>> >>
>> >> If you're interested in testing the new driver, please let us know
>> >> which card you used and whether it worked or not.
>> >>
>> >> You can get images from a rom-o-matic installation from
>> >> http://etherboot.org/meteger/gpxe/contrib/rom-o-matic/
>> >>
>> >> The source can be fetched from
>> >>
>> http://git.etherboot.org/people/meteger/gpxe.git/shortlog/refs/heads/tg3
>> >> The branch tg3 contains the most recent driver code.
>> >>
>> >> If you experience any driver related issues, please enable the serial
>> >> console in
>> >> src/config/console.h, by changing "//#define       CONSOLE_SERIAL" to
>> >> "#define       CONSOLE_SERIAL".
>> >>
>> >> Then rebuild gPXE with the following options:
>> >> make bin/tg3_main.usb DEBUG=tg3_main:3,tg3_hw,tg3_phy
>> >>
>> >> and copy the serial output to http://pastebin.com or a similar site.
>> >>
>> >> Thanks for any feedback!
>> >> Thomas
>> >> _______________________________________________
>> >> gPXE-devel mailing list
>> >> gPXE-devel at etherboot.org
>> >> http://etherboot.org/mailman/listinfo/gpxe-devel
>> >
>> >
>> >
>> >
>> > --
>> > Best regards/Med venlig hilsen,
>> > Quinn Plattel
>>
>
>
>
> --
> Best regards/Med venlig hilsen,
> Quinn Plattel
>



-- 
Best regards/Med venlig hilsen,
Quinn Plattel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://etherboot.org/pipermail/gpxe/attachments/20120126/18b29e36/attachment.html>


More information about the gPXE mailing list