r8168 driver won't install on 16.04 basic
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
make (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Hi Folks!
I’ll admit to being somewhat of an ‘advanced neophyte’ so please pardon the errors in my reporting.
Creating a brand-new system:
Motherboard: Gigabyte 970A-DS3p
CPU AMD FX-8320 eight-core
Memory: 32 GB
What I am trying to do is remove the ‘bad’ r8169 driver for the Realtec NIC and replace it with the ‘good’ r8168 one from the Realtec site, following Googled instructions https:/
Backing up a bit, I attempted to install 18.04 but it failed – several times. Failure might be because I have a solid state drive (plus a HDD) and didn’t know had to manually create a /boot/efi partition. I did notice the option to do updates during the installation was grayed out. Eventually gave up and installed 16.04, eventually getting/
Oh: I also don’t have working USB 2.0. Some of the installs it worked – keyboard and mouse active. Last few seemed to be dead. Fortunately the USB 3.0 portion is working. I haven’t checked that issue out yet, figuring easier to get the Ethernet working.
OK, try to give a semi-knowledgeable report….
Please include in your bug report all of the following items, the
first three of which can be obtained from the output of gcc -v:
* the exact version of GCC;
* the system type;
* the options given when GCC was configured/built;
barry@NZXT:
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-
Thread model: posix
gcc version 5.3.1 20160413 (Ubuntu 5.3.1-14ubuntu2)
barry@NZXT:
(Hope that means something to you folks!)
* the complete command line that triggers the bug;
Well, that detail seems to make more sense with the ‘compiler output’ section (next). “r8168-8.045.08” is the extracted driver from Realtek: http://
LINUX driver for kernel up to 4.7 8.045 2017/9/15 101k Global
* the compiler output (error messages, warnings, etc.); and
I attempted a few different ways to get things going. Here are the results:
barry@NZXT:~$ cd '/home/
barry@NZXT:
barry@NZXT:
autorun.sh Makefile README src
barry@NZXT:
[sudo] password for barry:
Check old driver and unload it.
rmmod r8169
Build the module and install
/home/barry/
/home/barry/
}
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:/
make[3]: *** [/home/
make[2]: *** [_module_
make[1]: *** [modules] Error 2
make: *** [modules] Error 2
barry@NZXT:
barry@NZXT:
barry@NZXT:
barry@NZXT:
barry@NZXT:
barry@NZXT:
barry@NZXT:
barry@NZXT:
bash: ./configure: No such file or directory
barry@NZXT:
sudo: ./configure: command not found
barry@NZXT:
barry@NZXT:
barry@NZXT:
autorun.sh log.txt Makefile README src
barry@NZXT:
The program 'checkinstall' is currently not installed. You can install it by typing:
sudo apt install checkinstall
barry@NZXT:
barry@NZXT:
barry@NZXT:
barry@NZXT:
make -C src/ clean
make[1]: Entering directory '/home/
make -C /lib/modules/
make[2]: Entering directory '/usr/src/
CLEAN /home/barry/
make[2]: Leaving directory '/usr/src/
make[1]: Leaving directory '/home/
make -C src/ modules
make[1]: Entering directory '/home/
make -C /lib/modules/
make[2]: Entering directory '/usr/src/
CC [M] /home/barry/
/home/barry/
/home/barry/
}
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:/
scripts/
make[3]: *** [/home/
Makefile:1396: recipe for target '_module_
make[2]: *** [_module_
make[2]: Leaving directory '/usr/src/
Makefile:104: recipe for target 'modules' failed
make[1]: *** [modules] Error 2
make[1]: Leaving directory '/home/
Makefile:40: recipe for target 'modules' failed
make: *** [modules] Error 2
barry@NZXT:
make -C src/ install
make[1]: Entering directory '/home/
make -C /lib/modules/
make[2]: Entering directory '/usr/src/
DEPMOD 4.4.0-21-generic
make[2]: Leaving directory '/usr/src/
make[1]: Leaving directory '/home/
barry@NZXT:
barry@NZXT:
barry@NZXT:
barry@NZXT:
barry@NZXT:
barry@NZXT:
barry@NZXT:
Check old driver and unload it.
Build the module and install
./autorun.sh: 28: ./autorun.sh: cannot create log.txt: Permission denied
./autorun.sh: 29: ./autorun.sh: cannot create log.txt: Permission denied
./autorun.sh: 30: ./autorun.sh: cannot create log.txt: Permission denied
barry@NZXT:
Check old driver and unload it.
Build the module and install
/home/barry/
/home/barry/
}
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:/
make[3]: *** [/home/
make[2]: *** [_module_
make[1]: *** [modules] Error 2
make: *** [modules] Error 2
* the preprocessed file (*.i*) that triggers the bug, generated by
adding -save-temps to the complete compilation command, or, in
the case of a bug report for the GNAT front end, a complete set
of source files (see below).
I don’t see anything like that; if something is needed please request at Barry_Martin_
There is a log file of potential interest:
-------
Mon Jun 11 09:24:53 CDT 2018
make -C src/ clean
make[1]: Entering directory '/home/
make -C /lib/modules/
make[2]: Entering directory '/usr/src/
make[2]: Leaving directory '/usr/src/
make[1]: Leaving directory '/home/
make -C src/ modules
make[1]: Entering directory '/home/
make -C /lib/modules/
make[2]: Entering directory '/usr/src/
CC [M] /home/barry/
scripts/
Makefile:1396: recipe for target '_module_
make[2]: Leaving directory '/usr/src/
Makefile:104: recipe for target 'modules' failed
make[1]: Leaving directory '/home/
Makefile:40: recipe for target 'modules' failed
-------
Mon Jun 11 09:31:38 CDT 2018
make -C src/ clean
make[1]: Entering directory '/home/
make -C /lib/modules/
make[2]: Entering directory '/usr/src/
CLEAN /home/barry/
make[2]: Leaving directory '/usr/src/
make[1]: Leaving directory '/home/
make -C src/ modules
make[1]: Entering directory '/home/
make -C /lib/modules/
make[2]: Entering directory '/usr/src/
CC [M] /home/barry/
scripts/
Makefile:1396: recipe for target '_module_
make[2]: Leaving directory '/usr/src/
Makefile:104: recipe for target 'modules' failed
make[1]: Leaving directory '/home/
Makefile:40: recipe for target 'modules' failed
OK, thanks, and hope this can fix something. I’m going to continue to try to get something working here.
Barry