mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Pierre Ossman <drzeus@drzeus.cx>
To: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: "Andrew Morton" <akpm@linux-foundation.org>,
	LKML <linux-kernel@vger.kernel.org>,
	"Éric Piel" <eric.piel@tremplin-utc.net>
Subject: Re: [Regression] hald segfaults at startup on Toshiba Portege R500 x86_64 (bisected)
Date: Thu, 8 Jan 2009 09:34:07 +0100	[thread overview]
Message-ID: <20090108093407.3efd0938@mjolnir.drzeus.cx> (raw)
In-Reply-To: <200901080827.02882.rjw@sisk.pl>

[-- Attachment #1: Type: text/plain, Size: 1469 bytes --]

On Thu, 8 Jan 2009 08:27:02 +0100
"Rafael J. Wysocki" <rjw@sisk.pl> wrote:

> Hi,
> 
> Unfortunately the following commit:
> 
> commit 35ff8554d12ecc80a46ea0d9bce34fe28733ff38
> Author: Éric Piel <eric.piel@tremplin-utc.net>
> Date:   Sat Nov 22 19:29:29 2008 +0100
> 
>     sdhci: activate led support also when module
> 
>     CONFIG_LEDS_CLASS is defined only if led-class is built-in, otherwise
>     when it is a module the option is called CONFIG_LEDS_CLASS_MODULE. Led
>     support should also be activated in this case.
> 
>     Signed-off-by: Eric Piel <eric.piel@tremplin-utc.net>
>     Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
> 
> causes hald to segfault at startup (not always, but sufficiently often for
> bisection) on my Toshiba Portege R500 w/ x86_64 kernel/userland.
> 

I have trouble seeing a user space application crashing as a kernel
bug. Do you have a backtrace or strace of hald to see exactly where it
crashes?

> While it doesn't revert cleanly, I have applied the appended patch (which is
> a revert of the commit above) and hald doesn't segfault any more here.
> 

Is CONFIG_LEDS_CLASS defined in your config, or are you essentially
turning of the LED functionality?

Rgds
-- 
     -- Pierre Ossman

  WARNING: This correspondence is being monitored by the
  Swedish government. Make sure your server uses encryption
  for SMTP traffic and consider using PGP for end-to-end
  encryption.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

  reply	other threads:[~2009-01-08  8:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-08  7:27 Rafael J. Wysocki
2009-01-08  8:34 ` Pierre Ossman [this message]
2009-01-08 20:42   ` Rafael J. Wysocki
2009-02-10 16:28   ` Markus Koßmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090108093407.3efd0938@mjolnir.drzeus.cx \
    --to=drzeus@drzeus.cx \
    --cc=akpm@linux-foundation.org \
    --cc=eric.piel@tremplin-utc.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rjw@sisk.pl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®