Linuxu­lat­or D-​Trace probes com­mit­ted to cur­rent

A while ago I com­mit­ted the linuxu­lat­or D-​Trace probes I talked about earli­er. I waited a little bit for this an­nounce­ment to make sure I have not broken any­thing. Nobody com­plained so far, so I as­sume noth­ing ob­vi­ously bad crept in.

The >500 probes I com­mit­ted do not cov­er the en­tire linuxu­lat­or, but are a good start. Adding new ones is straight for­ward, if someone is in­ter­ested in a ju­ni­or–ker­nel–hack­er task, this would be one. Just ask me (or ask on emu­la­tion@), and I can guide you through it.

linux_​base-​c6

Seems I for­got to an­nounce that the linux_​base-​c6 is in the Ports Col­lec­tion now. Well, it is not a re­place­ment for the cur­rent de­fault linux base, the linuxu­lat­or in­fra­struc­ture ports are miss­ing and we need to check if the ker­nel sup­ports enough of 2.6.18 that noth­ing breaks.

TODO:

To my know­ledge, nobody is work­ing on any­thing of this. Any­one is wel­come to have a look and provide patches.

DTrace in GENERIC (-cur­rent)

In case you have not no­ticed yet, KDTRACE_​HOOKS is now in the GENERIC ker­nel in FreeBSD-cur­rent. This means you just need to load the DTrace mod­ules and can use DTrace with the GENERIC ker­nel.

In case you do not know what you can do with DTrace, take the time to have a look at the DTrace blog. It is worth any minute you in­vest read­ing it.

Sock­ets and null­fs: works now in –cur­rent

I just up­dated to a re­cent -cur­rent and tried the new null­fs. Sock­ets (e.g. the MySQL one) work now with null­fs. No need to have e.g. jails on the same FS and hard­link the sock­et to not need to use TCP in MySQL (or an IP at all for the jail).

Great work!

v4l sup­port in the linuxu­lat­or MFCed to 8-​stable

I merged the v4l trans­la­tion lay­er in­to the linuxu­lat­or of 8–stable. As in -cur­rent, this just means that linux apps (like Skype) can now use FreeBSD nat­ive devices which con­form to the v4l ABI. The port multimedia/​webcamd provides ac­cess to some web­cams (or DVB hard­ware) via the v4l ABI.

People which want to test the linuxu­lat­or part should first make sure a nat­ive FreeBSD ap­plic­a­tion has no prob­lem ac­cess­ing the device.