On Fri, Jun 21, 2013 at 9:34 PM, Sedat Dilek wrote: > On Fri, Jun 21, 2013 at 10:17 AM, Stephen Rothwell wrote: >> Hi all, >> >> Happy solstice! >> >> Changes since 20130620: >> >> Dropped tree: mailbox (really bad merge conflicts with the arm-soc tree) >> >> The net-next tree gained a conflict against the net tree. >> >> The leds tree still had its build failure, so I used the version from >> next-20130607. >> >> The arm-soc tree gained conflicts against the tip, net-next, mfd and >> mailbox trees. >> >> The staging tree still had its build failure for which I disabled some >> code. >> >> The akpm tree lost a few patches that turned up elsewhere and gained >> conflicts against the ftrace and arm-soc trees. >> >> ---------------------------------------------------------------------------- >> > > [ CC IPC folks ] > > Building via 'make deb-pkg' with fakeroot fails here like this: > > make: *** [deb-pkg] Terminated > /usr/bin/fakeroot: line 181: 2386 Terminated > FAKEROOTKEY=$FAKEROOTKEY LD_LIBRARY_PATH="$PATHS" LD_PRELOAD="$LIB" > "$@" > semop(1): encountered an error: Identifier removed > semop(2): encountered an error: Invalid argument > semop(1): encountered an error: Identifier removed > semop(1): encountered an error: Identifier removed > semop(1): encountered an error: Invalid argument > semop(1): encountered an error: Invalid argument > semop(1): encountered an error: Invalid argument > > The issue is present since next-20130606! > > LAST KNOWN GOOD: next-20130605 > FIRST KNOWN BAD: next-20130606 > > KNOWN GOOD: next-20130604 > KNOWN BAD: next-20130607 || next-20130619 || next-20130620 || next-20130621 > > git-bisect says CULPRIT commit is... > > "ipc,msg: shorten critical region in msgrcv" > > NOTE: msg_lock_(check_) routines have to be restored (one more revert needed)! > > Reverting both (below) commits makes fakeroot build via 'make dep-pkg" again. > > I have tested the revert-patches with next-20130606 and next-20130621 > (see file-attachments). > > My build-script is attached! > > Can someone of the IPC folks look at that? > Thanks! > > - Sedat - > > > P.S.: Commit-IDs listed below. > > [ next-20130606 ] > > http://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/log/?id=next-20130606 > > "ipc: remove unused functions" > http://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/?id=8793fdfb0d0a6ed5916767e29a15d3eb56e04e79 > > "ipc,msg: shorten critical region in msgrcv" > http://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/?id=c0ff93322847a54f74a5450032c4df64c17fdaed > > [ next-20130621 ] > > http://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/log/?id=next-20130621 > > "ipc: remove unused functions" > http://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/?id=941ce57c81dcceadf55265616ee1e8bef18b0ad3 > > "ipc,msg: shorten critical region in msgrcv" > http://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/?id=62190df4081ee8504e3611d45edb40450cb408ac I did some more testing with Linux-Testing-Project (release: ltp-full-20130503) and next-20130624 (Monday) which has still the issue, here. If I revert the mentioned two commits from my local revert-ipc-next20130624-5089fd1c6a6a-ab9efc2d0db5 GIT repo, everything is fine. I have tested the LTP ***IPC*** and ***SYSCALLS*** testcases. root# ./runltp -f ipc root# ./runltp -f syscalls IPC seems to be fine for both -1 (UNPATCHED) and -2 (with attached two REVERTED patches) kernel, but -1 hangs in the SYSCALLS/msgctl08 test. Previous msgctl07 is OK, but ***msgctl08*** produces this: ... <<>> tag=msgctl07 stime=1372174934 cmdline="msgctl07" contacts="" analysis=exit <<>> msgctl07 1 TPASS : msgctl07 ran successfully! <<>> initiation_status="ok" duration=20 termination_type=exited termination_id=0 corefile=no cutime=1995 cstime=3 <<>> <<>> tag=msgctl08 stime=1372174954 cmdline="msgctl08" contacts="" analysis=exit <<>> msgctl08 0 TWARN : Verify error in child 0, *buf = 28, val = 27, size = 8 msgctl08 1 TFAIL : in child 0 read # = 73,key = 127 msgctl08 0 TWARN : Verify error in child 3, *buf = ffffff8a, val = ffffff89, size = 52 msgctl08 1 TFAIL : in child 3 read # = 157,key = 189 msgctl08 0 TWARN : Verify error in child 2, *buf = ffffff87, val = ffffff86, size = 71 msgctl08 1 TFAIL : in child 2 read # = 15954,key = 3e86 msgctl08 0 TWARN : Verify error in child 12, *buf = ffffffa9, val = ffffffa8, size = 22 msgctl08 1 TFAIL : in child 12 read # = 12904,key = 32a8 msgctl08 0 TWARN : Verify error in child 13, *buf = 36, val = 35, size = 27 msgctl08 1 TFAIL : in child 13 read # = 10442,key = 2935 msgctl08 0 TWARN : Verify error in child 10, *buf = ffffff86, val = ffffff85, size = 63 msgctl08 1 TFAIL : in child 10 read # = 19713,key = 4d85 msgctl08 0 TWARN : Verify error in child 4, *buf = 4c, val = 4b, size = 83 msgctl08 1 TFAIL : in child 4 read # = 23082,key = 5a4b msgctl08 0 TWARN : Verify error in child 15, *buf = 61, val = 60, size = 94 msgctl08 1 TFAIL : in child 15 read # = 23554,key = 5c60 msgctl08 0 TWARN : Verify error in child 11, *buf = 3b, val = 3a, size = 22 msgctl08 1 TFAIL : in child 11 read # = 26468,key = 683a msgctl08 0 TWARN : Verify error in child 5, *buf = ffffffb5, val = ffffffb4, size = 41 msgctl08 1 TFAIL : in child 5 read # = 31867,key = 7cb4 msgctl08 0 TWARN : Verify error in child 1, *buf = 7d, val = 7c, size = 59 msgctl08 1 TFAIL : in child 1 read # = 41063,key = a07c msgctl08 0 TWARN : Verify error in child 7, *buf = fffffff2, val = fffffff1, size = 83 msgctl08 1 TFAIL : in child 7 read # = 38476,key = 96f1 msgctl08 0 TWARN : Verify error in child 9, *buf = ffffff8b, val = ffffff8a, size = 40 msgctl08 1 TFAIL : in child 9 read # = 90438,key = 1618a msgctl08 0 TWARN : Verify error in child 8, *buf = ffffffcd, val = ffffffcc, size = 38 msgctl08 1 TFAIL : in child 8 read # = 88712,key = 15acc msgctl08 0 TWARN : Verify error in child 6, *buf = 6, val = 5, size = 1 msgctl08 1 TFAIL : in child 6 read # = 83297,key = 14605 ***** STOPPED ***** See "ltp-full-20130503.git/testcases/kernel/syscalls/ipc/msgctl/msgctl08.c" [1]. NOTE: Debian/Ubuntu users with dash as default shell require the patch from [2]. - Sedat - P.S.: Unfortunately, fakeroot DEBUG doc file is outdated. [1] https://github.com/linux-test-project/ltp/blob/master/testcases/kernel/syscalls/ipc/msgctl/msgctl08.c [2] https://github.com/linux-test-project/ltp/commit/b88fa5b6ec5a29834a0e52df7b22b9bb47fe0379