Jaunty, ext4, startup times, ati driver 6

Posted by bikethetam Mon, 20 Apr 2009 01:54:00 GMT

I started installing Jaunty on my computers 2 weeks ago. The first one to get the honor was a new Acer Aspire One. For this one as for the other ones, the install went flawlessly:

  • the installer shrunk the windows partition automatically
  • wireless was working after install (except on the all Aspire One with the Atheros interface. Not resolved yet because of lack of time but it appears a solution exists: https://bugs.launchpad.net/ubuntu/+bug/350352)
  • graphics with 3D compiz effects were all working now using the 180.44 driver that got installed seamlessly.

After the initial  install, I had some troubles...

Troubles with Ext 4

No trouble with ext4 on the new AA1, the conversion worked, nothing to complain about.

It was a very different story on a Dell laptop of mine. The conversion to ext4 succeeded there too, the machine rebooted fine after the conversion, but then I read a post about the need to append  "rootfstype=ext4" to the kernel line in /boot/grub/menu.lst. I decided to go for it. Big mistake.

Now, that was a really stupid idea. I can't say for sure that's what broke it but in any case, the machine would not reboot after that, it would only go to grub console.

I tried reinstalling grub several times:

  • boot with a live CD (I used a Jaunty live USB pen that I had)
  • go to the grub prompt by simply typing "grub"
  • root (hd0, 5)
  • setup (hd0)

That rewrites the MBR with a brand new grub (supposedly supporting ext4 since it's 9.04). That didn't help. It wouldn't go past the grub console on startup. No error message is shown. The console sees the partitions, it even sees the files on the partition I want to boot from but it would not boot from it. Trying to 'cat' a file from grub shows only garbage.

I also tried to repair the partition table just in case (using systemrescuecd and Test-Disk). Nothing would help.

Fortunately, when booting from a live CD, I was able to mount the partition where I had my home directory so I could back it all up. I finally resolved to reinstall the system entirely with a full disk repartitioning and reformatting and I restored the home directory from the backup. That all went fine. I had lost a crazy amount of time on that issue though. So my recommendation is to not add that "rootfstype=ext4" to menu.lst. At best it will change nothing, at worst it's going to kill your installation.

Boot time

I measured the boot time before and after the upgrade and reinstallation on that Dell laptop. The startup time is measured between grub and the gdm login page:

  • Intrepid: 52s
  • Jaunty after upgrade still using ext3 on the main partition: 46s
  • Jaunty after upgrade after the ext4 conversion: 46s
  • Jaunty after full reinstall from scratch (using ext3): 36s

So, that's not quite what the hype tells us it is, it's merely an 11% boot time improvement from Intrepid to Jaunty and ext4 does not make any difference.

ATI, fglrx and xorg 1.6

Jaunty comes with xorg 1.6 and ATI has not released a unix driver yet that supports it. As a result, 9.04 does use the open source driver called just "ati" on machines using ATI video cards. I was a little reluctant to upgrade on an old desktop with an ATI card because of that. I'm not a Quake player but I didn't want to lose the compiz effects.

But it the end, this open source driver works wonders, the 3D effects appeared just as smooth as on intrepid and the CPU usage actually appeared lower while playing videos. I don't think I will swittch back to the ATI fglrx proprietary driver!

 


Comments

Leave a comment

  1. Matt K. 7 days later:

    I upgraded Intrepid to Jaunty, keeping my existing ext3 filesystem.... and everything works better than before. The Intel graphics card can not use Compiz, where as before it could not. And the wireless works better in Jaunty, where as before in Intrepid, I had to fiddle with the settings to get it to connect to me wireless router.

    The upgrade went absoluetly flawlessly, and I had even installed A LOT of 3rd part .debs as well as .debs from getdeb.net

    All and All just a nice new version of Ubuntu, with some minor new features and a few new major ones (ext4 example). So, far Ubuntu just keeps getting better and better.

    I installed on a dv6000 paviloin HP laptop

  2. Adrian 11 days later:

    my Jaunty system is using the proprietary ATI driver and I seem to be having issues. Most notably as soon as i activate it my monitor is no longer recgonised in display settings and the log on screen is displayed all wrong. I sometimes get some system crashes too when something is happening involving graphics moving around, but like yourself I'd like to keep the Compiz installed, mainly because of my Avant dock.

    Could you let me know where the open source drivers came from? Or was it just something Ubuntu did automatically for you? I search ati in syanptic, it came back with a few packages, but nothing called purely ati.

    Thanks

    Ade

  3. bikethetam 13 days later:

    Adrian, Ubuntu did it automatically for me.
    The "ati" driver name is actually a wrapper that loads the appropriate driver (most likely "radeon") . There is no "ati" module being loaded

    $ lsmod | grep -i radeon
    radeon 342816 2
    drm 96296 3 radeon

    The names of the packages you need are
    xserver-xorg-video-ati
    xserver-xorg-video-radeon

    Here's my /etc/X11/xorg.conf:
    Section "Device"
    Identifier "Configured Video Device"
    EndSection

    Section "Monitor"
    Identifier "Configured Monitor"
    EndSection

    Section "Screen"
    Identifier "Default Screen"
    Monitor "Configured Monitor"
    Device "Configured Video Device"
    EndSection

    As you can see, it's entirely generic. The new xorg determines all the setting by itself.

  4. Adrian 16 days later:

    Thanks for the reply. I have tried this and it doesn't resolve the issue. I can't use compiz with the open source driver. It's probably more to do with the fact I use my Phillips 32" HD TV as my monitor. I even reinstalled 8.10 and the problem is now on that as well, so I guess it's an update that ATI have done to their drivers, not sure how I go about filing a big fix with ATI as obviously it's not something the Ubuntu guys will be able to look at, and I'm probably the only person in the world using the 2600HD graphics card on a 32" TV knowing my luck.

  5. oneafrikan 29 days later:

    anyone got any issues with alt+tab and ctrl+alt+left/right (for workspace switching)?

    additionally, am finding that when i reboot, windows do not have window borders (and align top left for giggles)... so i have to set visual effects to "normal" each time I boot.

    have ati driver working, effects are cool - but no alt-tab is a killer...

    any ideas?

  6. driver indirin 11 months later:

    I read this post via the twitter feed. It was interesting to see both sides of the what will be an ongoing story.

Comments