Bug 118580
Description
Kaj J. Niemi
2004-03-17 21:38:07 UTC
Created attachment 98617 [details]
Updated -pie patch for net-snmp 5.1.1, note change in name reflecting minor version
Created attachment 98618 [details]
Updated memory buffers patch, note change in name reflecting minor version
Updated memory buffers patch, I rewrote it to match how the upstream function
now looks. It will return sane values for both 2.4 and 2.6 kernels. The patch I
submitted for 5.1 didn't return any values on 2.6 as "Mem:" and "Swap:" do not
exist in /proc/meminfo anymore - I didn't know it at the time though ;-)
Created attachment 98624 [details]
diff to net-snmp.spec version 5.1-11.1, might as well attach it now
Thanks Kaj! I'll include your changes as soon as 5.1.1 goes final and will update the rawhide version. Might be that it'll be too late for FC2, can't tell yet, but we'll see :-) Thanks for your updates, as always. :-) Read ya, Phil If it is too late for 5.1.1 in FC2 the hrstorage patch needs to be patched against 5.1 otherwise it won't show up on 2.6 kernels. Ah, because of /sys, right? I'll take a peek at it then tomorrow and at least fix that patch. Thanks, Read ya, Phil Created attachment 98656 [details]
Trivial backport of the 5.1.1rc1 hr_storage.c patch for net-snmp 5.1.
No.. /proc/meminfo is still there. I parsed the value of buffers from the line
starting "Mem:" (which doesn't exist on 2.6) instead of "Buffers:" (which does
exist on both 2.4 and 2.6) like I do in the patch attached to this bug..
Attached is a backport of the 5.1.1rc1 patch for 5.1. Hope it's okay to attach
here instead of opening a new bug.
OK, as net-snmp 5.1.1 is now out officially i'll update to that version now and hope to get it into FC2. :-) Read ya, Phil Ok.. The earlier patches attached to this bug should apply cleanly to it. Thanks. Done. Read ya, Phil |