This message generated a parse failure. Raw output follows here. Please use 'back' to navigate. From devnull@lkml.org Tue May 14 21:20:09 2024 Delivery-date: Tue, 28 Mar 2006 23:30:33 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751289AbWC1VaA (ORCPT ); Tue, 28 Mar 2006 16:30:00 -0500 Received: from spirit.analogic.com ([204.178.40.4]:47371 "EHLO spirit.analogic.com") by vger.kernel.org with ESMTP id S1751287AbWC1VaA convert rfc822-to-8bit (ORCPT ); Tue, 28 Mar 2006 16:30:00 -0500 Received: from chaos.analogic.com ([10.112.50.11]) by phoenix.analogic.com with Microsoft SMTPSVC(6.0.3790.211); Tue, 28 Mar 2006 16:29:58 -0500 Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Received: from chaos.analogic.com (localhost [127.0.0.1]) by chaos.analogic.com (8.12.11/8.12.11) with ESMTP id k2SLTww5024835; Tue, 28 Mar 2006 16:29:58 -0500 Received: (from linux-os@localhost) by chaos.analogic.com (8.12.11/8.12.11/Submit) id k2SLTwtS024834; Tue, 28 Mar 2006 16:29:58 -0500 In-Reply-To: <200603281603.53561.gene.heskett@verizon.net> X-OriginalArrivalTime: 28 Mar 2006 21:29:58.0850 (UTC) FILETIME=[C3BF0220:01C652AE] content-class: urn:content-classes:message Subject: Re: Possible breakage in 2.6.16? Date: Tue, 28 Mar 2006 16:29:58 -0500 Message-Id: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Possible breakage in 2.6.16? Thread-Index: AcZSrsPIee9AQJzcQaKh2AguBnk4ew== References: <200603281244.24906.gene.heskett@verizon.net> <200603281603.53561.gene.heskett@verizon.net> From: "linux-os \(Dick Johnson\)" To: Cc: Reply-To: "linux-os \(Dick Johnson\)" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 28 Mar 2006, Gene Heskett wrote: > On Tuesday 28 March 2006 13:19, linux-os (Dick Johnson) wrote: >> On Tue, 28 Mar 2006, Gene Heskett wrote: > Dick, this may be a resend to you, but I can't find it in my sent-mail > box. Honest, I did go thru the motions :) > >>> Greetings; >>> >>> Always curious as to what sort of information can be extracted from >>> the tools linux gives us, I've discovered that netstat, from the >>> >>> net-tools-1.60-25.1 rpm >>> >>> no longer functions for anything as even a 'netstat --version' takes >>> the curser to the upper left corner of the screen and hangs till >>> ctl+c'd. >>> >>> The only evidence of its execution is a steady, about 2 per second, >>> increase in the number of processes running as reported by gkrellm, >>> all of which go away when I ctl+c netstat itself. >>> >>> I'm running 2.6.16 self configured here. >>> >>> Is this a known problem because my net-tools rpm is old? Or because >>> 2.6.16 broke it? >> >> strace netstat --version 2>info.txt >> ^C >> >> Then read info.txt and see what it called that doesn't return. > > It appears strace does about 5-6 pages of its own setup, then this: > --------------------open("/root/bin/netstat", O_RDONLY|O_LARGEFILE) = 3 > ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0xaf86e2e8) = -1 ENOTTY > (Inappropriate ioctl for device) > _llseek(3, 0, [0], SEEK_CUR) = 0 > read(3, "#!/bin/bash\nreset\nwhile [ 1 ] ; "..., 80) = 80 > _llseek(3, 0, [0], SEEK_SET) = 0 > getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0 > dup2(3, 255) = 255 > close(3) = 0 > fcntl64(255, F_SETFD, FD_CLOEXEC) = 0 > fcntl64(255, F_GETFL) = 0x8000 (flags O_RDONLY| > O_LARGEFILE) > fstat64(255, {st_mode=S_IFREG|0755, st_size=124, ...}) = 0 > _llseek(255, 0, [0], SEEK_CUR) = 0 > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 > read(255, "#!/bin/bash\nreset\nwhile [ 1 ] ; "..., 124) = 124 > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 > stat64(".", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 > stat64("/root/bin/reset", 0xaf86e160) = -1 ENOENT (No such file or > directory) > stat64("/usr/java/bin/reset", 0xaf86e160) = -1 ENOENT (No such file or > directory) > stat64("/usr/bin/reset", {st_mode=S_IFREG|0755, st_size=36216, ..}) = 0 > stat64("/usr/bin/reset", {st_mode=S_IFREG|0755, st_size=36216, ..}) = 0 > rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0 > _llseek(255, -106, [18], SEEK_CUR) = 0 > clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID| > SIGCHLD, child_tidptr=0xa7f480c8) = 6558 > rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 > rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 > rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 > rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 > rt_sigaction(SIGINT, {0x8074990, [], 0}, {SIG_DFL}, 8) = 0 > waitpid(-1, tset: standard error: Inappropriate ioctl for device > > [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0) = 6558 > rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 > --- SIGCHLD (Child exited) @ 0 (0) --- > waitpid(-1, 0xaf86dee8, WNOHANG) = -1 ECHILD (No child processes) > sigreturn() = ? (mask now []) > rt_sigaction(SIGINT, {SIG_DFL}, {0x8074990, [], 0}, 8) = 0 > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 > read(255, "while [ 1 ] ; do\n\n netstat -a "..., 124) = 106 > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 > rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 > rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 > rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 > rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 > pipe([3, 4]) = 0 > rt_sigprocmask(SIG_BLOCK, [INT CHLD], [CHLD], 8) = 0 > _llseek(255, -1, [123], SEEK_CUR) = 0 > clone(tset: standard error: Inappropriate ioctl for device > > tset: standard error: Inappropriate ioctl for device > > child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, > child_tidptr=0xa7f480c8) = 6559 > rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0 > close(4) = 0 > close(4) = -1 EBADF (Bad file descriptor) > rt_sigprocmask(SIG_BLOCK, [INT CHLD], [CHLD], 8) = 0 > clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID| > SIGCHLD, child_tidptr=0xa7f480c8) = 6580 > rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0 > close(3) = 0 > rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD], 8) = 0 > rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0 > rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD], 8) = 0 > rt_sigaction(SIGINT, {0x8074990, [], 0}, {SIG_DFL}, 8) = 0 > waitpid(-1, tset: standard error: Inappropriate ioctl for device > > tset: standard error: Inappropriate ioctl for device > > tset: standard error: Inappropriate ioctl for device > > tset: standard error: Inappropriate ioctl for device > --------------------- > And theres a couple more megabytes of that last line till I ctl+c'd it. > I did that when gkrellm said it was up to about 990 processes from the > normal 220 or so here. > > But I have NDI what it all _really_ means. And I just built and > rebooted to 2.6.16.1 with no change in this seemingly weird behaviour. > > Thanks all > > -- > Cheers, Gene The error message comes from `tset`. Some script that runs on startup of each of your 990 processes is trying to set a terminal when, in fact, there is no terminal associated with the task. Perhaps, your new java script is doing something???? Perhaps associated with this little gem: read(255, "while [ 1 ] ; do\n\n netstat -a "..., 124) = 106 Cheers, Dick Johnson Penguin : Linux version 2.6.15.4 on an i686 machine (5589.42 BogoMips). Warning : 98.36% of all statistics are fiction, book release in April. _  **************************************************************** The information transmitted in this message is confidential and may be privileged. Any review, retransmission, dissemination, or other use of this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient, please notify Analogic Corporation immediately - by replying to this message or by sending an email to DeliveryErrors@analogic.com - and destroy all copies of this information, including any attachments, without reading or disclosing them. Thank you. - 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/