Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1764347AbZFQNkt (ORCPT ); Wed, 17 Jun 2009 09:40:49 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754603AbZFQNkl (ORCPT ); Wed, 17 Jun 2009 09:40:41 -0400 Received: from yw-out-2324.google.com ([74.125.46.30]:35281 "EHLO yw-out-2324.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752409AbZFQNkk (ORCPT ); Wed, 17 Jun 2009 09:40:40 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=bpQBdhphcFkliCONrfgWIu0gr+Pupkh/uKxgtDnGn440CM5j8981vgbTrEMzm/OnfE tNNgVwVLXQ68j1+/hyuUxA9+43+tleZc7T0ejNrm3P+jxJWV7xhzW1Gg9rJUUEcscLID O5ATqNj1u/WK9lsaESq2KNGcUqnUTQ3xH+vWg= MIME-Version: 1.0 Date: Wed, 17 Jun 2009 19:10:42 +0530 Message-ID: Subject: [ARM-SIGNAL]open_posix_testcase-nanosleep+SIGCONT+SIGSTOP+Failed From: naresh kamboju To: linux-arm@lists.arm.linux.org.uk, linux-kernel@vger.kernel.org Cc: Oleg Nesterov , Sukadev Bhattiprolu , Roland McGrath , Andrew Morton , Christoph Hellwig , Ingo Molnar , Pavel Emelyanov Content-Type: multipart/mixed; boundary=001e680f12840162ef046c8b709c Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 21657 Lines: 470 --001e680f12840162ef046c8b709c Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi, I want to inform 2.6.29 signal issues of ARM. this issue is noticed only on ARM. As per my understanding I have noticed that when there is a delay (sleep/nanosleep/usleep) in the child process. Child could not reporting exit status to parent at this situation parent is waiting for ever by combinations of SIGSTOP and SIGCONT. So test cases are reporting as HUNG. Here I have attached open posix test cases which are reported as HUNG with 2.6.29 kernels. 1. ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_nanosleep/1-5.c 2. ltp/testcases/open_posix_testsuite/conformance/interfaces/nanosleep/3-2.c ARCH: ARM KERNEL: 2.6.29.1-alp_nl-kzm-arm11 Glibc: 2.9 Gcc: 4.3.3 /*****************************************************************/ open_posix_testsuite/conformance/interfaces/clock_nanosleep/1-5.c /*****************************************************************/ /* * Copyright (c) 2002-3, Intel Corporation. All rights reserved. * Created by: julie.n.fleischer REMOVE-THIS AT intel DOT com * This file is licensed under the GPL license. For the full content * of this license, see the COPYING file at the top level of this * source tree. * Test that clock_nanosleep() does not stop if a signal is received * that has no signal handler. clock_nanosleep() should still respond * to the signal, but should resume after a SIGCONT signal is received. * * SIGSTOP will be used to stop the sleep. */ #include #include #include #include #include #include #include "posixtest.h" #define SLEEPSEC 5 #define CHILDPASS 1 #define CHILDFAIL 0 int main(int argc, char *argv[]) { int pid, slepts; struct timespec tsbefore, tsafter; if (clock_gettime(CLOCK_REALTIME, &tsbefore) != 0) { perror("clock_gettime() did not return success\n"); return PTS_UNRESOLVED; } if ((pid = fork()) == 0) { /* child here */ struct timespec tssleep; tssleep.tv_sec=SLEEPSEC; tssleep.tv_nsec=0; if (clock_nanosleep(CLOCK_REALTIME, 0, &tssleep, NULL) == 0) { printf("clock_nanosleep() returned success\n"); return CHILDPASS; } else { printf("clock_nanosleep() did not return success\n"); return CHILDFAIL; } return CHILDFAIL; } else { /* parent here */ int i; sleep(1); if (kill(pid, SIGSTOP) != 0) { printf("Could not raise SIGSTOP\n"); return PTS_UNRESOLVED; } if (kill(pid, SIGCONT) != 0) { printf("Could not raise SIGCONT\n"); return PTS_UNRESOLVED; } if (wait(&i) == -1) { perror("Error waiting for child to exit\n"); return PTS_UNRESOLVED; } if (!WIFEXITED(i) || !WEXITSTATUS(i)) { printf("Test FAILED\n"); return PTS_FAIL; } if (clock_gettime(CLOCK_REALTIME, &tsafter) == -1) { perror("Error in clock_gettime()\n"); return PTS_UNRESOLVED; } slepts=tsafter.tv_sec-tsbefore.tv_sec; #ifdef DEBUG printf("Start %d sec; End %d sec\n", (int) tsbefore.tv_sec, (int) tsafter.tv_sec); #endif if (slepts >= SLEEPSEC) { printf("Test PASSED\n"); return PTS_PASS; } else { printf("clock_nanosleep() did not sleep long enough\n"); return PTS_FAIL; } } //end fork return PTS_UNRESOLVED; } /*****************************************************************/ open_posix_testsuite/conformance/interfaces/nanosleep/3-2.c /*****************************************************************/ /* * Copyright (c) 2002, Intel Corporation. All rights reserved. * Created by: julie.n.fleischer REMOVE-THIS AT intel DOT com * This file is licensed under the GPL license. For the full content * of this license, see the COPYING file at the top level of this * source tree. * * Regression test motivated by an LKML discussion. Test that nanosleep() * can be interrupted and then continue. */ #include #include #include #include #include #include #define PTS_PASS 0 #define PTS_FAIL 1 #define PTS_UNRESOLVED 2 #define PTS_UNSUPPORTED 4 #define PTS_UNTESTED 5 #define SLEEPSEC 5 #define CHILDPASS 0 //if interrupted, child will return 0 #define CHILDFAIL 1 int main(int argc, char *argv[]) { int pid, slepts; struct timespec tsbefore, tsafter; if (clock_gettime(CLOCK_REALTIME, &tsbefore) != 0) { perror("clock_gettime() did not return success\n"); return PTS_UNRESOLVED; } if ((pid = fork()) == 0) { /* child here */ struct timespec tssleep; tssleep.tv_sec=SLEEPSEC; tssleep.tv_nsec=0; if (nanosleep(&tssleep, NULL) == 0) { printf("nanosleep() returned success\n"); return CHILDPASS; } else { printf("nanosleep() did not return success\n"); return CHILDFAIL; } return CHILDFAIL; } else { /* parent here */ int i; sleep(1); if (kill(pid, SIGSTOP) != 0) { printf("Could not raise SIGSTOP\n"); return PTS_UNRESOLVED; } if (kill(pid, SIGCONT) != 0) { printf("Could not raise SIGCONT\n"); return PTS_UNRESOLVED; } if (wait(&i) == -1) { perror("Error waiting for child to exit\n"); return PTS_UNRESOLVED; } if (!WIFEXITED(i)) { printf("nanosleep() did not return 0\n"); return PTS_FAIL; } if (clock_gettime(CLOCK_REALTIME, &tsafter) == -1) { perror("Error in clock_gettime()\n"); return PTS_UNRESOLVED; } slepts=tsafter.tv_sec-tsbefore.tv_sec; printf("Start %d sec; End %d sec\n", (int) tsbefore.tv_sec, (int) tsafter.tv_sec); if (slepts >= SLEEPSEC) { printf("Test PASSED\n"); return PTS_PASS; } else { printf("nanosleep() did not sleep long enough\n"); return PTS_FAIL; } } //end fork return PTS_UNRESOLVED; } /*****************************************************************/ Best regards, Naresh Kamboju --001e680f12840162ef046c8b709c Content-Type: text/plain; charset=US-ASCII; name="proc_log.txt" Content-Disposition: attachment; filename="proc_log.txt" Content-Transfer-Encoding: base64 X-Attachment-Id: f_fw235pdd0 LWJhc2gtMy4yIyB1bmFtZSAtYQ0KTGludXggMi42LjI5LjIgDQotYmFzaC0zLjIjIGNhdCBwcm9j LzQ2NC9zdGF0dXMNCk5hbWU6ICAgMy0yLnRlc3QNClN0YXRlOiAgVCAodHJhY2luZyBzdG9wKQ0K VGdpZDogICA0NjQNClBpZDogICAgNDY0DQpQUGlkOiAgIDQ2Mg0KVHJhY2VyUGlkOiAgICAgIDQ2 Mg0KVWlkOiAgICAwICAgICAgIDAgICAgICAgMCAgICAgICAwDQpHaWQ6ICAgIDAgICAgICAgMCAg ICAgICAwICAgICAgIDANCkZEU2l6ZTogMzINCkdyb3VwczogMA0KVm1QZWFrOiAgICAgMjMzMiBr Qg0KVm1TaXplOiAgICAgMjMxNiBrQg0KVm1MY2s6ICAgICAgICAgMCBrQg0KVm1IV006ICAgICAg IDQwNCBrQg0KVm1SU1M6ICAgICAgIDQwNCBrQg0KVm1EYXRhOiAgICAgICAzMiBrQg0KVm1TdGs6 ICAgICAgICA4NCBrQg0KVm1FeGU6ICAgICAgICAgNCBrQg0KVm1MaWI6ICAgICAgMjAzMiBrQg0K Vm1QVEU6ICAgICAgICAgOCBrQg0KVGhyZWFkczogICAgICAgIDENClNpZ1E6ICAgMC8xMDI0DQpT aWdQbmQ6IDAwMDAwMDAwMDAwMDAwM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wMDAwMDAwMDAwDQpTaWdCbGs6IDAwMDAwMDAw MDAwMDAwMDANClNpZ0lnbjogMDAwMDAwMDAwMDAwMDAwMA0KU2lnQ2d0OiAwMDAwMDAwMTgwMDAw MDAwDQpDYXBJbmg6IDAwMDAwMDAwMDAwMDAwMDANCkNhcFBybTogZmZmZmZmZmZmZmZmZmVmZg0K Q2FwRWZmOiBmZmZmZmZmZmZmZmZmZWZmDQpDYXBCbmQ6IGZmZmZmZmZmZmZmZmZlZmYNCnZvbHVu dGFyeV9jdHh0X3N3aXRjaGVzOiAgICAgICAgNw0Kbm9udm9sdW50YXJ5X2N0eHRfc3dpdGNoZXM6 ICAgICAzNjYyMw0KLWJhc2gtMy4yIw== --001e680f12840162ef046c8b709c Content-Type: application/octet-stream; name="3-2.c" Content-Disposition: attachment; filename="3-2.c" Content-Transfer-Encoding: base64 X-Attachment-Id: f_fw23610n1 LyogICANCiAqIENvcHlyaWdodCAoYykgMjAwMiwgSW50ZWwgQ29ycG9yYXRpb24uIEFsbCByaWdo dHMgcmVzZXJ2ZWQuDQogKiBDcmVhdGVkIGJ5OiAganVsaWUubi5mbGVpc2NoZXIgUkVNT1ZFLVRI SVMgQVQgaW50ZWwgRE9UIGNvbQ0KICogVGhpcyBmaWxlIGlzIGxpY2Vuc2VkIHVuZGVyIHRoZSBH UEwgbGljZW5zZS4gIEZvciB0aGUgZnVsbCBjb250ZW50DQogKiBvZiB0aGlzIGxpY2Vuc2UsIHNl ZSB0aGUgQ09QWUlORyBmaWxlIGF0IHRoZSB0b3AgbGV2ZWwgb2YgdGhpcyANCiAqIHNvdXJjZSB0 cmVlLg0KICoNCiAqIFJlZ3Jlc3Npb24gdGVzdCBtb3RpdmF0ZWQgYnkgYW4gTEtNTCBkaXNjdXNz aW9uLiAgVGVzdCB0aGF0IG5hbm9zbGVlcCgpDQogKiBjYW4gYmUgaW50ZXJydXB0ZWQgYW5kIHRo ZW4gY29udGludWUuDQogKi8NCiNpbmNsdWRlIDxzdGRpby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NlYzsNCg0KCQlwcmludGYoIlN0YXJ0ICVk IHNlYzsgRW5kICVkIHNlY1xuIiwgKGludCkgdHNiZWZvcmUudHZfc2VjLA0KCQkJCShpbnQpIHRz YWZ0ZXIudHZfc2VjKTsNCgkJaWYgKHNsZXB0cyA+PSBTTEVFUFNFQykgew0KCQkJcHJpbnRmKCJU ZXN0IFBBU1NFRFxuIik7DQoJCQlyZXR1cm4gUFRTX1BBU1M7DQoJCX0gZWxzZSB7DQoJCQlwcmlu dGYoIm5hbm9zbGVlcCgpIGRpZCBub3Qgc2xlZXAgbG9uZyBlbm91Z2hcbiIpOw0KCQkJcmV0dXJu IFBUU19GQUlMOw0KCQl9DQoNCgl9IC8vZW5kIGZvcmsNCg0KCXJldHVybiBQVFNfVU5SRVNPTFZF RDsNCn0NCg== --001e680f12840162ef046c8b709c Content-Type: application/octet-stream; name="1-5.c" Content-Disposition: attachment; filename="1-5.c" Content-Transfer-Encoding: base64 X-Attachment-Id: f_fw236n882 LyogICANCiAqIENvcHlyaWdodCAoYykgMjAwMi0zLCBJbnRlbCBDb3Jwb3JhdGlvbi4gQWxsIHJp Z2h0cyByZXNlcnZlZC4NCiAqIENyZWF0ZWQgYnk6ICBqdWxpZS5uLmZsZWlzY2hlciBSRU1PVkUt VEhJUyBBVCBpbnRlbCBET1QgY29tDQogKiBUaGlzIGZpbGUgaXMgbGljZW5zZWQgdW5kZXIgdGhl IEdQTCBsaWNlbnNlLiAgRm9yIHRoZSBmdWxsIGNvbnRlbnQNCiAqIG9mIHRoaXMgbGljZW5zZSwg c2VlIHRoZSBDT1BZSU5HIGZpbGUgYXQgdGhlIHRvcCBsZXZlbCBvZiB0aGlzIA0KICogc291cmNl IHRyZWUuDQoNCiAqIFRlc3QgdGhhdCBjbG9ja19uYW5vc2xlZXAoKSBkb2VzIG5vdCBzdG9wIGlm IGEgc2lnbmFsIGlzIHJlY2VpdmVkDQogKiB0aGF0IGhhcyBubyBzaWduYWwgaGFuZGxlci4gIGNs b2Nr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iIpOw0KCQkJcmV0 dXJuIFBUU19VTlJFU09MVkVEOw0KCQl9DQoNCgkJc2xlcHRzPXRzYWZ0ZXIudHZfc2VjLXRzYmVm b3JlLnR2X3NlYzsNCg0KI2lmZGVmIERFQlVHDQoJCXByaW50ZigiU3RhcnQgJWQgc2VjOyBFbmQg JWQgc2VjXG4iLCAoaW50KSB0c2JlZm9yZS50dl9zZWMsDQoJCQkJKGludCkgdHNhZnRlci50dl9z ZWMpOw0KI2VuZGlmDQoJCWlmIChzbGVwdHMgPj0gU0xFRVBTRUMpIHsNCgkJCXByaW50ZigiVGVz dCBQQVNTRURcbiIpOw0KCQkJcmV0dXJuIFBUU19QQVNTOw0KCQl9IGVsc2Ugew0KCQkJcHJpbnRm KCJjbG9ja19uYW5vc2xlZXAoKSBkaWQgbm90IHNsZWVwIGxvbmcgZW5vdWdoXG4iKTsNCgkJCXJl dHVybiBQVFNfRkFJTDsNCgkJfQ0KDQoJfSAvL2VuZCBmb3JrDQoNCglyZXR1cm4gUFRTX1VOUkVT T0xWRUQ7DQp9DQo= --001e680f12840162ef046c8b709c Content-Type: application/octet-stream; name="nano_sleep_3-2.log" Content-Disposition: attachment; filename="nano_sleep_3-2.log" Content-Transfer-Encoding: base64 X-Attachment-Id: f_fw236ta13 ZXhlY3ZlKCIuLzMtMi50ZXN0IiwgWyIuLzMtMi50ZXN0Il0sIFsvKiAxMCB2YXJzICovXSkgPSAw CmJyaygwKSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA9IDB4MTEwMDAKdW5hbWUo e3N5cz0iTGludXgiLCBub2RlPSI0My44OC4xMDEuMjExIiwgLi4ufSkgPSAwCm1tYXAyKE5VTEws IDQwOTYsIFBST1RfUkVBRHxQUk9UX1dSSVRFLCBNQVBfUFJJVkFURXxNQVBfQU5PTllNT1VTLCAt MSwgMCkgPSAweDQwMDFkMDAwCmFjY2VzcygiL2V0Yy9sZC5zby5wcmVsb2FkIiwgUl9PSykgICAg ICA9IC0xIEVOT0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GlkICAgNDY0XSA8Li4uIGtpbGwgcmVzdW1l ZD4gKSAgICAgICAgPSAwCltwaWQgICA0NjRdIGtpbGwoNDY1LCBTSUdDT05UKSAgICAgICAgICA9 IDAKW3BpZCAgIDQ2NF0gd2FpdDQoLTEsIFByb2Nlc3MgNDY0IHN1c3BlbmRlZAogPHVuZmluaXNo ZWQgLi4uPgpbcGlkICAgNDY1XSAtLS0gU0lHQ09OVCAoQ29udGludWVkKSBAIDAgKDApIC0tLQo= --001e680f12840162ef046c8b709c-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/