Karl der Heinz
New Member
Hallo
ich bin gerade dabei den Treiber der Netzwerkkarte von meinem DELL R610 Server zu aktualisieren. Jedoch gibt es da ein Problem!
Die Installationsanleitung sieht so aus:
Wenn ich das nach der Anleitung mache, kommt wenn ich diesen Befehl eingebe:
diese Fehlermeldung:
Verstehe ich nicht ganz
Könnt ihr mir da weiterhelfen?
Gruß
Karl der Heinz!
ich bin gerade dabei den Treiber der Netzwerkkarte von meinem DELL R610 Server zu aktualisieren. Jedoch gibt es da ein Problem!
Die Installationsanleitung sieht so aus:
Code:
Installing Source RPM Package
=============================
The following are general guidelines for installing the driver.
1. Install the source RPM package:
rpm -ivh netxtreme2-<version>.src.rpm
2. CD to the RPM path and build the binary driver for your kernel:
cd /usr/src/{redhat,OpenLinux,turbo,packages,rpm ..}
rpm -bb SPECS/netxtreme2.spec
or
rpmbuild -bb SPECS/netxtreme2.spec (for RPM version 4.x.x)
Note that the RPM path is different for different Linux distributions.
The driver will be compiled for the running kernel by default. To build
the driver for a kernel different than the running one, specify the
kernel by defining it in KVER:
rpmbuild -bb SPECS/netxtreme2.spec --define "KVER <kernel version>"
where <kernel version> in the form of 2.x.y-z is the version of another
kernel that is installed on the system.
3. Install the newly built package (driver and man page):
rpm -ivh RPMS/<arch>/netxtreme2-<version>.<arch>.rpm
where <arch> is the machine architecture such as i386:
rpm -ivh RPMS/i386/netxtreme2-<version>.i386.rpm
Note that the --force option may be needed on some Linux distributions
if conflicts are reported.
The drivers will be installed in the following path:
2.4.x kernels:
/lib/modules/<kernel_version>/kernel/drivers/net/bnx2.o
/lib/modules/<kernel_version>/kernel/drivers/net/bnx2x.o
2.6.0 kernels:
/lib/modules/<kernel_version>/kernel/drivers/net/bnx2.ko
/lib/modules/<kernel_version>/kernel/drivers/net/bnx2x.ko
2.6.16 and newer kernels:
/lib/modules/<kernel_version>/kernel/drivers/net/bnx2.ko
/lib/modules/<kernel_version>/kernel/drivers/net/bnx2x.ko
/lib/modules/<kernel_version>/kernel/drivers/net/cnic.ko
4. Unload existing driver if necessary:
rmmod bnx2
rmmod bnx2x
If the cnic driver is loaded, it should also be unloaded:
rmmod cnic
5. Load the bnx2 driver for the BCM5706/BCM5708/5709/5716 devices:
insmod bnx2.o
or
insmod bnx2.ko (on 2.6.x kernels)
or
modprobe bnx2
To load the bnx2x driver for the BCM57710/BCM57711/BCM57711E devices:
insmod bnx2x.o
or
insmod bnx2x.ko (on 2.6.x kernels)
or
modprobe bnx2x
To load the cnic driver:
insmod cnic.ko
or
modprobe cnic
6. To configure network protocol and address, refer to various Linux
documentations.
Wenn ich das nach der Anleitung mache, kommt wenn ich diesen Befehl eingebe:
Code:
rpmbuild -bb SPECS/netxtreme2.spec
diese Fehlermeldung:
Code:
...
-rw-r--r-- root/root 130167 2011-02-10 21:25 netxtreme2-6.2.23/bnx2i-2.6.2.4c/docs/RELEASE.TXT
-rw-r--r-- root/root 15153 2011-02-10 21:25 netxtreme2-6.2.23/bnx2i-2.6.2.4c/docs/LICENSE
-rw-r--r-- root/root 5195 2011-02-10 21:25 netxtreme2-6.2.23/INSTALL.TXT
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd netxtreme2-6.2.23
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.45832
+ umask 022
+ cd /usr/src/packages/BUILD
+ /bin/rm -rf /var/tmp/netxtreme2-buildroot
++ dirname /var/tmp/netxtreme2-buildroot
+ /bin/mkdir -p /var/tmp
+ /bin/mkdir /var/tmp/netxtreme2-buildroot
+ cd netxtreme2-6.2.23
+ '[' -n '' ']'
+ '[' -n '' ']'
++ uname -r
+ KVER=2.6.32.12-0.7-default
+ make KVER=2.6.32.12-0.7-default
make -C bnx2/src KVER=2.6.32.12-0.7-default PREFIX=
make[1]: Entering directory `/usr/src/packages/BUILD/netxtreme2-6.2.23/bnx2-2.0.23b/src'
make -C SUBDIRS=/usr/src/packages/BUILD/netxtreme2-6.2.23/bnx2-2.0.23b/src modules
make: Entering an unknown directory
make: *** SUBDIRS=/usr/src/packages/BUILD/netxtreme2-6.2.23/bnx2-2.0.23b/src: No such file or directory. Stop.
make: Leaving an unknown directory
make[1]: *** [default] Error 2
make[1]: Leaving directory `/usr/src/packages/BUILD/netxtreme2-6.2.23/bnx2-2.0.23b/src'
make: *** [l2build] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.45832 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.45832 (%build)
Verstehe ich nicht ganz
Könnt ihr mir da weiterhelfen?
Gruß
Karl der Heinz!