Linux Kernel 2.6.21 Released
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."
And I just upgraded to 2.6.20-15! (Kubuntu Feisty Fawn)
"We may face a scorched and lifeless earth, but they're accountable to their shareholders first."
What's with the headline? Who publishes OS kernels? I guess it could be grammatically correct and all that, but it sounds a little weird to me.
Anthropic principle: We see the universe the way it is because if it were different we would not be here to see it.
I'm still running 1.0 Patch 9 ... should I upgrade?
Is it just me, or are all these options that are added with every new release going to result in a bloated kernel? It seems like every release adds new stuff, but I never see anything outdated taken away.
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.
There is no "I disagree" mod for a reason. Flamebait, Troll, and Overrated are not substitutes.
I haven't been able to get anything past 2.6.17 to boot successfully, I think they seriously hosed the ATA shit.
Speaking of KVM (slightly offtopic, but not totally) are there any worthwhile management utilities for it yet? I actually ended up giving up for a while on KVM entirely because the video device is horribly slow and VDE support is not reliable, and I'm using vmware server, but I did have to give it a try. I'd love to use KVM (since I have supported hardware and it's Free software, and I'd love to minimize my use of the closed stuff) but beyond those problems (which will hopefully both be fixed relatively soon) there is simply no decent management software unless you're on redhate. Either virt-manager or libvirt is badly broken and won't work properly otherwise. UNLESS... has anyone out there gotten it working on debian/Ubuntu yet? I tried for a while, but I'm just not a good enough programmer and the programs ain't done yet.
"You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
I follow prerelease kernels and I've been waiting for this. I've found that running my VMWare hosts and guests with tickless, low-HZ, voluntary-preempted kernels is seriously reducing the overhead you get when you run more virtual CPUs than real ones in your box.
I can't wait for it to mature on PPC, MIPS, and x86_64! Right now it's 32-bit x86 only.
"Sometimes, I think Trent just needs a cup of hot chocolate and a blankie." -Tori Amos on Nine Inch Nails
... but does it run Linux?
Once again, it took many months of work to optimize an idle loop.
Here.
Must be Linus!
but I wonder if we're ever going to see 2.8 at this rate. The current kernel revision is MILES away in technology from 2.6.0. What will it take to move to 2.8, or (dare I say it?) 3.0? What qualifies as a major enough change?
+++ATH0
This seems like pretty good evidence that Linux is a kernel.
Glad to hear that it's been published. Where can I download the PDF? I heard that Darl dies near the end, but I want to read it for myself.
Stop it. This isn't the GameFAQs forum, and nobody cares if they're the first post here. If you don't have anything to contribute, then don't post.
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?
You're confusing Linux with this Windows 95/98. However, this problem or this another problem are even more funnier
-- In the beginning was the WORD, and the WORD was UNSIGNED, and the main(){} was without form and void...
These dynaticks capabilities will certainly blow you off your socks!
j pg
http://www.spymall.com/catalog/images/bombclock3.
If you mod this up, your slashdot background will turn into a beautiful sunset!
As an owner of a Macbook Pro, I've been waiting for this to get released. The Dynticks integration will (hopefully) help lower power consumption and heat output. Though this will help reduce heat and power on all platforms, those running Linux on a MBP C2D know it's hard to keep the fans from spinning up from relatively little activity.
:)
Next up is to get ATI to actually support any power saving features in fglrx on the MBP C2D and give the mAdWiFi 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
Definitely not a Linux problem:
...following the principles of Heisenburger's Uncertain Cat...
That's cool, but is this really news that's Slashdot-worthy? Sites like LWN and KernelTrap have already reported this, and anyone who's interested in Linux development is pretty much guaranteed to follow the former at least, I think (and most likely the latter as well).
butter the donkey
Hotplug CPU support? That must burn.
Six months.
Feisty will likely be using a patched 2.6.20 until Gusty's released in October.
"The Federal Reserve is a fraudulent system."--Lew Rockwell
End The FED. -
It doesn't and never did. However, the uptime clock wraps around after 497 days. Took me two hours of finding out why the box rebooted (and then why there was no indication of the reboot in the logs) one day to research that. That same box has since looped the clock a second time. So I can say for sure it stays up for more than 50 days. :-)
Assorted stuff I do sometimes: Lemuria.org
As far as I know, Linux never had a 49.7 day problem, but it did have a problem at 497 days. I have a machine at home running the 2.4.20 kernel and every 497 days my uptime restarts, but it hasn't crashed. It's gone through 2 rollovers so far and has been up for over 3.72 years. It will hit its next rollover around September. I really need to build a new server... I just don't know if it will be as reliable as this one has been.
This post is encrypted twice with ROT-13. Documenting or attempting to crack this encryption is illegal.
Man, I'm so glad that this new version is coming out. I've been using VMI forever on windows and you know how much that sucks. This gets my stamp of approval!
Famous Stamps - Valuable Postage Stamps for your Collect
497 day wrap around? You should switch to Windows. I'm sure no such problem has ever been reported on that OS.
Slow down, cowboy! It has been 4 hours since you last posted. You must wait another few hours.
free() kills Dumbledore!
After all, I am strangely colored.
uptime
1:31PM up 2.4e+15 days, 6:37 30 users, load averages: 0.61, 0.10, 0.21
Beat that!
Yeah. Would you choose a neurosurgeon who pokes around people's brains in his spare time? I wouldn't.
The public key support for eCryptfs can handle more than just public keys. It includes a communication mechanism with a user daemon that can be queried from the kernel on file open events. There is a pluggable key module interface accessible through that daemon. OpenSSL is currently implemented, but there is nothing stopping anyone from writing a module to use GnuPG or any other key management/encryption backend, all in userspace. The module just needs to accept a key signature, and it can perform encryption and decryption based on whatever that signature refers to.
? id=218556
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/
An unjust law is no law at all. - St. Augustine
Hey, it's not my fault that some admin kicked out the power cable 53 days ago!
...following the principles of Heisenburger's Uncertain Cat...
Support schmupport. There are lots of things in computing that Just Work (TM) without being 'supported' officially by the manufacturer. Conversely, 'support' doesn't guarantee very much, it's just a meaningless buzzword. Then again, I41 welcome our new PWRficient overlords, especially when you can get laptops with them.
Escher was the first MC and Giger invented the HR department.
Just tried the latest kernel and it hangs on trying to fire up the second ATA instance. Not even a kernel oops, nothing. That's true whether I use the vanilla kernel or Red Hat's RPM. Something is screwed up, and from the sounds of it, there's more than one of us experiencing a failure at the same point, so that would be the obvious suspect.
It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
Was that the case for 2.0 -> 2.2? 2.2 -> 2.4? etc.?
+++ATH0
PowerPCs tend to be less than 100% compatible with each other, mostly because there is not a huge legacy of OSes that must be carried forward (e.g. people expect the latest and greatest x86s to boot DOS and Win95, but nobody exepcts some random old kernel to run on a new embedded PPC). Also, the PWRficient is a SoC with several new on-chip devices.
change /dev/hd?? to /dev/sd?? (even with IDE)
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.
When our name is on the back of your car, we're behind you all the way!
I think since 2.6 has come out, I have lost complete track of kernel versions--it simply doesn't matter anymore to me. I think at this point, people could come in and replace the Linux kernel with BSD, Darwin, or Solaris and I probably wouldn't notice. Kernels have become a commodity.
What might those options be? I have a Dell Inspiron which runs 2.6.17 fine, then I tried to compile and boot 2.6.20 and got Kernel Panic. The kernel that comes with Feisty Fawn does something similar. To install Edgy Eft originally I had to pass pci=nomsi so the SATA hard disk would work, which I supposedly don't need to pass ever again...
Anyway, I've tried compiling that kernel a few times with SATA stuff compiled in rather than modular and every time I boot it I get a Kernel Panic. I still have to use 2.6.17-11 on Feisty Fawn. I'm not that annoyed yet, but if every subsequent kernel does this I will be very pissed.
--Drive carefully. 90% of people are caused by accidents.
I'll accept your funny problems and raise you another:
AMD K6/2 too fast for Windows 95: News MS Support
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 or rars.
I know that's you, Ballmer. Anonymous, my ass!
Remember the future...
Read that article, but don't really understand the reasoning.
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.
+++ATH0
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.
6 digit (l)user :P
It doesn't work that way outside of x86-land. As another responder said, the PWRficient isn't just a CPU, it's a SoC (System on Chip). To compare to an x86 system, that would be like having a low-power CPU, north bridge, south bridge, SATA controller, ethernet controller (but not PHY), memory controller, I2C interface, USB controller, interrupt controller, etc. all wrapped up on one chip. This is quite common in the embedded world, where most PPCs are used these days (I'm working on one myself in my day job).
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.
But apart from virtualization with VMI, paravirtualization, live migration and host suspend/resume supportsupport for kvm, a tickless idle loop mechanism with unified high resolution timer handling, bigger kernel parameter-lines, 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, what has Linus ever done for us?
Is it just me, or did they misspell the name of the cipher? The only cipher of a similar name I found was Camellia, developed by NTT and Mitsubishi (and Sony?): http://info.isl.ntt.co.jp/crypt/eng/camellia/index .html
I had never heard of it, so I was wondering why the kernel team decided it's worth being included already (both in terms of small user base and unknown security). Turns out it's in the European NESSIE standard, and there's an RFC. More on Wikipedia: http://en.wikipedia.org/wiki/Camellia_(cipher)
You can read more here:
http://linuxhelp.150m.com/resources/fs-benchmarks
http://m.domaindlx.com/LinuxHelp/resources/fs-ben
Column two, Disk Usage: measures the amount of disk used to store 655MB of raw data (which was 3 different copies of the Linux kernel sources).
OR LOOK AT THE FULL RESULTS: Each test was preformed 5 times and the average value recorded.
Disk Usage: The amount of disk used to store the data (which was 3 different copies of the Linux kernel sources).
The raw data (without filesystem meta-data, block alignment wastage, etc) was 655MB.
Copy 655MB (1): Copy the data over a partition boundary.
Copy 655MB (2): Copy the data within a partition.
Tar Gzip 655MB: Tar and Gzip the data.
Unzip UnTar 655MB: UnGzip and UnTar the data.
Del 2.5 Gig: Delete everything just written (about 2.5 Gig).
http://lkml.org/lkml/2007/4/9/4
I mean, picking on Microsoft for stuff like this is like adding a Windows computer to your botnet. Kind of fun, but gets boring after awhile.
On the other hand, Oracle can write crappy code with the best of them. I'll see you and raise you again.
"Be grateful for what you have. You may never know when you may lose it."
Ubuntu Kernel 2.6.21 Published
does not an arbiter of a versioning system make. :p
More things have changed between 2.6.0 and 2.6.21 than changed between 2.0 and 2.2.
How's that?
+++ATH0
It could be that the LINUX kernel is entering a stage of it's life where each release will not really be revolutionary. I used to read about new ideas that actually made a difference in the user (desktop user) experience.
Now it seems it's all about virtualization. Don't get me wrong, I love virtual machines and such. It's just that there does not seem to be any new revolutionary ideas like the new swap mechanism some years back that did help performance out.
Side by side, with a reasonable set of controlled variables (compiler, settings, etc) is the Linux kernel any faster executing my program than say the windows kernel? FreeBSD?
Seems developers are more interested in features than improving performance. Unless like I said before nobody thinks there is much more improvement in performance and efficiency to be had.
Linux has amazing hibernation support. I use some software called Suspend2 on my laptop, and it works like a charm. It was a little difficult to get it going the first time, but now that it's installed I find it very fast and reliable. It doesn't even require any special support from the hardware!
Never eat more than you can lift -- Miss Piggy
It wraps after 49.7 days on kernels with a faster tick rate than yours.
Your timer frequency must be set to 100HZ. The default for 2.6.20 was 1000HZ, and thus wraps at 49.7 days. Other settings are 250 and 300 HZ.
As I said, it is running 2.4.20. The rollover problem was fixed in 2.4.21 so 2.6 should not have this issue.
This post is encrypted twice with ROT-13. Documenting or attempting to crack this encryption is illegal.
The Toshiba Celleb Architecture ... Now this is a new word in my vocabulary. Anybody knows what this "Celleb" is and where to get one?
send + more == money?
in Debian (Ubuntu?) open /etc/init.d/rc AS ROOT and change concurrency=none to concurrency=shell . Worked for me... of course, usual disclaimers, if you do this and your computer melts into slag from which Cthulhu appears and eats you, I'm not respons..........[i0m =09=,k9mu9n8yby7ba70tyc7 n=0987
NO CARRIER
Tech Public Policy stuff
Wasn't CFS( the new dispatcher) going to make it for this release?
How come there is still no support for the Microsoft Natural Ergonomic Keyboard 4000, as they call it? It's the best "broken" keyboard out there and one of the most comfortable ones I've ever used. Patches have been submitted multiple times, and seem to be maintained... No love for this hardware.
g onomic_Keyboard_4000r gonomic_Keyboard_4000
First couple of Google hits:
http://lkml.org/lkml/2006/8/3/80
and
http://lwn.net/Articles/194015/
or
http://gentoo-wiki.com/HOWTO_Microsoft_Natural_Er
or
http://doc.gwos.org/index.php/Microsoft_Natural_E
And no, I don't want to recompile my kernel.
I think every recent voting machine in Brazil uses a Geode, which is a more modern take on the MediaGX.
;-)
It was not very successful on the desktop, but on the embedded x86 market, it's a hit.
And yes, if I segment the market enough (embedded less than 20 watt 32 bit x86 used mostly on weekends) just about every processor can become a hit.
http://www.dieblinkenlights.com
With KVM 1.5 what happens when:
1) A VM has migrated its process to another VM and the source VM crashes/system dies?
2) A VM has migrated its process to another VM and the destination VM crashes/system dies?
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,
This is what my company does as well because when you expect to ship so many units that the per-unit cost is much more important then the development costs so it makes sense to do everything possible to minimize the per-unit cost. The upshot of this is that it causes my company to employ one kernel hacker and several kernel consultants, all working on the mainline kernel.
Cheerio
Ben
There's no good reason for a CPU like this in a desktop system; the CPU itself is far too slow for desktop apps, and the design isn't flexible enough to allow picking and choosing components.
If a SoC made sense in desktop systems, it would have already been done.
Really? Mine doesn't roll over:
# uptime
13:41:05 up 500 days, 22:59, 1 user, load average: 0.34, 0.23, 0.24
Employing a bunch of hardware engineers to create a new core does NOT minimize per-unit cost, it adds to it.
The only way it would minimize cost is if the alternative is licensing a core from someone else, which incurs a per-chip royalty.
In my situation, the company already had pre-existing cores ready to use. Instead of just reusing their own IP, they created whole new cores to satisfy some manager's ego, because they supposedly might get 5% better performance (and on a peripheral part like a USB controller, who cares?).
Homegrown solutions are great so you're not beholden to other companies or vendors. But if you already have something that works and is free, you don't need to reinvent the wheel.
Employing a bunch of hardware engineers to create a new core does NOT minimize per-unit cost, it adds to it.
It does if each unit will be more profitable then before. This is a game for accountants but generally you plan on selling enough units to offset the upfront development costs, then it makes sense to make each unit as profitable as possible.
In my situation, the company already had pre-existing cores ready to use. Instead of just reusing their own IP, they created whole new cores to satisfy some manager's ego, because they supposedly might get 5% better performance (and on a peripheral part like a USB controller, who cares?).
Oh, well that's a totally different issue. Maybe he thought it would be more profitable...
Cheerio
Ben
http://uptime.netcraft.com/up/accuracy.html#hz100
Why do you not report uptimes for Linux 2.6 or FreeBSD 6 ?
We only report uptimes for systems where the operating system's timer runs at 100Hz or less. Because the TCP code only uses the low 32 bits of the timer, if the timer runs at say 1000Hz, the value wraps around every 49.7 days (whereas at 100Hz it wraps after 497 days). As there are large numbers of systems which have a higher uptime than this, it is not possible to report accurate uptimes for these systems.
about this thread is that I got modded down to -1, Offtopic and then back UP to 0 for being funny.
lol. just pure lol.
+++ATH0
The fact that you cannot comprehend how incredibly bizarre it is that you keep asking me this is a source of no end of funnies to me.
+++ATH0
Why did you post the same in(s)anity 10 times in a row at WITPro? What is wrong with you? Does narcissism include the need to repeat yourself over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over?
This paragraph exists to defeat the Slashdot "lameness filter," because sometimes repetition is necessary to make a point. Apparently that escapes those who wrote Slashcode. Although really, it's understandable, since without this test you'd just have people spamming page upon page of "GNAA 4 LYFE" ad infinitum, everywhere.
+++ATH0
Gulp, free BSD are getting behind...
The purpose of existence is to make money.
Do you think Slashdot has the ability to search for comments by a user further back than what's viewable on his userpage?
I do.
Just something to think about.
+++ATH0