Linux Kernel 2.6.21 Released 296
diegocgteleline.es writes "Linus Torvalds has released Linux 2.6.21 after months of development. This release improves the virtualization with VMI, a paravirtualization interface that will be used by Vmware. KVM does get initial paravirtualization support along with live migration and host suspend/resume support. 2.6.21 also gets a tickless idle loop mechanism called 'Dynticks', built in top of 'clockevents', another feature that unifies the timer handling and brings true high-resolution timers. Other features are: bigger kernel parameter-line, support for the PA SEMI PWRficient CPU and for the Cell-based 'celleb' Toshiba architecture, NFS IPv6 support, IPv4 IPv6 IPSEC tunneling, UFS2 write, kprobes for PPC32, kexec and oprofile for ARM, public key encryption for ecryptfs, Fcrypt and Camilla cipher algorithms, NAT port randomization, audit lockdown mode, some new drivers and many other small improvements."
Damnit! (Score:5, Funny)
who the h3!! marked that flamebait? (Score:2, Funny)
Re: (Score:2)
At this point, I'm mostly interested in bugfixes, and not features. YMMV.
(Anyhow, why did someone mod your post "Flamebait"? I can't see anything in it that's inflammatory at all?)
Published? (Score:2, Insightful)
Re:Published? (Score:4, Informative)
(I also planned to add the number of months of development (almost 3, 80 days), but I forgot it)
Re: (Score:2)
Bloat? (Score:2, Insightful)
Yes, I know that you can recompile and remove what you don't need, but most "non-uber-geek" users are not going to be able to handle that, and most distros are going to include a kernel with the kitchen sink compiled in.
Re:Bloat? (Score:5, Insightful)
No, most distros are going to include a kernel with the kitchen sink compiled as modules, taking up a few megabytes on the hard drive, but never loaded.
Re:Bloat? (Score:4, Insightful)
And, of course, there's many parts that can not be made into modules at all, but have to be part of the kernel. And that makes a HUGE difference.
Is the difference really that big? Well, the machine I'm currently on has a bzipped kernel that's around 1.5 MB in size plus a 820 kB map. The alternative boot to a commercial distro (no name, no shame) has a bzipped kernel that's around 2.1 MB, plus a 2.3 MB initrd, plus a 1.2 MB System map.
The difference might not be staggering, but it's there, and the kernel is growing with each revision. Here's how the System.map has grown for the last few revision on this laptop, with no new options added:
-rw-r--r-- 1 root root 754620 Nov 30 18:32 System.map-2.6.17-gentoo-r8
-rw-r--r-- 1 root root 768275 Dec 28 15:57 System.map-2.6.18-gentoo-r6
-rw-r--r-- 1 root root 809157 Mar 26 04:28 System.map-2.6.19-gentoo-r5
-rw-r--r-- 1 root root 839371 Apr 25 22:45 System.map-2.6.20-gentoo-r6
That's an 11% increase without adding anything. Similar for the kernel itself (although that's harder to compare directly, due to the bzip2 compression). While not alarming, it's a trend towards feeping creaturitis that I think bears watching.
Re: (Score:3, Insightful)
Re:Bloat? (Score:4, Insightful)
Not to mention that people who are using Linux for embedded work can still rip out a ton of stuff. You can completely omit module support and all sorts of things that contribute to so-called "bloat." The kernel is still and always has been very flexible about compiling in features, and all the code's there to mess with...
Small, fast, full of features; pick two. I think.
Re: (Score:3, Informative)
Re: (Score:2)
Linux hibernate support (Score:3, Informative)
Re:Bloat? (Score:5, Insightful)
Most distros compile everything as modules, which generally keeps the overall size of the kernel down. Sure, bzImage grows over time (not just because of new features, but typically new patches == more lines of code), but not significantly from release to release.
Most "non-uber-geek" users don't care what's in their kernel, and if they did, they'd learn to compile it themselves. Compiling kernels has gotten easier over the years. Chances are, if you care enough about how your kernel is compiled, you'll have the skills needed to do it yourself.
Re: (Score:3, Funny)
Plus, I don't find it THAT hard to configure the new kernels but I take my distro's config file and remove anything I know I don't need rather than starting with a blank-slate config and THEN trying t
Re: (Score:2)
He probably refers to the days of Linux 2.4.x, not the time taken to configure and build the kernel.
Re: (Score:3, Informative)
Actually, they use kernels with everything compiled as modules, and a separate initrd/initramfs to deal with loading the drivers required at boot time.
Re: (Score:2, Interesting)
Re: (Score:3, Insightful)
Re:Bloat? (Score:4, Insightful)
The common sense of the US Government is the only thing standing between us and DRM hell? Oh dear :(
Re: (Score:2)
You probably get a small performance increase due to using optimizations specific to your machine, like compiling specifically for your P4 or Core 2 or X2 processor, and maybe leaving out some things you don't need. But overall, I
Meh (Score:3, Informative)
Re:Meh (Score:4, Interesting)
P.S. i never use reiserfs so i can not say if this works with reiserfs or not...
Re:Meh (Score:4, Interesting)
Its not just the file system you need, its the ability to spin the drive containing said file system too
The initrd does many more things than load drivers. What if you have an AoE based storage network with many disk-less stations needing to use an OCFS2 single system image? Initrd's can do neat things besides loading modules, have a look at linuxrc. You can bring network adapters to an up/link state, negotiate iscsi targets, download a boot config from a resource controller, all kinds of goodies. Complex networks need to do lots of things before pivot_root gets called, and we need complex networks.
piix hasn't been 'quite right' since 2.6.16.29 on most of the legacy servers using PATA (IDE) I still have up and working, many of us have been having a difficult time with it. But progress is progress, and this is good progress so I guess my move to all SAS will be sooner than later.
Re: (Score:2)
Re: (Score:2)
Hmm. No suggestions then.
Have you tried asking on LKML?
Re:Meh (Score:4, Informative)
IIRC after 2.6.17 the SATA stuff changed quite a bit (it changed from the old SCSI based stuff, to libata), and requires turning the new options on.
RegardselFarto
Re: (Score:2)
Re: (Score:2)
it might work, No Guarantees though...
Re: (Score:3, Interesting)
I also notice the new feisty to be much faster, but when under load, desktop slows down considerably. On edgy, however hard you loaded the machine, there was always the extra power for sth else if you wanted.
Feisty looks feels like a windows machin
Re: (Score:2)
But why? (Score:2)
Why was this done, though? All my IDE drives changed from hd? to sd? and for a while I couldn't boot. I had to rewrite my entire fstab. Parallel ATA may be going the way of the dodo, but it's far from dead.
Quite possibly. (Score:2)
Re: (Score:3, Interesting)
This problem needs to go to lkml, and cc Andrew.
KVM management? (Score:3, Insightful)
Re: (Score:2)
How do you mean the video device is "horribly slow". Also, what do you mean by VDE (as in, vde.sf.net?).
Re: (Score:2)
I mean that updates to the display (I was using the console interface, not a VNC) are, well, horribly slow. Some issues might be windows-specific, such as windows 2000 taking so long to turn the whole display desktop-colored (initializing video memory, I guess?) taking literally a minute or more.
And yes, by VDE I mean Virtual Distributed Ethernet. I tried both VDE and VDE2. With VDE2 it never worked properly. With vde, I could start kvm four times and h
Re: (Score:3, Informative)
Re: (Score:2)
Re: (Score:2)
This is a conversation about Linux Kernel 2.6.21 and the context made it quite clear that I was talking about KVM, a feature added to the Linux kernel in 2.6.20 and with additional functionality in 2.6.21.
I didn't call the guy names or anything, if he had been paying attention he would have known what I was talking about, and he (?) :) posted an apology for not paying attention. Now it's your turn.
By the way, Synergy does NOT repeat NOT do the same thing as a KVM switch. It
Re: (Score:2)
virt-manager is supposed to provide a vmware server console-like interface.
I need that much management if I'm going to leave vmware server.
Running shell scripts to run my virtual machines, and editing those scripts, and having those scripts create and destroy network interfaces etc, is an annoyance. I am capable of doing it, but I am lazy and would rather use someone else's tools. It's [ostensibly] only a matter of time before virt-manager works,
Tickless only for x86 now, still good news (Score:5, Interesting)
I can't wait for it to mature on PPC, MIPS, and x86_64! Right now it's 32-bit x86 only.
Re: (Score:2)
Re:Tickless only for x86 now, still good news (Score:5, Informative)
Most kernels use a periodic system timer tick to do various housekeeping chores, like rescheduling tasks, sending packets, flushing files from the cache, etc. Usually this occurs at some periodic rate, i.e. every 1-10ms for Linux and every 10-15ms for Windows (according to this article [microsoft.com].
This is a bit wasteful of CPU resources, since the kernel might not need to do anything for quite a while, or it might want a high resolution timer with higher accuracy than normal system timer. For example, when the system is idle, the CPU still must wake up and process a timer interrupt for every timer tick, and if it's set to 1ms there are 1000 interrupts per second.
A tickless kernel instead only schedules the next tick for when it is needed, so if the system is idle and nothing needs to happen for 50ms, then the next tick will be scheduled 50ms later. On the other hand, if a timer needs to go off in 750 microseconds, the kernel can schedule the next interrupt to go off then, giving much higher accuracy.
Re: (Score:2)
Re: (Score:3, Informative)
That's nice and all... (Score:4, Funny)
Re:That's nice and all... (Score:5, Funny)
(Damn, finally there's an answer for this!)
Another solution to a timeless problem! (Score:5, Funny)
The list of changes can be found... (Score:5, Informative)
Hotplug CPU support! (Score:2)
Re:Hotplug CPU support! (Score:5, Funny)
Re: (Score:2)
At last! (Score:2, Funny)
Sooner or later... (Score:3, Funny)
Re:Sooner or later... (Score:4, Interesting)
Yeah, the absurdly long kernel command lines in Linux really bug me. It's a symptom of the suckiness that is the PC BIOS, so I'm not really blaming the Linux people, but there are better solutions and have been for years. The FreeBSD loader [freebsd.org], for instance, is capable of loading the kernel and any modules required to bootstrap the system, reading configuration files, and running Forth (!) scripts. Such a loader would completely eliminate the need for initrds on nearly all systems[1] without sacrificing any power. You could also emulate Openboot or EFI - or more realistically a subset of them - using the PC BIOS to prepare for the future.
[1] initrd is a really awesome feature and it shouldn't go away. But it's massive overkill the way it's typically used, which is to load modules required to mount the root filesystem.
Re: (Score:2, Funny)
Re: (Score:3, Funny)
you forgot the
type=feline_supplement,id=25
Dynaticks: picture (Score:2)
http://www.spymall.com/catalog/images/bombclock3.
Mactel MBP C2D (Score:4, Interesting)
Next up is to get ATI to actually support any power saving features in fglrx on the MBP C2D and give the mAdWiFi [madwifi.org] guys more time to work out the features on the Atheros AR5008.
OSX, right now, still has a significant advantage in keeping heat and power consumption down. Even though, I imagine some will testify that even OSX is having a hard time with it...
Here's to testing out 2.6.21 tonight
Re: (Score:2)
Dynticks stil doesn't set the CPU to a power-savvy mode (it will in the future, but not in 2.6.21), so power consumption is more or less the same than without dynticks.
My own wishlist (Score:2)
Does anybody there know a wheel that has good force feedback features in Linux? If I had one I would start contributing code to some project like torcs [sourceforge.net] or rars [sourceforge.net].
Re: (Score:3, Informative)
The MacBook was $1300 and features DVD RW, firewire, USB, bluetooth, wifi, a video camera, audio (record and play), a 3d graphics card and a 150 minute battery (for the way I use it). The coolest features are the little things that Apple did right: the magnetic power cord, the simple, sturdy case, the pulsing standby indicator, etc. I install the GNU bits that I need, but most of
Cool, but... (Score:3, Insightful)
Re: (Score:2)
Re:Cool, but... (Score:5, Insightful)
Considering that slashdot was (note the past tense) first and foremost a Linux/all things geeky site, I'd say this article is very slashdot-worthy. Not to mention that we get a fawning mac fan boy article every time Steve Jobs so much as farts. At least the Apple section can be turned off. Wish I could do the same with Microsoft and Windows articles.
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
eCryptfs public key (Score:5, Interesting)
In other news, eCryptfs has recently been given the go-ahead for inclusion into Fedora:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi
In the meantime, you can grab all the userspace stuff from the eCryptfs SourceForge site:
http://ecryptfs.sourceforge.net/ [sourceforge.net]
do I really care? (Score:2, Flamebait)
No, it's just the hardware (Score:4, Insightful)
This means your CPU is much more powerful than what you really need. I used FreeBSD a bit in the 1990s, but switched to Linux because the kernel allowed me better fine tuning in the 486 CPU I had at the time.
Today the CPU is way over my needs too, but I stick to Linux because, first, I have no need to switch and, second, Linux has better hardware support than the others you mentioned.
Right, brothers... (Score:2, Funny)
You joke, (Score:5, Interesting)
Re:You joke, (Score:5, Funny)
Linux 2.8 will compete with SunOS 6.0 as the best platform for running Duke Nukem Forever.
Re: (Score:3, Funny)
Linux 2.8 will compete with SunOS 6.0 as the best platform for running Duke Nukem Forever.
I dunno. Hurd will probably give them both a run for their money.
Anyway, isn't Duke Nukem Forever written in Perl 6?
Re:You joke, (Score:4, Insightful)
Oh, sorry, I didn't realize it was a rhetorical question.
Change to the ABI (Score:2)
Re: (Score:2)
In general no, the ABI was not broken between previous releases (although the API has been broken numerous times).
Yep (Score:2)
To me, it makes it appear as though nothing "really major" as changed in the kernel since 2.6.0, when, of course, nothing could be further from the truth.
Language (Score:3, Interesting)
More things have changed between 2.6.0 and 2.6.21 than changed between 2.0 and 2.2.
How's that?
Re: (Score:2, Funny)
Details: [kernelnewbies.org]
"The features are tested in the -mm tree, but be warned, it can crash your machine, eat your data (unlikely but not impossible) or rape your sister (just because it has never happened it doesn't means you're safe):"
Re: (Score:2)
Re: (Score:3, Funny)
Re: (Score:2, Interesting)
On topic:
All of this built-in virtualization stuff sounds great. How long, on average, does it take the Ubuntu repositories to receive new kernels?
Re: (Score:2)
Feisty will likely be using a patched 2.6.20 until Gusty's released in October.
Re: (Score:2, Funny)
Re:Does it still crash after 49.7 days?? (Score:5, Informative)
Re: (Score:2)
AMD K6/2 too fast for Windows 95: News [com.com] MS Support [microsoft.com]
Re: (Score:2)
Definitely not a Linux problem:
Re: (Score:2)
Hey, it's not my fault that some admin kicked out the power cable 53 days ago!
Re:Does it still crash after 49.7 days?? (Score:5, Interesting)
Re:Does it still crash after 49.7 days?? (Score:5, Funny)
Re: (Score:3, Interesting)
Re: (Score:3, Interesting)
Re: (Score:3, Informative)
Re: (Score:2)
Re: (Score:2)
Re:PWRficient support? (Score:4, Informative)
Since each SoC is totally different, except maybe for the CPU core, porting Linux (or any OS) to it is a little more difficult than just compiling it and loading it. Check out the arch/ppc or arch/arm directories for examples of all the different chips supported. While the work certainly isn't comparable to, say, porting Linux to an entirely different CPU architecture, it does require several new files with custom code to support things like the way interrupts are assigned to the specific functions on the SoC.
Worse, sometimes new drivers need to be written for certain on-chip peripherals, because some bonehead empire-building managers at the chipmaker wanted to justify a higher budget for their department by, instead of just re-using an existing USB controller or Ethernet controller design and plopping that onto the chip, putting together a whole team and spending months creating a new controller because it might improve performance by a whopping 5%. My last company, which made a lot of ARM-based chips, was especially guilty of this.