Linux Kernel 2.2.13 Makes the Scene
Mads-Martin was one of the many folks to point out that 2.2.13 has made the mirrors. The patch is also up on kernel.org. You know the routine - download, compile, etc.
← Back to Stories (view on slashdot.org)
Please feel free to put all the "this isn't worthy news" under this thread. At least that way we can keep things tidy ;)
And just when I thought I'd got the latest pre installed, along comes another one.
Hope the nasties are gone.
Look to the kernelnotes site for more details. I expect the changes list will appear there first....
Since Alan Cox have been taking over the 2.2 kernel branch, there's lot of good info about it at www.uk.linux.org and at his diary.
For me, it dies with "Out of memory" right after decompressing the image. Of course, I'm one of those fools who compiles kernels with gcc 2.95.1. :-)
I just never noticed it before. When did Transmeta own kernel.org? From the beginning, or did they acquire it later? Sorry for asking here, but thee isn't much information from transmeta.com, except for a non-existant typo.
Does any one else here skip any .13 just to keep an old superstiton alive?
.13 a curse.
.13 release purely for the fun of it. (Like old hotels skip the 13th floor). Imagine how bland our culture would be without stupid little superstitions?
Even if 2.2.13 had some horrible FS thrashing bug, alan, linus, & co. could always blame it on
I think all projects should skip any
One thing puzzles me though; may I assume that Linux users are by default not supersticious since kernel development now went to number 13 ? ;-)
"Mads-Martin was one of the many folks to point out that 2.2.13 has made the mirrors. " Let's just hope this kernel doesn't break those mirrors....
When 2.2.11 there was an issue that I had mentioned here; It was as follows. If you have a fresh 2.2.11 you could apply the 2.2.12 patch right on top of it, however if you had applied any of the patches to 2.2.11 (in my case the tcp/ip fix -> they are found at www.linux.org.uk) then you had to revert the patch or start out with a clean 2.2.11 or just download the 2.2.12.
My question now is: for 2.2.12 there was a patch for a slow page leak which I just applied. This patch actually reverted part of the 2.2.12 patch. Do I now need to re apply this patch and then apply the 2.2.13 patch or can I just patch my system with the 2.2.13 patch?
My best guess: from my past experience I am going to guess to say that I must apply the reverted patch to 2.2.12 and then apply the patch to 2.2.13. Or start out with a fresh 2.2.12 and patch to 2.2.13 or just download the whole 2.2.13.
Although having a new kernel out is good news as I am sure it has fixes and new featuress, I am not sure it is necessary for me to upgrade. Also something to add here is that according to the linux kernel howto (last time I read it atleast) they suggested that upgrading the kernel is only done if you need some feature or bug fix in a newer kernel.
hmm Maybe I'll wait this time and see if there are bugs in there that will affect me. Besides 13 is not the luckest number.-> If you believe in superstition ;-0
Only 'flamers' flame!
I am not sure how relevant this is, but the release notes for Kernel 2.2.12 - http://www.uk.linux.org/VERSION/relnotes.2212.html - state:
This code is intended to build with gcc 2.7.2 and egcs 1.1.2. It is known that not all of it builds validly on the x86 CPU's with gcc 2.95. As far as we know these are Linux not gcc issues. Fixes for gcc 2.95 to gcc 3.0 may go into Linux 2.2 in time. You should therefore not use gcc 2.95 to build stable kernels for the moment.
Mielipiteet omiani - Opinions personal, facts suspect.
0 1 - just my two bits
Take yer nameless faceless corporation addiction somewhere else, kid. Yer frightening me. :^)
--- Journals are boring; Go to my web page instead
I've been having sporadic hangs with the bttv TV card driver for a while, and I noticed that the 2.2.13 pre patches contained a fixed driver, which modifies the interrupt code. I have not installed any of the pre-patches.
I will compile now and see if this fixes my problem, and report back.
I don't know what your problem is, but I bet it's hard to pronounce =)
---- Windows Emulator for Linux: kill -9 $RANDOM
Actually, the more I look at this, the more annoying it is. There are no release notes anywhere. I've looked at cutting edge, kernelnotes, Alan's site. No one claims to even know that 2.2.13 *is*.
Is this supposed to prevent people from addopting 2.2.13 too fast? What's the deal? I really should not have to read the development mailing list archives to find out what the latest "stable" kernel does.
That said, I can see the other side of the coin. Most of the people who should upgrade are those who have specific problems, and their vendors will direct them to the new version.... I dunno, it just seems odd. What do others think?
I really can't wait for the day when a routine linux kernel release doesn't make a slashdot headline. Will I have to wait until linux is obsoleted by another open source project or will it actually happen before that?
----
Stop worrying about the risks of nuclear power and start worrying about the risks of not using nuclear power.
This was not a troll attempt at all. The idea is that inevitably some people will start complaining about kernel release announcements on Slashdot. If those are all posted under one thread, then people not interested in the complaints can just skip that one thread.
SMP has been quirky both in the .11 and .12 kernels, anyone know if it's stable in this release?
from 2.2.12 to this kernel.
:)
This is important: there was a nasty stack-smashing bug that was fixed late in the pre-releases for this kernel.
It was discovered by ben at valinux dot com, and was posted to BugTraq on Friday.
Ben writes:
While doing some debugging, I discovered a really nasty stack smash
bug in linux-2.2.12. The I haven't checked previous versions of the
2.2 kernel but bug appears to be fixed in linux-2.2.13pre17.
If I am reading this correctly, the implications of this bug could be
very dire. It may be possible to easily obtain root privilege on any
box running this kernel.
Basically the problem is that the execve system call checks that argv
is a valid pointer but it doesn't check that all of the pointers in
argv array are valid pointers. If you pass bad pointers into the
execve system call you can corrupt the processes stack before it
returns to user space. Then when the kernel hands off the process to
the elf loader code and which begins to setup the processes it can be
made to execute some malicious code in place of the program's main
function.
This is particularly scary because all of this occurs BEFORE the
program begins executing its main function and AFTER the program
returns to user space with privilege. Therefore no matter how well
audited the program may be it can be used as to gain privilege.
The thing that tipped me off to the problem was that a program that I
exec'd was getting killed with SIGSEGV in __libc_start_main before my
main function began running.
-ben
There was more discussion that followed, tho I won't summarize it here. But do upgrade
Actually, it wasn't a troll attempt. I'm not bothered if Linux kernel version are reported here or not, they always appear on Freshmeat so I won't miss it. It was just a tongue in cheek remark really. Half the people on here want these reports, half don't. Ah well, can't please everyone, least of all AC's with an attitude.
my question is, if i've fallen behind and don't have any patches to the 2.2.6 kernal, should i get all the patches up to 2.2.13 or grab a whole new kernal and replace the whole thing.
Ouch. I just recompiled 2.2.13, and while the kernel went built cleanly, the new bttv drivers barfed all over my computer. The number of errors was just mortifying. Lots and lots of "dereferencing pointers to incomplete types", implicit declaration warnings, and undeclared variables.
I just used the same makefile from 2.2.12, is there some new weirdness in this kernel? Doh.
----------------- "I have a bone to pick, and a few to break." - Refused -------------------
whoops, probably should have mentioned that. That and glibc-2.1.2, and pgcc-1.1.3 :)
----------------- "I have a bone to pick, and a few to break." - Refused -------------------
That hasn't been settled yet.
well, the compilation died on me too but if you keep re-executing the commandline (make bzImage, or whatever) it'll eventually finish building.
If you have to reissue 'make bzImage' commands to finish building the kernel, you most definately have some faulty hardware, most likely bad memory. I bet that you're seeing signal 11's when compiling.
Check the The Signal 11 FAQ for clues on how to debug your problem.
First hint, if you're overclocking, don't!
I hit reload every 10 minutes. When I'm bored.
Anyone got a link to a changelog? 2.2.13 hasn't even been announced on kernelnotes, let alone edge, yet.
-- Veni, vidi, dormivi
Dig on some 3.0 releases sometime... MS-DOS, MS-Windows...
Wasn't there a jiffies rollover problem that should have made it freeze before that?
Or was this bug introduced later on?
Right from linux-kernel, this seems to have nothing to do with gcc,
a modification in the kernel sources should
do it (it was mentioned in a threat about 2.2.13pre18).
from Matthias Hanisch:
Try to increase the HEAP_SIZE constant to 0x3000 in
linux/arch/i386/boot/compressed/misc.c (as set in current 2.3.x kernels).
AND IMPLEMENTATION DETAILS OF OPERATING SYSTEMS.
Hmmm, if the kernel isn't an implementation detail of an operating system, what is.
But in my book it's out there enough to merit attention, especially since there's some indication that this was not a problem in 2.0.36.
I compiled 2.2.13 on a DEC Alpha, threw the vmlinux.gz and System.map to their proper places, rebooted and got the oh-so-fun: "Attempt to access beyond end of device" message from MILO. So it's back to 2.2.12 for me, unless I'm forgetting something. -Tiny P.S. Upgrading kernels on Alphas is much easier than Intel, you don't have to mess with Lilo crap, just replace the kernel and System.map, reboot, and cross your fingers. :)
For some strange reason when I run kppp with the new kernel, kppp says no PPP is installed in the kernel or as a module, yet I have the slhc and ppp modules installed, if I ignore the error message and continue on, kppp will dial and connect properly. I have upgraded to the latest version of kppp and pppd yet I still get this error. Would this have anything to do with compiling with gcc 2.95.1?? Anyone else getting these errors?
For those who want to know what might have been changed, Alan Cox posted the announcement for 2.2.13pre18 with a changelog.
His diary says he sent it to Linus for the official ok.
Try reading the pre series announcements. This is at linuxtoday:
2.2.13pre18 released
Odds are that the official release will be pretty close.
The best reason to get 2.2.13 is that it is no longer vulnerable to a STACK SMASH bug which effected the previous 2.2.12 and possibly earlier kernels.
Do really dense people warp space more than others?
Pretty good there, much better than the sort of "first post" crap that normally gets the -1 honor. Very nice.
I have seen the future, and it is inconvenient.
Well it's been 2 years and noone's stepped up to make the bttv driver actually work. It deadlocks at framerates between 10 and 24 quite nicely. There was an attempt to rewrite the driver for Video4linux 2 but that guy is in upper division coursework and has more to do besides hacking Linux.
Although not the same problem you seem to be having.
:(
When I moved my one of my boxen with a tv card in it from 2.2.10 to 2.2.12 (didn't have net access between the two), i lost the ability to have both sound and picture at the same time. I could get one or the other, depending on what I passed as argments when insmoding. (I use an ADS Channel Surfer). I mailed ac (as per one of the documentation files about bttv in the kernel), but never heard a response from him. *shrug* I just stayed with 2.2.10.
I believe there was some major re-writing activity going on in the kernel bttv drivers around 2.2.11, 2.2.12, so hopefully they will begin to stabilize with time.
Unfortunatly, I just fried the mb in that box 2 days ago, so I haven't been able to try 2.2.13 on it. It'll be interesting to see how it works out, pending that everything else in that box didn't get fried as well.
This sig is false.
Here is the release notes from Alan:
http://www.linux.org.uk/VERSION/ relnotes.2213.html
Enjoy!
Does this version support USB mice natively, and if not, does anyone know of resources for using USB mice in Linux/FreeBSD? I really want a USB Intellimouse Pro to help with my quaking.
-W.W.
KeepaliveThread::run: device crashed
KeepaliveThread::run: device crashed
KeepaliveThread::run: device crashed
KeepaliveThread::run: device crashed
After only 7 minutes of capturing 640x480 15fps. The biggest joke of all about this driver is that the bug was fixed by an EE student in his video4linux 2 revision and promptly rejected by Linus. At the same time the student created several new bugs which don't exist in the video4linux 1 revision. So we have 2 drivers: 1 which deadlocks at high frame rates and 1 which gives offset fields but doesn't deadlock and with the holidays coming don't expect anything to get fixed.
Is this supposed to prevent people from addopting 2.2.13 too fast? What's the deal? I really should not have to read the development mailing list archives to find out what the latest "stable" kernel does.
I doubt that's the situation. I'd just be patient and wait for the notes to be released =) In the USA anyway, it was released quite late in the nite (from when I got the gist of it anyway...
---- Windows Emulator for Linux: kill -9 $RANDOM
The way kppp tested whether the kernel supports PPP, unwittingly took advantage of a security hole that was fixed in the kernel versions 2.2.13 and 2.3.x. See Bug 2164 on the KDE web site. Nothing serious.
According to the bug report, you can simply ignore the error message or remove the test for the ppp0 device from the kppp source code.
I know that the link was pointed out before.
/proc/pci file was viewed.
But I think that people reading the 2.2.13 thread
here should find out directly about the 2.2.13 new/uptedated stuff.
So here we go:
Linux 2.2.13 Release Notes
Platforms:Alpha (see notes), PowerPC, Sparc, X86
Introduction
Linux 2.2.13 is the latest update to the Linux kernel tree. It fixes the memory leak bug in the 2.2.11 kernel. In addition it updates various drivers
and the platform specific support. The out of the box tree supports the Alpha, PPC, Sparc and X86 platforms. MIPS is mostly merged but you
should obtain the platform specific tree. ARM and M680x0 users should get their platform specific tree.
Errata
Compilers
This code is intended to build with gcc 2.7.2 and egcs 1.1.2. It is known that not all of it builds validly on the x86 CPU's with gcc 2.95. As far
as we know these are Linux not gcc issues. Fixes for gcc 2.95 to gcc 3.0 may go into Linux 2.2 in time. You should therefore not use gcc 2.95
to build stable kernels for the moment.
Binary Compatibility
Linux 2.2.13 changes a few internal system structures. You may need to rebuild a few third party modules such as pcmcia-cs when upgrading
from older kernels to this one.
Security Notes
2.2.13 fixes numerous small security issues. Most of these were not publically known and exploited. Nevertheless anyone with untrusted local
users should upgrade. Other users are recommended to upgrade.
Architecture Updates
Alpha
i386
The APM code works around a Thinkpad BIOS error reporting bug.
The EBDA BIOS pointer is now honoured if it appears sane. This should fix problems with some large SMP boxes.
A TLB handling race on SMP boxes has been fixed.
The APIC support has been updated.
Workarounds have been added for audio bugs in the MediaGX CPU.
Workarounds have been added for an ISA DMA hang on the VIA Apollo Pro.
MIPS
PowerPC
A collection of PowerPC updates have been merged with the main tree.
Sparc
A bug in the locking of the video card drivers on SMP boxes has been fixed.
General updates and merges of Sparc fixes into the main tree.
Core Updates
A.out loader
Bugs have been fixed in the ZMAGIC loader code.
Bad PCI cards
A PCI card with faulty configuration entries for the devsel could cause a crash when the
Boot up
On some boots machines with very large numbers of processors may not successfully boot all processors. This is now fixed.
Bottom Half Locking
An SMP race in the bottom half handling has been fixed.
Buffer Leak
A buffer leak has been fixed.
Console logging
A race with klogd and the console has been fixed.
Optimisations
The ISA DMA handling in the memory allocator has been optimised.
PCI
Fixes have been made to the PCI multi-function handling.
Shared IRQ's
A shared IRQ handling bug was fixed.
Signal queue corruption
A bug in the real time signal queue handling has been fixed.
Task counting
An SMP task counting race has been fixed.
VM cache handling
A bug where mmap data might not get written back has been fixed.
Xntp
The NTP code has SMP locking fixes.
Driver Updates
BTTV TV card
ADS data update. Fixed schedule in interrupt crash. Updated tuners.
CD-ROM drivers
The CD-ROM drivers have been updated.
C-Media CM8338
A vendor supplied driver has been added.
Console
TIOCCONS tests have been updated.
Cyclades
The cyclades driver has been updated.
EEpro100
The EEpro100 card could lock up on configuration if it shared an IRQ.
EEpro100
The EEpro100 driver now supports the Ultrasparc.
IDE on SMP boxes
The IDE code has been updated to fix several hangs on SMP machines, especially when the machine has the IDE IRQ shared.
ESS Solo
The ESS solo claimed extra I/O resources.
ISDN
The ISDN layer and drivers have been updated.
MSP 3400
The MSP3400 driver for the sound decoders on some TV cards has been updated.
Multisound
The Multisound drivers have been updated.
Neomagic Audio
An audio driver for the Neomagic 256 has been added.
PCWD
The PCWD Watchdog driver has been updated.
SB1000 Cable Modem
Documentation has been updated.
Serial
The 16450/16550 driver didn't correctly reset the FIFO settings on a manually requested chip change.
Memory leaks fixed.
Sound
The core sound code has been updated to handle the ARM.
SoundPro
The documentation has been improved.
SX Serial driver
Small fixes have been made.
Synclink
The synclink driver has been updated
Trust radio card
This is now supported.
VIA 82Cxxx audio
The VIA 82Cxx audio is now supported.
File System Updates
Amiga RDSK
The Amiga partitioning code has been fixed to remove a leak.
Ctime
The ctime of a file is updated on a rename.
Ext2 flags
The ext2 attribute flags could be mishandled.
ISOfs
A small bug in the ISOfs handling has been sorted.
Procfs
The procfs allowed some files to be opened by incorrect names.
QNXfs
Memory corruption in the QNX code has been fixed.
Quota
Small quota bugs were fixed.
Miscellaneous Updates
Message formatting
A couple of message formatting errors/typos have been cured.
Poll
Some internal code tidyup has been done.
Network Updates
1 Second Delay
A bug in the traffic scheduling that could cause 1 second delays in packet transmission is fixed.
3c527
This driver now should work in a multicast environments.
3c529
A confusing message on load has been fixed.
3c59x/3c90x
The driver recognizes some of the newer cards.
64bit cleanness
The 8390, ne2k-pci and rtl8139 drivers have been updated to be 64bit clean.
Amateur radio
Several amateur radio protocol updates.
Arcnet
A crash in the arcnet driver has been fixed.
ATP Ethernet
The delay loops in this driver were faulty and have been fixed.
Davicom DM9102
A vendor provided driver has been added.
Defragment
The always defragment feature is now run time configured.
EEpro
The EEPro driver supports multiple cards now.
IPX
A bug in the IPX packet forwarding for netbios flood fill has been fixed.
Masquerade
Fixes have been made in the masquerade list and memory handling.
Networking
Assorted small fixes have been made.
NFS Logging
A collection of debugging log messages have been removed.
SiS 900 driver
The SiS900 driver had a compile bug in some situations.
SMC Ultra
An oops on module unloading has been fixed.
Thunderlan
Thunderlan now unloads if it finds no cards. It also takes module parameters.
SCSI Updates
Acard ATP870-U
This driver had problems with earlier 2.2 kernels. It should now be stable both compiled-in and as a module.
Advansys SCSI
The Advansys scsi driver has been updated.
DVD handling
The DVD handling code has been cleaned up.
EATA SCSI
The EATA SCSI driver has been updated and now supports Alpha
IBM ServeRAID
An IBM contributed driver is now included.
NCR 5380
A problem parsing command line options when the NCR5380 is compiled in has been resolved.
NCR 53c710
A driver has been added for generic NCR53c710 devices.
Qlogic FC
The Qlogic fibrechannel driver has been updated.
Qlogic ISP
Updates and bug fixes.
Scsi Generic
Documentation updated.
Symbios 1510D
The Symbios driver now supports this code.
Security Updates
Chown
Chown now clears the setuid bit.
Clone
The CLONE_PID flag is no longer available except to the kernel.
Exec
A denial of service attack in the execve() code has been fixed, as well as a potential case where a corrupt argument set could be
passed to the process being executed.
Mknod
Mknod no longer follows symbolic links.
Rate limiting error logs
The a.out and Sunrpc layers now limit their error logging rate.
Procfs
The stack pointer is not visible to other processes when it might provide useful info to an attacker.
Shared memory
The amount of shared memory allocatable is now configurable.
Signal handling
Sending non standard process exit signals is now restricted to thread groups.
TCP Sequence Guessing
A bug allowing TCP sequence guessing has been fixed.
TTY Locking
A tty locking bug that could allow denial of service attacks.
I saw this in the changelog
SCSI Updates
DVD handling
The DVD handling code has been cleaned up.
Can anyone give me a quick "State of the DVD" update for Linux. Reccommend a drive??
+&x
In many cultures 13 was/is actually considered a good luck number. Especially with religions that had holidays based on the moon cycle (13 moons in a year). In Europe durring the middle ages the dominate culture started trying to exterminate all other cultures. Turning 13 from good luck to bad luck was just a small part of the propaganda. And that is why 13 is bad luck in Western culture.
(Why do I now have a craving for Yogurt all of a sudden?)
I'm running Mandrake 6.1 which installed a prelease of 2.2.13 (2.2.13-7mdk). Do I need to unpatch this before applying the new release 2.2.13 patch?
I tried patching what I have (after backing up the source tree first, of course) and had one hunk fail, plus I got a bunch of those "previously applied patch detected: Assume -R?" messages.
thanx
So, what are we gunna see now? Postings of how each bit of each kernel is doing?...
... woo!
Oct 21, 1999: We're done with 10% of 2.3.23
Oct 22, 1999: We're done with 19% of 2.3.23
Oct 23, 1999: We're done with 43% of 2.3.23
Oct 24, 1999: We're done with 69% of 2.3.23
Oct 25, 1999: We're done with 85% of 2.3.23
Oct 25, 1999: We're done with 99% of 2.3.23
Oct 26, 1999: We're done with 2.3.23
Oct 26, 1999: We released 2.3.23 and since it was still buggy, we're working on 2.3.24...
Oct 27, 1999: We're done with 11% of 2.3.24
etc, etc, etc...
OK OK OK!!! Hooray! We're getting more kernels! But do we have to see EACH AND EVERY LITTLE ONE publicised like its a whole new world every minor patch!!!! AGGGGHH!!
I'm done.
yeah
Yep. The kernel is.
So, let's talk about what's new and exciting in the new Kernel. What new 1980's-era features have finally made their way into the kernel this week?
The linux/Makefile has code to check if your
compiler accepted -fno-strict-aliasing, and
included it in CFLAGS if so. It has been doing
this since 2.2.11 (or earlier, I don't know when
the first kernel to do this was).
This should mean that it will be included without you having to do anything. You can tell whether it worked or not by looking at make's output, to see what it says it's passing to gcc.
#define X(x,y) x##y
#define X(x,y) x##y
Peter Cordes ; e-mail: X(peter@cordes ,