You are not logged in.

#1 2011-03-27 18:00:47

dodo3773
Member
Registered: 2011-03-17
Posts: 820

[SOLVED] Laptop Freezes Up On Battery Power

Arch in running great for me exept when I unplug my laptop. When I do all the applications turn grey and my computer freezes up. I tried installing laptop-mode-tools and then added laptop-mode to my daemons array. That did not help so I removed them. My laptop is an HP dv9715nr. I feel like it has got to be something that I am missing on my end because I do not have these problems on any other distros that I have tried. Probably a user error. Here is my rc.conf

#
# /etc/rc.conf - Main Configuration for Arch Linux
#

# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime", any other value will result
#   in the hardware clock being left untouched (useful for virtualization)
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="en_US.UTF-8"
HARDWARECLOCK="UTC"
TIMEZONE="America/Los_Angeles"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"

# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
# MOD_BLACKLIST: Prevent udev from loading these modules
# MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
#
# NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
#
MOD_AUTOLOAD="yes"
#MOD_BLACKLIST=() #deprecated
MODULES=( !pcspkr !snd-pcsp )

# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"

# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="dodo"

# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
#   - prefix an entry in INTERFACES with a ! to disable it
#   - no hyphens in your interface names - Bash doesn't like it
# 
# DHCP:     Set your interface to "dhcp" (eth0="dhcp")
# Wireless: See network profiles below
#

#Static IP example
#eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
#eth0="dhcp"
INTERFACES=(!eth0)

# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
#   - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 192.168.0.1"
ROUTES=(!gateway)
 
# Enable these network profiles at boot-up.  These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
#   - set to 'menu' to present a menu during boot-up (dialog package required)
#   - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
# This now requires the netcfg package
#
#NETWORKS=(main)

# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
#   - prefix a daemon with a ! to disable it
#   - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(@syslog-ng @networkmanager @hal @alsa @gdm)

Has anyone else came across this problem? Does anyone know what I am doing wrong? Thank you in advance for any help.

Last edited by dodo3773 (2011-03-28 03:34:57)

Offline

#2 2011-03-27 18:17:38

ChoK
Member
From: France
Registered: 2008-10-01
Posts: 346

Re: [SOLVED] Laptop Freezes Up On Battery Power

Can you switch to a tty when it's locked? what is the content of /var/log/messages.log ?

If there is nothing relevant in the messages.log, can you uncomment everything related to tty12 in /etc/syslog-ng/syslog-ng.conf, restart the syslog-ng daemon. Switch to the tty12 and unplug. Are there some messages?


Ah, good taste! What a dreadful thing! Taste is the enemy of creativeness.
Picasso
Perfection is reached, not when there is no longer anything to add, but when there is no longer anything to take away.
Saint Exupéry

Offline

#3 2011-03-27 18:45:50

dodo3773
Member
Registered: 2011-03-17
Posts: 820

Re: [SOLVED] Laptop Freezes Up On Battery Power

ChoK wrote:

Can you switch to a tty when it's locked? what is the content of /var/log/messages.log ?

If there is nothing relevant in the messages.log, can you uncomment everything related to tty12 in /etc/syslog-ng/syslog-ng.conf, restart the syslog-ng daemon. Switch to the tty12 and unplug. Are there some messages?

Cannot seem to reproduce the error. Strange. Also, I am trying to post my messages.log from last night but I think that it is too big. The forums aren't letting me. I am getting some wierd server error. Is there a certain search term I should use when looking in that log? By switch to tty do you mean ctrl-alt-backspace to kill X?

Offline

#4 2011-03-27 22:14:04

CPU Gastronomy
Member
From: Québec, Canada
Registered: 2010-12-29
Posts: 69

Re: [SOLVED] Laptop Freezes Up On Battery Power

Switch to tty mean to switch to terminal.  You can do this by Pressing Ctrl + Alt + Number when you're on X or Ctrl + Number if you're already in a tty.  Number is the number of the terminal (tty1 is 1).  Generally, 7 is used for the X server.

Please, don't post all your messages.log, but just the relevant parts of it (.  If you're not sure, use pastebin (http://pastebin.com/) as it is stated in the forum rules.

Offline

#5 2011-03-27 23:22:39

dodo3773
Member
Registered: 2011-03-17
Posts: 820

Re: [SOLVED] Laptop Freezes Up On Battery Power

CPU Gastronomy wrote:

Switch to tty mean to switch to terminal.  You can do this by Pressing Ctrl + Alt + Number when you're on X or Ctrl + Number if you're already in a tty.  Number is the number of the terminal (tty1 is 1).  Generally, 7 is used for the X server.

Please, don't post all your messages.log, but just the relevant parts of it (.  If you're not sure, use pastebin (http://pastebin.com/) as it is stated in the forum rules.

That is awesome. I just tried it  (Ctrl+Alt+F1) (Ctrl+Alt+F7).  I still have yet to reproduce that error though. All I can guess is that maybe an update fixed it. Still not really sure though.   Here is the output of 

sudo cat /var/log/messages.log | grep "Mar 26" | grep error

http://pastebin.com/cqZNjRqk


Pastebin would not let me put all of yesterday (too big).

Offline

#6 2011-03-27 23:46:37

dodo3773
Member
Registered: 2011-03-17
Posts: 820

Re: [SOLVED] Laptop Freezes Up On Battery Power

O.K. I finally reproduced the error. It is related to watching an mkv video file that I had. I just looked at that log and did not see anything about sound or video. I opened vlc from the command line and it gave me this

VLC media player 1.1.8 The Luggage (revision exported)
Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS")
Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE")
Blocked: call to setlocale(6, "")
Warning: call to srand(1300856238)
Warning: call to rand()
Blocked: call to setlocale(6, "")

(process:11280): Gtk-WARNING **: Locale not supported by C library.
    Using the fallback 'C' locale.
 m_el[mi_level] == NULL
 arrrrrrrrrrrrrg Up cannot escape itself
 m_el[mi_level] == NULL
 arrrrrrrrrrrrrg Up cannot escape itself
socket(): Address family not supported by protocol
[0x822c57c] signals interface error: signal 17 overriden (0xb2edc150)
[0x822c57c] signals interface error:  /usr/lib/libQtCore.so.4(?)[(nil)]
[0x822c57c] signals interface error: signal 17 overriden (0xb2edc150)
[0x822c57c] signals interface error:  /usr/lib/libQtCore.so.4(?)[(nil)]
[0x822c57c] signals interface error: signal 17 overriden (0xb2edc150)
[0x822c57c] signals interface error:  /usr/lib/libQtCore.so.4(?)[(nil)]

Not really what all this means. I will try uninstalling vlc then reinstalling.

Offline

#7 2011-03-27 23:47:34

CPU Gastronomy
Member
From: Québec, Canada
Registered: 2010-12-29
Posts: 69

Re: [SOLVED] Laptop Freezes Up On Battery Power

It seems that the bluetooth hardware or the software (bluez) is in fault.  I don't really have more complete idea.

Offline

#8 2011-03-27 23:58:42

dodo3773
Member
Registered: 2011-03-17
Posts: 820

Re: [SOLVED] Laptop Freezes Up On Battery Power

CPU Gastronomy wrote:

It seems that the bluetooth hardware or the software (bluez) is in fault.  I don't really have more complete idea.


Yeah, I don't even have bluetooth (maybe that is why there is an error). I am going to uninstall that package.

Offline

#9 2011-03-28 03:34:14

dodo3773
Member
Registered: 2011-03-17
Posts: 820

Re: [SOLVED] Laptop Freezes Up On Battery Power

Since freezing is not related to system (seems to be vlc specific) marking thread as solved.

Offline

Board footer

Powered by FluxBB