Archive

Archive for the ‘Kernel / Internals’ Category

Ubuntu 9.10 & Mozilla Firefox 3.6 Beta 1!

November 1st, 2009 No comments

Unless you’ve been living under a rock (or near a very large one in the middle of no where) Canonical released the eagerly awaited Ubuntu 9.10 Karmic Koala on Friday. This is probably one of the biggest and coolest release of Ubuntu yet! Make sure you try the Server edition and setup an EC2 private cloud for tinkering – Cloud is where its at! But thanks to Mark Wolfe make sure you see this blog post about some things to do after installing.

Get it from the main download server or from iinet or internode mirrors if your in Australia.

Then there’s Mozilla who released Firefox 3.6 Beta 1 recently too – based on Gecko 1.9.2, download a copy and try it out, its got Windows 7 integration and CTRL+TAB previews which are finally in!

If that wasn’t enough I finally turned 25 today, quarter of a century. Its nice to have a birthday on a weekend – especially a long weekend!

{lang: 'en-GB'}
Share

Redhat 5.4 released, CentOS 5.4 is coming soon!

September 3rd, 2009 No comments

If you haven’t heard already, Redhat has released the eagerly anticipated 5.4 release of Redhat Enterprise Linux at their Redhat Summit in Chicago. As expected, Redhat looks to have moved from using Xen as their favoured virtualisation hypervisor to using KVM (which is an integral part of the Linux Kernel). All this will eventually go into RHEV.

All the changes in this release are documented in the  Release Notes, unfortunately Ext4 is still not considered usable in this release (they’re targetting for RHEL6 possibly).

So what of the RHEL clone CentOS? Possibly a 2-4 week delay it seems. WOO! In the meantime, upgrading from 5.3 is easy peasy.

{lang: 'en-GB'}
Share

Boffins get 1,000,000 Linux Kernels running as virtual machines!

August 4th, 2009 No comments

Thats right, that wasn’t a typo. Some crazy boffins at Sandia National Laboratories in Livermore, have run more than a million Linux kernels as virtual machines out of which 20,000 can be run simultaneously! Why on earth would they attempt such feats?

Prehaps this XKCD may jog your memory

XKCD: Networking

Yep, just about:

The technique will allow them to effectively observe behaviour found in malicious botnets, or networks of infected machines that can operate on the scale of a million nodes.

Insane!

{lang: 'en-GB'}
Share

Linux Btrfs: A short history of btrfs

August 2nd, 2009 No comments

Valerie Aurora (such a cool name!) takes a look into the history of Btrfs, well written and easy to follow.

{lang: 'en-GB'}
Share

Time flies: VirtualBox 3.0 final is out!

July 1st, 2009 No comments

It only feels like last week that I mentioned the beta release of VirtualBox 3.0, Sun has released the final version of the much anticipated v3.0!

As mentioned earlier, this release is super exciting for the simple fact that it has SMP support – a maximum of 32 virtual CPUs (but relax, you shouldn’t assign more than what you can afford – or the number of cores you have!). VMWare still only supports a maximum of 2 virtual-cpus (this _may_ change in VMWare 7.0!), another feat is the hardware 3D (Direct3D/OpenGL)  support for guests.

This version is a major update. The following major new features were added:

  • Guest SMP with up to 32 virtual CPUs (VT-x and AMD-V only; see chapter 3.7.2.2 of the user manual)
  • Windows guests: ability to use Direct3D 8/9 applications / games (experimental; see chapter 4.8 of the user manual)
  • Support for OpenGL 2.0 for Windows, Linux and Solaris guests

In addition, the following items were ?xed and/or added:

  • Solaris hosts: allow suspend/resume on the host when a VM is running (bug #3826)
  • Solaris hosts: loosen the restriction for contiguous physical memory under certain conditions
  • Mac OS X hosts: ?xed guest PAE
  • Linux hosts: kernel module compile ?xes for 2.6.31 (bug #4264)
  • VMM: ?xed occasional guru meditation when loading a saved state (VT-x only)
  • VMM: eliminated IO-APIC overhead with 32 bits guests (VT-x only, some Intel CPUs don’t support this feature (most do); bug #638)
  • VMM: ?xed 64 bits CentOS guest hangs during early boot (AMD-V only; bug #3927)
  • VMM: performance improvements for certain PAE guests (e.g. Linux 2.6.29+ kernels)
  • VMM: some Windows guests detected a completely wrong CPU frequency (bug #2227)
  • VMM: ?xed hanging and unkillable VM processes (bug #4040)
  • VMM: ?xed random infrequent guest crashes due to XMM state corruption (Win64 hosts only)
  • VMM: performance improvements for network I/O (VT-x/AMD-V only)
  • GUI: added mini toolbar for fullscreen and seamless mode (Thanks to Huihong Luo)
  • GUI: redesigned settings dialogs
  • GUI: allow to create/remove more than one host-only network adapters (non Windows hosts)
  • GUI: display estimated time for long running operations (e.g. OVF import/export)
  • GUI: ?xed rare hangs when open the OVF import/export wizards (bug #4157)
  • 3D support: ?xed VM crashes for client applications using incorrect OpenGL states
  • 3D support: ?xed memory corruption when querying for supported texture compression formats
  • 3D support: ?xed incorrect rendering of glDrawRangeElements
  • 3D support: ?xed memory leak when using VBOs
  • 3D support: ?xed glew library detection
  • 3D support: ?xed random textures corruption
  • VRDP: support Windows 7 RDP client
  • Networking: ?xed another problem with TX checksum of?oading with Linux kernels up to version 2.6.18
  • NAT: ?xed “open ports on virtual router 10.0.2.2 – 513, 514” (forum)
  • NAT: allow to con?gure socket and internal parameters
  • NAT: allow to bind sockets to speci?c interface
  • PXE boot: signi?cant performance increase (VT-x/AMD-V only)
  • VHD: properly write empty sectors when cloning of VHD images (bug #4080)
  • VHD: ?xed crash when discarding snapshots of a VHD image
  • VHD: ?xed access beyond the block bitmap which could lead to arbitrary crashes
  • VBoxManage: ?xed incorrect partition table processing when creating VMDK ?les giving raw partition access (bug #3510)
  • VBoxManage: support cloning to existing image ?le
  • OVF: several OVF 1.0 compatibility ?xes
  • OVF: ?xed exporting of disk images when multiple virtual machines are exported at once
  • Virtual mouse device: eliminated micro-movements of the virtual mouse which were confusing some applications (bug #3782)
  • Shared Folders: sometimes a ?le was created using the wrong permissions (2.2.0 regression; bug #3785)
  • Shared Folders: allow to change ?le attributes from Linux guests and use the correct ?le mode when creating ?les
  • Shared Folders: some content was incorrectly written under certain conditions (bug #1187)
  • Shared Folders: ?xed incorrect ?le timestamps, when using Windows guest on a Linux host (bug #3404)
  • X11 clipboard: ?x duplicate end of lines (bug #4270)
  • X11 guests: a number of shared clipboard ?xes
  • Linux guests: Guest Additions support for SUSE Linux Enterprise Desktop 11
  • Linux guests: new daemon vboxadd-service to handle time synchronization and guest property lookup
  • Linux guests: implemented guest properties (OS info, logged in users, basic network information)
  • Windows host installer: VirtualBox Python API can now be installed automatically (requires Python and Win32 Extensions installed)
  • USB: Support for high-speed isochronous endpoints has been added. In addition, read-ahead buffering is performed for input endpoints (currently Linux hosts only). This should allow additional devices to work, notably webcams (bug #242).
  • USB: ?xed error handling for some USB dongles
  • Web service: ?xed inability to handle NULL pointers for object arguments, which are valid values for a lot of APIs, in both the raw and the object-oriented web service.
  • Web service: object-oriented bindings for JAX-WS did not exhibit interface inheritance correctly, ?xed
  • Web service: added support for IDisplay and IGuest interfaces, which were previously unavailable
  • Registration dialog uses Sun Online accounts now

Why keep reading, upgrade dammit!

  • VirtualBox 3.0.0 for Windows hosts x86/amd64
  • VirtualBox 3.0.0 for Solaris and OpenSolaris hosts x86/amd64
  • VirtualBox 3.0.0 Software Developer Kit (SDK) All platforms (registration required)

Enjoy, see the manual online too!

{lang: 'en-GB'}
Share

Linus releases Linux 2.6.30

June 11th, 2009 No comments

Linus has released 2.6.30 of the kernel, list of changes are available in the Linux Kernel Newbies guide.

This version adds the log-structured NILFS2 filesystem, a filesystem for object-based storage devices, a caching layer for local caching of NFS data, the RDS protocol which delivers high-performance reliable connections between the servers of a cluster, a distributed networking filesystem (POHMELFS), automatic flushing of files on renames/truncates in ext3, ext4 and btrfs, preliminary support for the 802.11w drafts, support for the Microblaze architecture, the Tomoyo security module, DRM support for the Radeon R6xx/R7xx graphic cards, asynchronous scanning of devices and partitions for faster bootup, MD support for switching between raid5/6 modes, the preadv/pwritev syscalls, several new drivers and many other small improvements.

One interesting change (amongst the many) is that we have this new feature called Fastboot. Essentially, when we boot right now, there is significant cycles wasted waiting for the device probing to complete. From Johnathan Corbet’s article on LWN:

There are many aspects to the job of making a system boot quickly. Some of the lowest-hanging fruit can be found in the area of device probing. Figuring out what hardware exists on the system tends to be a slow task at best; if it involves physical actions (such as spinning up a disk) it gets even worse. Kernel developers have long understood that they could gain a lot of time if this device probing could, at least, be done in a parallel manner: while the kernel is waiting for one device to respond, it can be talking to another. Attempts at parallelizing this work over the years have foundered, though. Problems with device ordering, concurrent access, and more have adversely affected system stability, with the inevitable result that the parallel code is taken back out. So early system initialization remains almost entirely sequential.

This new release attempts to address this problem.

Arjan hopes to succeed where others have failed by (1) taking a carefully-controlled approach to parallelization which doesn’t try to parallelize everything at once, and (2) an API which attempts to hide the effects of parallelization (other than improved speed) from the rest of the system. For (1), Arjan has limited himself to making parts of the SCSI and libata subsystems asynchronous, without addressing much of the rest of the system. The API work ensures that device registration happens in the same order is it would in a strictly sequential system. That eliminates the irritating problems which result when one’s hardware changes names from one boot to the next.

How well it does it, I guess we’ll have to wait and see. But here’s a bit of a tidbit in the kernel for the new Microblaze implementation.

void __init setup_cpuinfo(void)
{
struct device_node *cpu = NULL;

cpu = (struct device_node *) of_find_node_by_type(NULL, "cpu");
if (!cpu)
printk(KERN_ERR "You don't have cpu!!!\n");

printk(KERN_INFO "%s: initialising\n", __func__);

DUDE, You dont’ have cpu!!!

{lang: 'en-GB'}
Share

THIS IS FEDORA: Fedora 11 Released

June 9th, 2009 No comments

This is FEDORA.

Fedora 11 aka Leonidas has been released. Whilst the front page is yet to be updated the mirrors are being updated as I write and ISO’s are being propogated.

Download ISO:

In Australia? Try the local mirrors:

Bit of a torrenter? See the Torrent Tracker page.

Approximate sizes (from internode):

Fedora-11-i686-Live.iso             688M
Fedora-11-i686-Live-KDE.iso         686M
Fedora-11-x86_64-Live.iso           691M
Fedora-11-x86_64-Live-KDE.iso       693M

See the Fedora 11 Release Notes for more information about changes in this release, the Fedora 11 feature list or the Unoffficial Fedora 11 Guide.

I’ve been awaiting this release primarily for the Linux Kernel v2.6.29 (in comparison to Jaunty‘s Kernel 2.6.28) which brings a slew of updates to the table – in particular KMS (Kernel mode setting – flicker free graphics), the inclusion of Btrfs in the kernel for preliminary testing and better memory mangement. Ofcourse Fedora 11 ships with X.org 1.6 as well. With the inclusion of GCC 4.4 all packages are now compiled with gcc4.4 too.

I’ve only dabbled in Fedora 10, but I think its a worthy move from my primarily Ubuntu lifestyle.

Whats really interesting though, is that Ubuntu 9.10 seems to have a decent performance bump, so whilst the wait for Fedora 11 is over, its time to get excited about the snappier the Karmic Koala.

{lang: 'en-GB'}
Share

Feelin Hot Hot Hot: Windows 7 Release Candidate Available to the public!

May 5th, 2009 1 comment

I’ve got the seasonal flu, so I’ve mostlty relaxing the last couple of days, but you dont have to. Microsoft have finally release Windows 7 Release Candidate 1 to the public – comes with much of tweakin and small feature additions,. If you couldnt get it from MSDN or Technet before, now’s your chance. I’ve been running the RC build on my Dell M1330 since it hit Technet (maybe a tinsy bit earlier) and its been solid as a rock.

Just remember to clean install instead of upgrading from the Beta. Enjoy! Ironically, I’m posting this via an Inspiron 8600 running Ubuntu 9.04, back to bed for me :(

{lang: 'en-GB'}
Share

Windows 7 Release Candidate Is Available From Microsoft

May 1st, 2009 1 comment

More information on PressPass as mentioned earlier.

Windows 7 RC Reflects New Advancements

New to the Windows 7 RC are advancements such as Remote Media Streaming, Windows XP Mode (beta) and the upcoming beta of the Windows 7 Upgrade Advisor:

Remote Media Streaming. Enables highly secure, remote Internet access to home-based digital media libraries from another Windows 7-based PC outside the home.
Windows XP Mode. Utilizing Windows Virtual PC, Windows XP Mode allows Windows 7 users to run many Windows XP productivity applications, launched right from the Windows 7 desktop. Windows XP Mode will be available to Windows 7 Professional and Windows 7 Ultimate customers via download or, for the best experience, pre-installed directly on new PCs. As part of today’s announcement, Microsoft is releasing the beta of Windows XP Mode and Windows Virtual PC. For larger businesses where management is important to reduce the total cost of ownership, Microsoft Enterprise Desktop Virtualization (MED-V) within MDOP adds management to Windows Virtual PC including centralized policy, administration experience and deployment.
Windows 7 Upgrade Advisor. To help enable a smooth transition, Windows 7 Upgrade Advisor will help people analyze their PCs in preparation for a Windows 7 upgrade. Available soon, Windows 7 Upgrade Advisor will be a downloadable tool that will help people determine their ability to upgrade from their Windows XP-based or Windows Vista-based PC to Windows 7.

In addition, a number of enhancements were made to existing features based on feedback from beta testers, including the following:

Refined navigation. Several enhancements to the Windows taskbar, JumpLists and search make navigation and finding exactly what you want much easier.
Internet Explorer 8. InPrivate browsing in Internet Explorer 8 prevents browsing history, temporary Internet files, form data, cookies, and usernames and passwords from being retained by the browser. With Windows 7, you can start an InPrivate session straight from the JumpList. You can also open a new tab from the JumpList.
Windows Touch. Controlling the computer by touching a touch-enabled screen or monitor is a core Windows 7 user experience. Improvements in the RC include several Windows Touch updates, including the ability to drag, drop and select items with touch, even inside Web sites that scroll both horizontally and vertically.

System Requirements for Windows 7

With the RC, Microsoft is also providing guidance on the minimum system requirements for Windows 7, showing that Windows 7 will work on a broader array of hardware than any other release of Windows at launch:

1GHz or faster 32-bit (x86) or 64-bit (x64) processor
1 GB of RAM (32-bit)/2 GB of RAM (64-bit)
16 GB of available disk space (32-bit)/20 GB (64-bit)
DirectX 9 graphics device with Windows Display Driver Model 1.0 or higher driver

Enjoy!

{lang: 'en-GB'}
Share

Microsoft discusses Windows XP mode in Windows 7

April 30th, 2009 1 comment

REDMOND, Wash. April 28, 2009 — As part of the upcoming Windows 7 Release Candidate milestone, Microsoft will release a beta version of Windows XP Mode, which allows users of Windows 7 Professional and above to launch many older Windows XP productivity applications directly from their Windows 7 desktop. The Windows XP Mode stand-alone feature is specifically designed to help small businesses that are using Windows XP applications move to Windows 7. For larger businesses, Microsoft Enterprise Desktop Virtualization (MED-V) MED-V 2.0 builds on top of Windows Virtual PC and provides centralized management of Windows XP Mode. MED-V 2.0 will be available in beta within 90 days of general availability of Windows 7.

PressPass spoke with Scott Woodgate, director of Desktop Virtualization and Microsoft Desktop Optimization Pack (MDOP) at Microsoft, to find out how this new advancement is helping ensure a smooth transition for customers planning to migrate to Windows 7.

Read the entire interview on Windows 7 Professional and Windows XP Mode. Personally, I think the ‘XP Mode’ on Windows 7 is a great thing, unfortunately some people dont (and for some of the authors points I strongly disagree with). Whilst its not included in the ‘out-of-the-box functionality’ (phrase around the office these days) you will be able to download the bits -  VirtualPC engine & a Windows XP SP3 Licensed copy if you have Windows 7 Professional, Windows 7 Enterprise, or Windows 7 Ultimate.

The crudge of this is that, the virtualised version wont include the same security model as Windows 7, so you’ll have to have two anti-virus’s installed, but it will function much like Parallels and VMWare Fusion does on Mac.

Dont take peoples word for it, try it with the Windows 7 RC.

{lang: 'en-GB'}
Share