Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 242252

Summary: gentoo-sources-2.6.27/drivers/hwmon/applesmc.c gives "wait status failed"
Product: Gentoo Linux Reporter: S.R.Mueller <srm>
Component: [OLD] Core systemAssignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
URL: https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/102270
Whiteboard:
Package list:
Runtime testing required: ---

Description S.R.Mueller 2008-10-15 19:27:08 UTC
Macbook-Pro(4,1)
2.6.27-gentoo SMP PREEMPT i686 Intel Core2Duo GNU/Linux

installed applesmc (in kernel)
when booting up, apr. 30x message "applesmc: wait status failed: c != 8"

When checking the message log after login, everything looks fine.
When trying to cat /sys/devices/platform/applesmc.768/light the "wait status"-message is printed to message log.

When starting pommed-1.21 the "wait status failed" messages are printed every 20ms or so, filling up the log. After /etc/init.d/pommed stop the messages do not appear.

Searched the web and found 
https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/102270

I followed https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/102270/comments/36 and applied the patches in the given order.

Finally applied the mentioned http://lkml.org/lkml/2008/9/22/168 (It is not sufficient to apply this last patch, well it doesn't even work)
Rebuilt the kernel with applesmc as module and restarted.
pommed started during bootup.
Messages do not appear.

Getting a Wait Status Failed when trying to cat ../position but everything else works.

Reproducible: Always

Steps to Reproduce:
1.install gentoo-sources-2.6.27 on MBP(4,1)
2.install applesmc
3.install pommed
4.start pommed and watch message log

Actual Results:  
"wait status failed"-messages are printed to the message log

Expected Results:  
only an initialization message should be printed (depending on DEBUG)

Will this patchset march into the gentoo-sources?

regards,
stephan
Comment 1 Mike Pagano gentoo-dev 2008-10-16 17:27:37 UTC
As per policy[1], we will not be adding this into Gentoo sources. It needs to make it to the main kernel development tree.

[1] http://dev.gentoo.org/~dsd/genpatches/faq.htm

Comment 2 S.R.Mueller 2008-10-16 21:16:55 UTC
(In reply to comment #1)
> As per policy[1], we will not be adding this into Gentoo sources. It needs to
> make it to the main kernel development tree.
> 
> [1] http://dev.gentoo.org/~dsd/genpatches/faq.htm
> 

Ok, thank you for the link.