Debian Bug report logs - #611239
eeepc-acpi-scripts: Hangs booting in battery

version graph

Package: eeepc-acpi-scripts; Maintainer for eeepc-acpi-scripts is Debian Eee PC Team <debian-eeepc-devel@lists.alioth.debian.org>; Source for eeepc-acpi-scripts is src:eeepc-acpi-scripts.

Reported by: guimi <basura@guimi.net>

Date: Thu, 27 Jan 2011 08:57:01 UTC

Severity: important

Found in version eeepc-acpi-scripts/1.1.10

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, basura@guimi.net, Debian Eee PC Team <debian-eeepc-devel@lists.alioth.debian.org>:
Bug#611239; Package eeepc-acpi-scripts. (Thu, 27 Jan 2011 08:57:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to guimi <basura@guimi.net>:
New Bug report received and forwarded. Copy sent to basura@guimi.net, Debian Eee PC Team <debian-eeepc-devel@lists.alioth.debian.org>. (Thu, 27 Jan 2011 08:57:04 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: guimi <basura@guimi.net>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: eeepc-acpi-scripts: Hangs booting in battery
Date: Thu, 27 Jan 2011 16:48:56 +0100
Package: eeepc-acpi-scripts
Version: 1.1.10
Severity: important

EeePC 1001P
If I boot with battery, it hangs on this line:
     # set_shengine "${PWR_CLOCK_BATTERY:-$(($SHENGINE_LIMIT - 1))}" || :
so I commented it out.

It works fine if boot with plug, even if un-pluged after boot.

-- System Information:
Debian Release: 6.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages eeepc-acpi-scripts depends on:
ii  acpi-support-base             0.137-5    scripts for handling base ACPI eve
ii  acpid                         1:2.0.7-1  Advanced Configuration and Power I
ii  pm-utils                      1.3.0-3    utilities and scripts for power ma
ii  rfkill                        0.4-1      tool for enabling and disabling wi

Versions of packages eeepc-acpi-scripts recommends:
ii  alsa-utils                    1.0.23-3   Utilities for configuring and usin

Versions of packages eeepc-acpi-scripts suggests:
pn  aosd-cat               <none>            (no description available)
pn  gnome-osd              <none>            (no description available)
ii  gsfonts-x11            0.21              Make Ghostscript fonts available t
ii  ttf-dejavu             2.31-1            Metapackage to pull in ttf-dejavu-
ii  ttf-freefont           20090104-7        Freefont Serif, Sans and Mono True
ii  ttf-liberation         1.05.2.20091019-4 Fonts with the same metrics as Tim

-- Configuration Files:
/etc/init.d/eeepc-acpi-scripts changed:
test -f /usr/share/eeepc-acpi-scripts/functions.sh || exit 0
test -d /sys/bus/platform/devices/eeepc || exit 0
PATH="/sbin:/bin"
.. /lib/lsb/init-functions
load_module ()
{
  log_action_cont_msg "$1"
  maybe_warn modprobe $@
}
maybe_warn ()
{
  local WARN
  WARN="$($@ 2>&1 || :)"
  if [ -n "$WARN" ]; then
    log_warning_msg "$WARN"
  fi
}
case "$1" in
  start|restart|reload|force-reload)
    # First, get the kernel version.
    KERNEL="`uname -r`"
    case "$KERNEL" in
      2.6.*)
	KERNEL="`echo $KERNEL | sed -re 's/^([0-9]+\.){2}([0-9]+).*$/\2/'`"
	;;
      *)
	KERNEL=0
        ;;
    esac
    # Now load the modules. We ignore failure since it's possible that
    # they're built into the running kernel.
    log_action_begin_msg 'Loading EeePC support modules'
    # Load pciehp if required.
    # There are three recognised cases:
    # - kernel 2.6.26 & older: two parameters required
    # - kernel 2.6.27 & .28  : one of those parameters has been removed
    # - kernel 2.6.29 & newer: hotplugging is handled in eeepc-laptop except on the
    #                          EeePC 900A model
    # - kernel 2.6.32 & newer: eeepc-laptop also works on the EeePC 900A
    if [ -d /sys/module/pciehp ]; then
      # Hmm, already present
      if [ "$KERNEL" -ge 29 -a "`cat /sys/class/dmi/id/product_name`" != "900A" ]; then
        # 2.6.29 and newer on all but the EeePC 900A - unload pciehp if loaded
        log_warning_msg 'Module "pciehp" is loaded; trying to unload'
        maybe_warn modprobe -r pciehp
      elif [ "$KERNEL" -ge 32 ]; then
        # 2.6.32 and newer on all EeePC models - unload pciehp if loaded
        log_warning_msg 'Module "pciehp" is loaded; trying to unload'
        maybe_warn modprobe -r pciehp
      fi
    else
      # Load it if needed
      if [ "$KERNEL" -lt 27 ]; then
        # 2.6.26 and older
        load_module pciehp pciehp_force=1 pciehp_slot_with_bus=1
      elif [ "$KERNEL" -lt 29 ]; then
        # 2.6.27 and 2.6.28
        load_module pciehp pciehp_force=1
      elif [ "$KERNEL" -lt 32 -a "`cat /sys/class/dmi/id/product_name`" = "900A" ]; then
        # 2.6.29 to 2.6.31 on the EeePC 900A
        load_module pciehp pciehp_force=1
      fi
    fi
    # Load rfkill-input if possible, i.e. kernel is 2.6.28, .29 or .30.
    # This results in faster WLAN hw toggling.
    if [ "$KERNEL" -ge 28 -a "$KERNEL" -le 30 ]; then
      if grep -q '^H.*\brfkill\b' /proc/bus/input/devices; then
	:
      else
        load_module rfkill-input
      fi
    fi
    # Done.
    log_action_end_msg 0
    if [ -f /etc/acpi/lib/shengine.sh ]; then
	log_action_begin_msg 'Setting super hybrid engine according to configuration'
	if [ -f /etc/default/eeepc-acpi-scripts ]; then
	    . /etc/default/eeepc-acpi-scripts
	fi
	. /etc/acpi/lib/shengine.sh
        if shengine_supported; then
            if [ "${SHENGINE_SETTING:-auto}" != auto ]; then
                log_action_cont_msg '(manual)'
            elif [ "$(cat /sys/class/power_supply/AC0/online 2>/dev/null)" = 0 ]; then
                log_action_cont_msg '(battery)'
                #GUIMI set_shengine "${PWR_CLOCK_BATTERY:-$(($SHENGINE_LIMIT - 1))}" || :
            else
                log_action_cont_msg '(AC)'
                set_shengine "${PWR_CLOCK_AC:-0}" || :
            fi
        else
            log_action_cont_msg '(model not supported)'
        fi
	log_action_end_msg $?
    fi
    ;;
  stop)
    # Nothing to do.
    ;;
  *)
    echo "Usage: /etc/init.d/eeepc-acpi-scripts {start|stop|restart|reload|force-reload}"
    exit 1
    ;;
esac
exit 0


-- no debconf information




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Eee PC Team <debian-eeepc-devel@lists.alioth.debian.org>:
Bug#611239; Package eeepc-acpi-scripts. (Fri, 28 Jan 2011 00:00:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Maarten Steur <maarten.steur@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Eee PC Team <debian-eeepc-devel@lists.alioth.debian.org>. (Fri, 28 Jan 2011 00:00:03 GMT) Full text and rfc822 format available.

Message #10 received at 611239@bugs.debian.org (full text, mbox):

From: Maarten Steur <maarten.steur@gmail.com>
To: Debian Bug Tracking System <611239@bugs.debian.org>
Subject: eeepc-acpi-scripts: Boot also fails on EeePC r101 with AMD64
Date: Fri, 28 Jan 2011 00:57:29 +0100
Package: eeepc-acpi-scripts
Version: 1.1.10
Severity: normal


This issue also occurs on the EeePC r101.
The hardware should be (almost?) the same as the 1001P.

I also noticed that this only occurs on a cold boot.
If the laptop is running on battery and I reboot, it will boot just fine.

-- System Information:
Debian Release: 6.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages eeepc-acpi-scripts depends on:
ii  acpi-support-base             0.137-5    scripts for handling base ACPI eve
ii  acpid                         1:2.0.7-1  Advanced Configuration and Power I
ii  pm-utils                      1.3.0-3    utilities and scripts for power ma
ii  rfkill                        0.4-1      tool for enabling and disabling wi

Versions of packages eeepc-acpi-scripts recommends:
ii  alsa-utils                    1.0.23-3   Utilities for configuring and usin

Versions of packages eeepc-acpi-scripts suggests:
pn  aosd-cat               <none>            (no description available)
pn  gnome-osd              <none>            (no description available)
ii  gsfonts-x11            0.21              Make Ghostscript fonts available t
ii  ttf-dejavu             2.31-1            Metapackage to pull in ttf-dejavu-
ii  ttf-freefont           20090104-7        Freefont Serif, Sans and Mono True
ii  ttf-liberation         1.05.2.20091019-4 Fonts with the same metrics as Tim

-- no debconf information




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Eee PC Team <debian-eeepc-devel@lists.alioth.debian.org>:
Bug#611239; Package eeepc-acpi-scripts. (Fri, 28 Jan 2011 00:09:07 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ben Armstrong <synrg@sanctuary.nslug.ns.ca>:
Extra info received and forwarded to list. Copy sent to Debian Eee PC Team <debian-eeepc-devel@lists.alioth.debian.org>. (Fri, 28 Jan 2011 00:09:07 GMT) Full text and rfc822 format available.

Message #15 received at 611239@bugs.debian.org (full text, mbox):

From: Ben Armstrong <synrg@sanctuary.nslug.ns.ca>
To: Maarten Steur <maarten.steur@gmail.com>, 611239@bugs.debian.org
Subject: Re: [Debian-eeepc-devel] Bug#611239: eeepc-acpi-scripts: Boot also fails on EeePC r101 with AMD64
Date: Thu, 27 Jan 2011 20:06:48 -0400
On 27/01/11 07:57 PM, Maarten Steur wrote:
> Package: eeepc-acpi-scripts
> Version: 1.1.10
> Severity: normal
> 
> 
> This issue also occurs on the EeePC r101.
> The hardware should be (almost?) the same as the 1001P.
> 
> I also noticed that this only occurs on a cold boot.
> If the laptop is running on battery and I reboot, it will boot just fine.

This is fixed in 1.1.11 from unstable, though we considered that it was
too big of a change from 1.1.10 to include in squeeze.

Ben




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Eee PC Team <debian-eeepc-devel@lists.alioth.debian.org>:
Bug#611239; Package eeepc-acpi-scripts. (Fri, 28 Jan 2011 00:24:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Maarten Steur <maarten.steur@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Eee PC Team <debian-eeepc-devel@lists.alioth.debian.org>. (Fri, 28 Jan 2011 00:24:02 GMT) Full text and rfc822 format available.

Message #20 received at 611239@bugs.debian.org (full text, mbox):

From: Maarten Steur <maarten.steur@gmail.com>
To: Ben Armstrong <synrg@sanctuary.nslug.ns.ca>
Cc: 611239@bugs.debian.org
Subject: Re: [Debian-eeepc-devel] Bug#611239: eeepc-acpi-scripts: Boot also fails on EeePC r101 with AMD64
Date: Fri, 28 Jan 2011 01:21:55 +0100
Will this be included in a future update of squeeze? Or available
through backports?

I would have liked to claim that everything worked 'out of the box'.
This is the only issue I've encountered.

Anyways, thanks for the update!




2011/1/28, Ben Armstrong <synrg@sanctuary.nslug.ns.ca>:
> On 27/01/11 07:57 PM, Maarten Steur wrote:
>> Package: eeepc-acpi-scripts
>> Version: 1.1.10
>> Severity: normal
>>
>>
>> This issue also occurs on the EeePC r101.
>> The hardware should be (almost?) the same as the 1001P.
>>
>> I also noticed that this only occurs on a cold boot.
>> If the laptop is running on battery and I reboot, it will boot just fine.
>
> This is fixed in 1.1.11 from unstable, though we considered that it was
> too big of a change from 1.1.10 to include in squeeze.
>
> Ben
>




Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Apr 17 19:20:43 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.