Intel® Compute Stick
Support for Intel® Compute Sticks and Cards
536 Discussions

Ubuntu LiveCD for the STCK1A32WFC (Windows)

linuxium
New Contributor III
8,966 Views

I've created an Ubuntu LiveCD for the STCK1A32WFC (Windows) if anyone is interested in trying Linux.

When I first heard that a mini PC with an Intel CPU was to be launched I thought that everything would be straight forward for Linux. Unfortunately new hurdles were presented with a 32-bit BIOS and neither wifi nor sound. It meant a cumbersome installation for Ubuntu and also compiling an additional module for wifi. Even when a solution for audio was found another bug was encountered in the BIOS. In order to get both a working and usable Ubuntu I've had to recompile the Ubuntu kernel source and include the wifi and audio patches and also a fix for the BIOS and then build a LiveCD to simplify the testing and installation on the ICS.

You can download my 'ISO' from https://drive.google.com/file/d/0B99O3A0dDe67Q0dzalFHWWhMNmc ubuntu-14.10-desktop-linuxium-ics.iso - Google Drive

It is a development version and I'll probably update it over time. It is also BIOS dependant. For the ICS the kernel has been created for version 0018 of the BIOS which is the version that was factory installed on my ICS. I've also written some instructions which are posted https://docs.google.com/document/d/1gnjDJKR-OJQPfE4woFeN998WfB5H80OFaL1xdZDNxmk/edit?usp=sharing Ubuntu LiveCD for the ICS (Windows version) - Google Docs that include a beginner's tutorial for installing Ubuntu along side Windows. Also you can show your appreciation by donating at http://goo.gl/nXWSGf http://goo.gl/nXWSGf.

0 Kudos
62 Replies
TAnde12
Beginner
356 Views

I still get lockup (keyboard/mouse none responsive, if screen blank), won't wake up) about once and hour. I am trying to run apt-get upgrade and it has locked up three times so far and only 1/3 done. Do not know if it is fault of stick or Ubuntu. The device is warm but not hot. Fortunately it continues where it left off when rebooted and re-run.

linuxium
New Contributor III
356 Views

Let's assume it is a fault of 'my' Ubuntu rather than the stick.

Based on the 'official' ICS Ubuntu installation I wonder whether the issue is related to 'suspend'? Certainly by adding the file '/etc/polkit-1/localauthority/50-local.d/com.ubuntu.disable-suspend.pkla' (see http://askubuntu.com/questions/452908/how-to-disable-suspend-in-14-04 How to disable suspend in 14.04? - Ask Ubuntu for details), you will not differ from the 'official' release. Please post if this helps.

TAnde12
Beginner
356 Views

During the apt-get upgrade it froze 6 times. Part way through I tried turning off the screen blanking timeout and this did not help (although I could see what it last did rather than a frozen blank screen). All freezes were while keyboard had been idle some time but network activity had been active. I saw you last message this morning after I had finally completed the upgrade and added the file. So far it has not frozen during additional apt-gets of optional pkgs, other active use or when sitting completely inactive for over 1 hr. I turned screen blanking timer back on and it still has not frozen so this may have solved my issue. I'll report again if the issue returns.

Thanks for your help.

TAnde12
Beginner
356 Views

The lockup IS still there. It happens most often when downloading pkgs esp large ones. Makes me wonder if it is networking related. Occasionally I get a popup window that says:

Ubuntu 14.04 has experienced an internal error

If I ask for details it says

/usr/bin/update-notifier

update-notifier 0.154.1ubuntu1

SIGSEGV in g-slice-alloc()

2.14.1-0ubuntu3.11

but I can use continue and it is NOT hung.

Fortunately when installing large pkg collections I can restart the apt-get and it just gets continues getting the pkgs not already downloaded. When doing upgrade it also appeared to continue with a large file (60MB+)from where it left off, but with some other pkgs I am getting it appears to start over after it was 80% downloaded. Sometimes it hangs again, before it is done, so it is hard to make progress.

Downloads form us.archive.ubuntu.com are very slow. About 2% of my network speed so the server must be slow/busy. I am getting only about 5-10 kB/s. Even reconnecting for each new file often takes several minutes. Is this normal?

TAnde12
Beginner
356 Views

I believe that the lockup problem relates to networking and possibly the WiFi driver. The lockup only occurs when using the network. My Stick ran idle for over 12 hr last evening/night and this morning was live but the net had quit working. I could not disconnect from my WiFi server (error message said driver was not responding). I rebooted and ran a small perl script that just printed a timestamp every 10 sec and that ran fine for 5870 sec. I simultaneously did small things on the net, but then tried to check the Connection Information on the WiFi pulldown and the pulldown froze with ConnectionInformation highlighted but the entire machine froze like before (no mouse no keybd,...). So every freeze so far was while doing something on the network.

So I have turned off WiFi and connected to net by Ethernet. I have downloaded several new packages using Ubuntu Software Center, apt-get and browsers including >520 MB files and have not yet had another lockup.

To use Ethernet, I used a Unitek USB3.0 3 port Hub + 1 port Ethernet. I built the driver from the source they included for Linux, installed it and it worked fine. It supposedly support Gigabit Ethernet but my hub is only 100 Mbps and my Internet connection is only about 20 Mbps.

linuxium
New Contributor III
356 Views

If it helps, you can upgrade your Ubuntu to the "official" version supported by Canonical by downloading 'linuxium-z3725f-patch.sh' from https://drive.google.com/file/d/0B99O3A0dDe67endsMWtBT3k5ZUE https://drive.google.com/file/d/0B99O3A0dDe67endsMWtBT3k5ZUE and in a terminal window make the file executable (chmod 700 linuxium-z3725f-patch.sh) and execute the shell script as root (sudo ./linuxium-z3725f-patch.sh). This will build and install all the required drivers and user space modifications and requires a reboot to enable a fully functional Ubuntu.

 

This ISO is superseded by the approach outlined in my post 'Unofficial "official" Ubuntu for the STCK1A32WFC (Windows)'.

 

FCube
Beginner
356 Views

Thanks a lot for the patch linuxium. I experienced random crashes on my Windows ICS running uBuntu (installed it in the internal memory). I have a Web server, and when 2 or more users were connected, the ICS just crashed. I installed your patch and everything is running fine at this moment. Web server performance was improved and now, after 12hrs online, it's rock stable.

Thanks a lot and best regards

P.S: Sorry for my english.

TAnde12
Beginner
356 Views

I continued testing of the older ISO and found that turning off ALL networking (WiFi and Ethernet) made it stable. I was able to run a script the printed date/time every 10 sec plus top and it ran for over 24 hr without a lockup. But of course I need networking for the stick to be of much use, so I tried the newer "official" + patch version and it is much better. I have been able to run with my date script for over 20 hr with both WiFi and Ethernet connections up and no lockup. Looks like a winner. All of WiFi, Ethernet, Bluetooth etc working fine (I have not tried audio). Thanks linuxium!

FCube
Beginner
356 Views

After more than 36h my server is online and with great performance. This new drivers are the key. Great job linuxium.

PMans
New Contributor I
356 Views

I have a Baytrail-T tablet which has similar architecture to the this compute stick, which is why I am on this forum.

To get stable wifi I use a Ralink USB wifi adaptor, it's sold specifically to be compatible with the Raspberry Pi. All you have to do is install the appropriate firmware package into linux, then plug in the adaptor and it works.

The built-in wifi on the tablet is a Realtek SDIO thing, r8723bs, within minutes of loading the kernel module for it will result in the system locking up. I've been building my own kernels since 4.1 was released, currently on 4.2-rc4, and built the driver too, doesn't help.

MCole5
Beginner
356 Views

linuxium, I am starting from scratch with a new IBS. I have no experience with Ubuntu (I usually run Slackware). There are several different links to iso's and patches in this thread, and I'm not sure which to use. I would like to install Ubuntu to a micro sd card, and set it up to boot with the 32 bit loader so I can dual boot. I would prefer the most up to date and closest to "official" Ubuntu. What are the best options here?

Thanks, Mike.

linuxium
New Contributor III
356 Views

Basic instructions here: but use the ISO from here: with step 8 being "install 32-bit GRUB2 bootloader packages as 'root' enter 'apt-get -y install grub-efi-ia32 grub-efi-ia32-bin'". You can dual boot through the ICS BIOS boot loader menu (F10) or you can add a Windows boot option to GRUB if you prefer. See my G+ page (https://plus.google.com/+IanMORRISON Ian MORRISON (Linuxium) - Google+) or website (http://linuxium.com.au/ Linuxium) for further tips or contact me if you need help.

MCole5
Beginner
356 Views

I followed your 13 point check list, and I can boot ubuntu by going through the Windows Boot Menu (F10), but no option to boot Windows appears in the Boot Menu. If I don't go through the Boot Menu, then Grub starts, but Grub hangs when I try to boot ubuntu. I must have done something wrong, but I can't figure out what it would be.

linuxium
New Contributor III
356 Views

To get Windows to appear in the GRUB menu first delete 'disable-os-probe.cfg' by entering 'sudo rm /etc/default/grub.d/disable-os-probe.cfg' in a terminal window in Ubuntu. Then enter 'sudo update-grub' and reboot.

MCole5
Beginner
356 Views

Thanks, that was a lot easier than any of the solutions I found by googling "add menu entry to grub."

Windows boots now, but grub still hangs on ubuntu unless I go there through F10 at startup. Is that expected, or am I still missing something?

MSchu25
Beginner
356 Views

Hi linuxium

I know, this thread is a bit old, can you share me the sources of your patch here?

 

It seems that the Ubuntu stuff confuse me a bit, i plan to use the device with another linux based OS.

thanks a lot: Shalok Shalom

linuxium
New Contributor III
356 Views

Please check my website for more information.

PLai4
Beginner
356 Views

There is no ubuntu selection when I press F2 and change OS, only windows 32bits or 64bits. Please help!

linuxium
New Contributor III
435 Views

I've updated the original ISO (Ubuntu 14.10) to include only Canonical's software and software Canonical have developed jointly with Intel. This fixes sound when booting from the 64-bit bootloader and improves the HDMI driver and aligns with my other ISO (Ubuntu 14.04 LTS).

Also Brad Linder has posted some great documentation on Liliputing (http://liliputing.com/2015/07/install-ubuntu-14-04-lts-on-the-2gb-intel-compute-stick.html http://liliputing.com/2015/07/install-ubuntu-14-04-lts-on-the-2gb-intel-compute-stick.html and http://liliputing.com/2015/07/simplest-way-to-load-ubuntu-on-intel-compute-stick-with-windows-so-far... http://liliputing.com/2015/07/simplest-way-to-load-ubuntu-on-intel-compute-stick-with-windows-so-far...) for anyone wanting more detail including some troubleshooting tips.

ASant31
Beginner
356 Views

Hi Linuxium,

Thanks for the great job. I'm trying to build simple Linux system for the ICS using the Yocto project and everything is working now, except audio.

I took a look into your patch to Ubuntu in order to identify what is needed to have the sound through HDMI working, but it was not clear to me. What is really needed to be enabled in the kernel (I'm using kernel 4.1)? What other changes or settings are needed in the system to have it working?

Thanks

Reply