↓
 

Adventures With Linux ™

Linux Technologies and Fun Times..

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

Category Archives: compilation

Post navigation

← Older posts
Newer posts →

NVIDIA – Driver Fix, for Kernel 4.0. and Earlier..

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

I have hacked together a kernel-version-friendly fix for the latest NVIDIA driver (346.35) which works with Kernel 4.0-rc1 (and later) and also for previous kernel versions..   Thanks are due to juston_li for producing the actual code changes needed..  https://devtalk.nvidia.com/default/topic/813458/linux/linux-4-0-rc1-346-35-build-error-_cr4-functions-fix/ Unpack the NVIDIA driver: ./NVIDIA-Linux-x86_64-346.35.run -x Edit NVIDIA-Linux-x86_64-346.35/kernel/nv-pat.c Around line 34, change { unsigned long cr0 = read_cr0(); … Continue reading →

Posted in compilation, Crash and Burn.., Hacks, kernel, Linux, NVIDIA, Opinion | Tagged fix, kernel 4.0-rc1, kernel-version-friendly, nv-pat.c, nvidia 346.35, success | 7 Replies

Kernel – Welcome to Linux 4.0? VMware (Patched) OK, NVIDIA Fix Available..

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

Just tested Kernel 4.0-rc1 – announced here:  http://lkml.iu.edu/hypermail/linux/kernel/1502.2/04059.html As you will see – not much actual detail on what has changed, and I have already run into a couple of ‘issues’… The Radeon drm driver on my laptop refuses to load, and the boot hangs immediately with drm r600_ring_test [radeon] *ERROR* radeon: ring 0 test failed (scratch(0x8504)=0xFFFFFFFF) … Continue reading →

Posted in compilation, Crash and Burn.., Hacks, kernel, Linux, NVIDIA, Opinion, Performance, VMware | Tagged boot success, compile fail, fix available, framebuffer workaround, kernel 4.0-rc1, nvidia 346.35, radeon drm error, vmnet patch, vmware 11.1.0 | Leave a reply

ARM – Raspberry Pi ‘Classic’ – Device Tree Kernel Compile..

Adventures With Linux ™ Posted on February 22, 2015 by RGFebruary 22, 2015

After my tests compiling the new armv7 Pi 2 Kernel – with ‘device tree’ – I decided to try the same with the ‘classic’ armv6 Pi (B+).. You will need the latest version of the Pi /boot files, including the latest config.txt with the necessary parameters for device tree boot, sound config, etc.. For cross-compilation, I created … Continue reading →

Posted in compilation, Hacks, kernel, Linux / ARM, Raspberry Pi | Tagged cross-compile, device tree, kernel compile, raspberry pi v6, success, workflow | Leave a reply

ARM – Raspberry Pi 2 – Kernel Compile..

Adventures With Linux ™ Posted on February 19, 2015 by RGFebruary 19, 2015

Finally got the Raspberry Pi 2, and installed Fedora 21 (armv7hl) with no problems..    Temporarily used object code 3.18.7-v7+ from the repository, and then tested kernel compile options.. The system seems (so far..) to be relatively sluggish compared to my other quad-core armv7 systems..   Compiling on the Pi 2 itself seemed relatively slow, but at least it … Continue reading →

Posted in compilation, Crash and Burn.., HTC, kernel, Linux / ARM, Raspberry Pi | Tagged 3.19.0, armv7, fedora 21, kernel compile, raspberry pi, success, workflow | 4 Replies

VMware – 11.1 Released – Still Broken with Kernel 3.19..

Adventures With Linux ™ Posted on February 18, 2015 by RGFebruary 18, 2015

Just updated the test system to VMware Workstation 11.1, and – unfortunately – this is still incompatible with Kernel 3.19.. The only good news is..  The vmnet patch for 11.0 still applies, and fixes the problem..  http://rglinuxtech.com/?p=1281 The release notes (for what it’s worth!) are here:  https://www.vmware.com/support/ws/doc/workstation-111-release-notes.html As you can see – quite a lot of ‘known … Continue reading →

Posted in compilation, Crash and Burn.., Hacks, kernel, Linux, Opinion, VMware | Tagged still fails with kernel 3.19, success, vmnet patch, vmware 11.1 | 2 Replies

RPM – Fixing ‘Ancient’ Source Rebuilds..

Adventures With Linux ™ Posted on February 12, 2015 by RGFebruary 12, 2015

I had occasion to install an ancient GTK+ app, recently, and had to use # rpmbuild –rebuild xxxxx.src.rpm to (re)create some old RPMs from source.. I got the following error: /home/rgadsdon/rpmbuild/BUILD/php_gtk-1.0.2/main/php_gtk_object.c: In function ‘php_gtk_args_from_hash’: /home/rgadsdon/rpmbuild/BUILD/php_gtk-1.0.2/main/php_gtk_object.c:410:4: error: format not a string literal and no format arguments [-Werror=format-security] php_error(E_WARNING, buf); ^ So, I needed to remove the –Werror=format-security parameter … Continue reading →

Posted in compilation, Crash and Burn.., Fedora, Hacks, Opinion | Tagged -Werror=format-security, fix, gtk+, rpm, rpmbuild fail, success | Leave a reply

ARM – Kernel 3.19 for Odroid U3 – With Fan Control..

Adventures With Linux ™ Posted on February 11, 2015 by RGFebruary 11, 2015

Updated the Odroid U3 to (patched) Kernel 3.19, from https://github.com/tobiasjakobi/linux-odroid/tree/odroid-3.19.y Thanks to work by tobiasjakobi, this now includes the preliminary patches – updated for 3.19 – for fan control on the Odroid U3, originally posted by Lukasz Majewski at http://www.spinics.net/lists/linux-samsung-soc/msg42259.html So, (on a Fedora 21 system) you can now control the fan, as follows: # echo “0” … Continue reading →

Posted in compilation, Crash and Burn.., kernel, Linux / ARM, Odroid, Opinion, Performance | Tagged arm, cpu temperature, fan control, kernel 3.19, linux, odroid u3, patched, success, testing | 5 Replies

3.19 Final – NVIDIA and (Patched) VMware OK..

Adventures With Linux ™ Posted on February 10, 2015 by RGFebruary 10, 2015

Updated the test system to Kernel 3.19 ‘final’, and – as expected – the latest NVIDIA (346.35) and VMware 11.0 (with the vmnet patch..) compile and boot/load OK.. Quite a lot of changes from -rc7, and some reverted..  More details here : http://lkml.iu.edu/hypermail/linux/kernel/1502.1/00199.html $ uname -a Linux rg6830l 3.19.0 #1 SMP Mon Feb 9 14:53:53 PST 2015 … Continue reading →

Posted in compilation, Hacks, kernel, Linux, NVIDIA, VMware | Tagged kernel 3.19, nvidia 346.35, success, vmnet patch, vmware 11 | 2 Replies

ARM – CuBox i4-Pro to Kernel 3.19-rc7..

Adventures With Linux ™ Posted on February 8, 2015 by RGFebruary 8, 2015

Just updated the CuBox i4-Pro to Kernel 3.19-rc7 – using the standard code from kernel.org.. with device-tree boot using zImage and imx6q-cubox-i.dtb Only tested ‘headless’ access, so far.. Fedora release 21 (Twenty One) Kernel 3.19.0-rc7 on an armv7l (ttymxc0) …………………….. [root@rgcubox ~]# uname -a Linux rgcubox 3.19.0-rc7 #1 SMP Sat Feb 7 13:36:57 EST 2015 armv7l armv7l … Continue reading →

Posted in compilation, Crash and Burn.., Fedora, kernel, Linux / ARM | Tagged cubox-i4-pro, device tree, imx6q-cubox-i.dtb, kernel 3.19-rc7, kernel.org, standard code, success | Leave a reply

ARM – Odroid U3 to 3.19-rc7 – Fan ‘Fixed’?

Adventures With Linux ™ Posted on February 5, 2015 by RGFebruary 5, 2015

Updated the Odroid U3 to Kernel 3.19-rc7, from https://github.com/tobiasjakobi/linux-odroid/tree/odroid-3.19.y Had to ‘refresh’ the config, by # make exynos4412_odroid_defconfig, and then (re)enable selinux etc… One feature is that the CPU fan no longer runs constantly, but I need to do more tests, to see if it is now capable of running at all..    The temperature is OK, at … Continue reading →

Posted in compilation, Hacks, kernel, Linux / ARM, Odroid, Opinion, Performance | Tagged arm, fan not running constantly, kernel 3.19-rc7, linux, odroid u3, patched, success | 3 Replies

Post navigation

← Older posts
Newer posts →
Original content © Robert Gadsdon 2013
↑