Thursday, 22 December 2016

Updated Xenial Kernel 4.4.0-57.78 Upgrade Script

UpdateThis work is superseded by my 'isorespin.sh' script which can respin an official ISO suitable for use on Intel Atom devices.

I've upgraded my Xenial kernel upgrade script in line with the latest Ubuntu Xenial kernel.

To upgrade your kernel first download the shell script for the kernel version you require and after making it executable (enter 'chmod 755 <script>') you can install it as 'root' (by entering 'sudo <script>'). Once the script has finished executing the device will need to be rebooted to use the updated (patched) kernel.

4.4.0-57.78 (superseded)

19 comments:

Unknown said...

You mean 4.4.0.57? ;) Thanks for the update!

Linuxium said...

Correct(ed) ;) Thanks.

Unknown said...

can other kernel use this script?
I just install deepin(debian base,kernel 4.40) on my z8300 tablet,but lack of some drivers.I don't want to make the kernel again.
So can I use this script to fix the drivers problems

Linuxium said...

You can use the script on a Debian based distro to upgrade your existing kernel without installing my ISO however you will be missing firmware and other configuration files which may be required by some of the audio, wifi and bluetooth drivers. Also your userspace applications may have dependencies on kernel configs that are not enabled in my kernel. So basically YMMV.

algarcia said...

I'm running a very stable Xubuntu 16.04 on my 8GB/1GBRAM Intel Stick thanks to a previous post of yours from some months ago. Don't understand much about kernels and how they work, just that you kernel modifications include the proprietary drivers for WiFi and HDMI Audio. This update should be the right one for my 16.04 isn't it? What would happen if I use the Zesty you posted more recently?

Linuxium said...

Yes, this update (as in the Xenial series) is the right one for your 16.04 installation. There is probably no point in installing a Zesty kernel if everything already works for you are there is always a risk that you'll end up missing firmware or configuration files. Canonical address this through LTS Enablement Stacks, Rolling HWE Kernels and Point Releases. Understanding releases and upgrades is often miss-understood as the following post illustrates: https://ubuntuforums.org/showthread.php?t=2334371. Basically you should upgrade your kernel to benefit from bug fixes and more importantly security patches.

Unknown said...

Could you please update the xenal kernel to 4.4.0-59.80? Thanks in advance.

Unknown said...

Hi Ian. I have been using your kernel and the RTL8723BS wireless driver is very stable. I would like to compile the current ubuntu kernel (4.4.0-79-generic #100) with the RTL8723BS driver you've used. Could you upload the source code to google drive? Thanks in advance.

Linuxium said...

Use the module source from mainline kernel v4.12-rc4 or Linus' github as this will be the latest and most updated.

Unknown said...

Hi İan. I have already tried to compile the RTL8723BS mainline driver with the 4.4 Ubuntu LTS kernel, but it fails. I "desperately" need the "rtl8723bs" driver under the staging directory, which you used to create "linuxium-install-xenial-kernel-4.4.0-57-linuxium.sh". That driver is very stable for 4.4 LTS kernel. Thanks in advance.

Linuxium said...

It is the same driver, just cleaned-up a bit. See my post http://linuxiumcomau.blogspot.com.au/2017/04/rtl8723bs-wifi-soon-to-hit-mainline.html.

Unknown said...

Ian, you've stopped maintaining the Ubuntu 4.4 LTS kernel, which was very stable. Believe me, many people are still using it, and will not upgrade to 4.11 or 4.12 just for 8723bs driver support. Ubuntu will keep supporting 4.4 LTS kernel until April 2021. So please share the rtl8723bs driver you've used for 4.4 LTS kernels, and let us maintain this kernel ourselves.

Linuxium said...

The source has always been available on github so there is nothing stopping you using it.

Unknown said...

Hi Ian. Unfortunately the latest rtl8723bs source code can not be compiled for 4.4 LTS kernels. I've managed to compile the driver with workarounds like this: http://forum.x86pad.com/t/ubuntu-linux-pain/289/29 or like this: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1581711. The driver compiles, but the compiled kernel freezes in less than 5 minutes. Your 4.4.0-53.74 kernel is rock solid, never freezes. Please keep maintaining this kernel, which will we maintained by Ubuntu until April 2021, as I mentioned before. Or please share the rtl8723bs source code you've used for your 4.4 kernels. Regards, Ali. PS. I can make a donation if that may help.

Linuxium said...

"please share the rtl8723bs source code you've used for your 4.4 kernels" ... the source is on github ... what is wrong with it?

Unknown said...

Here is what I did to compile on 4.4 kernel:
- git clone https://github.com/hadess/rtl8723bs
cd rtl8723bs/git reset --hard d1f9d96ad4646e9e6ec904d0641fc898d4950f92

make -j4
make install
modprobe r8723bs

After I activate wlan0, the kernel freezes after 2-3 minutes. So this is probably not the source you've been using. Probably you've used an earlier, but more stable version. Can you find out the date or last commit of that driver?

Linuxium said...

Again from github (and you can check this for yourself): commit 7e5d655311c37458f381b63b755466382ef5d53c @linuxium linuxium committed on Dec 22 2016. Why don't you just use that source then?

Unknown said...

I'm terribly sorry Ian. When you sad "the source is on github" I thought you meant "https://github.com/hadess/rtl8723bs", which does not compile with 4.4 kernels (without modifying), and even it compiles, it is not stable. Glad to see that you keep own your kernels on github :) Hope you will accept my small donation as an apology.

Linuxium said...

Many thanks. I recommend you keep an eye on the mainline source for the driver as well just in case some stabilization patches get posted or improvements are made that may help you.

Post a Comment

All comments now moderated so that spam can be deleted.