1
Sep

Ubuntu on the Asus eee 901

   Posted by: jim   in On My Mind, ubuntu

I recently wrote about my frustrations with the 901 model of the Asus eee PC. I think the problems are specific to this and perhaps similar models and will hopefully be fixed before too long. However, I have no idea if Asus is even aware of the problems as calls to tech support are less than informative. I like the simple Xandros OS and would gladly use it if it wasn’t a bit borked.

My solution, at least for now, is to load Ubuntu, and I have done so. Here is a not-so-brief rundown of what I did, what issues still exist, and my general impressions of Ubuntu on a device like this.

Installing Ubuntu:

This is pretty straightforward. Ubuntu has always been quite easy to install. I used UNetbootin to put the live CD on a flash drive. Press escape at boot and select the flash drive. Install is just like any other Ubuntu install.

I did manually partition the system. I used the entire 4GB SSD for the root operating system and formatted it to ext3 file system. 15GB of the remaining 16GB SSD was formatted as ext2 for /home. I did this because I have read there may be some concern over the amount of drive access of a journaling file system and how that might affect the life of the cheaper storage SSD. The final 1GB was used as swap. I put the swap on the 16GB drive as I thought I might want the full 4GB on the main OS drive for applications. Current base install plus custom kernel and a few codes leaves 1.3 GB free on the 4GB drive.

Running updates (need to fix networking first) after the install was rather slow. Downloading the 100+ update was about as fast as on my desktop but the installation of the updates took well over 30min. That may reflect the slower processor or the slower SSD or a bit of both.

Post Install:

Quite a few things are broken with Ubuntu on the 901, and a bit of work is needed to fix them. I have not addressed them all them all yet, but my eee 901 with Ubuntu is currently working fine. The big problem with Ubuntu at the moment is that at install BOTH wired and wireless networking don’t work, but the fix is surprisingly easy. Download the custom kernel from http://array.org/ubuntu/setup901.html and save it to a flash drive. Once you have installed and rebooted just install the new kernel as described on the Array site, reboot and networking now works just fine.

An external USB drive won’t mount unless you do so manually or remove or comment out the cdrom line from /etc/fstab as it seems to cause a conflict. Once done external drives work fine.

Playing videos and mp3 presents the same issues it does with any Ubuntu install. You just need to install the appropriate codecs. Often you will be prompted to search for appropriate codecs as I was when I tried to play mp4 videos. I am now able to watch videos and play mp3 files.

Sound works just fine as does the headphone jack. I haven’t tried the mic but this fix suggests it will need tweaking. The webcam works after re-enabling it in the bios. For some reason it gets disabled.

Copying over USB is very slow but this could be more a hardware issue with respect to the SSD used. For example, it took over 30min to copy 3GB of music. Transfer speeds started at 20MB/sec and steadily dropped to about 1.5MB/sec over the course of the transfer.

One plus is that I haven’t noticed any real heat issues. My experience with Ubuntu on laptops is that they tend to get a bit hotter than what is perhaps normal. On the eee the temps seem to stay quite low. After an hour of mild to moderate use the bottom is not all that warm and the fan only seems to kick on when run CPU intensive apps and even then it’s not that warm or loud. Watching videos does seem to use a lot of juice but I suppose that is to be expected. I have not watched an entire movie so I’m not sure how hot it could get.

Ubuntu Netbook Remix:

Despite its flaws, I really liked the Xandros tabbed interface. It made a lot of sense on a device like this. The Ubuntu Netbook Remix is a good attempt at a similar UI. While not yet finished, it is not too hard to install. It does have some quirks but nothing I can’t live with.

To install it, see https://edge.launchpad.net/netbook-remix. The instructions don’t explicitly say so but you will need to do the following after adding the netbook repository

  • sudo apt-get update
  • sudo apt-get install go-home-applet window-picker-applet maximus human-netbook-theme ume-launcher

There is a warning about installing ume-config-netbook if you don’t have a dimondville processor. I believe the Atom CPU in the eee 901 is dimondville so I installed it as well. Not sure what it does but it didn’t seem to cause anything to break.

I deleted the bottom panel and set the top one to auto-hide. I also didn’t activate the maximus app. This makes all apps auto maximize and also seems to remove the title bar from windows. I didn’t like that as it looked odd and didn’t allow me to minimize or maximize windows. Instead, I used auto-hide on the top panel and can min or max windows as I see fit. Not all windows look good maximized so this works better in my opinion.

What’s Working and What Isn’t:

While I haven’t tested everything, here is a list of things that seem to be working fine and those that are not or that I haven’t checked.

  • Working:
    • CPU scaling (it seems the Atom is dual core and both are recognized and scaling - 800mhz at rest (edit: apparently I’m wrong about the two cores and that the “two” CPUs shown in the system monitor are just and effect of HyperThreading))
    • Desktop effects (but have to turn off for the Netbook Remix to work right)
    • USB ports
    • Wifi
    • Ethernet
    • Webcam after re-enabling in the BIOS
    • Sleep and resume (but haven’t tried hibernate as I never use it)
    • Bluetooth (I was able to connect a bluetooth mouse but could not connect an Apple bluetooth keyboard)
    • Battery meter but not sure about accuracy
  • Not Working or Unknown:
    • VGA out (untested)
    • Compiz Fusion with Netbook Remix - did not test enhanced effects but normal effects worked until I installed the netbook remix
    • Most Fn keys - brightness keys do work but that seems to be it

One odd thing I noted about sleep is that the load seemed really high when waking. Right after waking I opened a terminal and checked uptime. It reported

  • 20:04:40 up 10:03,  2 users,  load average: 9.39, 3.37, 2.85

which is odd because 6 of the 10 hours were in sleep and I’ve never seen a load of 9. On a second try a bit latter the load was 11. Perhaps it’s just the waking action but even the 15 min average is high for sleep. Shouldn’t the CPU be basically off during sleep? I’m not sure if that hints at a problem or just a quirk.

Overall Impressions:

While I’ve only been using Ubuntu and the netbook remix for a couple days, I have to say I like it better than the Xandros OS. Assuming everything can be got to work in the near future, I would think Ubuntu with or without the netbook remix would be a good alternaive to Xandros. Given the popularity of Ubuntu this would seem a wise move on the part of Asus to increase sales. They would also benefit from all the hard work of the large Ubuntu community - who, incedentally, seem to have done most of the work for them already.

For more info on installing Ubuntu on the eee pc see http://ubuntu-eee.com/. I did not install this version of Ubuntu so I’m not sure what is different compared to generic Ubuntu but the site contains a lot of useful information.

Screenshots:

Here are a few obligitory desktop shots.

Ubuntu Netbook Remix Desktop

Panel Unhidden

Playing a Game

Tags: , , , ,

This entry was posted on Monday, September 1st, 2008 at 10:42 am and is filed under On My Mind, ubuntu. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

16 comments so far

ikkefc3
 1 

You could directly have tried Ubuntu EEE 8.0.4.1 RC.
All the hardware worked directly (even the FN keys).
Link: http://www.ubuntu-eee.com . Currently, only the RC is released. There are some bugs with suspend.
I use it on an SD card and I have Windows on the SSD (only the Windows version is available in our country).

September 1st, 2008 at 11:01 am
jim
 2 

Thanks for the tip. I actually loaded that first but it seemed buggy though it may not have been the RC. I’ll give it a try on an sd card. I’m not willing to break what I have set up unless I’m sure it will be an improvement. The non-working suspend is kind of a bummer though.

September 1st, 2008 at 12:12 pm
a
 3 

The Atom in the 901 is single-core (but with HT, hence the “two” cores detected).

There’s a kernel module specifically for dealing with EEE hotkeys, it’s enabled by CONFIG_EEEPC_LAPTOP (check if your kernel was built with it by looking in /boot/config-`uname -r`)

September 1st, 2008 at 12:41 pm
 4 

I strongly suggest you not to use the 16Gb partition to create a swap file. 16 Gb disk is a flash memory and has a limited number of write operations in its life. You could reach the maximum number faster in this way!

September 1st, 2008 at 12:54 pm
jim
 5 

Andrea, thanks for the tip. I was a bit worried about the life of the SSD which is why I went with an ext2 file system. As for the swap, I’ve been monitoring that and the system rarely seems to use swap so unless there is read/write action that isn’t shown in the System Monitor it seems like it will not be a big deal. I’ve also seen some discussions suggesting that there isn’t really any need to worry about them wearing out http://news.softpedia.com/news/How-Reliable-Are-Eee-PC-039-s-Solid-State-Drives-After-All-76363.shtml

a, thanks for the info on the CPU. It seems odd to me to see “two” CPUs running and scaling independently if it’s just one actual core but since I don’t know how HT works I’ll take your word for it.

Also, it doesn’t seem I have the CONFIG_EEEPC option. How do I go about getting it and how do I use it? Thanks.

September 1st, 2008 at 1:28 pm
a
 6 

Jim, you will need to build your own kernel (you installed a different kernel as I understand it anyhow, so this process would make another custom kernel). In fact, if you are comfortable doing that, you could build a more recent kernel, such as a 2.6.27 series for Ubuntu 8.10 or something similar.

In the new kernel’s source tree, the first step is to use your current kernel config to generate a similar config for the new kernel:

$ cp /boot/config-`uname -r` .config
$ make oldconfig

You can then use “make menuconfig” to enable the EEEPC option. It’s under Device Drivers -> Misc. Devices. This page describes a couple of good ways of building and installing an Ubuntu kernel package:
https://help.ubuntu.com/community/Kernel/Compile

If you don’t feel comfortable doing that, then you’ll want to wait until one of the EEEPC/Ubuntu project people builds a suitable kernel (or maybe these options are enabled in what will become 8.10). I don’t own an EEEPC 901 so I can’t test this out, but it’s just a suggestion based on what I saw in the configs.

September 1st, 2008 at 5:13 pm
a
 7 

Ah, additionally, HT (hyperthreading) is basically a way to do simultaneous multithreading in the CPU. It’s different from having multiple cores and dates back from the Pentium 4 architecture. Intel’s new CPUs are now heading back toward the P4-style design, though from what I’ve read there will be multi-core Atoms in the near future as well.

I also agree that it’s safe to have swap on an SSD, though it’s certainly better if the system doesn’t use it too much. The SSD controller will wear-level the underlying Flash memory correctly.

September 1st, 2008 at 5:17 pm
 8 

The CONFIG_EEEPC_LAPTOP option was introduced in the 2.6.26 kernel. The array.org eeepc kernel is based upon 2.6.24 which doesn’t yet have this config option.

However, support for the hotkeys are still provided by the eeepc-acpi module which is available in 2.6.24-21-eeepc

You will need to create some new files under /etc/acpi to actually make the hotkeys do anything useful.

I’m currently working on an *eeepc-config* package which’ll automate a lot of the hacks that were previously done by hand (including hotkey support). It’ll be installed by default for Ubuntu-Eee 8.04.1 RC2, and available for any Ubuntu hardy-based install from the array.org repository within in a few days.

September 3rd, 2008 at 11:58 pm
jim
 9 

adamm, Thanks for the info and for your efforts on getting Ubuntu on the eee. It would be nice to see Asus take some notice of this.

Just wondering, will the Ubuntu-Eee 8.04.1 RC2 be based on the 2.6.26 kernel or the .24?

September 6th, 2008 at 10:19 am
 10 

It’ll be still be based upon 2.6.24.3, as RC2 is still technically “Hardy Heron”.

I’m Currently working on a 2.6.26-based kernel, however Intrepid is still in Alpha state and a bit volatile.

As soon as it reaches beta I’ll post a 2.6.26 kernel as an upgrade.

September 8th, 2008 at 2:13 pm
jim
 11 

Thanks for the info adamm and the dedication. If there is anything I can do to help let me know. I’m not a coder by any means but maybe there are other things I can do.

September 10th, 2008 at 10:06 pm
 12 

I had Ubuntu running great on the older 701 model… sadly the CPU went on that the other day. I am thinking about getting the newer model, and I defintaly will be putting Ubuntu straight back onto it :)

October 3rd, 2008 at 4:50 am
seths
 13 

i tried using Download the custom kernel from http://array.org/ubuntu/setup901.html

and when i boot up it says
[ 11.859742] kernal panic - not syncing: UFS: Unable to mount root fs on unknown-block(0,0)

can anyone help?

October 10th, 2008 at 11:00 am
 14 

If you’re having slow and sluggish GUI with Ubuntu Netbook Remix you need to patch your kernel. I found two .deb packages that will do it for you!

Get them here: http://timashley.me/?q=node/7

Worked great for me!

June 5th, 2009 at 11:09 am
some guy
 15 

Check the mount options for your solid state drives - you want both to use the noatime flag. This will greatly speed up your system and extend drive life

July 16th, 2009 at 3:21 am
leos varghese
 16 

i have installed remix and im not able to connect my mobile phone with my laptop and also not able to activate wifi connectiion..so please help me to activate bluetooth and wifi in ubuntu remix??
thank you

August 23rd, 2009 at 9:13 am

2 Trackbacks/Pings

  1. Instalando Ubuntu en el Asus Eee 901 « Ubuntu Life    Sep 02 2008 / 3pm:

    [...] | Ubuntu en el Asus Eee 901 (1) | Instalar Ubuntu en el Asus Eee [...]

  2. Bookmarks about Compiz    Oct 10 2008 / 12pm:

    [...] - bookmarked by 1 members originally found by imimop on 2008-09-30 Jim Hutchinson: Ubuntu on the Asus eee 901 http://ubuntukids.org/blog/?p=103 - bookmarked by 5 members originally found by synthrabbit on [...]

Leave a reply

You must be logged in to post a comment.