Bug#724720: laptop-mode-tools: syslog spammed by laptop-mode-tools

2013-09-27 Thread Ritesh Raj Sarraf
On Friday 27 September 2013 10:44 AM, kittyofthebox wrote:
 As you can see just from this short snip of the syslog there is a lot of 
 messages.
 My system is not changing from battery to AC or vice versa it is just on AC. 
 This 
 seems overtly verbose and I've ended up turning off syslog to stop these: 
 LOG_TO_SYSLOG=0.

It shouldn't be that frequent. Perhaps there's something else
misbehaving (like the kernel generating too many events).
Also, you see the message ONAC, only if you have 
ENABLE_LAPTOP_MODE_ON_AC=1, which in your case in disabled.

So this issue must be elsewhere. Please look into the complete syslog.
There must be other tools reporting mis-behavior. I do not see this a
Laptop Mode Tools problem yet.

-- 
Ritesh Raj Sarraf
RESEARCHUT - http://www.researchut.com
Necessity is the mother of invention.




signature.asc
Description: OpenPGP digital signature


Bug#724720: laptop-mode-tools: syslog spammed by laptop-mode-tools

2013-09-27 Thread Kitty Box
Hi,

I've looked into the complete syslog and I cannot see any other messages
from laptop-mode-tools besides the ones I have posted. I've checked my
other log files and found no such spam in them or any extra events. Any
advice on finding what might be the cause is appreciated so far I can find
no reason for it.

Kitty


On Fri, Sep 27, 2013 at 4:14 PM, Ritesh Raj Sarraf r...@researchut.comwrote:

 On Friday 27 September 2013 10:44 AM, kittyofthebox wrote:
  As you can see just from this short snip of the syslog there is a lot of
 messages.
  My system is not changing from battery to AC or vice versa it is just on
 AC. This
  seems overtly verbose and I've ended up turning off syslog to stop these:
  LOG_TO_SYSLOG=0.

 It shouldn't be that frequent. Perhaps there's something else
 misbehaving (like the kernel generating too many events).
 Also, you see the message ONAC, only if you have
 ENABLE_LAPTOP_MODE_ON_AC=1, which in your case in disabled.

 So this issue must be elsewhere. Please look into the complete syslog.
 There must be other tools reporting mis-behavior. I do not see this a
 Laptop Mode Tools problem yet.

 --
 Ritesh Raj Sarraf
 RESEARCHUT - http://www.researchut.com
 Necessity is the mother of invention.





Bug#724720: laptop-mode-tools: syslog spammed by laptop-mode-tools

2013-09-27 Thread Ritesh Raj Sarraf
On Friday 27 September 2013 03:46 PM, Kitty Box wrote:
 Hi,

 I've looked into the complete syslog and I cannot see any other messages
 from laptop-mode-tools besides the ones I have posted. I've checked my
 other log files and found no such spam in them or any extra events. Any
 advice on finding what might be the cause is appreciated so far I can
 find
 no reason for it.

No. Laptop Mode Tools will not log anything else. What I meant was if
you are seeing other odd messages from other services, or even the kernel?

-- 
Ritesh Raj Sarraf
RESEARCHUT - http://www.researchut.com
Necessity is the mother of invention.




signature.asc
Description: OpenPGP digital signature


Bug#724720: laptop-mode-tools: syslog spammed by laptop-mode-tools

2013-09-27 Thread Kitty Box
Hi,

Posting the last 10 lines from my log files (sanitised):

$ sudo tail -n 10 daemon.log
[sudo] password for user:
Sep 27 23:15:08 host dhclient: bound to 000.00.0.00 -- renewal in 685
seconds.
Sep 27 23:15:08 host NetworkManager[4546]: info (wlan0): DHCPv4 state
changed renew - renew
Sep 27 23:15:08 host NetworkManager[4546]: info   address 000.00.0.00
Sep 27 23:15:08 host NetworkManager[4546]: info   prefix 16 (255.255.0.0)
Sep 27 23:15:08 host NetworkManager[4546]: info   gateway 000.00.0.000
Sep 27 23:15:08 host NetworkManager[4546]: info   nameserver
'000.00.0.000'
Sep 27 23:15:08 host NetworkManager[4546]: info   domain name 'home'
Sep 27 23:15:08 host dbus[4432]: [system] Activating service
name='org.freedesktop.nm_dispatcher' (using servicehelper)
Sep 27 23:15:08 host dbus[4432]: [system] Successfully activated service
'org.freedesktop.nm_dispatcher'
Sep 27 23:15:27 host wpa_supplicant[4589]: wlan0: WPA: Group rekeying
completed with 00:00:00:00:00:00 [GTK=CCMP]



Fri Sep 27 /var/log
$ sudo tail -n 10 dmesg
[   16.356263] vboxdrv: Successfully loaded version 4.2.16_Debian
(interface 0x001a0005).
[   17.300414] vboxpci: IOMMU not found (not registered)
[   17.578438]  sdc: sdc1
[   17.609883] sd 8:0:0:0: [sdc] No Caching mode page present
[   17.650122] sd 8:0:0:0: [sdc] Assuming drive cache: write through
[   17.690586] sd 8:0:0:0: [sdc] Attached SCSI disk
[   25.674162] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   25.838447] r8169 :06:00.0: firmware: agent loaded
rtl_nic/rtl8168d-2.fw into memory
[   25.894197] r8169 :06:00.0 eth0: link down
[   25.894281] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready



Fri Sep 27 /var/log
$ sudo tail -n 10 kern.log
Sep 27 04:15:19 host kernel: [764788.917036] EXT4-fs (sda1): re-mounted.
Opts: errors=remount-ro,data=ordered,commit=600
Sep 27 04:15:19 host kernel: [764789.360705] EXT4-fs (dm-1): re-mounted.
Opts: data=ordered,commit=600
Sep 27 04:15:41 host kernel: [764810.508452] NMI watchdog: enabled on all
CPUs, permanently consumes one hw-PMU counter.
Sep 27 04:15:41 host kernel: [764810.809723] EXT4-fs (sda1): re-mounted.
Opts: errors=remount-ro,data=ordered,commit=0
Sep 27 04:15:41 host kernel: [764810.845570] EXT4-fs (dm-1): re-mounted.
Opts: data=ordered,commit=0
Sep 27 16:28:34 host kernel: [808765.095283] delay: estimated 133, actual 44
Sep 27 17:24:31 host kernel: [812121.185832] delay: estimated 134, actual 45
Sep 27 18:09:14 host kernel: [814803.217873] delay: estimated 133, actual 44
Sep 27 19:22:09 host kernel: [819175.976385] delay: estimated 133, actual 44
Sep 27 23:07:50 host kernel: [832711.367702] delay: estimated 89, actual 0
Fri Sep 27 /var/log



$ sudo tail -n 10 pm-powersave.log
/usr/lib/pm-utils/power.d/usb_bluetooth false: success.
Running hook /usr/lib/pm-utils/power.d/wireless false:
Turning powersave for wlan0 off...Error for wireless request Set Power
Management (8B2C) :
SET failed on device wlan0 ; Operation not supported.
Failed.

/usr/lib/pm-utils/power.d/wireless false: success.
Running hook /usr/lib/pm-utils/power.d/xfs_buffer false:

/usr/lib/pm-utils/power.d/xfs_buffer false: not applicable.



Fri Sep 27 /var/log
$ sudo tail -n 10 pm-suspend.log



Fri Sep 27 /var/log
$ sudo tail -n 10 syslog
Sep 27 23:15:08 host NetworkManager[4546]: info (wlan0): DHCPv4 state
changed renew - renew
Sep 27 23:15:08 host NetworkManager[4546]: info   address 000.00.0.00
Sep 27 23:15:08 host NetworkManager[4546]: info   prefix 16 (255.255.0.0)
Sep 27 23:15:08 host NetworkManager[4546]: info   gateway 000.00.0.000
Sep 27 23:15:08 host NetworkManager[4546]: info   nameserver
'000.20.0.000'
Sep 27 23:15:08 host NetworkManager[4546]: info   domain name 'home'
Sep 27 23:15:08 host dbus[4432]: [system] Activating service
name='org.freedesktop.nm_dispatcher' (using servicehelper)
Sep 27 23:15:08 host dbus[4432]: [system] Successfully activated service
'org.freedesktop.nm_dispatcher'
Sep 27 23:15:27 host wpa_supplicant[4589]: wlan0: WPA: Group rekeying
completed with 00:00:00:00:00:00 [GTK=CCMP]
Sep 27 23:17:01 host /USR/SBIN/CRON[2527]: (root) CMD (   cd /  run-parts
--report /etc/cron.hourly)

I don't really see anything here that could be causing a problem.

Kitty


On Fri, Sep 27, 2013 at 10:35 PM, Ritesh Raj Sarraf r...@researchut.comwrote:

 On Friday 27 September 2013 03:46 PM, Kitty Box wrote:
  Hi,
 
  I've looked into the complete syslog and I cannot see any other messages
  from laptop-mode-tools besides the ones I have posted. I've checked my
  other log files and found no such spam in them or any extra events. Any
  advice on finding what might be the cause is appreciated so far I can
  find
  no reason for it.

 No. Laptop Mode Tools will not log anything else. What I meant was if
 you are seeing other odd messages from other services, or even the kernel?

 --
 Ritesh Raj Sarraf
 RESEARCHUT - http://www.researchut.com
 Necessity is the mother of invention.





Bug#724720: laptop-mode-tools: syslog spammed by laptop-mode-tools

2013-09-26 Thread kittyofthebox
Package: laptop-mode-tools
Version: 1.64-1
Severity: normal

Hi,

I've found for awhile that laptop-mode-tools seems to spam my syslog:

Sep 27 14:57:13 host laptop-mode: Laptop mode 
Sep 27 14:57:13 host laptop-mode: enabled, not active [unchanged]
Sep 27 14:57:13 host laptop-mode: Laptop mode 
Sep 27 14:57:13 host laptop-mode: enabled, not active [unchanged]
Sep 27 14:57:29 host laptop-mode: Laptop mode 
Sep 27 14:57:29 host laptop-mode: enabled, not active [unchanged]
Sep 27 14:57:29 host laptop-mode: Laptop mode 
Sep 27 14:57:29 host laptop-mode: enabled, not active [unchanged]
Sep 27 14:57:45 host laptop-mode: Laptop mode 
Sep 27 14:57:45 host laptop-mode: enabled, not active [unchanged]
Sep 27 14:57:45 host laptop-mode: Laptop mode 
Sep 27 14:57:45 host laptop-mode: enabled, not active [unchanged]
Sep 27 14:58:01 host laptop-mode: Laptop mode 
Sep 27 14:58:01 host laptop-mode: enabled, not active [unchanged]
Sep 27 14:58:01 host laptop-mode: Laptop mode 
Sep 27 14:58:01 host laptop-mode: enabled, not active [unchanged]
Sep 27 14:58:17 host laptop-mode: Laptop mode 
Sep 27 14:58:17 host laptop-mode: enabled, not active [unchanged]
Sep 27 14:58:17 host laptop-mode: Laptop mode 
Sep 27 14:58:17 host laptop-mode: enabled, not active [unchanged]

As you can see just from this short snip of the syslog there is a lot of 
messages.
My system is not changing from battery to AC or vice versa it is just on AC. 
This 
seems overtly verbose and I've ended up turning off syslog to stop these: 
LOG_TO_SYSLOG=0.

Kitty

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (700, 'testing'), (600, 'stable'), (400, 'oldstable'), (300, 
'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.9-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages laptop-mode-tools depends on:
ii  lsb-base4.1+Debian12
ii  psmisc  22.20-1
ii  util-linux  2.20.1-5.5

Versions of packages laptop-mode-tools recommends:
ii  ethtool 1:3.9-1
ii  hdparm  9.43-1
ii  net-tools   1.60-25
ii  python-qt4  4.10.2-2
ii  sdparm  1.07-1
ii  udev175-7.2
ii  wireless-tools  30~pre9-8

Versions of packages laptop-mode-tools suggests:
ii  acpid   1:2.0.18-1
pn  hal none
ii  python  2.7.5-4

-- Configuration Files:
/etc/laptop-mode/conf.d/intel-sata-powermgmt.conf changed:
DEBUG=0
CONTROL_INTEL_SATA_POWER=auto
BATT_ACTIVATE_SATA_POWER=0
LM_AC_ACTIVATE_SATA_POWER=0
NOLM_AC_ACTIVATE_SATA_POWER=0

/etc/laptop-mode/conf.d/usb-autosuspend.conf changed:
DEBUG=0
CONTROL_USB_AUTOSUSPEND=auto
AUTOSUSPEND_USE_WHITELIST=0
AUTOSUSPEND_USBID_BLACKLIST=
AUTOSUSPEND_USBTYPE_BLACKLIST=usbhid usb-storage
AUTOSUSPEND_USBID_WHITELIST=
AUTOSUSPEND_USBTYPE_WHITELIST=
BATT_SUSPEND_USB=1
LM_AC_SUSPEND_USB=0
NOLM_AC_SUSPEND_USB=0
AUTOSUSPEND_TIMEOUT=2

/etc/laptop-mode/conf.d/wireless-power.conf changed:
DEBUG=0
CONTROL_WIRELESS_POWER_SAVING=auto
WIRELESS_AC_POWER_SAVING=0
WIRELESS_BATT_POWER_SAVING=0

/etc/laptop-mode/laptop-mode.conf changed:
ENABLE_LAPTOP_MODE_TOOLS=1
VERBOSE_OUTPUT=0
LOG_TO_SYSLOG=0
DEBUG=0
ENABLE_LAPTOP_MODE_ON_BATTERY=1
ENABLE_LAPTOP_MODE_ON_AC=0
ENABLE_LAPTOP_MODE_WHEN_LID_CLOSED=0
ENABLE_AUTO_MODULES=1
MINIMUM_BATTERY_CHARGE_PERCENT=3
DISABLE_LAPTOP_MODE_ON_CRITICAL_BATTERY_LEVEL=1
DISABLE_BATTERY_ALARM_CHECK=0
HD=/dev/[hs]d[a]
PARTITIONS=auto /dev/mapper/*
ASSUME_SCSI_IS_SATA=1
LM_BATT_MAX_LOST_WORK_SECONDS=600
LM_AC_MAX_LOST_WORK_SECONDS=60
CONTROL_READAHEAD=1
LM_READAHEAD=3072
NOLM_READAHEAD=128
CONTROL_NOATIME=0
USE_RELATIME=1
CONTROL_HD_IDLE_TIMEOUT=1
LM_AC_HD_IDLE_TIMEOUT_SECONDS=7200
LM_BATT_HD_IDLE_TIMEOUT_SECONDS=20
NOLM_HD_IDLE_TIMEOUT_SECONDS=7200
CONTROL_HD_POWERMGMT=auto
BATT_HD_POWERMGMT=1
LM_AC_HD_POWERMGMT=254
NOLM_AC_HD_POWERMGMT=254
CONTROL_HD_WRITECACHE=0
NOLM_AC_HD_WRITECACHE=1
NOLM_BATT_HD_WRITECACHE=0
LM_HD_WRITECACHE=0
CONTROL_MOUNT_OPTIONS=1
LM_DIRTY_RATIO=60
NOLM_DIRTY_RATIO=40
LM_DIRTY_BACKGROUND_RATIO=1
NOLM_DIRTY_BACKGROUND_RATIO=10
DEF_UPDATE=5
DEF_XFS_AGE_BUFFER=15
DEF_XFS_SYNC_INTERVAL=30
DEF_XFS_BUFD_INTERVAL=1
DEF_MAX_AGE=30
XFS_HZ=100
LM_SECONDS_BEFORE_SYNC=2


-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org