Your message dated Sun, 08 May 2005 19:17:04 -0400
with message-id <[EMAIL PROTECTED]>
and subject line Bug#308230: fixed in noflushd 2.7.5-1
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 8 May 2005 21:39:15 +0000
>From [EMAIL PROTECTED] Sun May 08 14:39:15 2005
Return-path: <[EMAIL PROTECTED]>
Received: from laximos.fiasko.dyndns.org (fiasko.dyndns.org) [213.133.123.125]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1DUtUY-0002b1-00; Sun, 08 May 2005 14:39:15 -0700
Received: from localhost ([127.0.0.1])
by laximos.fiasko.dyndns.org with esmtp (Exim 4.50)
id 1DUtUX-0001ZI-A9
for [EMAIL PROTECTED]; Sun, 08 May 2005 23:39:13 +0200
Received: from laximos.fiasko.dyndns.org ([127.0.0.1])
by localhost (laximos.fiasko.dyndns.org [127.0.0.1]) (amavisd-new, port
10024)
with ESMTP id 00398-08 for <[EMAIL PROTECTED]>;
Sun, 8 May 2005 23:39:12 +0200 (CEST)
Received: from uucp by laximos.fiasko.dyndns.org with BSMTP (Exim 4.50)
id 1DUtUW-000809-Oq
for [EMAIL PROTECTED]; Sun, 08 May 2005 23:39:12 +0200
Received: from kelvin.lan.fiasko.dyndns.org ([10.0.0.205]
helo=fiasko.dyndns.org)
by tarantoga.lan.fiasko.dyndns.org with smtp (Exim 4.32)
id 1DUtUJ-0004s8-0c
for [EMAIL PROTECTED]; Sun, 08 May 2005 23:38:59 +0200
Received: (nullmailer pid 5788 invoked by uid 1000);
Sun, 08 May 2005 21:38:57 -0000
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Thomas Liske <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: noflushd: not working with kernel software RAID support
X-Mailer: reportbug 3.8
Date: Sun, 08 May 2005 23:38:56 +0200
Message-Id: <[EMAIL PROTECTED]>
X-Virus-Scanned: at fiasko.dyndns.org
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE
autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level:
Package: noflushd
Version: 2.7.4-1
Severity: important
Tags: patch
Hi,
when running noflushd on a kernel with software RAID support it exits with a
BUG:
kelvin:~# noflushd -v -d -n 5 /dev/hda
Kernel talks oldstyle dev
Probing for valid blkdev at /dev/hda
Detected oldstyle dev at /dev/hda
Kernel talks oldstyle dev
Added entry for /dev/hda (3, 0)
Added disk /dev/hda, current timeout 300, state 2
Controlling pdflush daemon
Kernel talks linux 2.5-style stat
pdflush stopped
Check interval 5
Allocated stat entry for (1, 0)
[...]
Allocated stat entry for (3, 0)
BUG at disk_stat.c line 517: No entry for (9,0)
pdflush restarted with interval 500.
Speicherzugriffsfehler
kelvin:~#
The bug is triggered since the stat file reports the device md0 (in
update_io_25) and the
called alloc_entry_new function returns always NULL for virtual (MD and LVM)
devices, so
the BUG is triggered.
The following small patch adds a check for virtual block devices before
triggering a BUG:
=====================================[CUT
HERE]=====================================
diff -rNu noflushd-2.7.4/src/disk_stat.c noflushd-2.7.4.mdfix/src/disk_stat.c
--- noflushd-2.7.4/src/disk_stat.c 2004-08-08 17:06:29.000000000 +0200
+++ noflushd-2.7.4.mdfix/src/disk_stat.c 2005-05-08 23:30:20.248325040
+0200
@@ -400,7 +400,8 @@
di->newio.reads = rblk;
di->newio.writes = wblk;
} else {
- BUG("No entry for (%d,%d)", major, index);
+ if (major != MD_MAJOR && major != LVM_BLK_MAJOR)
+ BUG("No entry for (%d,%d)", major,
index);
}
}
@@ -514,7 +515,8 @@
di->newio.reads = rblk;
di->newio.writes = wblk;
} else {
- BUG("No entry for (%d,%d)", major, minor);
+ if (major != MD_MAJOR && major != LVM_BLK_MAJOR)
+ BUG("No entry for (%d,%d)", major, minor);
}
}
}
=====================================[CUT
HERE]=====================================
Thomas
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.11-fiasko-ide-pentium-iii
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
Versions of packages noflushd depends on:
ii debconf [debconf-2.0] 1.4.30.13 Debian configuration management sy
ii ed 0.2-20 The classic unix line editor
ii libc6 2.3.2.ds1-21 GNU C Library: Shared libraries an
-- debconf information:
noflushd/expert: false
* noflushd/disks: /dev/hda
* noflushd/timeout: 5
noflushd/params:
---------------------------------------
Received: (at 308230-close) by bugs.debian.org; 8 May 2005 23:22:14 +0000
>From [EMAIL PROTECTED] Sun May 08 16:22:14 2005
Return-path: <[EMAIL PROTECTED]>
Received: from newraff.debian.org [208.185.25.31] (mail)
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1DUv6E-0000fv-00; Sun, 08 May 2005 16:22:14 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
id 1DUv1E-0005Vj-00; Sun, 08 May 2005 19:17:04 -0400
From: Daniel Kobras <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.55 $
Subject: Bug#308230: fixed in noflushd 2.7.5-1
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Sun, 08 May 2005 19:17:04 -0400
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER
autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level:
Source: noflushd
Source-Version: 2.7.5-1
We believe that the bug you reported is fixed in the latest version of
noflushd, which is due to be installed in the Debian FTP archive:
noflushd_2.7.5-1.diff.gz
to pool/main/n/noflushd/noflushd_2.7.5-1.diff.gz
noflushd_2.7.5-1.dsc
to pool/main/n/noflushd/noflushd_2.7.5-1.dsc
noflushd_2.7.5-1_i386.deb
to pool/main/n/noflushd/noflushd_2.7.5-1_i386.deb
noflushd_2.7.5.orig.tar.gz
to pool/main/n/noflushd/noflushd_2.7.5.orig.tar.gz
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.
Daniel Kobras <[EMAIL PROTECTED]> (supplier of updated noflushd 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.7
Date: Mon, 9 May 2005 00:22:53 +0200
Source: noflushd
Binary: noflushd
Architecture: source i386
Version: 2.7.5-1
Distribution: unstable
Urgency: medium
Maintainer: Daniel Kobras <[EMAIL PROTECTED]>
Changed-By: Daniel Kobras <[EMAIL PROTECTED]>
Description:
noflushd - allow idle hard disks to spin down
Closes: 308230
Changes:
noflushd (2.7.5-1) unstable; urgency=medium
.
* New upstream release.
- Do not fail with raid devices on 2.6 kernels. Closes: #308230
- Do not mess up startup messages when monitorring interrupts.
Files:
33c8e88f271425d41a7ba4cc0b370680 573 utils optional noflushd_2.7.5-1.dsc
a1712430588650bb8f99c5b5f2ce2511 149854 utils optional
noflushd_2.7.5.orig.tar.gz
14dad30ed6e59874b474ea305b08c916 20 utils optional noflushd_2.7.5-1.diff.gz
aed34dcadd26c147ccfe9ada3b159329 58508 utils optional noflushd_2.7.5-1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
iD8DBQFCfpkfpOKIA4m/fisRAoFAAJ460QGO7A9dD4RoulXjMgbW9stnNgCcDFGO
Bmz+NjjF3W+GxXdxSe6uJEM=
=zbR3
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]