Kernel – 4.2-rc1 Breaks Nvidia and VMware..

Updated to kernel 4.2-rc1 on the test system:

# uname -a 
Linux rg6830l 4.2.0-rc1 #1 SMP Sun Jul 5 18:36:06 PDT 2015 x86_64 x86_64 x86_64 GNU/Linux
VMware 11.1.2 vmnet fails to compile:
/tmp/modconfig-aJnfZl/vmnet-only/bridge.c: In function ‘VNetBridgeUp’:
/tmp/modconfig-aJnfZl/vmnet-only/bridge.c:952:17: error: too few arguments to function ‘sk_alloc’
 bridge->sk = compat_sk_alloc(bridge, GFP_ATOMIC);
 ^
In file included from /tmp/modconfig-aJnfZl/vmnet-only/compat_sock.h:23:0,
 from /tmp/modconfig-aJnfZl/vmnet-only/bridge.c:35:
include/net/sock.h:1515:14: note: declared here
 struct sock *sk_alloc(struct net *net, int family, gfp_t priority,
 ^
scripts/Makefile.build:258: recipe for target '/tmp/modconfig-aJnfZl/vmnet-only/bridge.o' failed
– And the latest NVIDIA drivers (352.21 and 346.82) also fail to load, with another ‘GPL-only’ issue:
FATAL: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol 'flush_workqueue'
/usr/src/linux-4.2-rc1/scripts/Makefile.modpost:90: recipe for target '__modpost' failed
make[3]: *** [__modpost] Error 1
/usr/src/linux-4.2-rc1/Makefile:1383: recipe for target 'modules' failed
make[2]: *** [modules] Error 2
The NVIDIA issue has already been noted by one of the Kernel devs, and hopefully the necessary official changes to workqueue.c can be made soon..  https://forums.geforce.com/default/topic/849487/linux-v4-2-uses-gpl-only-symbol-flush_workqueue-/
Robert Gadsdon.    July 5, 2015

ARM64 – DragonBoard 410c to Kernel 4.1..

Managed to update the DragonBoard 410c to Linaro Kernel 4.1.0+, from here:

git clone https://git.linaro.org/landing-teams/working/qualcomm/kernel.git -b integration-linux-qcomlt

So far, I have made the kernel ‘monolithic’ with all necessary modules built-in (‘y” instead of ‘m’), as this was how the original Linaro/Qualcomm kernel was built..     As the 410c uses the android fastboot, it would seem that the kernel/boot image has to be a ‘blob’ – including an initrd and device tree file, as well as the kernel itself…    Instructions can be found at https://github.com/96boards/documentation/wiki/Dragonboard-410c-Boot-Image

The result was a kernel that booted OK, but was not particularly stable..

Fedora release 22 (Twenty Two)
Kernel 4.1.0 on an aarch64 (ttyMSM0)
.............
# uname -a
Linux rg410c 4.1.0 #1 SMP PREEMPT Wed Jul 1 19:50:26 PDT 2015 aarch64 aarch64 aarch64 GNU/Linux

Trying to run # vncserver resulted in a crash, and required a reboot to continue…    I will need to check the kernel config to see if there is anything obvious missing, or mis-configured..

It is rather odd having a system that cannot update/load its own kernel, and hopefully – once more of these are produced – the U-Boot team will be able to provide a more conventional boot setup..

Robert Gadsdon.   July 1, 2015.

ARM – Fedora 22 on ARM64..

After quite a lot of messing about, I got Fedora 22 running on the ARM64 DragonBoard 410c:

Fedora release 22 (Twenty Two)
Kernel 4.0.0-linaro-lt-qcom on an aarch64 (ttyMSM0)
............
$ uname -a
Linux rg410c rg410c.almaden 4.0.0-linaro-lt-qcom #1 SMP PREEMPT Fri Jun 5 15:17:06 UTC 2015 aarch64 aarch64 aarch64 GNU/Linux

Still running the ‘stock’ Linaro/Qualcom version of Kernel 4.0.0+, but I am carrying out more tests with compiling my own..

As the device relies on the Android-centric fastboot rather than U-Boot, I have a suspicion that the kernel will need to be entirely monolithic, but I need to do some more work on this..   I did get the device booted with Kernel 4.1-rc8 compiled from Linaro source, but some of the functionality was missing..

Fortunately, support for an AX88179 ethernet/usb adapter was included in the kernel, and so I was able to set up a LAN connection easily..

More details to follow…

Robert Gadsdon.   June 30, 2015.

ARM – ARM64 Developments…

Just took delivery of a Qualcomm Dragonboard 410c (https://developer.qualcomm.com/hardware/dragonboard-410c) :

Dragonboard 410c

Dragonboard 410c

The unit is based on a ‘standard’ (96Boards) design, with a few quirks..   The device uses fastboot rather than U-Boot, and in this respect is more like flashing a custom ROM on a cellphone!    It even has on-board volume up/down buttons..

There is no Ethernet built-in, so I will be attaching a USB/Ethernet dongle..   A UART connection is on the board, but it is 1.8v instead of the more common 3.3v.   There is a 1.8v USB/UART connector available from another supplier, and I have one on order, along with a 12v DC power supply….

Android is pre-installed, but I will – of course – be installing Linux..    There is a Ubuntu boot/install image available, and I will be replacing the root filesystem etc. with a Fedora 22 one, and then recompiling my own Kernel, as usual..    This process will be similar to the time I booted the Odroid U3 for the first time..

There are ‘official’ Fedora 22 aarch64 install images available, but these appear to be for EFI boot, for servers.    I did manage to find a raw disk image, including a root fs, at: https://dmarlin.fedorapeople.org/fedora-arm/aarch64/builder/

I will post more details when I have all the parts, and get the system up and running..

Robert Gadsdon.   June 25, 2015.

Kernel – 4.1 ‘Final’ Released..

Kernel 4.1 has been released, with not many changes from -rc8…

Brief details are here:  http://lkml.iu.edu/hypermail/linux/kernel/1506.2/04143.html

$ uname -a 
Linux rglinux-i7 4.1.0 #1 SMP Sun Jun 21 23:00:39 PDT 2015 x86_64 x86_64 x86_64 GNU/Linux
As expected, the latest VMware (11.1.2) and NVIDIA (352.21) compile and load/run OK, without the need for any patches..
Robert Gadsdon.   June 21, 2015.

 

VMware – 11.1.2 Released, No Patch Needed..

Just updated VMware to the latest version 11.1.2 on the test system, and it compiles/loads OK with Kernel 4.1-rc8..

Release notes are here:  https://www.vmware.com/support/ws/doc/workstation-1112-release-notes.html.

At last, there is no need for the venerable vmnet patch (required since Kernel 3.19 was released..)..

Robert Gadsdon.  June 18, 2015.

ARM – Odroid to 4.1-rc8

Updated the Odroid U3 to Kernel 4.1-rc8, from https://github.com/tobiasjakobi/linux-odroid/tree/odroid-4.1.y

Fedora release 22 (Twenty Two)
Kernel 4.1.0-rc8 on an armv7l (ttySAC1)
...............
]# uname -a
Linux rgodroid 4.1.0-rc8 #1 SMP Wed Jun 17 16:20:50 PDT 2015 armv7l armv7l armv7l GNU/Linux

As it has been some time since I (unsuccessfully) tried a ‘mainline’ kernel on the U3, I may try 4.1 Final when it is released, to see if it can at least boot..!

Robert Gadsdon.  June 17, 2015.

Kernel – 4.1-rc8 Released, ‘Final’ Next..

As expected, Kernel 4.1-rc8 is out, and the same comments regarding VMware and NVIDIA apply as for -rc7..  http://rglinuxtech.com/?p=1471

$ uname -a 
Linux rg6830l 4.1.0-rc8 #1 SMP Sun Jun 14 23:48:07 PDT 2015 x86_64 x86_64 x86_64 GNU/Linux
Brief details of changes from -rc7 are here:  http://lkml.iu.edu/hypermail/linux/kernel/1506.1/04926.html
4.1 ‘Final’ should be out soon, probably within the next week or so..
Robert Gadsdon.   June 15, 2015.

Kernel – 4.1-rc7 – and Delay to 4.1 Final..

Just updated the test system to Kernel 4.1-rc7, and the ‘vmnet-patched‘ version of VMware 11.1, and the latest NVIDIA drivers (346.72, and 352.09), compile and install/run OK, as expected..

# uname -a 
Linux rg6830l 4.1.0-rc7 #1 SMP Mon Jun 8 10:50:51 PDT 2015 x86_64 x86_64 x86_64 GNU/Linux

Brief details of changes from -rc6 are here:  http://lkml.iu.edu/hypermail/linux/kernel/1506.0/04895.html

As it has been so long since the VMware/vmnet patch was necessary, it is worth mentioning again that a complete patch and instructions is available here:  https://wiki.archlinux.org/index.php/VMware#3.19_kernels_and_up

It appears that there will probably be a 4.1-rc8, and the release of 4.1 Final will be delayed by about one week..

Robert Gadsdon.   June 8, 2015.

Kernel – 4.1-rc6 Released..

Updated the test system to Kernel 4.1-rc6, and – as previously – the ‘vmnet-patched‘ version of VMware 11.1, and the latest NVIDIA drivers (346.72, and 352.09) compile and install/run OK..

$ uname -a
Linux rg6830l 4.1.0-rc6 #1 SMP Mon Jun 1 09:01:13 PDT 2015 x86_64 x86_64 x86_64 GNU/Linux

Details of changes from -rc5 are here:  http://lkml.iu.edu/hypermail/linux/kernel/1505.3/05020.html

Robert Gadsdon.  June 01, 2015.