Date: Sat, 6 Oct 2007 18:57:22 -0700 (PDT) From: Akshay Kawale <freebsd_noob@yahoo.com> To: freebsd-threads@freebsd.org Subject: KSE does not appear to work when I run FreeBSD 6.2 on VMware Message-ID: <376995.12194.qm@web45002.mail.sp1.yahoo.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?376995.12194.qm>