inconsistency in using vn_fullpath1()

2007-03-04 Thread Divacky Roman
hi I noticed that kern___getcwd() calls vn_fullpath1() with Giant held like this: mtx_lock(&Giant); FILEDESC_LOCK(fdp); error = vn_fullpath1(td, fdp->fd_cdir, fdp->fd_rdir, tmpbuf, &bp, buflen); FILEDESC_UNLOCK(fdp); mtx_unlock(&Giant); on the

Re: Are there any known issues for installing FreeBSD on Vmware onwindows XP ?

2007-03-04 Thread ajay gopalakrishnan
Hi Greg, I am facing with some issues in getting FreeBSD installed on my machine. I am using Vmware workstation version 5. I am using an evaluation version of it. I downloaded the FreeBSD Release 6.2 from freebsd.org. I downloaded all the 3 ISO images. cd1 , cd2 and docs . I did not write these i

Re: inconsistency in using vn_fullpath1()

2007-03-04 Thread Robert Watson
On Sun, 4 Mar 2007, Divacky Roman wrote: I noticed that kern___getcwd() calls vn_fullpath1() with Giant held like this: mtx_lock(&Giant); FILEDESC_LOCK(fdp); error = vn_fullpath1(td, fdp->fd_cdir, fdp->fd_rdir, tmpbuf, &bp, buflen); FILEDESC_UNLOCK(fdp

Re: Are there any known issues for installing FreeBSD on Vmware onwindows XP ?

2007-03-04 Thread Joseph Koshy
Further, after installation how should i ensure that all the required kernel sources are installed? You want the sources to the complete system, not just the "kernel", and you would want to keep these upto-date too. See: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/synching.html a

investigation of Giant usage in kernel

2007-03-04 Thread Divacky Roman
hi I looked at where Giant is held in the kernel and I found these interesting things: 1) in fs/fifofs/fifo_vnops.c we lock Giant when calling sorecieve()/sosend() this is a bandaid for fixing a race that doesnt have to exist anymore. ie. it needs some testing and can be remvoed 2) in geom/geom

Re: Are there any known issues for installing FreeBSD on Vmware onwindows XP ?

2007-03-04 Thread Roger Olofsson
ajay gopalakrishnan skrev: Hi Greg, I am facing with some issues in getting FreeBSD installed on my machine. I am using Vmware workstation version 5. I am using an evaluation version of it. I downloaded the FreeBSD Release 6.2 from freebsd.org. I downloaded all the 3 ISO images. cd1 , cd2 an

Re: investigation of Giant usage in kernel

2007-03-04 Thread Ed Schouten
Hello, I took a grep on the kernel source and took a look to Giant usage as well. I too have a question about locking in uipc_domain.c: The file has a mutex, dom_mtx, which protects the 'domain list lock', which could be declared static by the way. The strange thing is that it isn't used to lock

Keyboard not working except "Enter" Key and getting monochrome color with Vmware on HP Pavillio dv6000 series notebook

2007-03-04 Thread ajay gopalakrishnan
Hi, I'm trying to install FreeBSD on Vmware on windows XP Media Center Edition on my notebook HP Pavillion dv6000 series. The installation is proper. Everything gets installed perfectly. KDE starts also but the resolution is not OK. I'm not getting a colored output for KDE. everything is black a