From owner-freebsd-stable@FreeBSD.ORG Thu Dec 4 08:29:14 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EA01F1065676 for ; Thu, 4 Dec 2008 08:29:14 +0000 (UTC) (envelope-from dudu@dudu.ro) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.28]) by mx1.freebsd.org (Postfix) with ESMTP id AE5248FC20 for ; Thu, 4 Dec 2008 08:29:14 +0000 (UTC) (envelope-from dudu@dudu.ro) Received: by yw-out-2324.google.com with SMTP id 9so1669425ywe.13 for ; Thu, 04 Dec 2008 00:29:13 -0800 (PST) Received: by 10.150.212.14 with SMTP id k14mr3910971ybg.148.1228379353681; Thu, 04 Dec 2008 00:29:13 -0800 (PST) Received: by 10.151.137.13 with HTTP; Thu, 4 Dec 2008 00:29:13 -0800 (PST) Message-ID: Date: Thu, 4 Dec 2008 10:29:13 +0200 From: "Vlad GALU" To: "Dan Nelson" In-Reply-To: <20081203225542.GG22076@dan.emsphone.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20081203152330.GD22076@dan.emsphone.com> <20081203170857.GE22076@dan.emsphone.com> <20081203185622.GF22076@dan.emsphone.com> <20081203225542.GG22076@dan.emsphone.com> Cc: freebsd-stable@freebsd.org Subject: Re: Weird truss output X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Dec 2008 08:29:15 -0000 On Thu, Dec 4, 2008 at 12:55 AM, Dan Nelson wrote: > In the last episode (Dec 03), Vlad GALU said: >> On Wed, Dec 3, 2008 at 8:56 PM, Dan Nelson wrote: >> [...] >> >> Am I doing something wrong? I've applied the full diff, rebuilt >> truss, now I get this: >> -- cut here -- >> root@goofy / # truss -p 52731 >> SIGNAL 17 (SIGSTOP) >> >> -- UNKNOWN SYSCALL 1048535 -- >> -- UNKNOWN SYSCALL 1048496 -- >> -- UNKNOWN SYSCALL 1048559 -- >> -- UNKNOWN SYSCALL 1048559 -- >> -- UNKNOWN SYSCALL -8464 -- >> -- UNKNOWN SYSCALL -8464 -- >> -- UNKNOWN SYSCALL 527 -- >> -- UNKNOWN SYSCALL 527 -- >> /100084: read(1074283119,"\M-|\M^WP\^A",7356800) = 4 (0x4) >> -- UNKNOWN SYSCALL 527 -- >> -- UNKNOWN SYSCALL 7385248 -- >> -- and here -- >> >> Perhaps I should mention that I block all signals from all threads, >> except for one, where I do all the handling/cleanup. > > So you're back to your original behaviour basically? Not sure what's > wrong; it all works great on my machine... Are you on a 64-bit system? > I only have a Pentium-III here, so the big patch isn't guaranteed to > work on anything except i386. The little patch inlined in my previous > email is for i386-fbsd.c, but you should be able to make similar > changes to amd64-fbsd.c (most of the diff just replaces "fsc." with > "fsc->" ). > Duh, I'm dumb, I didn't take a moment to check whether there was a 64-bit specific implementation. My initial thought was that the "i386" in the i386-fbsd.c referred to the CPU arch :) I'll try patching the other file today and get back with the results. And next time I'll make sure I've had my daily coffee before posting to the list :) > -- > Dan Nelson > dnelson@allantgroup.com > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > -- ~/.signature: no such file or directory