Practical Technology

for practical people.

April 26, 2007
by sjvn01
0 comments

Torvalds releases 2.6.21 kernel

It took longer than Linux creator Linus Torvalds would have liked, but the latest Linux kernel, version 2.6.21, has arrived. It brings many minor and major changes in how Linux handles process scheduling and time.

In his April 25th release note to the LKML (Linux Kernel Mailing List), Torvalds wrote, “If the goal for 2.6.20 was to be a stable release (and it was), the goal for 2.6.21 is to have just survived the big timer-related changes and some of the other surprises.”

Surviving all those changes took time. “It’s been over two and a half months, and while it’s certainly not the longest release cycle ever, it still dragged out a bit longer than I’d have hoped for and it should have.”

The delays came in large part because of “all the timer changes to support a tickless system (and even with ticks, more varied time sources).” Torvalds called timer-related improvements “the big change during 2.6.21.”

A tickless system you ask? In 2.6.21, new technologies called clockevents and dyntick (dynamic ticks) were introduced. The technologies are based on previous real-time Linux work by Ingo Molnar and Thomas Gleixner. Together, they make the new kernel more efficient, both in terms of saving power, and in terms of dealing with heavy-duty multi-tasking jobs such as virtualization.

The clockevents feature provides a uniform interface and a device API for a computer’s various timekeeping and scheduling devices. With this, developers don’t need to delve down to the hardware level to work with a computer’s timing mechanisms, making it much easier to program extremely accurate timekeeping.

The other new feature, dynticks, saves power by shutting down the system clock more completely during periods of idleness. It works like this.

With earlier kernels, the system clock keeps “ticking” the timer interrupt even when the system has gone idle, at a rate of 1,000 ticks per second, or 1 KHz. That wastes a lot of Watts when the CPU is doing nothing but virtually twiddling its thumbs waiting for another job.

With Dynticks, the timer interrupt is turned almost off and the CPU waits for a real interrupt to come from a program, network interface, or the like. By idling your processor, you save energy — and on a laptop, that’s not a small matter.

In the future, both these features will be used to improve virtualization. The virtualization manager — rather than scheduling by HZ — will determine which program or virtual operating system should have the lion’s share of the processor’s time. This is not a pie in the sky idea. The technique was already being used with Linux on IBM mainframes years ago, when trying to deal with a thousand virtual Linux servers at once using HZ scheduling. It lead to situations where the timer interrupt overhead alone was using up almost all of the processors’ time.

While no one is likely to be running that many Linux virtual machines anytime soon on typical x86 server hardware, the new Linux kernel does also feature many improvements to the VMI (Virtual Machine Interface) and KVM (Kernel Virtual Machine). With the former, a better interface for paravirtualization programs like Xen and VMWare has been introduced. In the later case, major improvements have been made to KVM 15, the hardware-based virtualization program that was introduced in Linux 2.6.20.

There were also numerous minor improvements. Some of the most significant of these were in the fields of network and audio device support.

One feature that was not included in 2.6.21 is the Reiser4 file system. For years now, it’s been a major issue in developer circles whether this innovative and fast file system would become part of the Linux kernel.

When its designer and developer Hans Reiser was arrested for the murder of his wife in October 2006, it was assumed that development would stop on his file system and that would be the end of any chance of it being adopted by mainstream Linux.

It turns out that Reiser4 is still being maintained by programmers at Reiser’s company, Namesys, and that there is still interest in having the file system in Linux. In a LKML note, Andrew Morton, the production Linux kernel maintainer, wrote that the problem with getting Reiser into Linux isn’t Reiser’s developers. “That’s not where the problem lies — the Namesys guys are responsive and play well with others.”

While Morton hasn’t “looked at the reiser4 code in ages,” he doesn’t see “anything like a list of outstanding technical issues.” So Morton suggests that “to get it unstuck we’d need a general push; get people looking at and testing the code; get the vendors to have a serious think about it, etc. We could do that — it’d require that the Namesys people (and I) start making threatening noises about merging it, I guess.”

So, it could turn out that the big news in the next version of Linux may be the adoption of the Reiser4 file system. Failing that, you can expect to see more “tickless” and virtualization improvements in Linux’s continuing evolution.

A version of this story appeared in LinuxDevices.

April 25, 2007
by sjvn01
0 comments

Is Ubuntu enterprise ready?

Anyone who follows Linux at all knows that Ubuntu is currently the Linux community’s favorite distribution. But can Canonical Ltd., the company behind Ubuntu, translate that popular success into business success?
Certainly, under the leadership of Mark Shuttleworth, Canonical is trying to do just that. While Ubuntu will always be a free distribution, Canonical has been putting together the alliances it needs with IHVs (independent hardware vendors) and ISVs (independent software vendors) to move into corporate offices.

Today, for example, Canonical business users can use such business mainstays as SugarCRM; IBM’s DB2 database; VMware’s VMI and Para-Ops; and Sun’s open-source JEE (Java Enterprise Edition) 5 GlassFish application server, the Java SE Development Kit 6, Java DB 10.2, the Sun-supported version of the Apache Derby relational database manager, and the NetBeans IDE (integrated development environment) 5.5.

The company has also been working hard on its computer relationships. It already has a strong partnership with Sun, and it seems to be well on its way to being one of the first Linuxes to appear preinstalled on Dell’s desktops and laptops.

In addition, Canonical has been expanding its support operations. The company already has a basic certification for administrators, which is derived from the Linux Professional Institute, LPIC-1: the Ubuntu Certified Professional. Canonical is also close to announcing Ubuntu training programs and a new, higher-level certification. This new certification is meant to be the equivalent of an RHCE (Red Hat Certified Engineer) or MCSE (Microsoft Certified Systems Engineer).

Will all of this be enough to make Ubuntu a competitor to the likes of RHEL (Red Hat Enterprise Linux) and Novell’s SLES (SUSE Linux Enterprise Server) in business?

According to George Weiss, a Gartner vice president and distinguished analyst, and Thomas Skybakmoen, a Gartner analyst, in a recent report, Determining Whether Ubuntu Linux Is Right for You, “With support offered by Canonical, IT organizations that want to deploy Linux on servers without paying a subscription license fee for every server will be able to mix and match non-subscription-based Linux with enterprise-licensed support, unlike Red Hat and other Linux distributor models.”

The Gartner analysts see Canonical executing “a disruptive business model against traditional Linux vendors, such as Red Hat and Novell. However, server success in the next 24 months will be primarily in such markets as education [Edubuntu], service providers, massive Web farms and developers.”

Because “Ubuntu/Canonical does not impose a restriction on deploying a Linux enterprise subscription on every server, it enables users to add support as needed without revamping the Linux infrastructure, providing a smoother transition from a free-of-charge to a supported environment.” By thus providing a free and easy way to introduce Linux into businesses, they believe “Ubuntu will make a play to compete for enterprise Linux server business against Red Hat, Novell and Oracle.”

This won’t be happening overnight. The Gartner analysts do not see Ubuntu achieving “fast rates of commercial success, but it could disrupt escalating high-volume contracts, particularly to Red Hat.” Eventually, the analysts believe “Canonical will gradually establish Ubuntu as the low-maintenance/low-cost preference in enterprise low-function/high-volume servers, where functional stability is preset and life cycle maintenance is minimal.”

To pull this off, “Canonical/Ubuntu must attract key ISVs and IHVs, such as IBM and HP, to break through the old ‘chicken or the egg’ marketing dilemma.”

For the business world, Ubuntu also has the problem of lacking the “update services, management, provisioning and monitoring through a Web-based interface,” which enables administrators to manage “an entire Linux infrastructure, featuring role-based groupings, administration for policies and permissions, and scheduled actions.”

Even without the equivalent of Red Hat’s RHN (Red Hat Network) or Novell’s ZENworks system management programs, thanks to Debian’s thousands of software packages and the other factors in Ubuntu’s favor, the analysts see Ubuntu finding “enterprise acceptance in basic IT infrastructures where organizations already have the minimal prerequisite skills of administering and maintaining Linux and want to exercise independence from forced subscriptions when service levels are unimportant.”

It may not be where Canonical would like Ubuntu to be, but if the analysts are correct, it’s still a solid first step into the enterprise.

A version of this story first appeared in Linux-Watch.

April 24, 2007
by sjvn01
1 Comment

Novell tries again for an SCO KO

Novell is once again trying to finish off The SCO Group’s court cases by proving that Novell is the company that actually owns Unix’s intellectual property rights. What makes this latest attempt different, is we finally see an explanation of how SCO ended up owning Unix without owning its copyrights.

This is core to any and all of SCO’s multiple cases regarding Linux. Without a legal claim to Unix IP (intellectual property), SCO’s cases against Novell, IBM, and Red Hat can’t even enter the ring to begin the fight.

Novell has been pushing this very point since early 2004. Then, Novell first asserted that in the original APA (Asset Purchase Agreement) and Amendment No.2 to the APA, it had never sold Unix’s IP to SCO. Since then, the legal arguments have never stopped on this very point.

Continue Reading →

April 18, 2007
by sjvn01
0 comments

Michael Dell’s Linux choice? Ubuntu

What operating system do the heads of Fortune 500 companies run on their personal laptops? In the case of Michael S. Dell, president and CEO of Dell, it’s Ubuntu 7.04 Feisty Fawn.

Yes, the head of Dell Inc., with a market-capitalization of just south of $56-billion, isn’t just saying that Dell will be selling Linux-equipped PCs in the near future — he’s already running Linux at home.

To be precise, Mr. Dell, in addition to running the latest version of Ubuntu, which is still scheduled for final release on April 19, is also running the VMware Workstation 6 Beta, OpenOffice.org 2.2, Automatix2, Firefox 2.0.0.3, and Evolution Groupware 2.10.

The only name that most Linux users may not recognize immediately on that list is Automatix2. Automatrix2 is a popular Debian, Ubuntu, Pioneer, and MEPIS Linux add-on program. With that application in place, it becomes mindlessly simple to install useful software that doesn’t come with a vanilla Ubuntu installation. It includes access to Skype, Opera, Macromedia Flash, Google Earth, Picasa, Adobe Reader, DVD support, WiFi, and so on.

Mr. Dell is running all this on a loaded Dell Precision M90. The company describes this as a mobile workstation.

Certainly the model that Dell is running at his Austin, Texas area home qualifies as a mobile workstation by anyone’s definition. His machine comes with an Intel Core 2 Duo T7600 Processor, which runs at 2.33GHz and comes with a 4MB cache. It also comes with 4GB of DDR2 (double-data-rate) 667Mhz DRAM, a 17-inch WXGA+ Widescreen LCD, a 160GB 7200rpm SATA hard drive, a 8X DVD +/- RW optical drive, and a NVIDIA Quadro FX 3500 512M graphics card.

While no WiFi card is specifically mentioned, Dell also offers both its own Dell Wireless 5700 (CDMA EVDO) External Express Card for Verizon Wireless data connections and an assortment of 802.11a and g WiFi cards.

By our calculations, the total bill for Mr. Dell’s system, as described, comes to $4,703. It could have been more. He didn’t splurge on the optional Blu-Ray drive.

Unfortunately, if you tried to order it yourself, your only operating system choices on that system today are Windows XP SP 2 and Vista. Sources close to Dell, however, tell us that pre-installed Linux on Dell systems may be coming before the end of April.

We still do not know which Linux Dell Inc. will be installing on its desktops and laptops. Among the distributions we know to be under consideration are: Novell/SUSE, Red Hat, Fedora, openSUSE, and Ubuntu. It would be safe to say now, though, that Ubuntu will be at least one of the Linuxes that Dell will be offering.

Of course, Mr. Dell also uses no fewer than four other high-end systems. Each of these is running Windows.

Still, while many millionaires, such as Ubuntu’s Mark Shuttleworth, Red Hat’s Matthew Szulik, and Novell’s Ron Hovsepian, are running Linux on their own machines, Michael Dell is almost certainly the first billionaire to embrace the penguin. And, far more importantly, he’s the first one who also owns one of the world’s biggest PC vendors.

Pre-installed Linux on top brand-name computers is so close to becoming real you can almost run it.

A version of this story first appeared in DesktopLinux.

April 17, 2007
by sjvn01
0 comments

Calling Apple TV Hackers

Hardware hackers, as tracked on the Apple TV Hacks site have been having a grand old time working on the Apple TV. But, one accomplishment has been eluding them: getting an Apple TV to use an external USB drive for storage.

On April 8th, Apple TV Hacks, together with FatWallet.com, a site devoted to tracking online sales, teamed up to offer a $1,000 bounty for the first team to get an Apple TV to use an external USB drive. Since then, programmers have managed to do bits and pieces of the hack, but no one has managed to put it all together yet for the $1,000 prize.

Continue Reading →

April 16, 2007
by sjvn01
0 comments

Sony DRM Hell Revisited

You can’t make up stuff like this. Sony has once more shot itself in the foot with an idiotic DRM (digital rights management) scheme.

Back in 2005, Sony introduced XCP DRM technology on to some of its CDs. The technology proved much better at ripping Windows PCs wide open to rootkit attacks than it did protecting content.

Now, in 2007, Sony has again introduced another horrible DRM scheme. This time around Sony is using the latest version of its own home-grown DRM technology called ARccOS. It works, if you can call it that by placing sectors containing corrupt data on the DVD. DVD players that know ARccOS can play it because they know how to follow the disc encoded map of the good sectors. DVD players, and computers, that don’t know ARccOS completely fail while trying to play the ARccOS ‘protected’ disc.

Continue Reading →