Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Failed to emerge net-misc/r8168-8.038.00
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Xywa
Veteran
Veteran


Joined: 23 Jul 2005
Posts: 1583
Location: /mnt/Gentoo/Europe

PostPosted: Mon Jun 23, 2014 11:04 am    Post subject: Failed to emerge net-misc/r8168-8.038.00 Reply with quote

Hi,

Today I did update kernel from 3.14.4 into 3.15.1

During emerge --ask @module-rebuild I have such error:

Code:
>>> Emerging (1 of 3) net-misc/r8168-8.038.00::gentoo
 * r8168-8.038.00.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                  [ ok ]
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/3.15.1-gentoo/build
 * Found sources for kernel version:
 *     3.15.1-gentoo
 * Checking for suitable kernel configuration options...                                                                                        [ ok ]
>>> Unpacking source...
>>> Unpacking r8168-8.038.00.tar.bz2 to /mnt/video/tmp/portage/net-misc/r8168-8.038.00/work
>>> Source unpacked in /mnt/video/tmp/portage/net-misc/r8168-8.038.00/work
>>> Preparing source in /mnt/video/tmp/portage/net-misc/r8168-8.038.00/work/r8168-8.038.00 ...
>>> Source prepared.
>>> Configuring source in /mnt/video/tmp/portage/net-misc/r8168-8.038.00/work/r8168-8.038.00 ...
>>> Source configured.
>>> Compiling source in /mnt/video/tmp/portage/net-misc/r8168-8.038.00/work/r8168-8.038.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.038.00/work/r8168-8.038.00/src modules
make[1]: Entering directory '/usr/src/linux-3.15.1-gentoo'
  CC [M]  /mnt/video/tmp/portage/net-misc/r8168-8.038.00/work/r8168-8.038.00/src/r8168_n.o
  CC [M]  /mnt/video/tmp/portage/net-misc/r8168-8.038.00/work/r8168-8.038.00/src/r8168_asf.o
/mnt/video/tmp/portage/net-misc/r8168-8.038.00/work/r8168-8.038.00/src/r8168_n.c: In function ‘rtl8168_schedule_work’:
/mnt/video/tmp/portage/net-misc/r8168-8.038.00/work/r8168-8.038.00/src/r8168_n.c:19122:5: error: implicit declaration of function ‘PREPARE_DELAYED_WORK’ [-Werror=implicit-function-declaration]
     PREPARE_DELAYED_WORK(&tp->task, task);
     ^
cc1: some warnings being treated as errors
scripts/Makefile.build:318: recipe for target '/mnt/video/tmp/portage/net-misc/r8168-8.038.00/work/r8168-8.038.00/src/r8168_n.o' failed
make[2]: *** [/mnt/video/tmp/portage/net-misc/r8168-8.038.00/work/r8168-8.038.00/src/r8168_n.o] Error 1
make[2]: *** Waiting for unfinished jobs....
Makefile:1310: recipe for target '_module_/mnt/video/tmp/portage/net-misc/r8168-8.038.00/work/r8168-8.038.00/src' failed
make[1]: *** [_module_/mnt/video/tmp/portage/net-misc/r8168-8.038.00/work/r8168-8.038.00/src] Error 2
make[1]: Leaving directory '/usr/src/linux-3.15.1-gentoo'
Makefile:70: recipe for target 'modules' failed
make: *** [modules] Error 2
 * ERROR: net-misc/r8168-8.038.00::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=net-misc/r8168-8.038.00::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-misc/r8168-8.038.00::gentoo'`.
 * The complete build log is located at '/mnt/video/tmp/portage/net-misc/r8168-8.038.00/temp/build.log'.
 * The ebuild environment file is located at '/mnt/video/tmp/portage/net-misc/r8168-8.038.00/temp/environment'.
 * Working directory: '/mnt/video/tmp/portage/net-misc/r8168-8.038.00/work/r8168-8.038.00/src'
 * S: '/mnt/video/tmp/portage/net-misc/r8168-8.038.00/work/r8168-8.038.00'

>>> Failed to emerge net-misc/r8168-8.038.00, Log file:

>>>  '/mnt/video/tmp/portage/net-misc/r8168-8.038.00/temp/build.log'

 * Messages for package net-misc/r8168-8.038.00:

 * ERROR: net-misc/r8168-8.038.00::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=net-misc/r8168-8.038.00::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-misc/r8168-8.038.00::gentoo'`.
 * The complete build log is located at '/mnt/video/tmp/portage/net-misc/r8168-8.038.00/temp/build.log'.
 * The ebuild environment file is located at '/mnt/video/tmp/portage/net-misc/r8168-8.038.00/temp/environment'.
 * Working directory: '/mnt/video/tmp/portage/net-misc/r8168-8.038.00/work/r8168-8.038.00/src'
 * S: '/mnt/video/tmp/portage/net-misc/r8168-8.038.00/work/r8168-8.038.00'
Back to top
View user's profile Send private message
fturco
l33t
l33t


Joined: 08 Dec 2010
Posts: 629
Location: Italy

PostPosted: Mon Jun 23, 2014 5:04 pm    Post subject: Reply with quote

Please see bug 512842.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43209
Location: 56N 3W

PostPosted: Mon Jun 23, 2014 5:39 pm    Post subject: Reply with quote

Xywa,

The r8169 in kernal driver should work for you.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 5625
Location: Removed by Neddy

PostPosted: Sat Dec 20, 2014 3:36 pm    Post subject: Reply with quote

NeddySeagoon wrote:
Xywa,

The r8169 in kernal driver should work for you.
while the 8169 do work with a 8168 chipset it suffers from a painfully slow startup (its todo with cable detection) it can easily take over a minute.
_________________
The best argument against democracy is a five-minute conversation with the average voter
Great Britain is a republic, with a hereditary president, while the United States is a monarchy with an elective king
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43209
Location: 56N 3W

PostPosted: Sat Dec 20, 2014 4:57 pm    Post subject: Reply with quote

Naib,

Yeah - I have one. That minute is spent trying to load firmware.
Once you give it the firmware, its fine.

Its in my netbooting media player, which made it a PITA. Like wireless. Fimware and driver both built in works.
Driver as a module and firmware in /lib/firmware works too.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 5625
Location: Removed by Neddy

PostPosted: Mon Dec 22, 2014 11:45 am    Post subject: Reply with quote

ahh that I did not know, with the FW it comes up fast. Why on earth an NIC would need a firmware blob is beyond me...
_________________
The best argument against democracy is a five-minute conversation with the average voter
Great Britain is a republic, with a hereditary president, while the United States is a monarchy with an elective king
Back to top
View user's profile Send private message
bungernut
Apprentice
Apprentice


Joined: 24 Jan 2004
Posts: 173

PostPosted: Thu Feb 26, 2015 5:33 am    Post subject: r8169 in kernel does not work Reply with quote

I'm sorry to say but the in kernel realtek 8169 driver is not working for me, and of course this build isn't either...

Asus M5A97 R2.0
Gentoo-sources-3.18-7

The live CD works fine and it uses realtek 8111/8168
_________________
Two idiots make a wrong
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum