Am Donnerstag, 8. Januar 2009 schrieb Pierre Ossman: > On Thu, 8 Jan 2009 08:27:02 +0100 > > "Rafael J. Wysocki" wrote: > > Hi, > > > > Unfortunately the following commit: > > > > commit 35ff8554d12ecc80a46ea0d9bce34fe28733ff38 > > Author: Éric Piel > > 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 > > Signed-off-by: Pierre Ossman > > > > 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 Hi Pierre; it seems that I see the same problem here on my HP8530w laptop ( 64bit kernel/userland and sdhci compiled as module). When starting up the system with SUSEs KOTD 2.6.29-rc4-master_20090209165007_20c19cf8-default hald crashes with something like: Feb 10 15:23:02 linux-gpi4 kernel: hald[5216]: segfault at 20 ip 000000000042f 4ab sp 00007ffff343b5e0 error 4 in hald[400000+55000]: After applying Rafaels patch the problem goes away. I attach straces of hald from both unpatched and patched kernel.