Re: VirtualBox-kmod fails to build on -CURRENT

2011-11-01 Thread Ed Schouten
* Bernhard Fröhlich , 2001 20:38: > Thanks a lot for the patch. To be able to submit it upstream please > reply if it is okay that the patch is licensed under the MIT License > so that Oracle can include it in their products. Sure. I don't care. :-) -- Ed Schouten WWW: http://80386.nl/

Re: VirtualBox-kmod fails to build on -CURRENT

2011-11-01 Thread Bernhard Fröhlich
On Di.,  1. Nov. 2011 18:33:54 CET, Ed Schouten wrote: > * Marco Steinbach , 2001 18:18: > > You were right about the device naming, I had to create a symlink. > > Okay. I've attached a new version of the patch that: > > - Adds a symbolic link from /dev/vboxdrv0 to /dev/vboxdrv automatical

Re: VirtualBox-kmod fails to build on -CURRENT

2011-11-01 Thread Ed Schouten
* Marco Steinbach , 2001 18:18: > You were right about the device naming, I had to create a symlink. Okay. I've attached a new version of the patch that: - Adds a symbolic link from /dev/vboxdrv0 to /dev/vboxdrv automatically, - Changes the code to use /dev/vboxdrv. This means the kernel mod

Re: VirtualBox-kmod fails to build on -CURRENT

2011-11-01 Thread Marco Steinbach
On Mon, 31 Oct 2011, Ed Schouten wrote: * Marco Steinbach , 20111031 13:11: Thanks for having a look into this -- I'm trying out your patch right now. This will take a while, as I'll try and test this on 7, also. Great. Thanks! I just inspected the code and it seems VirtualBox expects the

Re: VirtualBox-kmod fails to build on -CURRENT

2011-10-31 Thread Ed Schouten
* Marco Steinbach , 20111031 13:11: > Thanks for having a look into this -- I'm trying out your patch right > now. This will take a while, as I'll try and test this on 7, also. Great. Thanks! I just inspected the code and it seems VirtualBox expects the device to be named /dev/vboxdrv%d explicitl

Re: VirtualBox-kmod fails to build on -CURRENT

2011-10-31 Thread Marco Steinbach
Ed Schouten wrote on 31.10.2011 12:16: * Ed Schouten , 20111031 12:07: Ugh. Too impatient. Please try the attached patch. It should build on 7.x and higher. I have only compile-tested it, because I am not a VirtualBox user (yet). Read: I have only compile-tested it on HEAD, but the used interf

Re: VirtualBox-kmod fails to build on -CURRENT

2011-10-31 Thread Ed Schouten
* Ed Schouten , 20111031 12:07: > Ugh. Too impatient. Please try the attached patch. It should build on > 7.x and higher. I have only compile-tested it, because I am not a > VirtualBox user (yet). Read: I have only compile-tested it on HEAD, but the used interfaces should be present as of 7.x. --

Re: VirtualBox-kmod fails to build on -CURRENT

2011-10-31 Thread Ed Schouten
* Ed Schouten , 20111031 11:26: > I think I'll take a closer look at this code more thoroughly sometime > this week. Ugh. Too impatient. Please try the attached patch. It should build on 7.x and higher. I have only compile-tested it, because I am not a VirtualBox user (yet). | SUPDrv-freebsd.c |

Re: VirtualBox-kmod fails to build on -CURRENT

2011-10-31 Thread Ed Schouten
Hi Bernhard, * Bernhard Froehlich , 20111031 11:04: > My first guess is that it could be enough to remove the flag but I > don't know if we need to replace some code with make_dev_p(). So i've > CC'd ed@ and hope that he can shed some light on that. > > https://www.virtualbox.org/browser/trunk/sr

Re: VirtualBox-kmod fails to build on -CURRENT

2011-10-31 Thread Bernhard Froehlich
On 31.10.2011 10:23, Marco Steinbach wrote: Vladimir Kushnir wrote on 26.10.2011 11:32: Hi Well, the problem is: I'm trying to build VirtualBox{*} on amd64 10.0-CURRENT. The very first port, virtualbox-ose-kmod fails with /usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.0.12_OSE/out

Re: VirtualBox-kmod fails to build on -CURRENT

2011-10-31 Thread Marco Steinbach
Vladimir Kushnir wrote on 26.10.2011 11:32: Hi Well, the problem is: I'm trying to build VirtualBox{*} on amd64 10.0-CURRENT. The very first port, virtualbox-ose-kmod fails with /usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.0.12_OSE/out/freebsd. amd64/release/bin/src/vboxdrv/fre