dalva
asked on
How do I install tg3 driver in SUSE 10.1
I have a Dell Precision with a NetExtreme NIC. I need to use SUSE 10.1 for my VMWare setup. SUSE 10.1 does not support this NIC. SUSE 10.2 has the tg3 included but VMWare does not support SUSE 10.2.
I have downloaded the tg3 driver and followed the rpm instructions to install. The install fails during the make process as shown below.
I suspect the problem may be with actual pathnames being different than those which are found in the premade Makefile which came with the driver.
After lots of research and testing I have conclude my best route is to just install the driver the old fashion way using configure, make and other commands I read about but not certain how to use them.
Question 1: I have downloaded the tar files which included tg3-3.71b.tar.gz and tg3_sup-3.71b.tar.gz. What is the difference between these two?
Question 2: How do I install this NIC driver? I need the step by step process to compile, link, load and whatever else to make it happen.
LNX1305:/usr/src/packages # rpmbuild -bb SPECS/tg3.spec
+ umask 022
+ cd /usr/src/packages/BUILD
+ cd /usr/src/packages/BUILD
+ rm -rf tg3-3.71b
+ /usr/bin/bzip2 -dc /usr/src/packages/SOURCES/ tg3-3.71b. tar.bz2
+ tar -xvvf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd tg3-3.71b
++ /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
+ umask 022
+ cd /usr/src/packages/BUILD
+ /bin/rm -rf /var/tmp/tg3-buildroot
++ dirname /var/tmp/tg3-buildroot
+ /bin/mkdir -p /var/tmp
+ /bin/mkdir /var/tmp/tg3-buildroot
+ cd tg3-3.71b
+ value=
+ '[' -z '' ']'
++ uname -r
+ KVER=2.6.16.13-4-bigsmp
+ make KVER=2.6.16.13-4-bigsmp
make[1]: *** No rule to make target `modules'. Stop.
make: *** [default] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.67784 (%build)
Bad exit status from /var/tmp/rpm-tmp.67784 (%build)
PCLNX1305:/usr/src/package s # ll
total 4
drwxrwxrwt 3 root root 80 Mar 21 11:37 BUILD
drwxrwxrwt 8 root root 192 Mar 21 09:28 RPMS
drwxrwxrwt 2 root root 88 Mar 21 11:27 SOURCES
drwxrwxrwt 2 root root 72 Mar 21 11:27 SPECS
drwxrwxrwt 2 root root 48 Apr 22 2006 SRPMS
-rw-r--r-- 1 root root 911 Mar 21 11:37 out.txt
PCLNX1305:/usr/src/package s # vi out.txt
I have downloaded the tg3 driver and followed the rpm instructions to install. The install fails during the make process as shown below.
I suspect the problem may be with actual pathnames being different than those which are found in the premade Makefile which came with the driver.
After lots of research and testing I have conclude my best route is to just install the driver the old fashion way using configure, make and other commands I read about but not certain how to use them.
Question 1: I have downloaded the tar files which included tg3-3.71b.tar.gz and tg3_sup-3.71b.tar.gz. What is the difference between these two?
Question 2: How do I install this NIC driver? I need the step by step process to compile, link, load and whatever else to make it happen.
LNX1305:/usr/src/packages # rpmbuild -bb SPECS/tg3.spec
+ umask 022
+ cd /usr/src/packages/BUILD
+ cd /usr/src/packages/BUILD
+ rm -rf tg3-3.71b
+ /usr/bin/bzip2 -dc /usr/src/packages/SOURCES/
+ tar -xvvf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd tg3-3.71b
++ /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
+ umask 022
+ cd /usr/src/packages/BUILD
+ /bin/rm -rf /var/tmp/tg3-buildroot
++ dirname /var/tmp/tg3-buildroot
+ /bin/mkdir -p /var/tmp
+ /bin/mkdir /var/tmp/tg3-buildroot
+ cd tg3-3.71b
+ value=
+ '[' -z '' ']'
++ uname -r
+ KVER=2.6.16.13-4-bigsmp
+ make KVER=2.6.16.13-4-bigsmp
make[1]: *** No rule to make target `modules'. Stop.
make: *** [default] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.67784 (%build)
Bad exit status from /var/tmp/rpm-tmp.67784 (%build)
PCLNX1305:/usr/src/package
total 4
drwxrwxrwt 3 root root 80 Mar 21 11:37 BUILD
drwxrwxrwt 8 root root 192 Mar 21 09:28 RPMS
drwxrwxrwt 2 root root 88 Mar 21 11:27 SOURCES
drwxrwxrwt 2 root root 72 Mar 21 11:27 SPECS
drwxrwxrwt 2 root root 48 Apr 22 2006 SRPMS
-rw-r--r-- 1 root root 911 Mar 21 11:37 out.txt
PCLNX1305:/usr/src/package
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Nopius gave you a link to the suse 10.1 documentation pdf, but, what Nopius is saying is you should tell YaST what the PCI ID information for the device is, so it's in the YaST database of devices.
It has a hex code for Vendor, Device, Subvendor, Subdevice, etc... as well as the card name. Hopefully, you can glean that info from the file Nopius suggested you look in.
Once you get that info gathered, then to register the device:
In YaST, go into System, PCI Device Drivers.
Select "ADD" and "Manually"
Plug in the details for the driver's PCI ID.
Click OK...
After you add it in, you'll be able to see the NIC in the selection criteria for the network setup.
It has a hex code for Vendor, Device, Subvendor, Subdevice, etc... as well as the card name. Hopefully, you can glean that info from the file Nopius suggested you look in.
Once you get that info gathered, then to register the device:
In YaST, go into System, PCI Device Drivers.
Select "ADD" and "Manually"
Plug in the details for the driver's PCI ID.
Click OK...
After you add it in, you'll be able to see the NIC in the selection criteria for the network setup.
Next run a command 'scanpci -v' and post results here.
ASKER
*************** IMPORTANT - Please read *******************
The actual answer is found at the link below which I also opened and was answered by Nopius. I have split points on this question since Nopius and ShineOn contributed clues which finally lead to the solution posted on the link below.
https://www.experts-exchange.com/questions/22484147/How-do-I-use-YaST-to-discover-a-network-card.html
Thanks,
dalva
The actual answer is found at the link below which I also opened and was answered by Nopius. I have split points on this question since Nopius and ShineOn contributed clues which finally lead to the solution posted on the link below.
https://www.experts-exchange.com/questions/22484147/How-do-I-use-YaST-to-discover-a-network-card.html
Thanks,
dalva
ASKER
So far this is where I am at.
Installed SUSE 10.1
Confirmed the file tg3.ko is located in /lib/modules/2.6.16.13-4-b
Performed the command lsmod | grep tg3* and got no hits
Performed the command insmod /lib/modules/2.6.16.13-4-b
Again performed the command lsmod | grep tg3* and got a hit
Now I am suppose to register the module using YaST? How is that done? Please be specific since this is all new to me.
Thanks
Dave