Re: about gsoc 2014
On Tue, Mar 18, 2014 at 5:50 AM, Junyuan Zeng jz...@utdallas.edu wrote: Hi Bernhard I am Junyuan Zeng, a fourth year PhD student at The University of Texas at Dallas. I am pretty interested on the project that you lead. I am very good at C programming and have advanced knowledge about visualization and vfs in Linux Kernel. I have some experience about Virtulbox. I am implementing a mechanism on Virtualbox for fast transferring files between guest OS and host OS now. We have implemented this mechanism in KVM and it's at least 5X-10X faster than drag 'n' drop in Virtualbox. Basically, we redirect the system call from host OS to guest OS. We can talk more about it if you have interests. If let me implement the VirtualBox shared folder support for FreeBSD guests, I will take a look at the source code in folder VirtualBox-4.3.8/src/VBox/Additions/linux/sharedfolders, which implement the guest driver for shared folder. Based on that, I will implement a freebsd version of guest driver. Do you think it's a good way to go? Thanks! Hi Junyuan, Thanks for your interest in the VirtualBox Shared Folders GSoC project! This project was already part of GSoC last year but it's still unfinished. In the meantime lwhsu@ has continued on the result of that and he is the better technical contact right now. The current work can be seen on github: https://github.com/lwhsu/freebsd-vboxfs and I forward you the most recent mail from him which should give an idea of what work remaining to do. We would be very glad if someone takes that GSoC task but it requires more bugfixing and adding read/write support than implementing new code. I have also CC'd a bunch of people that are currently involved in that task to keep them informed. Looking forward to a great GSoC 2014 :o) -- Forwarded message -- From: Li-Wen Hsu lw...@freebsd.org Date: Fri, Mar 14, 2014 at 6:47 PM Subject: Re: [GSoc] interested in VirtualBox shared folder support for FreeBSD guests To: waleed ziad wela64wal...@gmail.com Cc: Bernhard Fröhlich de...@freebsd.org, freebsd-emulation@freebsd.org freebsd-emulation@freebsd.org, Oleksandr Dudinskyi dudins...@gmail.com, Daniel Lorch dlo...@gmail.com On Mon, Mar 10, 2014 at 19:47:53 +0200, waleed ziad wrote: Thanks a lot Mr.Bernhard Fröhlich for your care and reply i contacted him . On Mon, Mar 10, 2014 at 2:44 PM, Bernhard Fröhlich de...@freebsd.org wrote: On Mon, Mar 10, 2014 at 4:31 AM, waleed ziad wela64wal...@gmail.com wrote: Hello all, i am a student from Cairo , Egypt and i was hoping to participate at Google summer of code this year in FreeBSD organization i am interested in VirtualBox shared folder support for FreeBSD guests and i was hoping someone Could someone suggest the first steps I should take to understand the project better or any issues(or bugs) that I can look into ? and any skills i should acquire ? , thank all in advance . Thanks for your interest! The project was part of GSoC last year already and Oleksandr did make good progress with it but hasn't got it fully working. Li-Wen Hsu took over his work and fixed a few things and also put it on github: https://github.com/lwhsu/freebsd-vboxfs So right now the best technical contact is Li-Wen Hsu and I guess he can also tell you what is blocking progress right now and if it's still a viable GSoC project. Sorry for the late reply, as Bernhard said, the current status is blocked because it seems that I need to get familiar with our virtual memory subsystem and how it interacts with VirtualBox's HGCM to make progress. I'm trying to squeeze more time on this. The README on https://github.com/lwhsu/freebsd-vboxfs is still valid for 4.3.8, you can follow the instruction to setup the environment, kldload vboxguest.ko and vboxvfs.ko . However, mount_vboxfs still cannot work because vboxCallMapFolder() returns error. If digging this deeper, we can find that the call ends up in rtR0MemObjNativeLockInMap() (in VirtualBox-4.3.8/src/VBox/Runtime/r0drv/freebsd/memobj-r0drv-freebsd.c) while doing: rc = vm_map_wire(pVmMap, /* the map */ AddrStart, /* start */ AddrStart + cb, /* end */ fFlags); /* flags */ the vm_map_wire(9) (in /sys/vm/vm_map.c) always returns KERN_INVALID_ADDRESS when getting false with vm_map_lookup_entry(9) at the beginning. That's my current status. Any help on this is welcomed. Add Daniel Lorch into CC list since he's also working on this. Li-Wen -- Li-Wen Hsu lw...@freebsd.org http://lwhsu.org -- Bernhard Froehlich http://www.bluelife.at/ ___ freebsd-emulation@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-emulation To unsubscribe, send any mail to freebsd-emulation-unsubscr...@freebsd.org
Re: ports/187648: emulators/virtualbox-ose-additions port requires gcc to run
Just fyi... I've been having problems with virtualbox crashing on unload of modules or shutdown of machines (I thought I filed a PR, but now I'm not seeing it), so I tried this. But in attempting to build, I get the following error. (This is from virutalbox-ose-kmod, but the same occurs in virtualbox-ose.) [...] /usr/local/share/kBuild/footer-pass2-installs.kmk:67: warning: ignoring old recipe for target `/usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.3.8/out/freebsd.amd64/debug/dist/bin/src/vboxdrv/include/iprt/net.h' kBuild: Generating /usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.3.8/out/freebsd.amd64/debug/revision.kmk /usr/local/bin/kmk_redirect -E 'LC_ALL=C' -wo /usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.3.8/out/freebsd.amd64/debug/revision.kmk.ts.tmp -- svn info /usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.3.8 svn: warning: W155010: The node '/usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.3.8' was not found. svn: E29: Could not display info for all targets because some targets don't exist kmk: *** [/usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.3.8/out/freebsd.amd64/debug/revision.kmk.ts] Error 1 *** [pre-build] Error code 2 Stop in /usr/ports/emulators/virtualbox-ose-kmod. *** [build] Error code 1 Stop in /usr/ports/emulators/virtualbox-ose-kmod. On Mon, Mar 17, 2014 at 09:00:01PM +, Jung-uk Kim wrote: The following reply was made to PR ports/187648; it has been noted by GNATS. From: Jung-uk Kim j...@freebsd.org To: bug-follo...@freebsd.org, rsimmo...@gmail.com Cc: Subject: Re: ports/187648: emulators/virtualbox-ose-additions port requires gcc to run Date: Mon, 17 Mar 2014 16:44:39 -0400 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 If C++ sources are compiled and linked with GCC from the ports, then it becomes run-time dependency because the binary links with libstdc++.so from the port instead of libc++.so from the base. If you really must get rid of the dependency, please try this *unofficial* port: https://svn.redports.org/jkim/emulators/virtualbox-ose-additions You need to download both emulators/virtualbox-ose and emulators/virtualbox-ose-additions, i. e., svn co https://svn.redports.org/jkim/emulators cd emulators/virtualbox-ose-additions make Jung-uk Kim -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.22 (FreeBSD) iQEcBAEBAgAGBQJTJ162AAoJEHyflib82/FGGH8IAJRmtKYM3j02ikTQ8U/HKLIZ r2S1VYQ/wnJmGIwIQLpgC2NSd7aNyhWfPtJJJ/5Pe0GLLvbnkg2Wign/7f6RFA4B kcek+E+h4xIv7j9OnFxv/pOHKbhxO/+vU91wNQM9R1z4YkIAKiUYCmkoafdKf3Tb 2kKa9J0wTPJQ93TSy8xgmnJU5c7QY6bzLwNqyxwvdIk+00/z7AqAhFVGShAWuPyH UPYCbfSbAdB7KnlXTp/tslcMZBUpfdf5ekkuHEP90mvxLkfwQzp2OYOtICkf29dg r9fgJR/VVK6gwBgtXX0zYjQFGEbmJDOXiIt1fFNv8nmA+/C1QfQopQuaRrYMCHc= =LI7S -END PGP SIGNATURE- ___ freebsd-emulation@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-emulation To unsubscribe, send any mail to freebsd-emulation-unsubscr...@freebsd.org -- greg byshenk - gbysh...@byshenk.net - Portland, OR USA ___ freebsd-emulation@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-emulation To unsubscribe, send any mail to freebsd-emulation-unsubscr...@freebsd.org
Re: CFT #3: Re: linux libusb again... (now also for 10i386)
On Sat, 15 Mar 2014, Juergen Lock wrote: Hi! I now have changed my port to use devel/linux-f10-devtools instead of emulators/linux_base-gentoo-stage3 (you need linux-f10-devtools-10_1 because of http://www.freebsd.org/cgi/query-pr.cgi?pr=187609 ), which not only allows it to build outside of tb/powderkeg but also works around the missing 10i386 package issue: http://people.freebsd.org/~nox/tmp/linux_libusb-002.shar Packages: http://people.freebsd.org/~nox/tmp/packages/10amd64/linux_libusb-11.0r261448_1.txz http://people.freebsd.org/~nox/tmp/packages/10i386/linux_libusb-11.0r261448_1.txz (Seems you can also manually untar them and use them on 9.x, at least Linux lsusb seems to do something on 9.2/amd64 too.) I just fetched the amd64 package and instaled it on 10.0-RC5 and it just worked. Please get it in. :-) -- Bjoern A. Zeeb ? ??? ??? ??: '??? ??? ?? ??? ?? ?? ??? ??? ??? ? ? ?? ?? ? ', ? ?, ??? ? ?? ?, ?.??? ___ freebsd-emulation@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-emulation To unsubscribe, send any mail to freebsd-emulation-unsubscr...@freebsd.org
Re: about gsoc 2014
Hi Bernhard Thanks a lot for your detailed reply and I will contact Li-Wen directly if I have any questions. - Original Message - From: Bernhard Fröhlich de...@freebsd.org To: Junyuan Zeng jz...@utdallas.edu Cc: Li-Wen Hsu lw...@freebsd.org, freebsd-emulation@freebsd.org, Oleksandr Dudinskyi dudins...@gmail.com, Daniel Lorch dlo...@gmail.com, waleed ziad wela64wal...@gmail.com Sent: Tuesday, March 18, 2014 2:21:20 AM Subject: Re: about gsoc 2014 On Tue, Mar 18, 2014 at 5:50 AM, Junyuan Zeng jz...@utdallas.edu wrote: Hi Bernhard I am Junyuan Zeng, a fourth year PhD student at The University of Texas at Dallas. I am pretty interested on the project that you lead. I am very good at C programming and have advanced knowledge about visualization and vfs in Linux Kernel. I have some experience about Virtulbox. I am implementing a mechanism on Virtualbox for fast transferring files between guest OS and host OS now. We have implemented this mechanism in KVM and it's at least 5X-10X faster than drag 'n' drop in Virtualbox. Basically, we redirect the system call from host OS to guest OS. We can talk more about it if you have interests. If let me implement the VirtualBox shared folder support for FreeBSD guests, I will take a look at the source code in folder VirtualBox-4.3.8/src/VBox/Additions/linux/sharedfolders, which implement the guest driver for shared folder. Based on that, I will implement a freebsd version of guest driver. Do you think it's a good way to go? Thanks! Hi Junyuan, Thanks for your interest in the VirtualBox Shared Folders GSoC project! This project was already part of GSoC last year but it's still unfinished. In the meantime lwhsu@ has continued on the result of that and he is the better technical contact right now. The current work can be seen on github: https://github.com/lwhsu/freebsd-vboxfs and I forward you the most recent mail from him which should give an idea of what work remaining to do. We would be very glad if someone takes that GSoC task but it requires more bugfixing and adding read/write support than implementing new code. I have also CC'd a bunch of people that are currently involved in that task to keep them informed. Looking forward to a great GSoC 2014 :o) -- Forwarded message -- From: Li-Wen Hsu lw...@freebsd.org Date: Fri, Mar 14, 2014 at 6:47 PM Subject: Re: [GSoc] interested in VirtualBox shared folder support for FreeBSD guests To: waleed ziad wela64wal...@gmail.com Cc: Bernhard Fröhlich de...@freebsd.org, freebsd-emulation@freebsd.org freebsd-emulation@freebsd.org, Oleksandr Dudinskyi dudins...@gmail.com, Daniel Lorch dlo...@gmail.com On Mon, Mar 10, 2014 at 19:47:53 +0200, waleed ziad wrote: Thanks a lot Mr.Bernhard Fröhlich for your care and reply i contacted him . On Mon, Mar 10, 2014 at 2:44 PM, Bernhard Fröhlich de...@freebsd.org wrote: On Mon, Mar 10, 2014 at 4:31 AM, waleed ziad wela64wal...@gmail.com wrote: Hello all, i am a student from Cairo , Egypt and i was hoping to participate at Google summer of code this year in FreeBSD organization i am interested in VirtualBox shared folder support for FreeBSD guests and i was hoping someone Could someone suggest the first steps I should take to understand the project better or any issues(or bugs) that I can look into ? and any skills i should acquire ? , thank all in advance . Thanks for your interest! The project was part of GSoC last year already and Oleksandr did make good progress with it but hasn't got it fully working. Li-Wen Hsu took over his work and fixed a few things and also put it on github: https://github.com/lwhsu/freebsd-vboxfs So right now the best technical contact is Li-Wen Hsu and I guess he can also tell you what is blocking progress right now and if it's still a viable GSoC project. Sorry for the late reply, as Bernhard said, the current status is blocked because it seems that I need to get familiar with our virtual memory subsystem and how it interacts with VirtualBox's HGCM to make progress. I'm trying to squeeze more time on this. The README on https://github.com/lwhsu/freebsd-vboxfs is still valid for 4.3.8, you can follow the instruction to setup the environment, kldload vboxguest.ko and vboxvfs.ko . However, mount_vboxfs still cannot work because vboxCallMapFolder() returns error. If digging this deeper, we can find that the call ends up in rtR0MemObjNativeLockInMap() (in VirtualBox-4.3.8/src/VBox/Runtime/r0drv/freebsd/memobj-r0drv-freebsd.c) while doing: rc = vm_map_wire(pVmMap, /* the map */ AddrStart, /* start */ AddrStart + cb, /* end */ fFlags); /* flags */ the vm_map_wire(9) (in /sys/vm/vm_map.c) always returns KERN_INVALID_ADDRESS when getting false with vm_map_lookup_entry(9) at the beginning. That's my current status. Any help on this is welcomed. Add Daniel Lorch into CC
Re: CFT #3: Re: linux libusb again... (now also for 10i386)
On Tue, Mar 18, 2014 at 02:37:17PM +, Bjoern A. Zeeb wrote: On Sat, 15 Mar 2014, Juergen Lock wrote: Hi! I now have changed my port to use devel/linux-f10-devtools instead of emulators/linux_base-gentoo-stage3 (you need linux-f10-devtools-10_1 because of http://www.freebsd.org/cgi/query-pr.cgi?pr=187609 ), which not only allows it to build outside of tb/powderkeg but also works around the missing 10i386 package issue: http://people.freebsd.org/~nox/tmp/linux_libusb-002.shar Packages: http://people.freebsd.org/~nox/tmp/packages/10amd64/linux_libusb-11.0r261448_1.txz http://people.freebsd.org/~nox/tmp/packages/10i386/linux_libusb-11.0r261448_1.txz (Seems you can also manually untar them and use them on 9.x, at least Linux lsusb seems to do something on 9.2/amd64 too.) I just fetched the amd64 package and instaled it on 10.0-RC5 and it just worked. Please get it in. :-) Done. Thanx for testing! :) Juergen PS: someone wants to test it as Linux libusb-1.0 too? You'd have to ln it yourself but otherwise it might just work as such also... ___ freebsd-emulation@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-emulation To unsubscribe, send any mail to freebsd-emulation-unsubscr...@freebsd.org
Re: ports/186702: commit references a PR
The following reply was made to PR ports/186702; it has been noted by GNATS. From: dfil...@freebsd.org (dfilter service) To: bug-follo...@freebsd.org Cc: Subject: Re: ports/186702: commit references a PR Date: Tue, 18 Mar 2014 22:19:05 + (UTC) Author: thierry Date: Tue Mar 18 22:19:01 2014 New Revision: 348601 URL: http://svnweb.freebsd.org/changeset/ports/348601 QAT: https://qat.redports.org/buildarchive/r348601/ Log: Let the linux rpm ports use grouping rules, e.g. to download the binaries and the sources from differents MASTER_SITES. PR: ports/186702 Approved by: netchild Modified: head/Mk/bsd.linux-rpm.mk Modified: head/Mk/bsd.linux-rpm.mk == --- head/Mk/bsd.linux-rpm.mk Tue Mar 18 21:53:40 2014(r348600) +++ head/Mk/bsd.linux-rpm.mk Tue Mar 18 22:19:01 2014(r348601) @@ -95,7 +95,7 @@ PKGNAMEPREFIX?= linux- # is not true. DISTFILES?= ${DISTNAME}${EXTRACT_SUFX} -BIN_DISTFILES:= ${DISTFILES} +BIN_DISTFILES:= ${_DISTFILES} SRC_DISTFILES?= ${DISTNAME}${SRC_SUFX} EXTRACT_ONLY?=${BIN_DISTFILES} ___ svn-ports-...@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to svn-ports-all-unsubscr...@freebsd.org ___ freebsd-emulation@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-emulation To unsubscribe, send any mail to freebsd-emulation-unsubscr...@freebsd.org
Re: Mk/bsd.linux-rpm.mk does not allow grouping rules (:something)
Le lun 17 mar 14 à 20:50:46 +0100, Alexander Leidinger alexan...@leidinger.net écrivait : Hi, Hello, As it seems to work, feel free to go ahead and commit the patch. Done, thanks. Btw: even the linux base should have at least two download locations, one for the src, the other one for the binaries. If the grouping can not be used with MASTER_SITES_SUBDIR, it may be beneficial to rewrite in a way which allows to use the grouping. OK, I try to see how it could be done. Best regards, -- Th. Thomas. ___ freebsd-emulation@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-emulation To unsubscribe, send any mail to freebsd-emulation-unsubscr...@freebsd.org
Re: ports/186702: Mk/bsd.linux-rpm.mk does not allow grouping rules (:something)
Synopsis: Mk/bsd.linux-rpm.mk does not allow grouping rules (:something) State-Changed-From-To: open-closed State-Changed-By: thierry State-Changed-When: mar 18 mar 2014 22:21:49 UTC State-Changed-Why: Just committed! http://www.freebsd.org/cgi/query-pr.cgi?pr=186702 ___ freebsd-emulation@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-emulation To unsubscribe, send any mail to freebsd-emulation-unsubscr...@freebsd.org