Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 436686 - tg3.c does not build on sparc with > 2.6.18-53.el5 [NEEDINFO]
tg3.c does not build on sparc with > 2.6.18-53.el5
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kernel (Show other bugs)
sparc64 Linux
low Severity low
: rc
: ---
Assigned To: Andy Gospodarek
Martin Jenner
Depends On:
  Show dependency treegraph
Reported: 2008-03-09 06:24 EDT by Johnny Hughes
Modified: 2009-01-20 15:21 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2009-01-20 15:21:12 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
agospoda: needinfo? (johnny)

Attachments (Terms of Use)
rhel5-test2.patch (1.57 KB, patch)
2008-05-07 11:48 EDT, Andy Gospodarek
no flags Details | Diff

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2009:0225 normal SHIPPED_LIVE Important: Red Hat Enterprise Linux 5.3 kernel security and bug fix update 2009-01-20 11:06:24 EST

  None (edit)
Description Johnny Hughes 2008-03-09 06:24:12 EDT
Description of problem:
linux-2.6-net-tg3-update-to-driver-version-3-76.patch adds a piece of code that
calls pci_device_to_OF_node, however that is NOT available in the sparc or
sparc64 code in the kernel.

It looks like pci_device_to_OF_node is available in sparc on newer kernel kernel
Comment 2 Andy Gospodarek 2008-05-07 11:28:58 EDT
Inclusion of this patch is the problem.

commit 49b6e95ff6d05722bcf7a52b00454566ce0c44eb
Author: David S. Miller <davem@sunset.davemloft.net>
Date:   Thu Mar 29 01:38:42 2007 -0700

    [TG3]: Use pci_device_to_OF_node() on sparc.

    And use CONFIG_SPARC instead of CONFIG_SPARC64 as the

    Signed-off-by: David S. Miller <davem@davemloft.net>

Comment 3 Andy Gospodarek 2008-05-07 11:48:59 EDT
Created attachment 304775 [details]

Johnny, please test this patch and let me know if you can now compile and use
tg3 on sparc.  Thanks!
Comment 4 Andy Gospodarek 2008-06-16 09:42:23 EDT
My test kernels have been updated to include a patch for this bugzilla.


Please test them and report back your results.
Comment 5 Andy Gospodarek 2008-08-04 11:00:28 EDT

Did you ever test compilation on SPARC with my test kernels?  You can grab them here:


Comment 7 Andy Gospodarek 2008-08-28 17:44:16 EDT
Johnny, I could still use some feedback on my test kenels and how they are working (compiling) for you.  Thanks!
Comment 8 RHEL Product and Program Management 2008-09-04 13:37:36 EDT
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
Comment 10 Don Zickus 2008-09-11 15:42:13 EDT
in kernel-2.6.18-111.el5
You can download this test kernel from http://people.redhat.com/dzickus/el5
Comment 13 errata-xmlrpc 2009-01-20 15:21:12 EST
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.


Note You need to log in before you can comment on or make changes to this bug.