Installation of Dell network driver from dell-hardware-auto-repository on CentOS 5
Narendra_K at Dell.com
Narendra_K at Dell.com
Thu Jul 10 08:29:47 CDT 2008
Hello,
I suppose this is due to change of definitions in the header files
acorss kernel versions. I have observed this before. The problem is that
the driver is built for an older kernel and may not work with the newer
kernel version.
With regards,
Narendra K
-----Original Message-----
Date: Thu, 10 Jul 2008 08:14:14 -0400
From: "Eugene Pik" <eugene.pik at gmail.com>
Subject: Re: Installation of Dell network driver from
dell-hardware-auto repository on CentOS 5
To: Bryan <bryan.madhatter at gmail.com>
Cc: linux-poweredge at dell.com
Message-ID:
<b7845e9a0807100514x29331109mfea175f3b53e0118 at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
Hi Bryan,
You're right, there is an additional info in make.log
I see that the problems start with redefinition of
'skb_transport_offset'
but I'm not sure what is the real source of that problem.
Eugene
# more make.log
DKMS make.log for bnx2-1.7.1c for kernel 2.6.18-92.1.6.el5 (x86_64)
Thu Jul 10 08:09:12 EDT 2008
make: Entering directory `/usr/src/kernels/2.6.18-92.1.6.el5-x86_64'
CC [M] /var/lib/dkms/bnx2/1.7.1c/build/bnx2.o
In file included from /var/lib/dkms/bnx2/1.7.1c/build/bnx2.c:74:
/var/lib/dkms/bnx2/1.7.1c/build/bnx2.h:261: error: redefinition of
'skb_transport_offset'
include/linux/skbuff.h:1006: error: previous definition of
'skb_transport_offset' was here
/var/lib/dkms/bnx2/1.7.1c/build/bnx2.h:266: error: redefinition of
'ip_hdr'
include/linux/ip.h:109: error: previous definition of 'ip_hdr' was here
/var/lib/dkms/bnx2/1.7.1c/build/bnx2.h:271: error: redefinition of
'ip_hdrlen'
include/net/ip.h:48: error: previous definition of 'ip_hdrlen' was here
/var/lib/dkms/bnx2/1.7.1c/build/bnx2.h:276: error: redefinition of
'tcp_hdr'
include/linux/tcp.h:169: error: previous definition of 'tcp_hdr' was
here
/var/lib/dkms/bnx2/1.7.1c/build/bnx2.h:281: error: redefinition of
'tcp_optlen'
include/linux/tcp.h:179: error: previous definition of 'tcp_optlen' was
here
make[1]: *** [/var/lib/dkms/bnx2/1.7.1c/build/bnx2.o] Error 1
make: *** [_module_/var/lib/dkms/bnx2/1.7.1c/build] Error 2
make: Leaving directory `/usr/src/kernels/2.6.18-92.1.6.el5-x86_64'
On Thu, Jul 10, 2008 at 1:12 AM, Bryan <bryan.madhatter at gmail.com>
wrote:
> Partially. dkms is a special case since rather than installing an rpm
for
> the OS it re-compiles the module for the running kernel. If you look
under
> /var/lib/dkms/bnx2/1.7.1c/build/ you should see a make.log file that
should
> have more info as to why the install failed. The times when I've seen
this
> previous was due to a mismatch between the version of gcc the kernel
was
> installed with and the currently installed version of gcc. make.log
should
> have more info as to why the error occurred.
>
>
> On Wed, Jul 9, 2008 at 10:04 PM, Eugene Pik <eugene.pik at gmail.com>
wrote:
>
>> Bryan, the build is performed by yum, I'm not sure where to look for
its
>> make.log
>>
>> Shouldn't yum check all the required modules?...
>>
>> Eugene
>>
>>
>> On Wed, Jul 9, 2008 at 10:48 PM, Bryan <bryan.madhatter at gmail.com>
wrote:
>>
>>> kernel-devel is there for the running kernel. If you look at the
>>> make.log file does it list any errors? maybe something like a
mismatch
>>> between the gcc version the kernel was built on and what's currently
>>> running?
>>>
>>>
>>> On Wed, Jul 9, 2008 at 9:27 PM, Eugene Pik <eugene.pik at gmail.com>
wrote:
>>>
>>>> Hi Brian,
>>>> I have following kernel and dkms related packages installed:
>>>>
>>>> kernel.x86_64 2.6.18-92.1.6.el5
>>>> installed
>>>> kernel.x86_64 2.6.18-92.1.1.el5
>>>> installed
>>>> kernel.x86_64 2.6.18-53.1.21.el5
>>>> installed
>>>> kernel-devel.x86_64 2.6.18-53.1.21.el5
installed
>>>> kernel-devel.x86_64 2.6.18-92.1.6.el5
installed
>>>> kernel-devel.x86_64 2.6.18-92.1.1.el5
installed
>>>> kernel-headers.x86_64 2.6.18-92.1.6.el5
installed
>>>> dkms.noarch 2.0.17-1.el5
>>>> installed
>>>>
>>>> Do I need any of these?
>>>>
>>>> kernel-debug.x86_64 2.6.18-92.1.6.el5
updates
>>>> kernel-debug-devel.x86_64 2.6.18-92.1.6.el5 updates
>>>> yum-kernel-module.noarch 1.1.10-9.el5.centos base
>>>>
>>>> Eugene
>>>>
>>>>
>>>>
>>>>
>>>> On Wed, Jul 9, 2008 at 8:48 PM, Bryan <bryan.madhatter at gmail.com>
>>>> wrote:
>>>>
>>>>> Do you have kernel-devel installed for the running kernel? dkms
won't
>>>>> be able to compile a module without it.
>>>>>
>>>>> On Wed, Jul 9, 2008 at 3:09 PM, Eugene Pik <eugene.pik at gmail.com>
>>>>> wrote:
>>>>>
>>>>>> Hello,
>>>>>> I'm trying to install Dell network driver from dell-hardware-auto
>>>>>> repository on CentOS 5 using yum.
>>>>>>
>>>>>> At the end Yum tells it is installed but there are error messages
that
>>>>>> make me worried...
>>>>>>
>>>>>> All packages are updated using "yum update"
>>>>>>
>>>>>> Please advise.
>>>>>> Eugene Pik
>>>>>>
>>>>>>
>>>>>> # yum install bnx2.noarch
>>>>>>
>>>>>> ==========================================================
>>>>>> Package Arch Version Repository
>>>>>> Size
>>>>>> ==========================================================
>>>>>> Installing:
>>>>>> bnx2 noarch 1.7.1c-3.3dkms
>>>>>> dell-hardware-auto 2.5 M
>>>>>>
>>>>>> Transaction Summary
>>>>>> ==========================================================
>>>>>> Install 1 Package(s)
>>>>>> Update 0 Package(s)
>>>>>> Remove 0 Package(s)
>>>>>>
>>>>>> Total download size: 2.5 M
>>>>>> Is this ok [y/N]: y
>>>>>> Downloading Packages:
>>>>>> (1/1): bnx2-1.7.1c-3.3dkm 100% |=========================| 2.5 MB
>>>>>> 00:01
>>>>>> Running rpm_check_debug
>>>>>> Running Transaction Test
>>>>>> Finished Transaction Test
>>>>>> Transaction Test Succeeded
>>>>>> Running Transaction
>>>>>> Installing: bnx2
#########################
>>>>>> [1/1]
>>>>>>
>>>>>> Creating symlink /var/lib/dkms/bnx2/1.7.1c/source ->
>>>>>> /usr/src/bnx2-1.7.1c
>>>>>>
>>>>>> DKMS: add Completed.
>>>>>>
>>>>>> Kernel preparation unnecessary for this kernel. Skipping...
>>>>>>
>>>>>> Building module:
>>>>>> cleaning build area....
>>>>>> make KERNELRELEASE=2.6.18-92.1.6.el5 -C
>>>>>> /lib/modules/2.6.18-92.1.6.el5/build
>>>>>> BCMEXTSRCDIR=/lib/modules/2.6.18-92.1.6.el5/build
>>>>>> SUBDIRS=/var/lib/dkms/bnx2/1.7.1c/build modules....*(bad exit
status:
>>>>>> 2)*
>>>>>>
>>>>>> *Error! Bad return status for module build on kernel*:
>>>>>> 2.6.18-92.1.6.el5 (x86_64)
>>>>>> Consult the make.log in the build directory
>>>>>> /var/lib/dkms/bnx2/1.7.1c/build/ for more information.
>>>>>>
>>>>>> Installed: bnx2.noarch 0:1.7.1c-3.3dkms
>>>>>> Complete!
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Linux-PowerEdge mailing list
>>>>>> Linux-PowerEdge at dell.com
>>>>>> http://lists.us.dell.com/mailman/listinfo/linux-poweredge
>>>>>> Please read the FAQ at http://lists.us.dell.com/faq
>>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.us.dell.com/pipermail/linux-poweredge/attachments/20080710/
32958708/attachment.htm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.us.dell.com/pipermail/linux-poweredge/attachments/20080710/622136ec/attachment-0001.htm
More information about the Linux-PowerEdge
mailing list