↓
 

Adventures With Linux ™

Linux Technologies and Fun Times - and Technology Commentary..

  • Home
  • About the Author…
  • Copyright and Trademarks..

Category Archives: Hacks

Post navigation

← Older posts
Newer posts →

Kernel – 4.11-rc1 and BTRFS – a Warning..?

Adventures With Linux ™ Posted on March 14, 2017 by RGMarch 14, 2017

I encountered a catastrophic problem with btrfs formatted system disk partition corruption, shortly after updating a test system to Kernel 4.11-rc1. To put this in context, this may be an isolated incident, and I have not seen problems – so far – mentioned elsewhere..    But.. there a quite a lot of BTRFS changes on 4.11, and – … Continue reading →

Posted in boot, BTRFS, Crash and Burn.., Hacks, kernel, Linux, Opinion, Performance | Tagged bad block, btrfs errors, kernel 4.11-rc1, open_ctree failed, recovery failure | 1 Reply

VMware – Not Working with Fedora 26 – GCC 7, and Workarounds..

Adventures With Linux ™ Posted on March 12, 2017 by RGJuly 16, 2017

UPDATE:  The vmware runtime fix shown here has not worked since version 12.5.6, and the solution is in a later article:  https://rglinuxtech.com/?p=1992 I have recently updated one crash-and-burn system to Fedora 26 (alpha/testing) and have encountered two problems with VMware and the ‘bleeding edge’ version of GCC included.. The first problem sounded very familiar, and it is a … Continue reading →

Posted in alpha release, compilation, Crash and Burn.., Fedora, fix, Hacks, kernel, Linux, VMware | Tagged fedora 26, fix, gcc 7, gcc 7.0.1, manual compile, vmmon, vmnet, vmware 12.5.3 runtime fails, workarounds | 21 Replies

NVIDIA – Kernel 4.11 Fix Available, but not ‘Legal’..

Adventures With Linux ™ Posted on March 8, 2017 by RGMarch 8, 2017

There is a fix/patch available now, for NVIDIA driver 378.13 on Kernel 4.11, but it involves modifying the licence on NVIDIA code, and so is not legal.. Details – and links to discussions – here:  https://devtalk.nvidia.com/default/topic/995636/?comment=5101210 Some previous changes to Kernel code enforcing GPL-only licensing had been reverted, but looking at the correspondence on the Linux Kernel … Continue reading →

Posted in compilation, fix, Hacks, kernel, Linux, NVIDIA | Tagged fix available, gpl-only, kernel, kernel 4.11, licence modification, linux, not legal, nvidia 378.13 | Leave a reply

VMware – Patch for Kernel 4.11 Support..

Adventures With Linux ™ Posted on March 7, 2017 by RGMarch 7, 2017

Thanks to Virgo, there are now patches for vmnet and vmmon with Kernel 4.11 (see his comments under the earlier article).    These are incremental patches, for application to VMware 12.5.2 code already patched for Kernel 4.9/4.10 support.. Links are here:   http://pastebin.com/McqmUf0u     and    http://pastebin.com/yjbDHiSX I have modified these (adding appropriate #if LINUX_VERSION_CODE…… #endif statements) to be backward-compatible with … Continue reading →

Posted in compilation, Crash and Burn.., fix, Hacks, kernel, Linux, patches, Performance, VMware | Tagged incremental patches, kernel 4.11-rc1, vmmon, vmnet, vmware 12.5.2 | 7 Replies

NVIDIA – New 410 Patch – With Hotplug Support..

Adventures With Linux ™ Posted on February 23, 2017 by RGFebruary 23, 2017

Thanks to Alberto Milone, there is now a patch for the latest NVIDIA driver, which is reported to include ‘hotplug’ support :https://pkgs.rpmfusion.org/cgit/nonfree/nvidia-kmod.git/plain/kernel_4.10.patch I can confirm that this compiles OK when applied to driver 378.13, with kernel 4.10.   I am not able to test hotplug functionality, as I do not have a suitable system..   So..  YMMV… Thanks to … Continue reading →

Posted in compilation, Crash and Burn.., fix, Hacks, kernel, Linux, NVIDIA, patches | Tagged 378.13, kernel 4.10, nvidia, patch with hotplug | 6 Replies

NVIDIA – New Drivers, Still Broken with 4.10 – And a Patch for 378.13..

Adventures With Linux ™ Posted on February 15, 2017 by RGFebruary 15, 2017

NVIDIA have released new drivers 375.39 (‘long term’) and 378.13 (‘short term’) and details are here:  http://www.nvidia.com/download/driverResults.aspx/114708/en-us and http://www.nvidia.com/download/driverResults.aspx/115031/en-us. Both still fail to compile with Kernel 4.10 (tested with 4.10-rc8) and I tried the previous 378.09 patch against 379.13, but it failed to apply cleanly, as more code has changed.. $ cat nv-37809-410-patch.patch |patch -p0 patching file … Continue reading →

Posted in compilation, Crash and Burn.., Hacks, kernel, Linux, NVIDIA, Opinion, patches, Performance | Tagged 375.39, 378.13, compile fails, kernel 4.10, new drivers, nvidia, patch needs mods, testing | 3 Replies

VMware – Updated vmnet Patch for Kernel 4.9/4.10..

Adventures With Linux ™ Posted on January 31, 2017 by RGJanuary 31, 2017

Thanks to Mikkel Kroman, there is a more complete patch for VMware 12.5.2  vmnet on Kernel 4.9.x and 4.10-rc’s: The change is to the get_user_pages parameter list, to now include the FOLL_WRITE parameter, and is as follows: In vmnet-only/userif.c, around line 113, change #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 6, 0) retval = get_user_pages(addr, 1, 1, 0, &page, NULL); … Continue reading →

Posted in compilation, fix, Hacks, kernel, Linux, patches, VMware | Tagged 12.5.2, improved vmnet patch, kernel 4.10-rc, kernel 4.9.x, success, vmware | 10 Replies

ARM64 – Odroid C2 – Patches for USB..

Adventures With Linux ™ Posted on January 18, 2017 by RGJanuary 18, 2017

Thanks to Heiner Kallweit for info on two USB patches for the Odroid C2, and thanks to John Youn for the patches themselves..  They can be found at http://www.spinics.net/lists/linux-usb/msg151687.html and http://www.spinics.net/lists/linux-usb/msg151688.html . I have applied these to Kernel 4.10-rc4 (including the Ethernet TX patch) and now USB is working, and detects/connects devices – sort of.. Plug in … Continue reading →

Posted in aarch64, ARM64, fix, Hacks, kernel, Linux / ARM, Odroid C2, Opinion, Performance | Tagged arm64, kernel, linux, odroid c2, patches, quirks, usb | 1 Reply

Kernel – 4.10-rc3 Released..

Adventures With Linux ™ Posted on January 9, 2017 by RGJanuary 14, 2017

Kernel 4.10-rc3 is out, and brief details of changes since -rc2 are here:  http://lkml.iu.edu/hypermail/linux/kernel/1701.1/00183.html Tested patched VMware (12.5.2) and patched NVIDIA (375.26) and both compile OK..   Same results as with -rc2.. Robert Gadsdon.    January 8, 2017.

Continue reading →
Posted in compilation, Hacks, kernel, Linux, NVIDIA, VMware | Tagged compiles ok, kernel 4.10-rc3, patched nvidia 375.26, patched vmware 12.5.2 | Leave a reply

ARM64 – Catastrophic Compile Errors with 4.10-rc1 – and a Fix..

Adventures With Linux ™ Posted on December 26, 2016 by RGDecember 26, 2016

Tried compiling Kernel 4.10-rc1 for aarch64, and got – literally – hundreds of errors: …… ./include/linux/sched.h:3299: Error: unknown mnemonic `return’ — `return test_ti_thread_flag(task_thread_info(tsk),flag)’ ./include/linux/sched.h:3300: Error: junk at end of line, first unrecognized character is `}’ ./include/linux/sched.h:3302: Error: unknown mnemonic `static’ — `static inline void set_tsk_need_resched(struct task_struct*tsk)’ ./include/linux/sched.h:3303: Error: junk at end of line, first unrecognized character is … Continue reading →

Posted in aarch64, compilation, Crash and Burn.., fix, Hacks, kernel, Linux / ARM, Opinion, Performance | Tagged aarch64, arm64, fix available, kernel 4.10-rc1, multiple compile errors | Leave a reply

Post navigation

← Older posts
Newer posts →
Original content &copy Robert Gadsdon 2013
↑
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.