From owner-freebsd-current Tue Feb 6 07:48:01 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id HAA19287 for current-outgoing; Tue, 6 Feb 1996 07:48:01 -0800 (PST) Received: from Adonis.Dorm10.NCTU.edu.tw (Adonis.Dorm10.NCTU.edu.tw [140.113.122.84]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id HAA19270 for ; Tue, 6 Feb 1996 07:47:57 -0800 (PST) Received: (from jdli@localhost) by Adonis.Dorm10.NCTU.edu.tw (8.7.3/8.6.12) id XAA00545 for freebsd-current@freebsd.org; Tue, 6 Feb 1996 23:48:59 +0800 (CST) From: Chien-Ta Lee Message-Id: <199602061548.XAA00545@Adonis.Dorm10.NCTU.edu.tw> Subject: Re: new pipe is broken (Feb-6) To: freebsd-current@freebsd.org Date: Tue, 6 Feb 1996 23:48:59 +0800 (CST) X-Mailer: ELM [version 2.4 PL24 ME8a] Content-Type: text Sender: owner-current@freebsd.org Precedence: bulk >Chien-Ta Lee stands accused of saying: >> >> >> Hi : >> >> I think the new pipe is broekn, my Jan31 kernel with sys_pipe.c >> Rev 1.4 works fine on making world, but Feb6 kernel with sys_pipe.c >> Rev 1.8 hangs. >> >> It just stops at the final line without core, without panic, without >> causing system load (load = 0.00), just sleep there .... > >In situations like this, you should try to include 'ps alxww' output >for the relevant processes so that people can identify what the >process is sleeping on. > Here you are ... UID PID PPID CPU PRI NI VSZ RSS WCHAN STAT TT TIME COMMAND 0 524 168 0 10 0 388 792 wait I+ p0 0:00.15 make depend all 0 525 524 0 10 0 480 320 wait I+ p0 0:00.01 /bin/sh -ec sh /usr/src/lib/libedit/makelist -bc /usr/src/lib/libedit/vi.c /usr/src/lib/libedit/emacs.c /usr/src/lib/libedit/common.c > help.c 0 526 525 0 10 0 484 324 wait I+ p0 0:00.02 sh /usr/src/lib/libedit/makelist /usr/src/lib/libedit/vi.c /usr/src/lib/libedit/emacs.c /usr/src/lib/libedit/common.c 0 528 526 0 -6 0 196 96 pipdwc I+ p0 0:00.01 cat /usr/src/lib/libedit/vi.c /usr/src/lib/libedit/emacs.c /usr/src/lib/libedit/common.c 0 529 526 0 -6 0 344 896 piperd I+ p0 0:00.08 awk \n^IBEGIN {\n^I printf("/* Automatically generated file, do not edit */\\n");\n^I printf("#include \\"sys.h\\"\\n#include \\"el.h\\"\\n");\n^I printf("private struct el_bindings_t el_func_help[] = {\\n");\n^I low = "abcdefghijklmnopqrstuvwxyz_";\n^I high = "ABCDEFGHIJKLMNOPQRSTUVWXYZ_";\n^I for (i = 1; i <= length(low); i++)\n^I^Itr[substr(low, i, 1)] = substr(high, i, 1);\n^I}\n^I/\\(\\):/ {\n^I pr = substr($2, 1, 2);\n^I if (pr == "vi" || pr == "em" || pr == "ed") {\n^I^Iname = substr($2, 1, length($2) - 3);\n^I^Iuname = "";\n^I^Ifname = "";\n^I^Ifor (i = 1; i <= length(name); i++) {\n^I^I s = substr(name, i, 1);\n^I^I uname = uname tr[s];\n^I^I if (s == "_")\n^I^I^Is = "-";\n^I^I fname = fname s;\n^I^I}\n^I^I \n^I^Iprintf(" { %-30.30s %-30.30s\\n","\\"" fname "\\",", uname ",");\n^I^Iok = 1; \n^I }\n^I}\n^I/^ \\*/ {\n^I if (ok) {\n^I^Iprintf(" \\"");\! n^I^Ifor (i = 2; i < NF; i++)\n^I^I printf("%s ", $i);\n^I^Iprintf("%s\\" },\\n", $i);\n^I^Iok = 0;\n^I }\n^I}\n^IEND {\n^I printf(" { NULL, 0, NULL }\\n");\n^I printf("};\\n");\n^I printf("\\nprotected el_bindings_t* help__get()");\n^I printf("{ return el_func_help; }\\n");\n^I}