Bug#514889: please unblock powermgmt-base (was Re: Bug#514889: On battery power, so skipping file system check when in AC power

2014-07-07 Thread Virgo Pärna
I have not used that computer for a at least 3 years. In the end, it
had developed motherboard problem also. Even if I dig it out, I am not
sure if it worth the effort. So I guess it could be closed up.

-- 
Virgo Pärna
virgo.pa...@mail.ee


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



Bug#514889: please unblock powermgmt-base (was Re: Bug#514889: On battery power, so skipping file system check when in AC power

2014-07-06 Thread Marco d'Itri
On Feb 14, Virgo Pärna virgo.pa...@mail.ee wrote:

   Ok, now I'm out of ideas. I modified /etc/init.d/checkroot.sh file to
Can you still reproduce this bug?

-- 
ciao,
Marco


signature.asc
Description: Digital signature


Bug#514889: please unblock powermgmt-base (was Re: Bug#514889: On battery power, so skipping file system check when in AC power

2009-02-14 Thread Virgo Pärna
Ok, now I'm out of ideas. I modified /etc/init.d/checkroot.sh file to
see, if ac module is loaded and what is the result of on_ac_power ;
echo $? and cat /sys/class/power_supply/ACAD/online. The power is
connected during the startup. Results are:
lsmod | grep ac shows, that ac module is loaded. But
on_ac_power ; echo $? returns 1
and
cat /sys/class/power_supply/ACAD/online returns 0
But when system is completely started, then
on_ac_power ; echo $? returns 0
and
cat /sys/class/power_supply/ACAD/online returns 1
And I am fresh out of ideas to check.

-- 
Virgo Pärna
virgo.pa...@mail.ee



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



Bug#514889: please unblock powermgmt-base (was Re: Bug#514889: On battery power, so skipping file system check when in AC power

2009-02-13 Thread Holger Levsen
Hi Virgo,

On Donnerstag, 12. Februar 2009, Virgo Pärna wrote:
  Please run on_ac_power ; echo $? - I expect the result is 255.
 0 when in AC power. 1 when in battery.

Thats correct.

  Then please also run cat /sys/class/power_supply/AC/online when on AC
  power and on battery. I assume the result is 1 and 0.

 cat: /sys/class/power_supply/AC/online: No such file or directory

 But there is cat /sys/class/power_supply/ACAD/online which is 1 when AC
 is connected and 0 when not.

Interesting. Yesterday powermgmt-base with support 
for /sys/class/power_supply/$something has migrated to lenny. 

If /sys/class/power_supply/ACAD/type contains the word Mains it should work 
for your ACAD case as well.

   When Googling around, I found the hints, that the problem may be caused
 by ac module being not loaded, when filesystem checks are done.

Hah. That might indeed be the cause for your problem. Did you build a minimal 
initramfs or didnt you change anything in that regard?

And, can you please upgrade your powermgmt-base package (to the new version in 
lenny) and reboot and see, if that fixes the problem? I kind of doubt it, but 
maybe /sys/class/power_supply is different then /proc/acpi...


regards,
Holger


signature.asc
Description: This is a digitally signed message part.


Bug#514889: please unblock powermgmt-base (was Re: Bug#514889: On battery power, so skipping file system check when in AC power

2009-02-13 Thread Virgo Pärna
Holger Levsen wrote:
 
 Interesting. Yesterday powermgmt-base with support 
 for /sys/class/power_supply/$something has migrated to lenny. 
 
 If /sys/class/power_supply/ACAD/type contains the word Mains it should work 
 for your ACAD case as well.


It does contain it.

 
 Hah. That might indeed be the cause for your problem. Did you build a minimal 
 initramfs or didnt you change anything in that regard?

Not that i know. I'm currently using 2.6.26-13 kernel package.
/etc/initramfs-tools/initramfs.conf has MODULES=most line and
/etc/initramfs-tools/modules is empty (except standard commented out
lines).

 
 And, can you please upgrade your powermgmt-base package (to the new version 
 in 
 lenny) and reboot and see, if that fixes the problem? I kind of doubt it, but 
 maybe /sys/class/power_supply is different then /proc/acpi...
 

I updated my installation, but it didn't change anything for this.
Message appears right after message about activating swap. Earlier
messages go past so fast, that I can't really read them.
I don't think, that the fact, that I am using jfs filesystem changes
anything about this?
I did post to gmane.linux.debian.users to check, if anyone else has
also this message.

-- 
Virgo Pärna
virgo.pa...@mail.ee



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



Bug#514889: please unblock powermgmt-base (was Re: Bug#514889: On battery power, so skipping file system check when in AC power

2009-02-12 Thread Holger Levsen
reopen 514889
severity 514889 important
tags 514889 +moreinfo
reassign 514889 powermgmt-base
thanks

Hi Virgo, hi release-team,

On Donnerstag, 12. Februar 2009, Virgo Pärna wrote:
   It is a problem, because it never does filesystem check - even after
 crash, when it is necessary. And the message says, that it skips the
 check because it is running on battery power, when it is not running on
 battery power but in AC power.

Sorry for not getting that AC power != battery (ouch) and the resulting 
rudeness of my mail. It wasn't my best day yesterday but that certainly isnt 
an excuse, though I'm telling you as it explains a bit. I hope you accept my 
apologies.

Please run on_ac_power ; echo $? - I expect the result is 255.

Then please also run cat /sys/class/power_supply/AC/online when on AC power 
and on battery. I assume the result is 1 and 0.

This has been fixed in powermgnt-base 1.30+nmu1, which is in unstable since 
163 days. 

+powermgmt-base (1.30+nmu1) unstable; urgency=low
+
+  * NMU
+  * on_ac_power: Use /sys/class/power_supply on 2.6.25+ systems where
+/proc/acpi/ac_adaptor is no longer present. Closes: #473629
+(Patch by Vefa Bicakci.)
+
+ -- Joey Hess jo...@debian.org  Mon, 01 Sep 2008 13:27:22 -0400

$ debdiff powermgmt-base_1.30.dsc powermgmt-base_1.30+nmu1.dsc | diffstat
 debian/changelog |9 +
 src/on_ac_power  |   39 +++
 2 files changed, 36 insertions(+), 12 deletions(-)

Please unblock powermgmt-base and let it go into lenny if there is still 
time ;-) Else, I'm looking forward to see it in r1.


regards,
Holger


signature.asc
Description: This is a digitally signed message part.


Bug#514889: please unblock powermgmt-base (was Re: Bug#514889: On battery power, so skipping file system check when in AC power

2009-02-12 Thread Marc 'HE' Brockschmidt
Holger Levsen hol...@layer-acht.org writes:
 This has been fixed in powermgnt-base 1.30+nmu1, which is in unstable since 
 163 days. 

 +powermgmt-base (1.30+nmu1) unstable; urgency=low

Unblocked.

Marc
-- 
BOFH #139:
UBNC (user brain not connected)


pgpEgIfozF0u0.pgp
Description: PGP signature


Bug#514889: please unblock powermgmt-base (was Re: Bug#514889: On battery power, so skipping file system check when in AC power

2009-02-12 Thread Virgo Pärna
Holger Levsen wrote:
 
 Sorry for not getting that AC power != battery (ouch) and the resulting 
 rudeness of my mail. It wasn't my best day yesterday but that certainly isnt 
 an excuse, though I'm telling you as it explains a bit. I hope you accept my 
 apologies.
 

No problem:)

 Please run on_ac_power ; echo $? - I expect the result is 255.
 

0 when in AC power. 1 when in battery.

 Then please also run cat /sys/class/power_supply/AC/online when on AC power 
 and on battery. I assume the result is 1 and 0.
 

cat: /sys/class/power_supply/AC/online: No such file or directory

But there is cat /sys/class/power_supply/ACAD/online which is 1 when AC
is connected and 0 when not.

When Googling around, I found the hints, that the problem may be caused
by ac module being not loaded, when filesystem checks are done.

-- 
Virgo Pärna
virgo.pa...@mail.ee



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