Kernel 4.7

Ответить
euspectre
Сообщения: 1111
Зарегистрирован: 21 дек 2012, 15:24
Operating system: Linux в разных вариантах

Kernel 4.7

Сообщение euspectre » 28 авг 2016, 16:58

The packages with kernel 4.7 are now available in the unofficial repositories:

64-bit: http://abf-downloads.rosalinux.ru/kerne ... 7/release/
32-bit: http://abf-downloads.rosalinux.ru/kerne ... 7/release/

Version 4.7.2 is currently provided there.

If you would like to try it, see http://wiki.rosalab.ru/en/index.php/Ins ... al_kernels for the installation instructions.

Note that if you have NVidia GeForce GTX 10xx or some other GPU from "Pascal" series, it is recommended to enable x11_backports repository, update ldetect-lst and install version 367.44 (or newer) of the proprietary drivers using XFdrake. nouveau works poorly with such hardware right now.

As for AMD Radeon GPUs from "Polaris" series (Radeon RX4xx and such), they also need x11-driver-video-amdgpu (already available) as well as the updated linux-firmware, hwdata and Mesa 12.x at least. The first two updates are currently being checked by our QA team. As for Mesa 12.x - we are working on it, it will also be available in x11_backports repository when ready.

UPDATE: Mesa 12.0.1 is now available in x11_backports, thanks to Alzim.
----------------------------------

If you use broadcom-wl, you may need to update it too:
x86_64:

Код: Выделить всё

urpmi http://abf-downloads.rosalinux.ru/rosa2014.1/container/2709329/x86_64/non-free/release/dkms-broadcom-wl-6.30.223.271-5-rosa2014.1.x86_64.rpm
i586:

Код: Выделить всё

urpmi http://abf-downloads.rosalinux.ru/rosa2014.1/container/2709328/i586/non-free/release/dkms-broadcom-wl-6.30.223.271-5-rosa2014.1.i586.rpm
Other external drivers may or (more likely) may not work with kernel 4.7 right now. To be improved later.

Known issues:
* VirtualBox guest additions (namely, vboxvideo driver) may crash at boot when kernel 4.7.2 is used. If you experience that too, you can reboot using a different kernel and then uninstall dkms-vboxadditions for now.

trencan
Сообщения: 48
Зарегистрирован: 23 авг 2016, 07:42
Operating system: ROSA Desktop Fresh R12

Re: Kernel 4.7

Сообщение trencan » 01 сен 2016, 21:26

I am using kernel 4.7.2 with Rosa R8. After upgrade to kernel 4.7 from 4.6 I am not able to compile anymore ethernet driver for Realtek r8168 from their web http://www.realtek.com.tw/Downloads/dow ... Down=false - latest version 8.042. I get error:

Код: Выделить всё

make -C src/ modules
make[1]: Entering directory '/r8168-8.042.00/src'
make -C /lib/modules/4.7.2-nrj-desktop-1rosa-x86_64/build SUBDIRS=/r8168-8.042.00/src modules
make[2]: Entering directory '/usr/src/linux-4.7.2-nrj-desktop-1rosa-x86_64'
  CC [M]  /r8168-8.042.00/src/r8168_n.o
/r8168-8.042.00/src/r8168_n.c: In function ‘rtl8168_init_one’:
/r8168-8.042.00/src/r8168_n.c:22799:28: error: ‘struct net_device’ has no member named ‘gso_min_segs’
                         dev->gso_min_segs = NIC_MIN_PHYS_BUF_COUNT;
                            ^
/r8168-8.042.00/src/r8168_n.c:22807:28: error: ‘struct net_device’ has no member named ‘gso_min_segs’
                         dev->gso_min_segs = NIC_MIN_PHYS_BUF_COUNT;
                            ^
/r8168-8.042.00/src/r8168_n.c: In function ‘rtl8168_start_xmit’:
/r8168-8.042.00/src/r8168_n.c:24969:12: error: ‘struct net_device’ has no member named ‘trans_start’
         dev->trans_start = jiffies;
            ^
scripts/Makefile.build:289: recipe for target '/r8168-8.042.00/src/r8168_n.o' failed    
With kernel 4.6.7 it was able to compile.

euspectre
Сообщения: 1111
Зарегистрирован: 21 дек 2012, 15:24
Operating system: Linux в разных вариантах

Re: Kernel 4.7

Сообщение euspectre » 01 сен 2016, 23:07

trencan писал(а):I am using kernel 4.7.2 with Rosa R8. After upgrade to kernel 4.7 from 4.6 I am not able to compile anymore ethernet driver for Realtek r8168 from their web http://www.realtek.com.tw/Downloads/dow ... Down=false - latest version 8.042. I get error:
Please try this patch for r8168: https://gist.githubusercontent.com/ozma ... -4.7.patch. You can save it as, say, /tmp/linux-4.7.patch and then apply it as follows:

Код: Выделить всё

cd r8168-8.042.00
patch -p1 < /tmp/linux-4.7.patch
Then try to build the driver again, it should be OK now. I haven't checked if the built driver works correctly though.

trencan
Сообщения: 48
Зарегистрирован: 23 авг 2016, 07:42
Operating system: ROSA Desktop Fresh R12

Re: Kernel 4.7

Сообщение trencan » 02 сен 2016, 09:33

That patch helped, driver is compile-able now and seems working fine. Thanks.

Ответить

Вернуться в «ROSA Fresh R4-R7 (2014.1)»