[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: irqbalance update in stable?



This one time, at band camp, Peter Palfrader said:
> Hi Kyle,
> 
> #517183 segv on startup makes irqbalance completely broken on our
> sparcs.
> 
> There has been a patch in the BTS for a bit over 10 days now, yet it
> is still unresolved in sid (0.55-3 does not fix it despite the changelog
> entry) and also in lenny.
> 
> I would like to see this issue get resolved in lenny, tho we are getting
> pretty late for lenny r1.
> 
> What's the plan here?

For reference, the patch is attached.

Cheers,
-- 
 -----------------------------------------------------------------
|   ,''`.                                            Stephen Gran |
|  : :' :                                        sgran@debian.org |
|  `. `'                        Debian user, admin, and developer |
|    `-                                     http://www.debian.org |
 -----------------------------------------------------------------
diff -Nru irqbalance-0.55/debian/changelog irqbalance-0.55/debian/changelog
--- irqbalance-0.55/debian/changelog	2009-03-18 22:32:37.000000000 +0000
+++ irqbalance-0.55/debian/changelog	2009-03-18 22:32:38.000000000 +0000
@@ -1,3 +1,10 @@
+irqbalance (0.55-2.5) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * See if we can get this thing to not crash
+
+ -- Stephen Gran <sgran@debian.org>  Sat, 07 Mar 2009 12:08:57 +0000
+
 irqbalance (0.55-2.4) unstable; urgency=low
 
   * Non-maintainer upload.
diff -Nru irqbalance-0.55/irqlist.c irqbalance-0.55/irqlist.c
--- irqbalance-0.55/irqlist.c	2006-12-10 20:16:44.000000000 +0000
+++ irqbalance-0.55/irqlist.c	2009-03-18 22:32:38.000000000 +0000
@@ -47,7 +47,9 @@
 	int nr;
 	char buf[PATH_MAX];
 	sprintf(buf, "/proc/irq/%i", number);
-	dir = opendir(buf);
+	if ((dir = opendir(buf)) == NULL) {
+          return;
+        }
 	do {
 		entry = readdir(dir);
 		if (!entry)

Attachment: signature.asc
Description: Digital signature


Reply to: