Kernel – Pre-4.1-rc Test with Linux-Next..

As Kernel 4.1-rc1 is not released yet, I tested the April 24 version of linux-next, to see how VMware and NVIDIA compiles would behave..

# uname -a
Linux rg6830l 4.0.0-next-20150424 #2 SMP Sun Apr 26 12:04:54 PDT 2015 x86_64 x86_64 x86_64 GNU/Linux

With this version, VMware 11.1 (with the 3.19 vmnet patch) compiled and loaded OK, but NVIDIA driver 349.16 failed:

FATAL: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol 'cpu_tss'
/usr/src/linux-next-apr25/scripts/Makefile.modpost:91: recipe for target '__modpost' failed
make[3]: *** [__modpost] Error 1
/usr/src/linux-next-apr25/Makefile:1404: recipe for target 'modules' failed
make[2]: *** [modules] Error 2
make[2]: Leaving directory '/usr/src/linux-next-apr25'
Makefile:146: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-next-apr25'
NVIDIA: left KBUILD.
nvidia.ko failed to build!
nvidia-modules-common.mk:248: recipe for target 'module' failed
make: *** [module] Error 1

cpu_tss comes from this patch:  https://lkml.org/lkml/2015/3/5/835

It should be emphasised that this linux-next version is only a snapshot of changes still in progress, so these results may change with later versions, and with 4.1-rc1 when released..

Robert Gadsdon.   April 26, 2015.

 


Comments

Kernel – Pre-4.1-rc Test with Linux-Next.. — 1 Comment

  1. Can you please tell me what you did to get vmnet to compile on Kernels greater than 4.0? I am running the following:

    System: Host: alphacentari Kernel: 4.0.0-040000rc7-lowlatency x86_64 (64 bit gcc: 4.6.3)
    Desktop: Xfce 4.11.8 (Gtk 2.24.23) dm: mdm
    Distro: Linux Mint 17.1 Rebecca
    Machine: Mobo: Supermicro model: C7Z97-OCE v: 0123456789
    Bios: American Megatrends v: 1.0 date: 04/25/2014
    CPU: Quad core Intel Core i7-4790K (-HT-MCP-) cache: 8192 KB
    flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 31926
    clock speeds: min/max: 800/4400 MHz 1: 4036 MHz 2: 4000 MHz
    3: 4132 MHz 4: 4017 MHz 5: 4003 MHz 6: 4016 MHz 7: 4001 MHz
    8: 4000 MHz
    Graphics: Card: NVIDIA GK104 [GeForce GTX 670]
    bus-ID: 01:00.0 chip-ID: 10de:1189
    Display Server: X.Org 1.15.1 driver: nvidia
    Resolution: 1920×1200@60.0hz, 1920×1200@60.0hz
    GLX Renderer: GeForce GTX 670/PCIe/SSE2
    GLX Version: 4.5.0 NVIDIA 349.16 Direct Rendering: Yes
    Audio: Card-1 NVIDIA GK104 HDMI Audio Controller
    driver: snd_hda_intel bus-ID: 01:00.1 chip-ID: 10de:0e0a
    Card-2 Intel Device 8ca0
    driver: snd_hda_intel bus-ID: 00:1b.0 chip-ID: 8086:8ca0
    Card-3 Logitech ClearChat Pro USB
    driver: USB Audio usb-ID: 001-003 chip-ID: 046d:0a0b
    Sound: ALSA v: k4.0.0-040000rc7-lowlatency
    Network: Card-1: Intel Ethernet Connection I217-V
    driver: e1000e v: 2.3.2-k port: f040
    bus-ID: 00:19.0 chip-ID: 8086:153b
    IF: eth1 state: up speed: 1000 Mbps duplex: full
    mac: 00:25:90:5b:d1:56
    Card-2: Intel I210 Gigabit Network Connection
    driver: igb v: 5.2.15-k port: c000
    bus-ID: 0a:00.0 chip-ID: 8086:1533
    IF: eth0 state: down mac: 00:25:90:5b:d1:57
    Drives: HDD Total Size: 3000.6GB (21.1% used)
    ID-1: /dev/sda model: Samsung_SSD_840 size: 1000.2GB serial: S1D9NSAF602986A temp: 0C
    ID-2: /dev/sdb model: Samsung_SSD_840 size: 1000.2GB serial: S1D9NSAF605234L temp: 0C
    ID-3: /dev/sdc model: Samsung_SSD_840 size: 1000.2GB serial: S1D9NSAF602353T temp: 0C
    Partition: ID-1: / size: 184G used: 3.4G (2%) fs: ext4 dev: /dev/sdb5
    ID-2: /home size: 917G used: 506G (59%) fs: ext4 dev: /dev/sdc1
    ID-3: /boot size: 9.1G used: 220M (3%) fs: ext4 dev: /dev/sdb2
    ID-4: /var size: 92G used: 11G (13%) fs: ext4 dev: /dev/sdb6
    ID-5: /usr size: 116G used: 13G (12%) fs: ext4 dev: /dev/sdb7
    ID-6: swap-1 size: 64.00GB used: 0.00GB (0%) fs: swap dev: /dev/sdb8
    RAID: System: supported: N/A
    No RAID devices: /proc/mdstat, md_mod kernel module present
    Unused Devices: none
    Sensors: System Temperatures: cpu: 29.8C mobo: 27.8C gpu: 0.0:42C
    Fan Speeds (in rpm): cpu: N/A
    Info: Processes: 314 Uptime: 6:06 Memory: 4774.9/32105.9MB
    Init: Upstart v: 1.12.1 runlevel: 2 default: 2 Gcc sys: 4.8.2
    Client: Shell (bash 4.3.111 running in xfce4-terminal) inxi: 2.2.6

    And when I go to apply the patches it still does not compile correctly.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.