Installation of Dell network driver from dell-hardware-auto repository on CentOS 5
Bryan
bryan.madhatter at gmail.com
Thu Jul 10 00:12:49 CDT 2008
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/1282b0fb/attachment-0001.htm
More information about the Linux-PowerEdge
mailing list