Hi, short update with some more data:
# more /var/lib/dkms/r8168/8.046.00/build/make.log DKMS make.log for r8168-8.046.00 for kernel 5.2.0-050200rc6-generic (x86_64) Sat 29 Jun 2019 10:11:15 PM CEST make: Entering directory '/usr/src/linux-headers-5.2.0-050200rc6-generic' CC [M] /var/lib/dkms/r8168/8.046.00/build/r8168_n.o CC [M] /var/lib/dkms/r8168/8.046.00/build/r8168_asf.o CC [M] /var/lib/dkms/r8168/8.046.00/build/rtl_eeprom.o CC [M] /var/lib/dkms/r8168/8.046.00/build/rtltool.o /var/lib/dkms/r8168/8.046.00/build/r8168_n.c: In function ‘rtl8168_down’: /var/lib/dkms/r8168/8.046.00/build/r8168_n.c:28376:9: error: implicit declaration of function ‘synch ronize_sched’; did you mean ‘synchronize_net’? [-Werror=implicit-function-declaration] synchronize_sched(); /* FIXME: should this be synchronize_irq()? */ ^~~~~~~~~~~~~~~~~ synchronize_net cc1: some warnings being treated as errors make[1]: *** [scripts/Makefile.build:278: /var/lib/dkms/r8168/8.046.00/build/r8168_n.o] Error 1 make: *** [Makefile:1595: _module_/var/lib/dkms/r8168/8.046.00/build] Error 2 make: Leaving directory '/usr/src/linux-headers-5.2.0-050200rc6-generic' # gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/8/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Debian 8.3.0-6' --with-bugurl=file:///usr/share/doc/gcc-8/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-8 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 8.3.0 (Debian 8.3.0-6) Regards, Karsten Wiborg On 6/29/19 10:34 PM, Karsten Wiborg wrote: > Hello, > > writing to you because of the r8168-dkms-README.Debian. > > I am using a GPD MicroPC running Debian Buster with Kernel: > Linux praktifix 5.2.0-050200rc6-generic #201906222033 SMP Sun Jun 23 > 00:36:46 UTC 2019 x86_64 GNU/Linux > > > Got the Kernel from: > https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.2-rc6/ > Reason for the Kernel: it includes Hans DeGoedes necessary fixes for the > GPD MicroPC, see: > https://github.com/jwrdegoede/linux-sunxi > (btw. I also tried Hans' 5.2.0rc5-kernel which also did not work with > respect to Ethernet). Googling of course didn't help out either. > > > My GPD MicroPC with running r8169 gives the following lines in dmesg: > ... > [ 2.839485] libphy: r8169: probed > [ 2.839776] r8169 0000:02:00.0 eth0: RTL8168h/8111h, > 00:00:00:00:00:00, XID 541, IRQ 126 > [ 2.839779] r8169 0000:02:00.0 eth0: jumbo features [frames: 9200 > bytes, tx checksumming: ko] > ... > [ 2.897924] r8169 0000:02:00.0 eno1: renamed from eth0 > > > ip addr show gives me: > # ip addr show > ... > 2: eno1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group > default qlen 1000 > link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff > ... > > > ethtool gives me: > # ethtool -i eno1 > driver: r8169 > version: > firmware-version: > expansion-rom-version: > bus-info: 0000:02:00.0 > supports-statistics: yes > supports-test: no > supports-eeprom-access: no > supports-register-dump: yes > supports-priv-flags: no > > > lspci shows me: > 02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. > RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15) > > > Installing r8168-dkms fails with the following errors: > Setting up r8168-dkms (8.046.00-1) ... > Removing old r8168-8.046.00 DKMS files... > > ------------------------------ > Deleting module version: 8.046.00 > completely from the DKMS tree. > ------------------------------ > Done. > Loading new r8168-8.046.00 DKMS files... > Building for 5.2.0-050200rc6-generic 5.2.0-rc5-gpd-custom > Building initial module for 5.2.0-050200rc6-generic > Error! Bad return status for module build on kernel: > 5.2.0-050200rc6-generic (x86_64) > Consult /var/lib/dkms/r8168/8.046.00/build/make.log for more information. > dpkg: error processing package r8168-dkms (--configure): > installed r8168-dkms package post-installation script subprocess > returned error exit status 10 > Errors were encountered while processing: > r8168-dkms > E: Sub-process /usr/bin/dpkg returned an error code (1) > > > Does that help you? > Do you need more data? > Thank you very much in advance for hopefully looking into this matter. > > Regards, > Karsten Wiborg >