Bug 149933
Summary: | fix missing wakeup in ipc/sem | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | Tim Burke <tburke> |
Component: | kernel | Assignee: | Alexander Viro <aviro> |
Status: | CLOSED ERRATA | QA Contact: | Brian Brock <bbrock> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4.0 | CC: | davej, dchapman, jbaron, riel |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | RHSA-2006-0575 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-08-10 21:02:03 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 181409 |
Description
Tim Burke
2005-02-28 21:01:10 UTC
posting patch to rhkernel-list for review FYI, We have now seen this inside HP on a new platform about to be shipped to a high profile customer. I have tested this on ia64 with the 2.6.9-34 source + this patch and verified it does fix our issue and we have not seen any other problems with it. - Doug Please note: This patch was applied to the RHEL4-U4 beta kernel 2.6.9-34.8 kernel. Please note: The RHTS test "/kernel/drivers/modsym" failes with this patch applied. It causes a regression with kabi. http://master.rhts.boston.redhat.com/cgi-bin/rhts/jobs.cgi?id=1201 Navigate to recipeid 6559, Then to /kernel/drivers/modsym test results. Error: Kernel symbol changed: register_security from: ca.modlist Error: Kernel symbol changed: security_ops from: ca.modlist Error: Kernel symbol changed: unregister_security from: ca.modlist Error: Kernel symbol changed: security_ops from: veritas.modlist I have modified the patch with: #ifndef __GENKSYMS__ int alter; /* does the operation alter the array? */ #endif and I am building a test kernel based on the 2.6.9-34 source and I will have the guys in HP that were blocked on this test it out. committed in stream u3 build 34.10. A test kernel with this patch is available from http://people.redhat.com/~jbaron/rhel4/ Seems to pass on power when run by hand on both 36.1 and -37 (log below). [root@ibm-hv2-lp4 tmp]# rhts-run-package /tmp/rhts-build-YQjeB643/install/ppc64pseries/rhts-149933-tests-1.0-1.ppc64pseries.rpm /tmp/rhts-run-package-etTa2077 /tmp 30 blocks /tmp/rhts-run-package-etTa2077/mnt/tests /tmp/rhts-run-package-etTa2077/mnt/tests /tmp /tmp/rhts-run-package-etTa2077/mnt/tests /tmp /tmp/rhts-run-package-etTa2077/mnt/tests/kernel /tmp/rhts-run-package-etTa2077/mnt/tests /tmp /tmp/rhts-run-package-etTa2077/mnt/tests /tmp /tmp/rhts-run-package-etTa2077/mnt/tests/kernel/syscalls /tmp/rhts-run-package-etTa2077/mnt/tests /tmp /tmp/rhts-run-package-etTa2077/mnt/tests /tmp /tmp/rhts-run-package-etTa2077/mnt/tests/kernel/syscalls/149933 /tmp/rhts-run-package-etTa2077/mnt/tests /tmp ***** Start of runtest.sh ***** Checking log file Count=1, Sleeping for 5s Count=2, Sleeping for 5s Slave 1: semaphore id 0 Slave 1: started and doing sleep for 10 secs. Slave 1: woke up - upping count. Slave 1: waiting for go. Slave 1: got the go all done. Controller: semaphore id 0 Controller: set up to tell slaves to wait Controller: starting slave 0 Controller: starting slave 1 Controller:Waiting on slaves and then telling them to go. Controller: Done deal - told them all slaves to go Slave 0: semaphore id 0 Slave 0: started and doing sleep for 10 secs. Slave 0: woke up - upping count. Slave 0: waiting for go. Slave 0: got the go all done. All slaves done Done checking log file All slaves exited Passed: Checking process list No slave process running Passed: Done checking process list ***** End of runtest.sh ***** Reporting test PASS as 0 test result submitted with the following arguments: -t PASS -S -r 0 -v 0 -q developer -D /tmp/dmesg.log -T storing results in /tmp/results.log /tmp/rhts-run-package-etTa2077/mnt/tests /tmp /tmp [root@ibm-hv2-lp4 tmp]# cat results.log ***** Start of runtest.sh ***** Checking log file Count=1, Sleeping for 5s Count=2, Sleeping for 5s Slave 1: semaphore id 0 Slave 1: started and doing sleep for 10 secs. Slave 1: woke up - upping count. Slave 1: waiting for go. Slave 1: got the go all done. Controller: semaphore id 0 Controller: set up to tell slaves to wait Controller: starting slave 0 Controller: starting slave 1 Controller:Waiting on slaves and then telling them to go. Controller: Done deal - told them all slaves to go Slave 0: semaphore id 0 Slave 0: started and doing sleep for 10 secs. Slave 0: woke up - upping count. Slave 0: waiting for go. Slave 0: got the go all done. All slaves done Done checking log file All slaves exited Passed: Checking process list No slave process running Passed: Done checking process list ***** End of runtest.sh ***** [root@ibm-hv2-lp4 tmp]# uname -a Linux ibm-hv2-lp4.test.redhat.com 2.6.9-37.EL #1 SMP Fri May 19 18:05:11 EDT 2006 ppc64 ppc64 ppc64 GNU/Linux [root@ibm-hv2-lp4 tmp]# Mike, so you think the rhts failed ppc run, was something wrong with rhts? An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2006-0575.html |