From owner-freebsd-threads@FreeBSD.ORG Sun Oct 7 02:09:53 2007 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 63C3716A419 for ; Sun, 7 Oct 2007 02:09:53 +0000 (UTC) (envelope-from freebsd_noob@yahoo.com) Received: from n10.bullet.re3.yahoo.com (n10.bullet.re3.yahoo.com [68.142.237.123]) by mx1.freebsd.org (Postfix) with SMTP id 2549C13C447 for ; Sun, 7 Oct 2007 02:09:52 +0000 (UTC) (envelope-from freebsd_noob@yahoo.com) Received: from [68.142.230.28] by n10.bullet.re3.yahoo.com with NNFMP; 07 Oct 2007 01:57:22 -0000 Received: from [216.252.122.218] by t1.bullet.re2.yahoo.com with NNFMP; 07 Oct 2007 01:57:22 -0000 Received: from [69.147.84.109] by t3.bullet.sp1.yahoo.com with NNFMP; 07 Oct 2007 01:57:22 -0000 Received: from [127.0.0.1] by omp207.mail.sp1.yahoo.com with NNFMP; 07 Oct 2007 01:57:22 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 503446.78555.bm@omp207.mail.sp1.yahoo.com Received: (qmail 12512 invoked by uid 60001); 7 Oct 2007 01:57:22 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=vjAx9NWmzmpsyavoTkS6N2mx9VSg8oWIEw+g1yIKEdb6GZUNTEC+eTAXhZcGjNvRUd/hbYIf5dEXv1FYMhJJIkPUAQO29W1dg0SGD2Y9I/v5p4Cz9jppE7mmQLGHQnWbAL15Biyr3cvs+IOky+nLvMdN7iVkfoZWAqU1ZQ/P330=; X-YMail-OSG: HhAA9NAVM1nwpUQiiw2XnPNiLi3rHi6hzX2slxiNz_g0qobTMgnjm6VPwWwd0wiLHzAlS13JGQ.IJz6fK1rkIHcNPSmjXwFcH_V5 Received: from [69.147.84.254] by web45002.mail.sp1.yahoo.com via HTTP; Sat, 06 Oct 2007 18:57:22 PDT X-Mailer: YahooMailRC/651.50 YahooMailWebService/0.7.134 Date: Sat, 6 Oct 2007 18:57:22 -0700 (PDT) From: Akshay Kawale To: freebsd-threads@freebsd.org MIME-Version: 1.0 Message-ID: <376995.12194.qm@web45002.mail.sp1.yahoo.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: KSE does not appear to work when I run FreeBSD 6.2 on VMware X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Oct 2007 02:09:53 -0000 Hi,=0A=0AI'm writing a small thread library based on KSE.=0AI've got some i= nitial code ready that performs an upcall when I create a new KSE.=0A=0AHow= ever, this code only works on a physical machine. When I run FreeBSD on VMw= are, 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).=0A=0AI'v= e tried this on a stock 6.2 RELEASE Kernel (Physical Machine) and on 6.2 RE= LEASE and 6.2 RELEASE-p8 (VM).=0A=0AMy /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.=0A=0Atruss: cannot open /proc/curproc/mem: No such file or directo= ry=0Atruss: cannot open1 /proc/1044/mem: No such file or directory=0A=0AI w= rote a small threaded program using pthreads, and that appears to work ok o= n VMware.=0A=0ADoes anyone have an idea what could be wrong?=0AAny suggesti= ons to help me debug?=0A=0AThanks.=0A=0A- Akshay=0A=0A=0A=0A=0A=0A ___= ___________________________________________________________________________= ______=0AShape Yahoo! in your own image. Join our Network Research Panel t= oday! http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=3D7 =0A= =0A