You are not logged in.

#3201 2017-12-06 17:35:50

keepitsimpleengineer
Member
From: San Joaquin Valley, CA
Registered: 2012-06-25
Posts: 301
Website

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

loqs wrote:

The r8168 package in the repositories is for the linux package in the repositories only not linux-ck.  repo-ck does not provide a r8168-ck package.

Why would mkinitcpio result in loading the r8168 module for linux and but not linux-ck-k10?

BTW: This morning (2017-12-06) it again failed to load r8168 for upgrading linux-ck-k10 (4.14.3-1 -> 4.14.4-1).

When linux-ck-k10 (4.14.2-2 -> 4.14.3-1) on 2017-12-01 r8168 was loaded.

Then on 2017-12-03  r8168 was upgraded (8.045.08-5 -> 8.045.08-10) and there was a mkinitcpio run for linux, but there was for not one for linux-ck-k10, and the internet connection was lost.

Subsequently I ran mkinitcpio run for linux-ck-k10 4.14.4-1. and r8168 was not loaded.

Now we have today's (2017-12-06) run for upgrading linux-ck-k10 (4.14.3-1 -> 4.14.4-1) and r8168 module again not loaded.

I would like to understand what is going on, please.

From journalctl for linux boot:

[root@KISE-066 ~]# journalctl -b | grep r8168
Dec 06 08:26:56 KISE-066 kernel: r8168: loading out-of-tree module taints kernel.
Dec 06 08:26:56 KISE-066 kernel: r8168 Gigabit Ethernet driver 8.045.08-NAPI loaded
Dec 06 08:26:56 KISE-066 kernel: r8168 0000:03:00.0: can't disable ASPM; OS doesn't have ASPM control
Dec 06 08:26:56 KISE-066 kernel: r8168: This product is covered by one or more of the following patents: US6,570,884, US6,115,776, and US6,327,625.
Dec 06 08:26:56 KISE-066 kernel: r8168  Copyright (C) 2017  Realtek NIC software team <nicfae@realtek.com>
Dec 06 08:26:56 KISE-066 kernel: r8168 0000:03:00.0 enp3s0: renamed from eth0
Dec 06 08:26:58 KISE-066 kernel: r8168: enp3s0: link up
[root@KISE-066 ~]#

From journalctl for linux-ck-k10 boot:

[root@KISE-066 ~]# journalctl -b -1 | grep r8168
[root@KISE-066 ~]#
[root@KISE-066 ~]# journalctl -b -1 | grep 8168
Dec 06 08:26:01 KISE-066 kernel: pci 0000:03:00.0: [10ec:8168] type 00 class 0x020000
[root@KISE-066 ~]#

Al Einstein: "Man soll die Dinge so einfach machen wie möglich ~ aber nicht einfacher." (Things should be as simple as possible ~ but not too simple.)

Offline

#3202 2017-12-06 17:56:04

loqs
Member
Registered: 2014-03-06
Posts: 3,100

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

keepitsimpleengineer wrote:
loqs wrote:

The r8168 package in the repositories is for the linux package in the repositories only not linux-ck.  repo-ck does not provide a r8168-ck package.

Why would mkinitcpio result in loading the r8168 module for linux and but not linux-ck-k10?

Modules are kernel specific an mkinitcpio building a kernel for the for linux package would only find modules for the linux kernel not linux-ck
Even if mkinitcpio included the module it would not be loaded.

modprobe -v foobar
modprobe: FATAL: Module foobar not found in directory /lib/modules/4.14.4-1-ARCH

It does not search /lib/modules/4.14.4-1-ck.  There is a symlink from /lib/modules/4.14.4-1-ARCH to extramodules-4.14-ARCH which is where the package r8168 places its kernel module.
Even if modprobe did attempt to load the module r8168 built for linux into linux-ck it would detect the "version magic" is not the same and refuse to load it.

Offline

#3203 2017-12-06 21:17:29

keepitsimpleengineer
Member
From: San Joaquin Valley, CA
Registered: 2012-06-25
Posts: 301
Website

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

loqs wrote:

Modules are kernel specific an mkinitcpio building a kernel for the for linux package would only find modules for the linux kernel not linux-ck
Even if mkinitcpio included the module it would not be loaded.

modprobe -v foobar
modprobe: FATAL: Module foobar not found in directory /lib/modules/4.14.4-1-ARCH

It does not search /lib/modules/4.14.4-1-ck.  There is a symlink from /lib/modules/4.14.4-1-ARCH to extramodules-4.14-ARCH which is where the package r8168 places its kernel module.
Even if modprobe did attempt to load the module r8168 built for linux into linux-ck it would detect the "version magic" is not the same and refuse to load it.


Got it & thanks... .. .

/lib/modules/extramodules-4.14-ck-k10/ does not contain a 'r8168.ko.gz' linked from /lib/modules/4.14.4-1-ck-k10,
and /lib/modules/4.14.3-1-ARCH/ does.

But why has this mainboard NIC worked for a very long time apparently using the r8168 module with the linux-ck kernel and abruptly stop? ...after r8168 was upgraded (8.045.08-5 -> 8.045.08-10)

[SOLVED] In any case I have removed the blacklist for the r8169 module, and now both linux and linux-ck-k10 kernels boot successfully using r8169.

Hopefully the problems that were occurring in earlier kernels and r8169 module with the Realtek NICs will now not occur.

loqs: thanks for your patience and assistance.

Last edited by keepitsimpleengineer (2017-12-06 21:18:35)


Al Einstein: "Man soll die Dinge so einfach machen wie möglich ~ aber nicht einfacher." (Things should be as simple as possible ~ but not too simple.)

Offline

#3204 2017-12-06 21:20:58

loqs
Member
Registered: 2014-03-06
Posts: 3,100

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

Have a look in the journal from those older boots under linux-ck and check if the module r8168 was loaded.

Offline

#3205 2017-12-10 14:47:39

snack
Member
From: Italy
Registered: 2009-01-13
Posts: 695

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

Is anyone experiencing a network hang when using this kernel? With linux-ck-core2 and an Nvidia MCP51 ethernet controller the cabled network works fine just after boot, then after some minutes it hangs. I cannot connect to web sites nor to local network machines like my router. Restarting the network service does not help, only a reboot fixes the problem but just for some minutes. Other devices connected to the same router (e.g. android phones) do not experience any problem. The issue is not present with the stock arch kernel. Any hint or suggestion? Thanks.

Offline

#3206 2017-12-11 04:19:18

pr0dukter
Member
Registered: 2017-08-24
Posts: 19

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

i had this very same r8169 problem  to make matters worse i have a gigabyte mobo i have to run amd_iommu=on iommu=pt for my usb3.0 to work and for my network to work without crashing as well.  i seem to remember there being 2 versions of r8169 or perhaps it was r8168 when i first encountered this several years ago, anyway they both had same name but one crashed every 20 minutes

to above poster:  do you have a gigabyte motherboard? mine is ga-970a-d3p, you may need the iommu solution

Last edited by pr0dukter (2017-12-11 04:20:18)

Offline

#3207 2017-12-11 06:08:24

pr0dukter
Member
Registered: 2017-08-24
Posts: 19

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

the linux-ck-bulldozer modesetting flag to enalbe hdmi audio amdgpu.dc=1 gives me the following error:


amdgpu: unknown parameter 'dc' ignored

this should work with the DC/DAL merge, no?

Offline

#3208 2017-12-11 08:46:25

snack
Member
From: Italy
Registered: 2009-01-13
Posts: 695

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

@pr0dukter: I have an Asus P5N-E SLI motherboard, not a Gigabyte. I'll try the iommu workaround as soon as I can (the pc is my parent's one, not mine), thanks for the hint.

Offline

#3209 2017-12-11 17:11:40

loqs
Member
Registered: 2014-03-06
Posts: 3,100

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

@snack what network driver is being used under linux-ck and what driver under linux?

Offline

#3210 2017-12-11 19:09:52

snack
Member
From: Italy
Registered: 2009-01-13
Posts: 695

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

loqs wrote:

@snack what network driver is being used under linux-ck and what driver under linux?

I don't know. I suppose both kernels use the same in-tree driver since I installed no out-of-tree driver. How can I check it? I won't have access to the machine for the next 10 days or so, so I will check as soon as I can.

Offline

Board footer

Powered by FluxBB