Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Dec 2008 10:29:13 +0200
From:      "Vlad GALU" <dudu@dudu.ro>
To:        "Dan Nelson" <dnelson@allantgroup.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Weird truss output
Message-ID:  <ad79ad6b0812040029v4de56dfsf2f38661bafeabf@mail.gmail.com>
In-Reply-To: <20081203225542.GG22076@dan.emsphone.com>
References:  <ad79ad6b0812030147x7b9fa194nf86180f89583cdf5@mail.gmail.com> <20081203152330.GD22076@dan.emsphone.com> <ad79ad6b0812030745i5dd344d4qbae54d32579c142c@mail.gmail.com> <20081203170857.GE22076@dan.emsphone.com> <20081203185622.GF22076@dan.emsphone.com> <ad79ad6b0812031142m1240e995p30cd828192ee682b@mail.gmail.com> <20081203225542.GG22076@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Dec 4, 2008 at 12:55 AM, Dan Nelson <dnelson@allantgroup.com> wrote:
> In the last episode (Dec 03), Vlad GALU said:
>> On Wed, Dec 3, 2008 at 8:56 PM, Dan Nelson <dnelson@allantgroup.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ad79ad6b0812040029v4de56dfsf2f38661bafeabf>