Date: Tue, 9 Oct 2007 02:12:42 -0700 (PDT) From: Akshay Kawale <freebsd_noob@yahoo.com> To: Julian Elischer <julian@elischer.org>, 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: <171691.66820.qm@web45006.mail.sp1.yahoo.com>
next in thread | raw e-mail | index | archive | help
I have an amd64 machine, but I'm using a generic FreeBSD kernel.=0AMy host = OS is Ubuntu i386 (not amd64), so I'm not sure what is exported to the gues= t.=0A=0AMy physical machine is a P4 however.=0AWould that make a difference= ? (Considering my kernel/libc is compiled for a generic i386/i686).=0A=0A- = Akshay=0A=0A----- Original Message ----=0AFrom: Julian Elischer <julian@eli= scher.org>=0ATo: Kip Macy <kip.macy@gmail.com>=0ACc: Akshay Kawale <freebsd= _noob@yahoo.com>; freebsd-threads@freebsd.org=0ASent: Monday, October 8, 20= 07 11:17:27 AM=0ASubject: Re: KSE does not appear to work when I run FreeBS= D 6.2 on VMware=0A=0AKip Macy wrote:=0A> I can't speak to your problem dire= ctly.=0A> =0A> Two (somewhat) relevant comments:=0A> =0A> - For security re= asons procfs is not mounted by default.=0A> - KSE is being supplanted by li= bthr.=0A=0A=0AHe's not using libkse but writing his own concurrancy app by = using the =0Aprimatives.=0A=0AMy question is whether he is on amd64 or i38= 6=0A=0A=0A> =0A> -Kip=0A> =0A> =0A> On 10/6/07, Akshay Kawale <freebsd_noob= @yahoo.com> wrote:=0A>> Hi,=0A>>=0A>> I'm writing a small thread library ba= sed on KSE.=0A>> I've got some initial code ready that performs an upcall w= hen I create a new KSE.=0A>>=0A>> However, this code only works on a physic= al machine. When I run FreeBSD on VMware, my program does not appear to per= form 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 fu= nction, which does not hit).=0A>>=0A>> I've tried this on a stock 6.2 RELEA= SE Kernel (Physical Machine) and on 6.2 RELEASE and 6.2 RELEASE-p8 (VM).=0A= >>=0A>> My /proc does not appear to be set up, so I can't use 'truss' to fi= gure out if the KSE Syscalls are actually being called.=0A>>=0A>> truss: ca= nnot open /proc/curproc/mem: No such file or directory=0A>> truss: cannot o= pen1 /proc/1044/mem: No such file or directory=0A>>=0A>> I wrote a small th= readed program using pthreads, and that appears to work ok on VMware.=0A>>= =0A>> Does anyone have an idea what could be wrong?=0A>> Any suggestions to= help me debug?=0A>>=0A>> Thanks.=0A>>=0A>> - Akshay=0A>>=0A>>=0A>>=0A>>=0A= >>=0A>> _____________________________________________________________= _______________________=0A>> Shape Yahoo! in your own image. Join our Netw= ork Research Panel today! http://surveylink.yahoo.com/gmrs/yahoo_panel_in= vite.asp?a=3D7=0A>>=0A>>=0A>> _____________________________________________= __=0A>> freebsd-threads@freebsd.org mailing list=0A>> http://lists.freebsd.= org/mailman/listinfo/freebsd-threads=0A>> To unsubscribe, send any mail to = "freebsd-threads-unsubscribe@freebsd.org"=0A>>=0A> ________________________= _______________________=0A> freebsd-threads@freebsd.org mailing list=0A> ht= tp://lists.freebsd.org/mailman/listinfo/freebsd-threads=0A> To unsubscribe,= send any mail to "freebsd-threads-unsubscribe@freebsd.org"=0A=0A=0A=0A=0A= =0A=0A=0A=0A _________________________________________________________= ___________________________=0AShape Yahoo! in your own image. Join our Net= work Research Panel today! http://surveylink.yahoo.com/gmrs/yahoo_panel_i= nvite.asp?a=3D7 =0A=0A
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?171691.66820.qm>