FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

LinkBack Thread Tools
Old 08-06-2010, 12:27 PM
Default Strange laptop DPMS problem after a power failure

I have noticed that when there is a brown out, or a complete power
cut, the laptop screen comes on and stays on. I have set DPMS to
switch it off within one minute, but it never kicks in after the AC
power is interrupted.

What could be causing this? Is there a remedy?

Fri Aug 6 15:30:02 2010
Return-path: <bounce-debian-gcc=tom=linux-archive.org@lists.debian.org>
Envelope-to: tom@linux-archive.org
Delivery-date: Fri, 06 Aug 2010 15:20:38 +0300
Received: from liszt.debian.org ([]:34200)
by s2.java-tips.org with esmtps (TLSv1:AES256-SHA:256)
(Exim 4.69)
(envelope-from <bounce-debian-gcc=tom=linux-archive.org@lists.debian.org>)
id 1OhLug-0002c5-E9
for tom@linux-archive.org; Fri, 06 Aug 2010 15:20:38 +0300
Received: from localhost (localhost [])
by liszt.debian.org (Postfix) with QMQP
id 5797413A5BEB; Fri, 6 Aug 2010 13:06:16 +0000 (UTC)
Old-Return-Path: <debbugs@busoni.debian.org>
X-Original-To: lists-debian-gcc@liszt.debian.org
Delivered-To: lists-debian-gcc@liszt.debian.org
Received: from localhost (localhost [])
by liszt.debian.org (Postfix) with ESMTP id 270C813A5BC3
for <lists-debian-gcc@liszt.debian.org>; Fri, 6 Aug 2010 13:06:16 +0000 (UTC)
X-Virus-Scanned: at lists.debian.org with policy bank en-ht
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Status: No, score=-1.9 tagged_above=-10000 required=5.3
tests=[BAYES_00=-2, FOURLA=0.1] autolearn=no
Received: from liszt.debian.org ([])
by localhost (lists.debian.org []) (amavisd-new, port 2525)
with ESMTP id O8pl-re-CPiH for <lists-debian-gcc@liszt.debian.org>;
Fri, 6 Aug 2010 13:06:08 +0000 (UTC)
Received: from busoni.debian.org (busoni.debian.org [])
(using TLSv1 with cipher AES256-SHA (256/256 bits))
(Client did not present a certificate)
by liszt.debian.org (Postfix) with ESMTPS id 943E713A5BB3;
Fri, 6 Aug 2010 13:06:08 +0000 (UTC)
Received: from debbugs by busoni.debian.org with local (Exim 4.69)
(envelope-from <debbugs@busoni.debian.org>)
id 1OhMce-0003Ci-Rv; Fri, 06 Aug 2010 13:06:04 +0000
X-Loop: owner@bugs.debian.org
Subject: Bug#591914: gcc-4.4: -MD leaves empty .d file on preprocessor error
Reply-To: Frank Heckenbach <f.heckenbach@fh-soft.de>, 591914@bugs.debian.org
Resent-From: Frank Heckenbach <f.heckenbach@fh-soft.de>
Resent-To: debian-bugs-dist@lists.debian.org
Resent-CC: Debian GCC Maintainers <debian-gcc@lists.debian.org>
X-Loop: owner@bugs.debian.org
Resent-Date: Fri, 06 Aug 2010 13:06:02 +0000
Resent-Message-ID: <handler.591914.B.128109979110552@bugs.debian.or g>
X-Debian-PR-Message: report 591914
X-Debian-PR-Package: gcc-4.4
X-Debian-PR-Keywords: upstream
X-Debian-PR-Source: gcc-4.4
Received: via spool by submit@bugs.debian.org id=B.128109979110552
(code B ref -1); Fri, 06 Aug 2010 13:06:02 +0000
Received: (at submit) by bugs.debian.org; 6 Aug 2010 13:03:11 +0000
X-Spam-Bayes: score:0.0000 Tokens: new, 11; hammy, 151; neutral, 127; spammy,
0. spammytokens: hammytokens:0.000-+--Severity, 0.000-+--charmap,
0.000-+--libc6, 0.000-+--LC_CTYPE, 0.000-+--Locale
Received: from ngc224.gerwinski.de ([])
by busoni.debian.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
(Exim 4.69)
(envelope-from <f.heckenbach@fh-soft.de>)
id 1OhMZq-0002fv-Mi
for submit@bugs.debian.org; Fri, 06 Aug 2010 13:03:11 +0000
Received: from uucp by ngc224.gerwinski.de with local-rmail (Exim 4.50 #1 (Debian))
id 1OhMZS-0004xU-VV
for <submit@bugs.debian.org>; Fri, 06 Aug 2010 15:02:46 +0200
Received: from goedel.fjf.gnu.de (localhost [])
by goedel.fjf.gnu.de (8.8.8/8.8.8) with ESMTP id PAA26462
for <submit@bugs.debian.org>; Fri, 6 Aug 2010 15:01:10 +0200
Date: Fri, 6 Aug 2010 15:01:10 +0200
To: submit@bugs.debian.org
MIME-Version: 1.0
Content-Type: multipart/mixed;
From: Frank Heckenbach
User-Agent: semail 20060101
Delivered-To: submit@bugs.debian.org
Resent-Date: Fri, 06 Aug 2010 13:06:04 +0000
X-Rc-Virus: 2007-09-13_01
X-Mailing-List: <debian-gcc@lists.debian.org> archive/latest/37804
X-Loop: debian-gcc@lists.debian.org
List-Id: <debian-gcc.lists.debian.org>
List-Post: <mailto:debian-gcc@lists.debian.org>
List-Help: <mailto:debian-gcc-request@lists.debian.org?subject=help>
List-Subscribe: <mailto:debian-gcc-request@lists.debian.org?subject=subscribe>
List-Unsubscribe: <mailto:debian-gcc-request@lists.debian.org?subject=unsubscribe>
Precedence: list
Resent-Sender: debian-gcc-request@lists.debian.org
Content-Transfer-Encoding: 7bit

This is a MIME encoded message. Decode it with `munpack' or any
other MIME reading software.

Content-Type: text/plain; charset=iso-8859-15
Content-Transfer-Encoding: quoted-printable

Package: gcc-4.4
Version: 4.4.4-7
Severity: normal
Tags: upstream

*** Please type your report below this line ***

If gcc is invoked with "-MD", and a preprocessor error occurs, an
empty dependency file is left.

This leads to a problem in the following scenario:

- program is compiled OK

- a change in an included header causes a preprocessor error

- next compilation fails (correctly), but leaves empty .d file

- header is fixed

- next compilation does nothing, because object/binary is still
newer than C file, and because of the empty .d file, the
dependency on the (newer) header is lost

The attached file demonstrates this scenario (just "make" to run all
steps, requires GNU make).

A work-around (commented out in the example) is to remove the gcc
output file (normally the object file, in the simplified example the
binary) before calling gcc. But I think gcc should remove the .d
file itself if it can't complete it due to an error.

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

Kernel: Linux 2.6.34 (SMP w/1 CPU core)
Locale: LANG=3Dde_DE, LC_CTYPE=3Dde_DE (charmap=3DISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages gcc-4.4 depends on:
ii binutils 2.20.1-12 The GNU assembler, linker an=
d bina
ii cpp-4.4 4.4.4-7 The GNU C preprocessor
ii gcc-4.4-base 4.4.4-7 The GNU Compiler Collection =
ii libc6 2.11.2-2 Embedded GNU C Library: Shar=
ed lib
ii libgcc1 1:4.4.4-7 GCC support library
ii libgomp1 4.4.4-7 GCC OpenMP (GOMP) support li=

Versions of packages gcc-4.4 recommends:
ii libc6-dev 2.11.2-2 Embedded GNU C Library: Deve=

Versions of packages gcc-4.4 suggests:
ii gcc-4.4-doc 4.4.4.nf1-1 documentation for the GNU co=
pn gcc-4.4-locales <none> (no description available)
ii gcc-4.4-multilib 4.4.4-7 The GNU C compiler (multilib=
pn libcloog-ppl0 <none> (no description available)
pn libgcc1-dbg <none> (no description available)
pn libgomp1-dbg <none> (no description available)
pn libmudflap0-4.4-dev <none> (no description available)
pn libmudflap0-dbg <none> (no description available)
pn libppl-c2 <none> (no description available)
pn libppl7 <none> (no description available)

-- no debconf information

Content-Type: application/octet-stream; name="Makefile"
Content-Disposition: inline; filename="Makefile"
Content-Transfer-Encoding: quoted-printable

$(MAKE) clean
echo '#define S "wrong"' > foo.h
$(MAKE) foo
sleep 1 # ensure new time stamp
echo '#error foo' >> foo.h
$(MAKE) foo || true
sleep 1 # ensure new time stamp
echo '#define S "OK"' > foo.h
$(MAKE) foo

-include foo.d

%: %.c
# rm -f "$@" # work-around
gcc -MD -o "$@" "$<"

rm -f foo.h foo.d foo

Content-Type: text/plain; name="foo.c"
Content-Disposition: inline; filename="foo.c"
Content-Transfer-Encoding: quoted-printable

#include <stdio.h>
#include "foo.h"

int main ()
puts (S);
return 0;


To UNSUBSCRIBE, email to debian-gcc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/1281099670.26460.400652@goedel.fjf.gnu.de

Thread Tools

All times are GMT. The time now is 05:59 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org