Your message dated Mon, 30 Mar 2009 13:53:44 +0000
with message-id <[email protected]>
and subject line Bug#517183: fixed in irqbalance 0.55-2.4lenny1
has caused the Debian Bug report #517183,
regarding irqbalance: segv on startup
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
517183: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=517183
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: irqbalance
Version: 0.55-2.4
Severity: important
sg...@spontini:~$ sudo /usr/sbin/irqbalance --debug
Package 0: cpu mask is 00000001 (workload 0)
Cache domain 0: cpu mask is 00000001 (workload 0)
CPU number 0 (workload 0)
Package 2: cpu mask is 00000004 (workload 0)
Cache domain 2: cpu mask is 00000004 (workload 0)
CPU number 2 (workload 0)
Segmentation fault
open("/proc/interrupts", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xf7f90000
read(3, " CPU0 CPU2 "..., 1024) = 596
open("/proc/irq/0", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC|0x4)
= -1 ENOENT (No such file or directory)
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
sg...@spontini:~$ ls /proc/irq/
1 14 15 16 17 2 3 7 8 9 default_smp_affinity
sg...@spontini:~$ cat /proc/interrupts
CPU0 CPU2
0: 33835972 33836466 <NULL> timer
1: 0 0 sun4u PSYCHO_PCIERR
2: 0 0 sun4u PSYCHO_UE, PSYCHO_UE
3: 0 0 sun4u PSYCHO_CE, PSYCHO_CE
7: 1551 0 sun4u sab, sab, sab
8: 0 0 sun4u su(kbd)
9: 0 0 sun4u su(mouse)
14: 848963 0 sun4u eth0
15: 224530 0 sun4u sym53c8xx
16: 653934 0 sun4u sym53c8xx
17: 0 0 sun4u PSYCHO_PCIERR
The problem appears to be at irqlist.c:49 or so:
sprintf(buf, "/proc/irq/%i", number);
dir = opendir(buf);
do {
entry = readdir(dir);
I'm assuming that the readdir on a failed opendir is the problem here,
although I haven't attached a debugger. The obvious fix is just to make
the do loop conditional on the opendir succeeding - I'll give it a shot
tonight and let you know.
Cheers,
-- System Information:
Debian Release: 5.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: sparc (sparc64)
Kernel: Linux 2.6.27.2-dsa-usii (SMP w/1 CPU core)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) (ignored: LC_ALL
set to en_US.utf8)
Shell: /bin/sh linked to /bin/bash
Versions of packages irqbalance depends on:
ii debconf [debconf-2.0] 1.5.24 Debian configuration management sy
ii libc6 2.7-18 GNU C Library: Shared libraries
ii libglib2.0-0 2.16.6-1 The GLib library of C routines
irqbalance recommends no packages.
irqbalance suggests no packages.
-- debconf information:
irqbalance/oneshot: ONESHOT
irqbalance/enable: ENABLE
--- End Message ---
--- Begin Message ---
Source: irqbalance
Source-Version: 0.55-2.4lenny1
We believe that the bug you reported is fixed in the latest version of
irqbalance, which is due to be installed in the Debian FTP archive:
irqbalance_0.55-2.4lenny1.diff.gz
to pool/main/i/irqbalance/irqbalance_0.55-2.4lenny1.diff.gz
irqbalance_0.55-2.4lenny1.dsc
to pool/main/i/irqbalance/irqbalance_0.55-2.4lenny1.dsc
irqbalance_0.55-2.4lenny1_sparc.deb
to pool/main/i/irqbalance/irqbalance_0.55-2.4lenny1_sparc.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Stephen Gran <[email protected]> (supplier of updated irqbalance package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Sat, 07 Mar 2009 12:08:57 +0000
Source: irqbalance
Binary: irqbalance
Architecture: source sparc
Version: 0.55-2.4lenny1
Distribution: stable-proposed-updates
Urgency: low
Maintainer: Kyle McMartin <[email protected]>
Changed-By: Stephen Gran <[email protected]>
Description:
irqbalance - Daemon to balance interrupts for SMP systems
Closes: 517183
Changes:
irqbalance (0.55-2.4lenny1) stable-proposed-updates; urgency=low
.
* Non-maintainer upload.
* On at least sparc, the kernel presents the timer as IRQ 0, but does not
provide a /proc/irq/0 for irqbalance to manage. Ignore IRQs that do not
have a /proc/irq/<n> entry, since we can't manage them, instead of
ignoring the opendir failure and attempting to carry on. (closes: #517183)
Checksums-Sha1:
bb56378d51362047e3f589b8d2e45ee657650e98 1033 irqbalance_0.55-2.4lenny1.dsc
f4d19b402003db86cb1a44f76d8c48fb0113e74c 11052
irqbalance_0.55-2.4lenny1.diff.gz
8748a8ec46cc6807865c87363e7f706a56130163 20392
irqbalance_0.55-2.4lenny1_sparc.deb
Checksums-Sha256:
62f0620ce594ff255b0641bbde3b39f86a0267d713b77ef8ecb0df0f47fb1ab7 1033
irqbalance_0.55-2.4lenny1.dsc
1d54f1fc78b788f673d3454d65b02096427850afd39b75755cce264ba38ccf0e 11052
irqbalance_0.55-2.4lenny1.diff.gz
058eafaedfe2a2b1956bc77cdbb8c4a246b3a23bd315323baffa35ee5bf5db04 20392
irqbalance_0.55-2.4lenny1_sparc.deb
Files:
7db6345acffc9227a94258c33351c3bc 1033 utils extra irqbalance_0.55-2.4lenny1.dsc
c7be956134b59ad7882cd4c91d48b59f 11052 utils extra
irqbalance_0.55-2.4lenny1.diff.gz
db842d25b7e44ad1e24407fc3d0dd08e 20392 utils extra
irqbalance_0.55-2.4lenny1_sparc.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFJzjsSSYIMHOpZA44RAiZjAJ9u55GpNBp7jHCemOs7vOdsV+LEMgCgzi8D
3N4qbeTqnmoOUGehXNX+acY=
=Vdcz
-----END PGP SIGNATURE-----
--- End Message ---