View previous topic :: View next topic |
Author |
Message |
Xywa Veteran
Joined: 23 Jul 2005 Posts: 1631 Location: /mnt/Gentoo/Europe
|
Posted: Fri Jul 05, 2013 6:37 am Post subject: Failed to emerge net-misc/r8168-8.035.00-r1 |
|
|
Hi,
After installing a new kernel 3.10.0 and after module-rebuild populate & module-rebuild rebuild, I have such error during reemerging net-misc/r8168-8.035.00-r1:
Code: | >>> Source prepared.
>>> Configuring source in /mnt/video/tmp/portage/net-misc/r8168-8.035.00-r1/work/r8168-8.035.00 ...
>>> Source configured.
>>> Compiling source in /mnt/video/tmp/portage/net-misc/r8168-8.035.00-r1/work/r8168-8.035.00 ...
* Preparing r8168 module
make -j2 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- 'LDFLAGS=-m elf_x86_64' KERNELDIR=/usr/src/linux modules
make -C /usr/src/linux SUBDIRS=/mnt/video/tmp/portage/net-misc/r8168-8.035.00-r1/work/r8168-8.035.00/src modules
make[1]: Entering directory `/usr/src/linux-3.10.0-gentoo'
CC [M] /mnt/video/tmp/portage/net-misc/r8168-8.035.00-r1/work/r8168-8.035.00/src/r8168_n.o
CC [M] /mnt/video/tmp/portage/net-misc/r8168-8.035.00-r1/work/r8168-8.035.00/src/r8168_asf.o
/mnt/video/tmp/portage/net-misc/r8168-8.035.00-r1/work/r8168-8.035.00/src/r8168_n.c: In function ‘rtl8168_rx_vlan_skb’:
/mnt/video/tmp/portage/net-misc/r8168-8.035.00-r1/work/r8168-8.035.00/src/r8168_n.c:2077:3: error: too few arguments to function ‘__vlan_hwaccel_put_tag’
In file included from /mnt/video/tmp/portage/net-misc/r8168-8.035.00-r1/work/r8168-8.035.00/src/r8168_n.c:47:0:
include/linux/if_vlan.h:237:31: note: declared here
/mnt/video/tmp/portage/net-misc/r8168-8.035.00-r1/work/r8168-8.035.00/src/r8168_n.c: In function ‘rtl8168_set_features’:
/mnt/video/tmp/portage/net-misc/r8168-8.035.00-r1/work/r8168-8.035.00/src/r8168_n.c:2136:22: error: ‘NETIF_F_HW_VLAN_RX’ undeclared (first use in this function)
/mnt/video/tmp/portage/net-misc/r8168-8.035.00-r1/work/r8168-8.035.00/src/r8168_n.c:2136:22: note: each undeclared identifier is reported only once for each function it appears in
/mnt/video/tmp/portage/net-misc/r8168-8.035.00-r1/work/r8168-8.035.00/src/r8168_n.c: In function ‘rtl8168_init_one’:
/mnt/video/tmp/portage/net-misc/r8168-8.035.00-r1/work/r8168-8.035.00/src/r8168_n.c:15057:20: error: ‘NETIF_F_HW_VLAN_TX’ undeclared (first use in this function)
/mnt/video/tmp/portage/net-misc/r8168-8.035.00-r1/work/r8168-8.035.00/src/r8168_n.c:15057:41: error: ‘NETIF_F_HW_VLAN_RX’ undeclared (first use in this function)
make[2]: *** [/mnt/video/tmp/portage/net-misc/r8168-8.035.00-r1/work/r8168-8.035.00/src/r8168_n.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CC [M] /mnt/video/tmp/portage/net-misc/r8168-8.035.00-r1/work/r8168-8.035.00/src/rtl_eeprom.o
make[1]: *** [_module_/mnt/video/tmp/portage/net-misc/r8168-8.035.00-r1/work/r8168-8.035.00/src] Error 2
make[1]: Leaving directory `/usr/src/linux-3.10.0-gentoo'
make: *** [modules] Error 2
* ERROR: net-misc/r8168-8.035.00-r1 failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=net-misc/r8168-8.035.00-r1'`,
* the complete build log and the output of `emerge -pqv '=net-misc/r8168-8.035.00-r1'`.
* The complete build log is located at '/mnt/video/tmp/portage/net-misc/r8168-8.035.00-r1/temp/build.log'.
* The ebuild environment file is located at '/mnt/video/tmp/portage/net-misc/r8168-8.035.00-r1/temp/environment'.
* Working directory: '/mnt/video/tmp/portage/net-misc/r8168-8.035.00-r1/work/r8168-8.035.00/src'
* S: '/mnt/video/tmp/portage/net-misc/r8168-8.035.00-r1/work/r8168-8.035.00'
>>> Failed to emerge net-misc/r8168-8.035.00-r1, Log file:
>>> '/mnt/video/tmp/portage/net-misc/r8168-8.035.00-r1/temp/build.log'
|
Last edited by Xywa on Fri Jul 05, 2013 3:44 pm; edited 1 time in total |
|
Back to top |
|
|
wobbol n00b
Joined: 05 Jul 2013 Posts: 9
|
Posted: Fri Jul 05, 2013 11:33 am Post subject: |
|
|
i have one of these Ethernet adapters too and came across this patch for the version your using.
https://code.google.com/p/r8168/issues/detail?id=12
it didn't do much for me as its not the version emerge wants to use for me.
also i just decided to jump to gentoo from debian exactly 3 days ago and only have network problems left. |
|
Back to top |
|
|
wobbol n00b
Joined: 05 Jul 2013 Posts: 9
|
Posted: Fri Jul 05, 2013 12:11 pm Post subject: |
|
|
i have kernel version 3.8.13
and did this
Code: | ACCEPT_KEYWORDS="~x86" emerge r8168 |
and it let me emerge net-misc/r8168-8.035.00-r1 with no errors.
(i am very new to what exactly to do with all these emerge things) |
|
Back to top |
|
|
Xywa Veteran
Joined: 23 Jul 2005 Posts: 1631 Location: /mnt/Gentoo/Europe
|
Posted: Fri Jul 05, 2013 3:43 pm Post subject: |
|
|
wobbol wrote: | i have kernel version 3.8.13
and did this
Code: | ACCEPT_KEYWORDS="~x86" emerge r8168 |
and it let me emerge net-misc/r8168-8.035.00-r1 with no errors.
(i am very new to what exactly to do with all these emerge things) |
I had no problems with this kernel (3.8.13) and any others <3.10.0
|
|
Back to top |
|
|
yseq n00b
Joined: 17 Sep 2010 Posts: 15
|
|
Back to top |
|
|
Mikkl Tux's lil' helper
Joined: 12 Jan 2006 Posts: 79
|
Posted: Wed Jul 24, 2013 7:57 am Post subject: |
|
|
The in-kernel driver works, but the problem with it is that wake-on-lan doesn't work for some or all devices, e.g. I have a RTL8111 chip and I can only wake it up with wakeonlan or wol clients, but not from my Fritz Box, although this did work somewhere back in time.
As for the r8168-driver: I have seen some different patches around, but they all did not work for me. There is also a newer version r8168-8.036.00 of the driver here, but it failed, too. As there's also an issue with nvidia-drivers and linux-3.10.* and as I don't have time to fiddle around with that stuff now I just decided to stick with linux-3.9.* for now... |
|
Back to top |
|
|
pickd.mask n00b
Joined: 02 Aug 2011 Posts: 28
|
|
Back to top |
|
|
Mikkl Tux's lil' helper
Joined: 12 Jan 2006 Posts: 79
|
Posted: Wed Jul 31, 2013 10:17 pm Post subject: |
|
|
Hey pickd.mask, these patches actually worked for me, too. Thanks a lot!
As for the operational side, i haven't noticed any issues until now... |
|
Back to top |
|
|
Xywa Veteran
Joined: 23 Jul 2005 Posts: 1631 Location: /mnt/Gentoo/Europe
|
Posted: Fri Aug 02, 2013 12:53 pm Post subject: |
|
|
Hi,
Is there any chance to have this patches in official files in portage? Is bit complicated for me to apply those patches |
|
Back to top |
|
|
pickd.mask n00b
Joined: 02 Aug 2011 Posts: 28
|
Posted: Sat Aug 03, 2013 2:16 pm Post subject: |
|
|
Xywa, what problems?
for nvidia 325.08:
Code: | mkdir -p /etc/portage/patches/x11-drivers/nvidia-drivers-325.08/ |
and put there nvidia-patch (link in the post above)
remove .txt extension and emerge nvidia
P.S. update to nvidia 325.15 solved this problem with 3.10 kernels
for r8168 if any troubles with creating ebuild, check my blog (google translate panel on the right side below tags) (link is also can be found in post above)
or you can use my setup with my ebuild:
Code: | mkdir -p /usr/local/my/net-misc/r8168/
cd /usr/local/my/net-misc/r8168/
wget -c http://ivanbardov.info/files/r8168.tar.bz2
tar -xjf r8168.tar.bz2
mkdir -p /usr/local/my/metadata/
echo 'masters = gentoo' > /usr/local/my/metadata/layout.conf |
then add line Code: | PORTDIR_OVERLAY="/usr/local/my" | in your make.conf and emerge module. |
|
Back to top |
|
|
Xywa Veteran
Joined: 23 Jul 2005 Posts: 1631 Location: /mnt/Gentoo/Europe
|
Posted: Mon Aug 12, 2013 11:37 am Post subject: |
|
|
pickd.mask wrote: | for r8168 if any troubles with creating ebuild, check my blog (google translate panel on the right side below tags) (link is also can be found in post above)
or you can use my setup with my ebuild:
Code: | mkdir -p /usr/local/my/net-misc/r8168/
cd /usr/local/my/net-misc/r8168/
wget -c http://ivanbardov.info/files/r8168.tar.bz2
tar -xjf r8168.tar.bz2
mkdir -p /usr/local/my/metadata/
echo 'masters = gentoo' > /usr/local/my/metadata/layout.conf |
then add line Code: | PORTDIR_OVERLAY="/usr/local/my" | in your make.conf and emerge module. |
Did not help me |
|
Back to top |
|
|
Xywa Veteran
Joined: 23 Jul 2005 Posts: 1631 Location: /mnt/Gentoo/Europe
|
Posted: Thu Aug 22, 2013 10:47 am Post subject: |
|
|
It works after emerge -uDN world.
Many thanks |
|
Back to top |
|
|
katafitos n00b
Joined: 22 Nov 2006 Posts: 56 Location: Greece
|
Posted: Sat Sep 21, 2013 4:05 pm Post subject: |
|
|
works like a charm.
Thanks! |
|
Back to top |
|
|
|