Kernel 2.4.17 Out 350
ThatComputerGuy writes "Linux kernel 2.4.17 is final, with a lot of fixes/updates. Check out the huge changelog. If you're on a desktop machine, you should try using RML's preempt patch, it definitely helps response times."
Instability with the preempt patch? (Score:3, Informative)
Re:Instability with the preempt patch? (Score:1)
Re:Instability with the preempt patch? (Score:5, Informative)
Re:Instability with the preempt patch? (Score:2)
It turns out the preemption patch didn't do much. I rebooted into a kernel without the preemption patch and I could play movies with the same reliability as with the patch. When I played through the Xshm driver (no acceleration) I got perhaps half a frame per second as opposed to one frame per second with the preemption driver enabled.
The tests I was doing to load the system were:
while (true); do tar -czv . >
gzip <
cat
top reported the load as being around 4.0 with 60% user and 40% system.
Re:Instability with the preempt patch? (Score:1)
Re:Instability with the preempt patch? (Score:5, Informative)
Rule of thumb: If it's in the base kernel sources, you're OK. If it's a patch to the kernel sources, be careful but not overly concerned. If it's a pre-compiled binary (even if only in part), be very cautious. Remember: Google is your friend.
Example: The Alcatel external USB DSL modem, for example, has a binary part that isn't fully SMP-safe. Because of that, it can't be used with the preempt patch even on a system with a single main CPU.
Re:Instability with the preempt patch? (Score:3, Informative)
There are many reports that these are far more reliable than the official drivers and since it's entirely usermode it doesn't suffer from the SMP-safeness issues the official drivers have.
Re:Instability with the preempt patch? (Score:2)
Kernel Tree (Score:2, Funny)
Who's gonna do via? (Score:1)
Jeff Garzik is not the via82cxxx driver
maintainer anymore: "No time, no hardware".
So who's gonna do it? Am I an idiot or is that a fairly common chipset among linux users?
Re:Who's gonna do via? (Score:1)
And it's working quite well.
But the sound hangs when it's being used with aRts, then only message i get is this one:
mybox:$ dmesg
[snip]
Assertion failed! chan->is_active == sg_active(chan->iobase),via82cxxx_audio.c,via_c han_maybe_start,line=1201
usb.c: USB disconnect on device 2
mybox:$
Anyone experiencing this problem/knows how to fix it ? It's pretty annoying, sind I have to reboot everytime it hangs to keep listening to music
Wait for Final Preempt patch (Score:3, Informative)
Pbur
Re:Wait for Final Preempt patch (Score:5, Informative)
http://www.kernel.org/pub/linux/kernel/people/r
-Todd
Re:Wait for Final Preempt patch (Score:2)
Uhhhhh... on the page linked to in the
Re:Wait for Final Preempt patch (Score:3, Informative)
Changelog...? (Score:3, Funny)
"This time we
All the same, many kudos to the kernel guys for giving me something new to play with for the holiday!
It appears to actually be fixes (Score:5, Interesting)
It looks like we're actually seeing 99% bug fixes this time around, rather than new features being added. Yay for having a 2.5 branch, it seems to be getting the experimental code now. This may be the first 2.4 kernel I compile for my system (I'm not saying I'm still stuck in 2.2, just that I've kept the default 2.4 kernels from my Mandrake and SuSE installs). I also see a couple ext3 fixes, which means I'm pretty comfortable having this replace the patched-to-use-ext3 2.4.10 kernel in my SuSE 7.3 box.
Re:It appears to actually be fixes (Score:2)
Well, it's gonna be a while before I try 2.4.anything on a production machine.
On the one hand, I'm glad to be seeing a lot of bugfixes in the changelog. On the other hand, I'm worried about seeing lots of bugs in the changelog, because I wonder how many more serious ones are lurking in the codebase.
With 2.2.whatever, the bugfixes there have been recently have mostly been related to specific drivers, which I usually don't care about (unless I'm using that driver). But with 2.4.x I'm still seeing lots of fixes in the main kernel code, because so much fundamental structure has changed since 2.2.
I guess we'll have to see. Maybe if some decent RAID card support starts showing up in OpenBSD, I'll think about switching my servers to that.
Re:It appears to actually be fixes (Score:2)
The fact that 2.4.17 was ALL bug fixes is a good sign. It means that they are fixing the issues that they know about, like parport IEEE1394 seems to work better.
I see no reason not to use 2.4 at this point on a produciton machine. It is not until people do start doing so that we are going to find out all the kernel issues. I'd recommend trying this release if no other.
VIA KT133 chipset? (Score:3, Interesting)
Re:VIA KT133 chipset? (Score:5, Informative)
Re:VIA KT133 chipset? (Score:2)
Also does anyone know if they fixed the parport problems?
To answer your question about KT133, there is a bug on the VIA chipset that causes some people problems.
In my case and a few others there are IDE bugs. IDE IOMEGA zip 100 and VIA686B don't go togeather to well.
Also some people have had problems with using the ECC/ECP part of the parport. Again, in my case it was my webcam did not work. It stopped working in 2.4.13 or 14 not sure. I had a fix for it and explained on the lkml what the problem was, but not sure if that was ever acknowledged.
Well now I have a very good testing mechanism for testing kernels like this. I have a foo.test kernel and a foo.custom kernel. The custom kernel is the current kernel and the test is, well a test kernel. Nice thing about lilo is you can have multiple kernels. I can then boot the test kernel and make sure all works on my system. I'll be doing that tonight...
Re:bios flashing, not just from DOS anymore (Score:2, Informative)
Re:VIA KT133 chipset? (Score:2)
Also it seems that between my biios update and 2.4.17 the parport issues has gone away. I think it was that they finally fixed the IEEE1394_ops.c code. Yes there were changes in this file that now makes my web cam work again ;-)
Re:VIA KT133 chipset? (Score:1)
Re:VIA KT133 chipset? (Score:2, Informative)
This was a long standing motherboard/BIOS issue. I think VIA actually found and acknowledged that some register was getting scrambled inadvertantly but I could be thinking of another peice of hardware. It's so hard to find these messages in the lkml archives even after only a few days. At any rate, I have this board. At one time I had problems but it was difficult for me to tell if it was the VIA board or the infamous IBM Deskstar 30GB drive I had that was failing. So I RMA'd the drive, bought another SCSI drive and put my 2940UW on there with the latest BIOS update. I have not had any problems since and I tortured it pretty hard. Of coure all of this is off topic because I'm using Red Hats 2.4.7 but again, this is/was a hardware/BIOS issue.
Re:VIA KT133 chipset? (Score:2)
Re:VIA KT133 chipset? (Score:2)
Re:This is fixed (Score:2, Informative)
As mentioned in other comments, motherboard makers were encouraged to workaround this at bios level.
How stable is the preempt patch? (Score:1)
Re:How stable is the preempt patch? (Score:2)
New Maintainer (Score:4, Insightful)
Seems like Alan and Linux lately haven't been all that hot about doing the drudge detail work. This arrangement seems to be the best solution for everyone.
Re:New Maintainer (Score:1)
Re:New Maintainer (Score:4, Insightful)
patch mirror (Score:3, Informative)
patch-2.4.17.bz2 (388KB): http://home.earthlink.net/~noodlez84/patch-2.4.17
patch-2.4.17.bz2.sign (1KB): http://home.earthlink.net/~noodlez84/patch-2.4.17
Re:patch mirror (Score:4, Insightful)
This isn't just an md5sum, it's a gpg signature. You can verify it as long as you have the public key, which is widely available.
2.5.0 (Score:1)
Re:2.5.0 (Score:1)
Preempt Patch? (Score:2)
Re:Preempt Patch? - have not noticed a difference (Score:1)
maybe what we need is someone to give us some concrete, real world examples of where the preempt patch would do some good? Then we'd know if it would make much of a difference for what we use our systems for...
Re:Preempt Patch? - have not noticed a difference (Score:2, Informative)
Xine also seems to like the patches. I can often have two compiles going on in the background with a fair bit of swapping and DVD playback is still smooth. This was not the case without the preempt patches.
In general, the preempt patches help if you use your system as a desktop/workstation, it could actually harm system performance if it's primarily a server.
Re:Preempt Patch? (Score:3, Informative)
xmms usually skips a bit while I'm compiling something large, but it hasn't even once after applying the preempt patch.
I haven't noticed performance degredation from any effects on throughput, so it's all good here.
Re:Preempt Patch? (Score:2, Informative)
That said, the patch is, architecturally, a good thing, as making it work better automatically makes SMP work better, and vice versa. I think it should go into the offical kernel in the 2.5 cycle, personally - even on servers, it often matters that clients are responded to quickly, to keep people at a website, say, rather than sending the absolute max amount of data down the line - so even if the preempt patch has a slight negative impact on total throughput, it's a win for responsiveness.
Re:Preempt Patch? (Score:2)
-Legion
Re:Preempt Patch? (Score:2)
BUT, I'm also not doing anything that can really take advantage of it. I don't play music or movies. The most I will ever do is run vi and gcc at the same time.
So, it depends on what you do with your machine. The patch seems to work for people who want to play video on a machine with a high load.
Re:Preempt Patch? (Score:2)
I never used the preempt patch, because I'm on a smp system, and it would make it rather unstable.
But from what I hear, it helps with latency problems, but has a decrease on throughput.
So I'm wondering, just increasing the latency does do exactly the same, doesn't it?
I mean, I increased the latency on the pci bus, and my mp3's are almost never skipping anymore. Which is the same claim made by lovers of the preempt patch.
I never use video stuff though, so I can't comment on that.
For changing the latency, you can find a good read here:
Latency [ibm.com]
2.4.x bigger than 2.2.y (Score:2, Funny)
Somewhere in april we'll have 2.4.21 and 2.2.21 and one month later, 2.4.22 will be out. Hooray!
Re:2.4.x bigger than 2.2.y (Score:1)
Re:2.4.x bigger than 2.2.y (Score:2)
Obligitory karma whoring (Score:1)
Misguided versioning? (Score:4, Interesting)
Re:Misguided versioning? (Score:1)
I just remembered... RTFM (or RTFL in this case) archives can be found on the web.
Re:Misguided versioning? (Score:2)
My favourite change: (Score:2, Funny)
- Speeling fix for rd.c
Gotta love that sense of humor (at least I HOPE it was intentional
Cache/Buffer Fixes (Score:1, Interesting)
- Make kernel try a bit harder to shrink caches
instead swapping out
- Fix VM problems where cache/buffers didn't get
freed
The 2.4 series has been plagued by these problems, thank god that they might finally be over...
NTFS bug fixes? (Score:2, Interesting)
Re:NTFS bug fixes? (Score:1)
Re:NTFS bug fixes? (Score:2, Informative)
Re:NTFS bug fixes? (Score:3, Insightful)
Re:NTFS bug fixes? (Score:1, Informative)
Here's [geocrawler.com] one reply to why it hasn't been done yet.
AMD K7 SSE (Score:3, Interesting)
pre5 - Enable K7 SSE (John Clemens)
So we now have SSE for the K7 cpu? Does any programs on linux even take the extra speed of SSE/MMX/3D NOW? I have always wondered since these type of optimizations are only visible when the software application lists it, and most software is for windows.
Re:AMD K7 SSE (Score:4, Insightful)
Re:3DNow! (Score:2, Informative)
So what kernel does slashdot use? (Score:1)
are up to 2.4 yet? Or still running 2.2?
If they are still running 2.2 when will slashdot upgrade?
What is "preemtive" for ? (Score:1)
Re:What is "preemtive" for ? (Score:3, Informative)
This improves response time for your programs as now they won't get stuck waiting for the kernel to finish doing something time-consuming (like disk I/O) before they get some cpu cycles.
In most cases this isn't a big deal, but you'd definitely notice when your mp3 player skips because it's stuck in line behind the kernel.
Re:What is "preemtive" for ? (Score:2, Informative)
Re:What is "preemtive" for ? (Score:4, Informative)
Also, to expand on the original question, there are a couple objections to the patch: It has the potential total throughput, because more locking must be used since the kernel can be preempted at any time, not just at specified points. However, in practice, the effect on throughput seems to be negligible. It also increases complexity, due to additional locking, but most of the complexity is there anyway, in the form of the SMP locks.
Re:What is "preemtive" for ? (Score:2)
Re:What is "preemtive" for ? (Score:3, Informative)
The normal (old) way is "cooperative" -- meaning you don't yield a task until you're ready.
Pre-emptive means you can be forced to give up your task.
Re:What is "preemtive" for ? (Score:2, Insightful)
Windows, on the other hand (9x, I don't know about NT) is fully cooperative, meaning that userland isn't preempted either. That, and poor memory protection, is why buggy windows programs can bring the system down, Whereas in linux, only kernel space stuff can lock up the system.
The preempt patch, then just makes the kernel preemptable, so that Linux is fully preemptive, instead of just in userland.
Re:What is "preemtive" for ? (Score:3, Informative)
As for NT, it is a fully preemptible kernel, both in userspace and kernel space. Like all preemptive kernels, of course, it is not preemptible when interrupts are disabled (since the clock interrupt can't happen). The main reason why NT has always been preemptive is because its always been SMP. The locking requirements on SMP are similar to to locking requirements for a preemptible kernel, so you can get both together for the price of one. Indeed, the preemptive patch for Linux is very small because it uses the existing SMP locking mechanism.
loopback deadlocks (Score:2, Interesting)
- Fix more loopback deadlocks (Andrea Arcangeli)
the very first line of the changelog is scaring my ass of. this sounds like there are some / an unknown number of loopback deadlocks still lurking and nobody knows where, until it jumps out to rip your head off.
KT266A (Score:2)
We have two new office-brew systems, one mobo from Asus and one from Abit, both are based on the KT266A and neither will boot any flavor of kernel 2.4.x that we've thrown at it. I've done the normal google and usenet searches, but haven't found much other than a few "works for me" posts. Anyone have some pointers or patches?
BZ2 vs GZ (Score:4, Interesting)
The kernel's are posted in both GZ and BZ2 formats. What do you guys mostly use? I can't see much point these days with having the Gzip format, I mean is there still a point to downloading it? Or even having them available in that format?
From what I can see, removing the Gzipped versions
*reduces network congestion
*saves space on the mirrors
*saves space on local storage (yeah only a couple megs)
Of course, it requires more processing time to extract, but that seems to be no big deal these days. I'm pretty sure everyone has bzip2 installed , and those who don't can easily get it, so that can't be a problem.
So is it really just traditional reasons it's posted in Gzipped format? Tell me if I've missed something. It would be interesting to know what everyone thinks about this.
Re:BZ2 vs GZ (Score:2)
Re:BZ2 vs GZ (Score:3, Insightful)
Re:BZ2 vs GZ (Score:2, Interesting)
If the extra time to decompress a bz2 over a gz is that great a factor, why would you even want to compile a kernel on that particular machine? Compile it on your fast box and just copy it over. That's what I do.
Re:BZ2 vs GZ (Score:2, Interesting)
(Okay that only works if you've got the previous version - you can download a whole sequence of patches for bigger jumps, but after a while it gets bigger than the kernel itself. I'd like to see a general patch generator where you type in what version you currently have and it generates the smallest patch file just for you. Alternatively some way of using rsync would save on bandwidth.)
Re:BZ2 vs GZ (Score:2)
can anyone compile it? (Score:2, Interesting)
Anyone know how to fix it?
ld -m elf_i386 -T
k.o init/main.o init/version.o \
--start-group \
arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o \
drivers/char/char.o drivers/block/block.o drivers/misc/misc.o drivers/net/net.o drivers/media/media.o drivers/char
/agp/agp.o drivers/ide/idedriver.o drivers/scsi/scsidrv.o drivers/cdrom/driver.o drivers/sound/sounddrivers.o drivers/pci/d
river.o drivers/pnp/pnp.o drivers/video/video.o drivers/md/mddev.o \
net/network.o \
lib/lib.a \
--end-group \
-o vmlinux
net/network.o: In function `__rpc_schedule':
net/network.o(.text+0x49a0d): undefined reference to `rpciod_tcp_dispatcher'
make: *** [vmlinux] Error 1
Re:can anyone compile it? (Score:2, Informative)
Here [google.com] is some more information. In general, I recommend that you do not attempt to compile the Linux kernel using any version of GCC newer than 2.96.
Another RML? (Score:3, Funny)
2.4 (Score:2, Interesting)
Personally I'm about ready to go back to good old fast&stable&reliable 2.2 tree. I wonder if we really need to make the kernel this sluggish for the sake of introducing new stuff in the kernel level though. I know I'm not the only one who noticed the performance drop with 2.4.*.
--
Preempt patch and 3rd party modules (Score:2, Interesting)
It would be nice if there was some way to exempt these two from the optimization or there was a doc explaining what I would need to change
Re:Wow (Score:3, Insightful)
as you said, you are happy with win98, more power to you. but many people are not happy with windows and have to shell out big bucks every couple years to upgrade.
yeah, i know, the post was flamebait. but hey, i'm a sucker for anything this obvious.
-sam
Re:Wow (Score:1)
You're saying that a kernel upgrade is an OS upgrade... WRONG! Someone can go to Windows Update and get new drivers, updates, etc.
If I want to upgrade the OS, sure I'll have to get the upgrade... That's like saying you have to get the upgrade if you want to go from RH 5.2 to 7....
Of course Windows users don't have to face the task of recompiling their kernel every so often. From what I hear, many linux distros are taking the Windows route and encouraging the use of loadable modules (just like Windows) instead of compiling them in.
Re:Wow (Score:2, Insightful)
Users of proprietary OSes don't have a chance to, and users of about
any other Free OS - well most other free OSes kernels just aren't
broken every second week.
Re:Wow (Score:2)
Neither have Linux users.
Did I miss something? Did Bill Gates redefine the english language so that "be able to" and "have to" mean the same thing? Why don't Windroids understand the difference then?
Re:Wow (Score:1, Offtopic)
-sam
Re:Wow (Score:2)
have fun.
-sam
Re:Wow (Score:2)
What's the point? (Score:1, Interesting)
Re:What's the point? (Score:2)
Re:I haven't finished downloading the last release (Score:2, Informative)
Re:I haven't finished downloading the last release (Score:1)
> yet on my 56k modem, and a new one is already out? I'm hopeless...
If you're modem bound, you're supposed to start downloading the next kernel, before they finish working on it.
Re:I haven't finished downloading the last release (Score:2, Insightful)
I take that back (Score:1)
Re:YAY ! (Score:1)
Read The Cathedral and the Bazaar [tuxedo.org]
Release early and release often! How else are those bugs going to get squashed?
Re:So what happens if 2.4.99 is released? (Score:1)
Nah, probably 2.4.100; the kernels start at x.x.0, not x.x.00, so it seems we're using the convention of just tacking the incremental version on without any worry about leading zeros...