Your message dated Mon, 19 Nov 2007 10:47:02 +0000 with message-id <[EMAIL PROTECTED]> and subject line Bug#355492: fixed in laptop-mode-tools 1.35-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)
--- Begin Message ---Package: laptop-mode-tools Version: 1.05-1 Severity: normal laptop_mode implements the READAHEAD setting by running blockdev with the --setra option for each block-device underlying a mounted file-system. This in turn appears to use the BLKRASET ioctl. In Linux 2.6 this ioctl this has the desired effect. In Linux 2.4 it appears to set the number of blocks to read-ahead on the *device* as opposed to within a *file*, and the maximum value of this number is 255. As a result the invocation of blockdev will fail on Linux 2.4 for any usefully large value of READAHEAD, and will not in any case have the desired affect for fragmented files. Unhelpfully, laptop_mode redirects its error message to /dev/null so this is not reported anywhere. laptop_mode should instead use the BLKFRASET ioctl, which is the same as BLKRASET on 2.6 and also works properly on 2.4 for IDE devices (but unfortunately no others). If there is no command that exposes this ioctl, laptop_mode could instead write this setting through the /proc filesystem: # Find the major device name and test whether it's IDE. read major minor < <(stat -c "0x%t 0x%T" "$DEV") major_name="$(awk "BEGIN { block=0 }; /^Block / { block=1 }; /^ *$(($major))/ { if (block) print \$2 }" /proc/devices)" if [ "x${major_name#ide}" != "x$major_name" ]; then # Find the device's settings file. if [ $(($minor)) -lt 64 ]; then drive_letters=acegikmoqsuwy else drive_letters=bdfhjlnprtvxz fi drive_settings=$(echo /proc/ide/$major_name/hd[$drive_letters]/settings) if [ -f "$drive_settings" ]; then echo file_readahead:$READAHEAD >$drive_settings else : # TODO: log error fi else : # TODO: log error fi (This obviously only works for IDE devices, so should be used only under 2.4 where there is no better alternative.) -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.4.27-2-686 Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Versions of packages laptop-mode-tools depends on: ii powermgmt-base 1.22 Common utils and configs for power -- no debconf information
--- End Message ---
--- Begin Message ---Source: laptop-mode-tools Source-Version: 1.35-1 We believe that the bug you reported is fixed in the latest version of laptop-mode-tools, which is due to be installed in the Debian FTP archive: laptop-mode-tools_1.35-1.diff.gz to pool/main/l/laptop-mode-tools/laptop-mode-tools_1.35-1.diff.gz laptop-mode-tools_1.35-1.dsc to pool/main/l/laptop-mode-tools/laptop-mode-tools_1.35-1.dsc laptop-mode-tools_1.35-1_all.deb to pool/main/l/laptop-mode-tools/laptop-mode-tools_1.35-1_all.deb laptop-mode-tools_1.35.orig.tar.gz to pool/main/l/laptop-mode-tools/laptop-mode-tools_1.35.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. Bart Samwel <[EMAIL PROTECTED]> (supplier of updated laptop-mode-tools 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: Sun, 18 Nov 2007 16:33:00 +0200 Source: laptop-mode-tools Binary: laptop-mode-tools Architecture: source all Version: 1.35-1 Distribution: unstable Urgency: low Maintainer: Bart Samwel <[EMAIL PROTECTED]> Changed-By: Bart Samwel <[EMAIL PROTECTED]> Description: laptop-mode-tools - Scripts to spin down hard drive and save power Closes: 355492 427292 428162 440115 442321 445455 448101 450431 451589 Changes: laptop-mode-tools (1.35-1) unstable; urgency=low . * New upstream version 1.35. * Listen to more ACPI events for AC adapters. Closes: #448101. * Better error messages when laptop_mode status is called by a non-root user. Closes: #428162. * Clean up temp file from init script, and properly quote messages so that they are displayed in full. Closes: #442321, 427292. * Set READAHEAD setting correctly on Linux 2.4. Closes: #355492. * Set HD power management default values to 254 instead of 255. Closes: #451589. * Update homepage location in debian/copyright. Closes: #445455. * Fix bug in manual page for lm-profiler.conf. Closes: #450431. * Don't adjust LCD brightness to the same value as before. Closes: #440115. * Modules moved to /usr/share/laptop-mode-tools/modules to improve FHS compliance. Files: 955b1b094e9fc614bff59d70e406669b 592 utils optional laptop-mode-tools_1.35-1.dsc e89dd846e4e88d117fc666842c109221 67628 utils optional laptop-mode-tools_1.35.orig.tar.gz 56f5e720507913c6d3e0c7ad15ddb800 9422 utils optional laptop-mode-tools_1.35-1.diff.gz 5c8b34e896d85e857d0e15d3c994f025 85292 utils optional laptop-mode-tools_1.35-1_all.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHQWjzKb5dImj9VJ8RAoWjAJ4hOUgVK3NyTG0rVGR6iJdN7AkJlACfem6k fgtv/e2u9QVxD25MgiHvjqw= =2Taq -----END PGP SIGNATURE-----
--- End Message ---

