Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Oct 2007 11:17:27 -0700
From:      Julian Elischer <julian@elischer.org>
To:        Kip Macy <kip.macy@gmail.com>
Cc:        freebsd-threads@freebsd.org
Subject:   Re: KSE does not appear to work when I run FreeBSD 6.2 on VMware
Message-ID:  <470A7437.30708@elischer.org>
In-Reply-To: <b1fa29170710061919h35025fa2n141f079435c1146f@mail.gmail.com>
References:  <376995.12194.qm@web45002.mail.sp1.yahoo.com> <b1fa29170710061919h35025fa2n141f079435c1146f@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Kip Macy wrote:
> I can't speak to your problem directly.
> 
> Two (somewhat) relevant comments:
> 
> - For security reasons procfs is not mounted by default.
> - KSE is being supplanted by libthr.


He's not using libkse but writing his own concurrancy app by using the 
primatives.

My question is whether he is on  amd64 or i386


> 
> -Kip
> 
> 
> On 10/6/07, Akshay Kawale <freebsd_noob@yahoo.com> wrote:
>> Hi,
>>
>> I'm writing a small thread library based on KSE.
>> I've got some initial code ready that performs an upcall when I create a new KSE.
>>
>> However, this code only works on a physical machine. When I run FreeBSD on VMware, my program does not appear to perform the upcall. I know that it's not upcalling because I intentionally seg fault in my upcall function. (I also put a gdb breakpoint at the upcall function, which does not hit).
>>
>> I've tried this on a stock 6.2 RELEASE Kernel (Physical Machine) and on 6.2 RELEASE and 6.2 RELEASE-p8 (VM).
>>
>> My /proc does not appear to be set up, so I can't use 'truss' to figure out if the KSE Syscalls are actually being called.
>>
>> truss: cannot open /proc/curproc/mem: No such file or directory
>> truss: cannot open1 /proc/1044/mem: No such file or directory
>>
>> I wrote a small threaded program using pthreads, and that appears to work ok on VMware.
>>
>> Does anyone have an idea what could be wrong?
>> Any suggestions to help me debug?
>>
>> Thanks.
>>
>> - Akshay
>>
>>
>>
>>
>>
>>       ____________________________________________________________________________________
>> Shape Yahoo! in your own image.  Join our Network Research Panel today!   http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7
>>
>>
>> _______________________________________________
>> freebsd-threads@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-threads
>> To unsubscribe, send any mail to "freebsd-threads-unsubscribe@freebsd.org"
>>
> _______________________________________________
> freebsd-threads@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-threads
> To unsubscribe, send any mail to "freebsd-threads-unsubscribe@freebsd.org"




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