On Sun, Mar 9, 2014 at 12:08 AM, Facundo Curti <facu....@gmail.com> wrote:
[snip]
> Sorry about top posting, My bad. Gmail jaja. I need to find a email client
> :P
No prob.
> Thank you for help. I'm trying to install firmware as you sugest. But now I
> have the problem, when I do modprobe r8168 it says:
>
> Error: Could not insert 'r8168': Function not implemented
If I'm reading your kernel config correctly, you cannot modprobe
r8168; you have it compiled in the kernel. If you set it up as a
module (CONFIG_R8169=m), then I don't understand the "Function not
implemented" message.
Regards.
--
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México
[ 0.190299] pci 0000:03:00.0: [10ec:8168] type 00 class 0x020000 |
Well, that's progress, I suppose.If you are using systemd (and by your logs, I see you do), you will not have an eth0 device. You will have something like enp3s2 or similar, unless you used net.ifnames=0 in your kernel command line, or you followed the steps from [1] to disable the predictable network interface names.
> So, how you can see, now I have a kernel module. But I still cannot see a eth0 device :/
I don't think that's the output from ifconfig. Could you please post it?
I still don't recognize the error. What does lsmod | grep "816[89]" says?
> dmesg | grep 8168:
>
> [ 0.190299] pci 0000:03:00.0: [10ec:8168] type 00 class 0x020000
>
> Any way modprobe r8168 still not work :/
I still don't recognize the error. What does lsmod | grep "816[89]" says?
.03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168 PCI Express Gigabit Ethernet controller (rev 09) Subsystem: ASUSTeK Computer Inc. P8H77-I Motherboard Flags: bus master, fast devsel, latency 0, IRQ 43 I/O ports at e000 [size=256] Memory at f0004000 (64-bit, prefetchable) [size=4K] Memory at f0000000 (64-bit, prefetchable) [size=16K] Capabilities: [40] Power Management version 3 Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+ Capabilities: [70] Express Endpoint, MSI 01 Capabilities: [b0] MSI-X: Enable- Count=4 Masked- Capabilities: [d0] Vital Product Data Capabilities: [100] Advanced Error Reporting Capabilities: [140] Virtual Channel Capabilities: [160] Device Serial Number 4d-00-00-00-68-4c-e0-00 Kernel driver in use: r8169 Kernel modules: r8169
But when I boot normally (with my gentoo), lspci -v says:
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 09) Subsystem: ASUSTeK Computer Inc. P8H77-I Motherboard Flags: bus master, fast devsel, latency 0, IRQ 14 I/O ports at e000 [size=256] Memory at f0004000 (64-bit, prefetchable) [size=4K] Memory at f0000000 (64-bit, prefetchable) [size=16K] Capabilities: [40] Power Management version 3 Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+ Capabilities: [70] Express Endpoint, MSI 01 Capabilities: [b0] MSI-X: Enable- Count=4 Masked- Capabilities: [d0] Vital Product Data Capabilities: [100] Advanced Error Reporting Capabilities: [140] Virtual Channel Capabilities: [160] Device Serial Number 4d-00-00-00-68-4c-e0-00 Kernel modules: r8168
> Typo maybe? It should be r8169.
You are rigth :P
First of all, you should not need to run any script. udev should
handle everything by itself.
> http://bpaste.net/show/186711/
Second of all:
could not open /proc/modules: No such file or directory
How is that even possible? In the first .config you posted, you had
CONFIG_MODULES unset, but I'm assuming you changed CONFIG_R8169 to 'm'
by running make menuconfig and going into the correct option, and that
you don't just edited your .config file. Right?
Because if you edited your .config by hand, that *CANNOT* result in
anything good, unless you know precisely what are you doing, and even
then most people would not recommend it.
It looks like you don't have kernel module support. Is that so?
What does the following command prints:
find /lib/modules -name "*r816*"
I suggest you to try r8168 module. The realtek RTL8111/8168 chip is buggy. The in-kernel module r8169 failed to work with the chip. When i used r8169 and booted to windows or the other way around the network card was hard locked. It required a complete power out for a minute to reset the card. With r8168 module there is no problems. The code is here:
r8168.googlecode.com/files/r8168-8.036.00.tar.gz
This dont show anything ._.Here my dmseg complete: bpaste.net/show/186667And my .config from kernel: http://bpaste.net/show/186668