Linux Kernel 2.6.31 Released
diegocgteleline.es writes "The Linux kernel v2.6.31 has been released. Besides the desktop improvements and USB 3.0 support mentioned some days ago, there is an equivalent of FUSE for character devices that can be used for proxying OSS sound through ALSA, new tools for using hardware performance counters, readahead improvements, ATI Radeon KMS, Intel's Wireless Multicomm 3200 support, gcov support, a memory checker and a memory leak detector, a reimplementation of inotify and dnotify on top of a new filesystem notification infrastructure, btrfs improvements, support for IEEE 802.15.4, IPv4 over Firewire, new drivers and small improvements. The full list of changes can be found here."
there is an equivalent of FUSE for character devices that can be used for proxying OSS sound through ALSA
That quote shows how much of a train wreck Linux audio is.
I guess I really wasn't into linux until the last 3-4 years, but hasn't OS X done this since the start? And I think my XP machine at work tries to use Firewire as a network adapter.
What took so long, honest question.
OMG. It might become a micro-kernel!!!
Windows 7 will ship without USB 3.0 support.
Give it up already, Richard.
Lots and lots of driver work. Over 70% of all of the 2.6.30 to 2.6.31 patch is under drivers/, and there's another 6%+ in firmware/ and sound/. That's not entirely unusual, but it does seem to be growing. My rough rule of thumb used to be "50% drivers, 50% everything else", but that's clearly not true any more (and hasn't been for a while - we've been 60%+ since after 2.6.27
I personally think this is a real pity. So much time is being spent on getting drivers implemented that new features and other kinds enhancements are being pushed back.
There really is a Linux, and these people are using it, but it is just a part of the system they use. Linux is the kernel: the program in the system that allocates the machine's resources to the other programs that you run. The kernel is an essential part of an operating system, but useless by itself; it can only function in the context of a complete operating system.
If the body is GNU, but the brain is Linux, what is the identity of the creature?
The good, the evil and the vacuum tubes.
There really is a Linux, and these people are using it, but it is just a part of the system they use.
And that part is exactly what is being discussed here.
Linux is normally used in combination with the GNU operating system: the whole system is basically GNU with Linux added, or GNU/Linux. All the so-called "Linux" distributions are really distributions of GNU/Linux.
Or more properly, KDE/Xorg/GNU/Linux.
Yeah, we all know that (Richard?), but "GNU/Linux" is cumbersome and dorky. I'd find another pet peeve--you won't find contemporary usage beating a path to your pedantic door.
Heck, when I mention Linux to my mainstream friends, a blank look is all I generally get, anyway. Why make life more difficult?
I've been waiting for this land-mark release since v2.6.30!!!
How about the TTY "hacks", did those make it to this release?
Or more properly, KDE/Xorg/GNU/Linux.
Or more properly, (KDE||Gnome||XFCE||etc.)/[conky]/Xorg/Linux/GNU.
We heard you like your audio to work, so we put a sound API in your sound API, so you can have silence whilst you listen!
dumbass... TFA is _specifficaly_ refering to the kernel. if people want to use "linux kernel" to refer to linus' piece of code they're free to do so, just like some people call MS's operating system "microsoft windows", so just shut the fuck up.
What ? Me, worry ?
Linux is normally used in combination with the GNU operating system: the whole system is basically GNU with Linux added, or GNU/Linux. All the so-called "Linux" distributions are really distributions of GNU/Linux.
Or more properly, KDE/Xorg/GNU/Linux.
Okey, so it works that way... Just to see if got this right: I'm now using IE/Windows/VMWare/KDE/Xorg/GNU/Linux system. Later on, I plan on using Eclipse/Gnome/Xorg/GNU/Linux system. And so on...
Last I checked, drivers were a good thing, and people working on things that you don't care about doesn't hurt you (contrary to commonly held republican beliefs.)
"I personally think this is a real pity. So much time is being spent on getting drivers implemented that new features and other kinds enhancements are being pushed back"
I though the main bugaboo was the lack of hardware support in Linux. What other features and enhancements are being neglected?
Before we all moved on to worrying about PulseAudio it was traditional for us to complain about legacy apps using OSS, the difficulties associated with wrapping them, the nastiness associated with OSS emulation being implemented in the kernel, etc. Those apps won't have gone away.
Previous attempts to emulate OSS using ALSA have included the aoss tool, which I believe did some mildly ungodly tricks to intercept calls that would usually go to the OSS APIs. It didn't always work, for me, as it depends on what the (often weird and proprietary) app is doing to access the OSS API in the first place. PulseAudio has to provide a tool to help you redirect legacy OSS apps to talk to PulseAudio instead. It's all Made Of Ick.
CUSE (character devices in userspace) allows a userspace program to provide a character device node in /dev and implement it using custom code, rather than relying on an in-kernel driver. When apps open the device node they'll *really* be talking to the userspace daemon implementing the device emulation, rather than to an in-kernel driver (though, of course, the kernel will be involved in relaying the communications through the device interface). This is very similar to what FUSE does for filesystems. The neat thing here is that weird tricks to catch OSS accesses by applications are not needed - the OSS device can simply be "faked" by the real sound daemon. Because it's implemented at device level, it doesn't matter what nasty hacks the OSS application is doing to access the soundcard - you'll *always* be able to grab its sound output from the fake device and do the right thing. No more running legacy apps with an OSS-related wrapper - and no more having the wrapper fail to work!
The end result should be that sound Just Works, even for awkward proprietary apps. CUSE will not automagically fix this on it's own, though - we need to wait for the sound daemons like PulseAudio to catch up and implement the emulation. This might also allow OSS emulation to be removed from the kernel, which AFAIK also supports some variant of OSS-on-ALSA.
Improved acronym support!
Numbers higher than the last version!
greater infusion processor link array warp drive systems!
Support for what? A quick search of newegg tells me I can't buy a motherboard, add-on card, or peripheral that supports USB 3.0 today. What exactly was windows 7 going to support? An unreleased chipset?
From your own article:
Jeff Ravencraft of Intel said that he expects the final specification to be announced in San Jose, Calif., on November 17.
Wait, so I'm supposed to be upset that Microsoft didn't ship experimental drivers for an unratified standard in their new OS?
How long until the APIs provided by CUSE are used to implement an arbitrary-character-devices-over-network protocol? That would be pretty cool and useful. Should be doable, from what I understand of how it works.
The description of the in-kernel changes on LWN's article on the subject (http://lwn.net/Articles/308445/) made it sound like the infrastructure could also be used for stuff like network filesystems whose /dev contains *remote* character devices (currently NFS device nodes are always serviced by local device drivers, so you can't use NFS to export devices). This might be especially useful for 9P, which is actually designed for device remoting since that's what Plan 9 did as a matter of course.
LinuxPPS made it into the kernel: http://wiki.enneenne.com/index.php/LinuxPPS_support
The LinuxPPS project is an implementation of the Pulse Per Second (PPS) API for GNU/Linux version 2.6.
I run Cygwin or, as I like to call it, GNU/Windows(tm).
You fed the troll. You lose.
Live today, because you never know what tomorrow brings
Here we go again. I see the normal old OSS arguments that only apply to the old OSS Linux has.
/dev/dsp1 if I want to read sound I read from /dev/dsp1. /dev/dsp2. Nice simple device addressing system.
:-(
If ALSA is so great, why did it never get copied out side of Linux?
Anyone else prefer having proper file interfaces for things like, Unix should do?
If I want to write sound I write to
If I want to write sound out to a second sound card, I write to
Now I use ASLA, because the Linux support is all geared that way, and it has always worked for me, but every time I have to deal with it directly, even addressing the right device, I recoil from it's ugly complexity.
ALSA can't kill OSS because Linux isn't the only open Unix platform and the others won't willingly take ALSA.
I have no doubt that ALSA can do things OSS can't, but how many users need those things? Don't mess up the whole design to nicely support a few fringe cases. I want to go back to Unix fundamentals. ALSA is like something from the Windows world, not the Unix one. Plan9 still looks like the future to me, and ALSA is going the the wrong way. ALSA depresses me.
GNU 1984 ->
Linux 1991 ->
KDE 1996 ->
Xorg 2004 ->
GNU started it all. It provides the philosophy, the tools and the license. Linux is just a nice milestone along the way.
An open source person calls it Linux, while a free software person calls it GNU/Linux.
I'm now using EXT4 on my kubuntu laptop (a stop-gap waiting for a combination of latest ATI drivers + linux 2.6.31 + debian lenny to play along with each other).
EXT4 is wickedly fast, if compared with EXT3, and it looks stable. no data-loss or corruption, even with forced cold reboots (damn you to hell ATI !!! ). but ever since I got burned by reiserfs and the crappy fsck tools of the time, i'm weary of trying anything that doesn't begin with "EXT".
so, here's the question: how stable, data-loss proof is btrfs right now ? are the user space tools reliable if I need to check, recover, rebuild a FS ?
my particion layout is:
30 GB: / - OS and applications /home - with all my personal files.
5 GB: swap space
285 GB:
I can afford to lose /, it'll be a pain to reinstall everything, but i can survive that. but definetly can't afford losing /home/bento/Misc/XXX ... having the movies localy beats redtube hands down...
What ? Me, worry ?
I feel your pain.
The only thing that has worked reliably over the years (and at the moment) has been OSS. ALSA kind of worked for a while, but since the latest Amarok upgrade, the only thing that works is OSS.
From my POV, Linux audio has gotten worse, not better. The audio quality itself is fine, but a couple of times a year the Next Big Thing in Linux audio comes along and fucks up my audio.
Then I have to waste hours fucking around trying to figure out the magic combination of either mixer settings or order of starting applications, which works once I figure it out only to get broken again some months down the line.
Yes, I am ranting, I had to do this very thing yesterday to be able to get usable audio out of Xine and Amarok.
I am hardcore for Linux, but the audio system is in a perpetual alpha-quality state and never gets better.
Fuck.
A house divided against itself cannot stand.
soon.
To stretch the analogy... the body of a Linux operating system is composed of many, many different parts. It's like some demented taxidermist has stitched together lots of animal bits to make something either beautiful or horrific depending on your point of view. GNU software may comprise a lot of it, but there is plenty of other code which has nothing to do with GNU and arguably makes the OS something people find useful for something. The whole "call it GNU/Linux" movement is just silly and frankly smacks of some kind of deep seated resentment that Linux succeeded where Hurd didn't.
No... Eclipse is an application rather than part of the OS/platform, and IE is either an application or part of Windows depending on when you ask. VMWare I think should probably only be included if you would otherwise include your CPU etc.
Finally ALSA adds in kernel support for creative X-Fi after 4 years, fuck creative.
I'd love to check out the new Kernel. It's a shame I, and the collective wisdom of the Ubuntu forums, can't manage to get the most 'user friendly' Linux OS up and running on my desktop. /Sad //Anonymous cause mentioning problems with Linux turns my posts into flamebait.
This is the most sensible post in this entire discussion.
http://www.maxineudall.com/2010/02/should-economists-be-sued-for-malpractice.html
Networking over USB would be awesome.
USB doesn't work like that. USB is a master->slave specification whereas firewire has mastermaster functionality. Networking is a mastermaster type of relationship.
With that out of the way, some manufacturer somewhere had a device between two USB connectors that did what you are describing. It is/was in the USB Gadgets section and I didn't have the patience to fiddle with it. http://www.linux-usb.org/gadget/
http://www.maxineudall.com/2010/02/should-economists-be-sued-for-malpractice.html
Got to love when you can update to the new kernel, it's like Santa is coming but for Linux nerds
Any thoughts on NILFS? Similar situation?
You click the article link, and it's still gibberish. You go to Google and search, and it's STILL gibberish. what in the hell is KMS, and why the hell does anyone care?
Man is the animal that laughs.
And occasionally whores for Karma.
Give it up already, Richard.
If I may interject a moment, What another richard is refering to as Gnu + Linux to be the same as GNU/Linux is a phallacy that he spreads to multiply the lies the Free Software movement asserts over Open Source Software. You see, I am the richard that speaks of GNU divided-by (/) Linux, whereas GNU is the Least Common Multiple of a complete kernel that can run/transfer to a well-built program without the antiquities of initd to SysV or further to a GNU environment, Richard.
GNU 1984 ->
Linux 1991 ->
KDE 1996 ->
Xorg 2004 ->
Xorg is the result of work that started in 1984 too -- no one would argue that GNU today is what it was back in 1984, so other parts of the system should get the same benefit of the doubt too.
When information is power, privacy is freedom.
A normal person calls it ubuntu and moves on with life. Sheeeeeeeeesh!!
Sent from my desktop computer
Is this exploit fixed?.
http://www.youtube.com/watch?v=UdkpJ13e6Z0
http://www.youtube.com/watch?v=P7uyCMdAldM
Linux is not an operating system unto itself, but rather another free component ...
Linux a free component? this is not RMS...
If ALSA is so great, why did it never get copied out side of Linux?
Adoption of, and migration to a different approach for doing things is not only a technical problem but a cultural one as well. For that kind of change to occur you have to get past all the people who say "what we've already got is good enough." For this to occur at all quickly usually requires someone powerful backing the new technology - even then, the effort may or may not succeed.
Bear in mind my intention here is not to say "ALSA is perfect, and people outside Linux just haven't embraced it yet because they aren't used to it.", more like "the question of whether ALSA is technically good is less strongly tied to the question of whether it has caught on outside Linux than one might expect."
Anyone else prefer having proper file interfaces for things like, Unix should do?
If I want to write sound I write to /dev/dsp1 if I want to read sound I read from /dev/dsp1.
If I want to write sound out to a second sound card, I write to /dev/dsp2. Nice simple device addressing system.
How does one know which device is which?
I think a device like /dev/dsp makes a lot of sense as a way to access the default audio device. When dealing with multiple devices, and particularly cases where the creation and removal of devices may happen at any time (i.e. USB hotplug, for instance) then it pays to have a more complete interface for dealing with such cases, and for finding out what kind of hardware you're dealing with on each device. I feel like the filesystem isn't a great interface for discovering newly attached hardware, and the sequential numbering of additional /dev/dsp devices becomes less sensible in that kind of case.
Personally my perspective on "The Unix Way" is that it is generally a good thing, but I think in its present form (on Linux, anyway) it is not always well-suited to dealing with the issues at hand.
That said, I know woefully little about either API. I want to use this discussion as an opportunity to learn more - and learn what's right or not about both approaches. Generally my point of view has been that programs that use /dev/dsp should just be rewritten to use ALSA - but after reading more of the discussion, at this point it seems to me that /dev/dsp makes a lot of sense for programs that just want a simple, widely-supported interface to audio... And ALSA is perhaps better reserved for programs that need to deal with multiple devices intelligently. It sounds like this OSSP thing will result in significantly better support for /dev/dsp on Linux, though (when using ALSA drivers, I mean...) - so that's good news...
I am curious about the latency issues involved with the software mixers on OSS and ALSA... I've never noticed latency on the ALSA dmix, not that I can think of anyway - but it's possible I just haven't been paying enough attention. I am curious if the OSS4 audio stream mixing really is better...
Bow-ties are cool.
I have been wondering for a while now, why do we still have audio servers? If ALSA and OSS4 both have support for mixing multiple streams, what's the point? I have to wonder if this:
You don't need pulseaudio. It is just a GNOME audio daemon that is many times better than esd, but still crap.
might actually be pretty much the whole answer... Is it just an API insulation layer? Or network transparency that I might never use?
When I got my EEE, I tried PulseAudio and Jack - I couldn't really see any benefit (and I could see various drawbacks) so I just went back to straight ALSA...
Bow-ties are cool.
The article you're probably thinking of is State of Sound in Linux Not So Sorry After All.
Good article, but I've got to point out one really bad piece of misinformation this damn fool made...
"If users need remote sound (and few do), one should just be easily able to map /dev/dsp over NFS, and output everything to OSS that way, achieving network transparency on the file level as UNIX was designed for (everything is a file), instead of all these non UNIX hacks in place today in regards to sound."
<sigh> OK, let's break this down. First, you can't export a character device over the network via NFS. Or rather, you can export the character device file - but if you then attempted to write to a remote machine's /dev/dsp this way, you'd instead wind up writing to the local sound card.
Second, a naive approach like that doesn't do anything to manage the timing issues inherent with audio over the network. In some cases you don't care about latency but you do care about having the sound play uninterrupted - for instance, a "shuffle" sound in a solitaire game. /dev/dsp accessed over a network filesystem wouldn't do that for you - it would play part of the file as soon as it got it, and then, if too much time passed before it received the rest of the sound, there'd be dead silence in there. And then, consider the case of a video player: if a packet or two is lost along the way it's not a big deal, but what you care about is that packets are played in the order that they're intended. You need to strike a balance between latency and packet loss. /dev/dsp over the network isn't going to do anything like this for you, as all the packets are likely to go via TCP.
It's true that most people probably don't need network-transparent audio anyway (I don't) - but suggesting shipping out /dev/dsp over NFS is just brain-dead...
Bow-ties are cool.