Your message dated Fri, 25 Nov 2005 14:02:07 -0800 with message-id <[EMAIL PROTECTED]> and subject line Bug#328432: fixed in laptop-mode-tools 1.11-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; 15 Sep 2005 08:42:00 +0000 >From SRS0=w/[EMAIL PROTECTED] Thu Sep 15 01:42:00 2005 Return-path: <SRS0=w/[EMAIL PROTECTED]> Received: from moutng.kundenserver.de [212.227.126.186] by spohr.debian.org with esmtp (Exim 3.36 1 (Debian)) id 1EFpJf-0001mM-00; Thu, 15 Sep 2005 01:41:59 -0700 Received: from p549421A4.dip0.t-ipconnect.de [84.148.33.164] (helo=localhost.localdomain) by mrelayeu.kundenserver.de with ESMTP (Nemesis), id 0ML29c-1EFpJc2ixz-0006iq; Thu, 15 Sep 2005 10:41:56 +0200 Content-Type: multipart/mixed; boundary="===============4135353524594533154==" MIME-Version: 1.0 From: Thomas Halva Labella <[EMAIL PROTECTED]> To: Debian Bug Tracking System <[EMAIL PROTECTED]> Subject: laptop-mode-tools: '/etc/init.d/laptop_mode' status gives 'BLKRAGET: Inappropriate ioctl for device' X-Mailer: reportbug 3.17 Date: Thu, 15 Sep 2005 10:40:19 +0200 Message-ID: <[EMAIL PROTECTED]> X-Provags-ID: kundenserver.de [EMAIL PROTECTED] login:f439fce3eaa713a8ef704d01a8649469 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-Level: 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 This is a multi-part MIME message sent by reportbug. --===============4135353524594533154== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline Package: laptop-mode-tools Version: 1.10-1 Severity: normal Tags: patch When I run '/etc/init.d/laptop-mode', I obtain: .... Readahead states: /dev/hda3: 128 kB BLKRAGET: Inappropriate ioctl for device /usr/sbin/laptop_mode: line 261: / 2: syntax error: operand expected (error token is "/ 2") .... I am running Debiain on an amd64 architecture. I have also a chroot with Debian i386. My /etc/mtab contains: /dev/hda3 / reiserfs rw,notail 0 0 proc /proc proc rw 0 0 sysfs /sys sysfs rw 0 0 devpts /dev/pts devpts rw,gid=5,mode=620 0 0 tmpfs /dev/shm tmpfs rw 0 0 usbfs /proc/bus/usb usbfs rw 0 0 /home /var/chroot/ia32/home none rw,bind 0 0 /tmp /var/chroot/ia32/tmp none rw,bind 0 0 proc /var/chroot/ia32/proc proc rw 0 0 tmpfs /dev tmpfs rw,size=10M,mode=0755 0 0 /dev/hda1 /mnt/WindowsXP ntfs ro,noexec,nosuid,nodev,umask=0222,user=username 0 0 The problems is due to the bind mount of my directory /home into /var/chroot/ia32/home. /usr/sbin/laptop_mode checks only if /home exists (line 260 - 'if [ -e $DEV]'), not if it is a block device (if [ -b $DEV ]). In fact, 'blockdev--getra /home' returns: BLKRAGET: Inappropriate ioctl for device Halva -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (800, 'testing'), (500, 'proposed-updates'), (400, 'unstable'), (200, 'stable'), (1, 'sarge-unsupported') Architecture: amd64 (x86_64) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.13.1-amd64 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 Versions of packages laptop-mode-tools recommends: ii acpid 1.0.4-2 Utilities for using ACPI power man ii hdparm 6.1-2 tune hard disk parameters for high -- no debconf information --===============4135353524594533154== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="laptop_mode.patch" --- laptop_mode.orig 2005-09-15 10:25:21.000000000 +0200 +++ laptop_mode 2005-09-15 10:25:00.000000000 +0200 @@ -257,7 +257,7 @@ echo echo Readahead states: cat /etc/mtab | while read DEV MP FST OPTS DUMP PASS ; do - if [ -e $DEV ] ; then + if [ -b $DEV ] ; then echo " $DEV: $((`blockdev --getra $DEV` / 2)) kB" fi done --===============4135353524594533154==-- --------------------------------------- Received: (at 328432-close) by bugs.debian.org; 25 Nov 2005 22:11:14 +0000 >From [EMAIL PROTECTED] Fri Nov 25 14:11:14 2005 Return-path: <[EMAIL PROTECTED]> Received: from katie by spohr.debian.org with local (Exim 4.50) id 1Efldv-0001Yz-UK; Fri, 25 Nov 2005 14:02:07 -0800 From: Bart Samwel <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] X-Katie: $Revision: 1.60 $ Subject: Bug#328432: fixed in laptop-mode-tools 1.11-1 Message-Id: <[EMAIL PROTECTED]> Sender: Archive Administrator <[EMAIL PROTECTED]> Date: Fri, 25 Nov 2005 14:02:07 -0800 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-Level: 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 Source: laptop-mode-tools Source-Version: 1.11-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.11-1.diff.gz to pool/main/l/laptop-mode-tools/laptop-mode-tools_1.11-1.diff.gz laptop-mode-tools_1.11-1.dsc to pool/main/l/laptop-mode-tools/laptop-mode-tools_1.11-1.dsc laptop-mode-tools_1.11-1_all.deb to pool/main/l/laptop-mode-tools/laptop-mode-tools_1.11-1_all.deb laptop-mode-tools_1.11.orig.tar.gz to pool/main/l/laptop-mode-tools/laptop-mode-tools_1.11.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: Sat, 29 Oct 2005 16:40:00 +0200 Source: laptop-mode-tools Binary: laptop-mode-tools Architecture: source all Version: 1.11-1 Distribution: unstable Urgency: low Maintainer: Bart Samwel <[EMAIL PROTECTED]> Changed-By: Bart Samwel <[EMAIL PROTECTED]> Description: laptop-mode-tools - Userland scripts to control "laptop mode" Closes: 323623 324137 324457 325186 326433 327028 328028 328118 328432 335492 336294 Changes: laptop-mode-tools (1.11-1) unstable; urgency=low . * New upstream version 1.11. * (Closes: #328118) Unset VERBOSE before starting. * (Closes: #328432) Check if block device is block device before treating it as such. * (Closes: #335492, #326433) Check if /var/run/laptop-mode-nolm-mount-opts exists before using it. * (Closes: #325186) Change default for CONTROL_HD_POWERMGMT to 0, because it causes system crashes on some hardware. * (Closes: #328028) Check if hdparm is installed before using it. * (Closes: #324457) Fit config file in 80-character screen. * (Closes: #327028) Check whether requested state matches old state, and do nothing if so. * (Closes: #336294) Send error output of hdparm to /dev/null. * (Closes: #323623) CPU frequency governor and minimum frequency control. * (Closes: #324137) Add lm-profiler, accompanying config file lm-profiler.conf, and several subdirectories to /etc/laptop-mode for controlling daemons. Files: c14ede2e436d19d2ecfccedfbfbc596a 594 utils optional laptop-mode-tools_1.11-1.dsc f5c882e2ba1953b80abd1d7cd38c3a51 51501 utils optional laptop-mode-tools_1.11.orig.tar.gz 388990af6d05ec40b481538d7a2db71f 4676 utils optional laptop-mode-tools_1.11-1.diff.gz cc8f22bdd5df5310eb859121b1477841 52690 utils optional laptop-mode-tools_1.11-1_all.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFDh4XjKb5dImj9VJ8RAjoBAJ0bkAQmPZVHJeDnz7NDxzgD5ESZigCghK4t +FyN4pgjHLbL5EaKbpfIo2g= =+PIc -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]