Linked by Thom Holwerda on Mon 9th Jul 2007 12:45 UTC, submitted by jjmckay
Linux Linus has announced the release of the 2.6.22 kernel. Much has happened in this development cycle, including the addition of the mac80211 (formerly 'Devicescape') wireless networking stack, the eventfd system calls, some new TCP congestion control algorithms, a rewritten CFQ I/O scheduler, a new IEEE1934 (Firewire) stack, support for the Blackfin architecture, the long-awaited IVTV TV tuner driver, and much more. See the KernelNewbies 2.6.22 page for vast amounts of detail, the long-format changelog for even more detail, or the short-form changelog for a (relatively) concise listing of patches in this release.
Order by: Score:
re
by netpython on Mon 9th Jul 2007 13:16 UTC
netpython
Member since:
2005-07-06

Running this kernel from torvalds dev tree for a while. They must have cleaned up a bit, i get less gcc warning messages then with earlier versions.

Reply Score: 5

RE: re
by theine on Mon 9th Jul 2007 16:46 UTC in reply to "re"
theine Member since:
2005-09-29

Interesting...

Reply Score: 1

thinkpad-acpi
by korpenkraxar on Mon 9th Jul 2007 14:00 UTC
korpenkraxar
Member since:
2005-09-10

Tons of updates and improvements here. Looks like fan control and sysfs structure is much updated... and that I might leave office with my trusty Z61m a little early today ;-)

Kudos Linus & Co!

Best regards,
Shameless freeloader who have yet to file his first kernel bug

Reply Score: 4

So the waiting starts again...
by B. Janssen on Mon 9th Jul 2007 14:06 UTC
B. Janssen
Member since:
2006-10-11

Nice, a lot of improvements, some urgently awaited. ACPI got a lot of love and I'm crossing my fingers that hot-docking laptops is now working better.

OTOH, now we have to wait another round for the companies insisting on proprietary drivers for their hardware. Yes, I'm looking at you, ATI and NVidia. The kernel devs around Kroah-Hartmann made you an honest and generous offer ( http://www.kroah.com/log/linux/free_drivers.html ) a few month ago and yet, nothing happened.

Reply Score: 5

Anonumous Member since:
2007-06-13

What do you mean, nothing happened? Lots of developers and companies signed up. Some drivers are already in the tree (if I'm not mistaken... I think Greg said this himself some time ago... too lazy to look for a reference but I bet you can find it easily yourself) as a result of "Greg's offer".

If you mean nothing came out of this from ATI and NVidia... honestly... did you really expect that it would?

Edited 2007-07-09 21:59

Reply Score: 1

smitty Member since:
2005-10-13

It seems like i heard about a dozen companies signed up, many with several devices to support, but that it was still early and only 1 or 2 drivers had been added so far. I didn't think it was a particularly impressive response, but the devs seemed quite happy with it.

I don't remember where or when I saw that, though, so take it with a grain of salt.

Edited 2007-07-09 22:01

Reply Score: 2

Anonumous Member since:
2007-06-13

Why be so negative? I would say it's early, and ALREADY a couple of drivers are in the tree. That's a couple more than if the offer hadn't been made at all. And probably, more are being baked right as we speak. ;)

Edited 2007-07-09 22:14

Reply Score: 1

RE: So the waiting starts again...
by Havin_it on Wed 11th Jul 2007 23:49 UTC in reply to "So the waiting starts again..."
Havin_it Member since:
2006-03-10

There has been an awful lot of uptake, especially given that by GKH's own admission the offer was made essentially as a 'joke'...

Reply Score: 1

Wireless
by TaterSalad on Mon 9th Jul 2007 14:24 UTC
TaterSalad
Member since:
2005-07-06

With the new wireless stack I wonder if I will need to reconfigure the way I have been doing wireless on my laptop. I'm one of the lucky people that was able to get the broadcom bcm43xx working without using an ndis wrapper. I have it set up and wrote directions on how to do it, I really hope that doesn't change or if it did change let it be much easier to do.

Reply Score: 4

RE: Wireless
by Soulbender on Mon 9th Jul 2007 14:29 UTC in reply to "Wireless"
Soulbender Member since:
2005-08-18

"With the new wireless stack I wonder if I will need to reconfigure the way I have been doing wireless on my laptop."

Wonder if my Ralink 2570 USB device is ever going to be "properly" supported in Linux.

Reply Score: 2

RE: Wireless
by Rahul on Mon 9th Jul 2007 14:39 UTC in reply to "Wireless"
Rahul Member since:
2005-07-06

It should eventually make it robust. Fedora 7 has the new wireless networking stack backported to the 2.6.21 based kernel it shipped with and it has been working reasonably well along with the new firewire stack which has also been in Fedora as it originated from there.

Reply Score: 4

RE: Wireless
by shykid on Mon 9th Jul 2007 15:37 UTC in reply to "Wireless"
shykid Member since:
2007-02-22

I'm not a kernel hacker, nor do I write drivers, but from what I've gathered, the new wireless stack provides a universal implementation of a lot of things like MAC, WPA, WEP, and 801.22g. That being said, you don't have to use the new stack, since the drivers previously written for Linux implement most of this from scratch. Intuitively, I don't see why the old drivers couldn't work with the new network stack with a minimal amount of porting. I could be completely wrong on that, though.

I'm already loving the new wireless stack. Of course I'm not reaping any benefits from it yet, but it's certainly bound to make wireless drivers in the Linux world a lot more sane. It'll probably also speed up the development of new drivers since there's a universal implementation of nearly everything now.

Edit: Fixed typos. Need caffeine...

Edited 2007-07-09 15:40

Reply Score: 5

RE[2]: Wireless
by Almafeta on Mon 9th Jul 2007 16:51 UTC in reply to "RE: Wireless"
Almafeta Member since:
2007-02-22

From a coding side, it wouldn't be too hard. Just change most of the internal functions of the drivers into wrappers that call the new functions built into the new wireless stack.

Reply Score: 2

RE: Wireless
by elsewhere on Mon 9th Jul 2007 19:12 UTC in reply to "Wireless"
elsewhere Member since:
2005-07-13

You have the option of using the bcm43xx driver with either wifi stack; in fact, for now, you're probably better off using the existing softmac stack. Not all of the chipsets are currently supported to the same extent, under the new stack (in my particular case, the 4311 chipset works beautifully under softmac but they're having performance and stability issues with mac80211).

Reply Score: 2

RE[2]: Wireless
by AdamW on Mon 9th Jul 2007 21:07 UTC in reply to "RE: Wireless"
AdamW Member since:
2005-07-06

I agree with elsewhere. I can't get my adapter to work with the mac80211 version of bcm43xx. It's great with softmac.

Note that if you do try it on the new stack, you'll need a version 4.x firmware; the old stack version only works with version 3.x firmware. So if you want to switch you have to keep switching your firmware out too. Bit of a pain.

Reply Score: 2

Out of curiousity...
by Almafeta on Mon 9th Jul 2007 14:26 UTC
Almafeta
Member since:
2007-02-22

the long-awaited IVTV TV tuner driver

Why is there a driver for a TV tuner in an OS kernel?

Reply Score: 2

RE: Out of curiousity...
by B. Janssen on Mon 9th Jul 2007 14:32 UTC in reply to "Out of curiousity..."
B. Janssen Member since:
2006-10-11

Do you mean (1) OS = operating system or do you mean (2) OS = open source? Since (2) is not making much sense, I assume (1) and point out the monolithic nature of the Linux kernel.

Reply Score: 4

v RE[2]: Out of curiousity...
by Almafeta on Mon 9th Jul 2007 14:48 UTC in reply to "RE: Out of curiousity..."
RE[3]: Out of curiousity...
by B. Janssen on Mon 9th Jul 2007 15:13 UTC in reply to "RE[2]: Out of curiousity..."
B. Janssen Member since:
2006-10-11

Almafeta: OS means Operating System; if I meant OSS, I'd say OSS (unless it was a typo and I caught it too late to fix -- the miniscule window to catch and fix errors here on OSNews is aggravating).


I've seen OS used for both and I admit my inability to read your mind. Sorry.

Also, being a 'monolithic' kernel doesn't mean that drivers have to be put where they don't belong; that's just sloppy design. But if Linux has gone so long handling drivers that way, then that flaw will probably continue to cripple driver support -- at least not until 3.0, at least.


So you already knew that Linux is monolithic? Why did you ask then? Or was it a "clever" ploy to stage a stab at the Linux kernel? Well, feel free, stab away, but please don't waste time by staging it.

Reply Score: 5

RE[4]: Out of curiousity...
by Almafeta on Mon 9th Jul 2007 15:21 UTC in reply to "RE[3]: Out of curiousity..."
Almafeta Member since:
2007-02-22

So you already knew that Linux is monolithic? Why did you ask then?

Just because Linux is a monolithic kernel design does not mean that it has to include every possible thing in the kernel. Things that are bugprone and not essential to the operation of the actual kernel, like most drivers, are the types of things that shouldn't be included -- which is why seeing a TV tuner make it into the kernel surprised me so much.

Reply Score: 0

RE[5]: Out of curiousity...
by ThanhLy on Mon 9th Jul 2007 15:34 UTC in reply to "RE[4]: Out of curiousity..."
ThanhLy Member since:
2006-03-14

Just because Linux is a monolithic kernel design does not mean that it has to include every possible thing in the kernel.


You have a misunderstanding. Drivers are included in the kernel source, not necessarily compiled in the binary image. Most distros ship with many drivers compiled as modules that load at boot (or not, depending on your modules.autoload config file).

If you opt to compile your own kernel, you can choose to compile-in the drivers or make them modules. In this case, yes it would be silly to compile-in peripheral drivers.

Reply Score: 4

RE[5]: Out of curiousity...
by leech on Mon 9th Jul 2007 16:10 UTC in reply to "RE[4]: Out of curiousity..."
leech Member since:
2006-01-10

What do you mean? Just because the IVTV TV Tuner card drivers just barely entered the mainstream kernel, does not mean that the Linux kernel did not already contain a lot of different TV tuner card drivers. For example, the bttv drivers that a huge majority of older TV tuner cards use, have been in the kernel since as long as I can remember (could be wrong, but I think it was even in the 2.2 kernels.)

The TV Tuner I have in my HTPC uses the saa7134 driver and it's built as a module for most any distribution, and is included in the kernel tree as well.

Reply Score: 4

RE[5]: Out of curiousity...
by kaiwai on Tue 10th Jul 2007 01:22 UTC in reply to "RE[4]: Out of curiousity..."
kaiwai Member since:
2005-07-06

I understand where you're getting at; I'm sure that these drivers could work in user space, but at the same time, there is a performance penalty for decision.

Now, with that being said, there is nothing stopping some inventive person from creating a userland API/ABI if they feel that 'large numbers of drivers in the kernel' could be a risk not worth taking.

Personally, I'd sooner see less drivers in kernelspace - load the very basic in kernel space, load the rest in userl. With that being said, however, if were such a problem it would have been looked at already by someone.

If you find it necessary to fix it up, there is nothing stopping you from doing so.

Reply Score: 3

RE[6]: Out of curiousity...
by netpython on Tue 10th Jul 2007 05:21 UTC in reply to "RE[5]: Out of curiousity..."
netpython Member since:
2005-07-06

'large numbers of drivers in the kernel'

The drivers are most of the times compiled as module and thus only loaded if the corresponding hardware is present. So how could this be a risk?

Reply Score: 2

RE[7]: Out of curiousity...
by kaiwai on Tue 10th Jul 2007 10:22 UTC in reply to "RE[6]: Out of curiousity..."
kaiwai Member since:
2005-07-06

The drivers are most of the times compiled as module and thus only loaded if the corresponding hardware is present. So how could this be a risk?


I am not talking about that.

What I am talking about is that moving non-critical modules into userspace, it should mean a higher level of stability for the system overall.

Does a TV card driver need to be loaded into kernel space? no, it can be loaded into userspace; and if they driver is buggy - worse case scenario, if loaded in userspace, it'll crash, and its just a matter of restarting it again. Nothing lost.

Reply Score: 2

RE[5]: Out of curiousity...
by smitty on Tue 10th Jul 2007 02:22 UTC in reply to "RE[4]: Out of curiousity..."
smitty Member since:
2005-10-13

So in other words, you think that Linux, Windows, and practically every other mainstream OS does things wrong, and you are trying to make a point. Badly...

Things would have gone better if you had just been honest and said "I think Linux should be redesigned as a microkernel, it's better not to have complex drivers built in."

Reply Score: 4

RE: Out of curiousity...
by DrillSgt on Mon 9th Jul 2007 14:36 UTC in reply to "Out of curiousity..."
DrillSgt Member since:
2005-12-02

"Why is there a driver for a TV tuner in an OS kernel?"

For the same reason there are drivers for printers, scanners, cameras, sound cards, video cards, etc. Linux is a monolithic kernel.

Reply Score: 5

RE: Out of curiousity...
by miscz on Mon 9th Jul 2007 14:57 UTC in reply to "Out of curiousity..."
miscz Member since:
2005-07-17

You don't have to compile it in, you can create a module for loading at any time. It's very convenient to have so many drivers already in kernel, freshly installed Linux system doesn't need any additional drivers, as opposed to Windows where you have to download them or look for driver CDs.

Reply Score: 5

RE[2]: Out of curiousity...
by Bahadir on Mon 9th Jul 2007 17:36 UTC in reply to "Out of curiousity..."
Bahadir Member since:
2007-05-19

I think what he means is: "Why the hell does a kernel have even a tv tuner driver in it?" A just question..

Reply Score: 2

RE[3]: Out of curiousity...
by ThawkTH on Mon 9th Jul 2007 18:06 UTC in reply to "RE[2]: Out of curiousity..."
ThawkTH Member since:
2005-07-06

The answer being Linux is a monolithic kernel.

It supports many many many drivers, either as modules or otherwise.


If you don't like it, don't compile it in. That's open source. That's freedom. That's the advantage. That's why people turn into zealots or refuse to run anything NON-OSS - they are used to what is an unprecedented level of freedom and control over their system that most don't want or don't understand.

Why is this hard for people to grasp?

People troll that which they do not understand

Reply Score: 5

RE[3]: Out of curiousity...
by ThanhLy on Mon 9th Jul 2007 18:08 UTC in reply to "RE[2]: Out of curiousity..."
ThanhLy Member since:
2006-03-14

I think what he means is: "Why the hell does a kernel have even a tv tuner driver in it?" A just question..


And a very easy question to answer. It's for the same reason that in Mac OS X (for instance) you can plug in most common cameras/printers/scanners and they just work. Likewise, in WinXP when I plug in my Canon Powershot digital camera, a wizard pops up and walks me through the extraction of photos.

The idea is to have plenty of hardware support out of the box. The vanilla Linux kernel has all these drivers in the source code distribution. Each individual distro can use them however they want. If you're building a liveCD you can hand pick your drivers. Oh! A PVR liveCD could use that TV tuner driver!

Reply Score: 2

RE[4]: Out of curiousity...
by Almafeta on Mon 9th Jul 2007 18:47 UTC in reply to "RE[3]: Out of curiousity..."
Almafeta Member since:
2007-02-22

The idea is to have plenty of hardware support out of the box.

But isn't packing in drivers and other such software part of a specific distribution, not a kernel used by multiple distros and firmwares?

... I don't even now why I'm arguing for improving Linux's architecture anyways. o_o;

Reply Score: 2

RE[5]: Out of curiousity...
by smitty on Mon 9th Jul 2007 19:21 UTC in reply to "RE[4]: Out of curiousity..."
smitty Member since:
2005-10-13

Every single distro is going to want to support all the hardware they can, and they're all going to use the same drivers, so why shouldn't they all be packed together in one package? It seems like forcing the distros to gather all these drivers together would be a huge waste of resources.

They still can (and do) make occasional changes to drivers by applying patches to the kernel.

Edited 2007-07-09 19:22

Reply Score: 4

RE[5]: Out of curiousity...
by ThanhLy on Mon 9th Jul 2007 19:23 UTC in reply to "RE[4]: Out of curiousity..."
ThanhLy Member since:
2006-03-14

@Almafeta:

My last attempt to explain this, hopefully it'll put your mind at rest.

In order to compile ANY drivers/modules you'd need the kernel headers. That's why it makes sense to distribute these drivers with the kernel source code, you're going to need the headers/libs anyways. Not everything under the sun is included, mostly popular hardware such as RealTek network adapters or Adaptec SCSI/RAID controllers because those are things you need at the time of installation or rolling your own kernel.

More specifically about the IVTV tuner driver (since it's what you initially picked out): http://ivtv.sourceforge.net/FAQ.html

What is IVTV all about ?

The primary goal of the IVTV project is to provide a "clean room" Linux Open Source driver implementation for video capture cards based on the iCompression iTVC15 or Conexant CX23415/CX23416 MPEG Codec. Examples of such cards are the Hauppauge PVR 250/350 series of MPEG video capture cards, the Hauppauge "freestyle" and the AVerMedia M179 AVerTV. The M179 uses a Sony SBX1637 audio module which is not supported by the current driver so while you can capture video, you get no audio yet. The freestyle hasn't been tested, but it should work, or at least be easy to get working.


I wouldn't say that it's a generic driver, it follows a spec that is supported by at least a few different cards. This reaffirms the idea of wider hardware support instead of saturating the kernel source package with drivers for every make/model.

Lastly, you're not arguing Linux's architecture. You're nit picking about source code distribution.

Reply Score: 5

RE[3]: Out of curiousity...
by smitty on Mon 9th Jul 2007 18:29 UTC in reply to "RE[2]: Out of curiousity..."
smitty Member since:
2005-10-13

I think what he means is: "Why the hell does a kernel have even a tv tuner driver in it?" A just question..

Where do you think it belongs, the manufacturer's website? Then it wouldn't work out of the box.

It is a driver for a piece of hardware. The kernel uses the drivers for the hardware it detects. Therefore, why wouldn't all the drivers logically be included in the kernel?

Reply Score: 5

Great!
by _mikk on Mon 9th Jul 2007 16:12 UTC
_mikk
Member since:
2005-10-19

Will wait for Fedora 8. That and the next Gnome + KDE should prove promising

Reply Score: 2

RE: Great!
by Rahul on Mon 9th Jul 2007 19:06 UTC in reply to "Great!"
Rahul Member since:
2005-07-06

You don't have to wait for Fedora 8 to get a new kernel. In Fedora, new versions of the kernel are released as updates regularly. 2.6.22 will likely be available as an update within a week or two (after spending some time in updates-testing) for Fedora 7 and maybe even Fedora Core 6.

Reply Score: 3

Linux 3.0.0
by diegoviola on Mon 9th Jul 2007 21:12 UTC
diegoviola
Member since:
2006-08-15

What would you like to see or what features should Linux 3.0.0 have?

Reply Score: 1

RE: Linux 3.0.0
by lucke on Mon 9th Jul 2007 21:30 UTC in reply to "Linux 3.0.0"
lucke Member since:
2007-01-07

Let me quote Linus <http://lkml.org/lkml/2005/3/2/247> :-)

"- 2.6.<odd>: still a stable kernel, but accept bigger changes leading up
to it (timeframe: a month or two).
- 2.<odd>.x: aim for big changes that may destabilize the kernel for
several releases (timeframe: a year or two)
- <odd>.x.x: Linus went crazy, broke absolutely _everything_, and rewrote
the kernel to be a microkernel using a special message-passing version
of Visual Basic. (timeframe: "we expect that he will be released from
the mental institution in a decade or two")."

Reply Score: 3

RE[2]: Linux 3.0.0
by diegoviola on Mon 9th Jul 2007 23:30 UTC in reply to "RE: Linux 3.0.0"
diegoviola Member since:
2006-08-15

so if he decides to do a 3.0 he will re write the entire kernel and he will use a newer/innovative design for it?

Reply Score: 1

RE[3]: Linux 3.0.0
by diegoviola on Tue 10th Jul 2007 00:01 UTC in reply to "RE[2]: Linux 3.0.0"
diegoviola Member since:
2006-08-15

like micro-kernel or hybrid i mean

Reply Score: 1

RE[4]: Linux 3.0.0
by smitty on Tue 10th Jul 2007 02:25 UTC in reply to "RE[3]: Linux 3.0.0"
smitty Member since:
2005-10-13

It's already a hybrid kernel, or at least close enough that a 2.8 series could be one. But yes, the idea is that a 3.0 kernel would be completely redesigned and built from the ground up, to the point where it would really be a completely different kernel - not really Linux at all. Linus has already said he doesn't think this will ever happen. At least not within his lifetime.

Reply Score: 4

RE[5]: Linux 3.0.0
by Redeeman on Tue 10th Jul 2007 05:19 UTC in reply to "RE[4]: Linux 3.0.0"
Redeeman Member since:
2006-03-23

theres no such thing as a hybrid kernel, its just marketing invented by MS.

Reply Score: 2

RE[4]: Linux 3.0.0
by lucke on Tue 10th Jul 2007 11:09 UTC in reply to "RE[3]: Linux 3.0.0"
lucke Member since:
2007-01-07

Linux can already be considered a hybrid kernel and Linus has some very strong opinions on microkernels ("microkernels are just stupid" is a mild one) ;-)

Reply Score: 1

RE[3]: Linux 3.0.0
by lucke on Tue 10th Jul 2007 11:04 UTC in reply to "RE[2]: Linux 3.0.0"
lucke Member since:
2007-01-07

As far as I know, there are no plans for 3.0 whatsoever. Probably we'll only see 2.6.X for a long time.

Reply Score: 0

RE: Linux 3.0.0
by butters on Tue 10th Jul 2007 07:04 UTC in reply to "Linux 3.0.0"
butters Member since:
2005-07-08

Linux needs a new cluster-friendly storage subsystem that manages storage across the cluster in terms of physical "chunks" of contiguous storage. While pages and frames are indexed within each node, logical and physical chunks would be indexed uniquely and consistently across the cluster.

Each logical chunk would be associated with one or more physical chunks, which would consist of mirrored (persistent) and cached (temporary) copies. Storage I/O would operate on logical chunks, and the storage layer would handle the synchronization of physical chunks.

The LVM would offer to abstract a set of logical chunks as a flat logical volume. However, filesystem designers would be interested in operating on the set of logical chunks. They would pack related blocks in the same logical chunk to get high performance on distributed storage. The user may want to set different replication policies for chunks of metadata blocks and chunks of a large file.

Paging would be implemented such that each logical chunk of paging space is owned by a single process. Storage caching would normally be done in terms of logical chunks, creating new physical chunks in memory. Writing to individually cached pages of a logical chunk would temporarily invalidate all of its physical chunks.

This isn't really a 3.0 kind of change, though. Although it's arguably far more pervasive than the process-management overhaul that was central to 2.6, a new storage layer would be within the bounds of a 2.8 milestone. Linux has a much more resourceful development community today than it did when the 2.5.x branch was in development, so I think that tackling the storage architecture is a workable goal.

Reply Score: 5

Microkernel vs Monolithic Kernel Debate
by sirhomer on Wed 11th Jul 2007 23:08 UTC
sirhomer
Member since:
2007-01-03

This is a case of the traditional microkernel vs monolithic kernel debate. Both have advantages and disadvantages. While a microkernel seems more elegant and can increase system reliability, it has additional overhead (makes the system slower) - and it harder to develop and debug (Linux being a monolithic kernel helped it shoot passed Hurd - a microkernel, it terms of development progress according to the Hurd developers.)

However, because Linux is OSS, it is inherently modular - with the build script you change almost everything about how the kernel operates, even without actually changing the code. That's why the same kernel can run on a tiny cellphone and a super computer just fine. Having the source code on hand actually improves the flexibility and quality of the OS that's why many "pragmatic" people like Linus are also OSS advocates.

Edited 2007-07-11 23:09

Reply Score: 1