Hello All, I'm sure this has been talked about and based on some searching of archives, I'd discovered that to be able to use timerfd, one needs to have a kernel version >=2.6.27? Is this true? If yes, then is there anyone who's got it working in Lenny 5.0.7? Do I need to download and build the linux kernel (currently at 2.6.37) from scratch and get access to the TimerFD source? Should I even bother with it for app_confBridge or does pthread work well enough? Thanks \RR -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110123/b05bdb0e/attachment.htm>
Paul Belanger
2011-Jan-24 03:16 UTC
[asterisk-users] Asterisk on Debian Lenny with timerfd
On 11-01-23 10:01 PM, RR wrote:> I'm sure this has been talked about and based on some searching of archives, > I'd discovered that to be able to use timerfd, one needs to have a kernel > version >=2.6.27? Is this true? >Kernel version 2.6.25 or newer, as documented in CHANGES. -- Paul Belanger Digium, Inc. | Software Developer twitter: pabelanger | IRC: pabelanger (Freenode) Check us out at: http://digium.com & http://asterisk.org
> In the meantime, does anyone have a nice way to update a stable/stock lenny > installation with the updated glibc as well as the latest kernelScary and risky, as others have noted! There is an official "backports" release kit associated with Debian, which contains newer versions of many packages which have been back-ported to be mostly-drop-in-compatible with current Debian "stable" distribution. You can find information about it at http://backports.debian.org/ However, it does not appear to contain an updated release of glibc - likely for the reasons that other folks have alluded to (the stability risks outweigh the benefits). I suspect that unless you're willing to put a lot of blood, sweat, tears, and toil into the effort of getting the newer glibc into Lenny, you're either going to have to switch to the "testing" distribution (Squeeze) or wait until Squeeze is officially released as the new "stable" distribution
> I know this is an {*} list but does anyone know if simply adding the Squeeze > repository to my sources.lst and running an 'aptitude > upgrade/safe-upgrade/full-upgrade" will just upgrade Lenny -> Squeeze > without me having to rebuild the system from scratch?In my experience: you're likely to run into a few things which need some amount of manual fiddling, after an upgrade of this sort, but it's usually quite manageable. The Debian people seem to be very good about making sure that stable-version-to-stable-version upgrades go smoothly... the process isn't perfect (from what I've seen) but it's usually quite close. The upgrade path is usually tested out quite well before the release team throws The Big Switch, and there normally are good release notes which describe the corner cases which may need manual intervention. I have several systems which have been through multiple major Debian upgrades, without having to be slagged down and rebuilt from the ground up. That's better than I ever achieved with (e.g.) Red Hat, which (in my experience) really didn't take at all well to in-place upgrades... I usually had to do a fresh install and then port my personal files over. Things may not be as smooth when jumping from Stable to Testing, precisely because this isn't an official-release pathway, and the packages in Testing are usually in somewhat of a state of flux. Even upgrades *within* the Testing distribution can leave you with a system which doesn't fly right... this isn't common but it does happen. For example, a recent upgrade within Stable pulled a bunch of the firmware files out of the kernel package and moved them to a separate "non-free" package - if I hadn't noticed an error message during RAMdisk rebuilt, my next boot would have left me with a non-functioning wired Ethernet adapter. If you decide to follow this route, follow the Debian instructions for upgrading... back up your package configurations, and (I suggest) everything in the /etc/ directory hierarchy, as well as all of your personal files. This will give you a much better chance to invoke the spirit of the ancient pagan god DoOver, if something goes wrong during the upgrade.