Dual-console default

Matt Dillon committed code that makes DragonFly computers boot in dual mode – i.e. both the serial console and the video console are active. Use -h at boot to get just serial, and -V to get just video.

kbdmap Kicked, adduser Added

Thanks to Chris Pressey, Tim Wickberg, and William DeVries, the Perl script kbdmap has been replaced with a C equivalent, and adduser/rmuser, also formerly Perl, has been replaced with Bourne shell scripts. These all came from FreeBSD-5.

asf, csplit, tabs, and asa

Hiten Pandya’s added asf(8): Add Symbol File. It’s ported from FreeBSD – I’m adding the commit comment below. Also, csplit(1), tabs(1) as specified in IEEE Std. 1003.1-2001 (SUSv3) and ported from Tim J. Robbins’ code on FreeBSD. He’s also committed the POSIXv2 asa(1) utility for interpretation of FORTRAN carriage-control characters. How often does that happen?
Continue reading “asf, csplit, tabs, and asa”

gcc34 causes buildworld

Since GCC 3.4 is now in the source tree, which means a ‘make buildworld‘ (not ‘make quickworld‘) is neccessary on your next update. You can use it – after updating and rebuilding – with “setenv CCVER gcc34” set. Avoid using the -j flag to speed things up, just yet. ProPolice is supported with this version.

rconfig ritten

Matt Dillon has written a remote configuration utility called ‘rconfig‘, which sounds similar in theme to utilities like Kickstart or the whatchamacallit Sun uses. His description:

‘It allows a CD user to scan the network for configuration servers, download a configuration script based on a tag name, and execute that script all in one simple command. Running the rconfig server is just as easy… you basically just run the server -a -s and put your scripts in /usr/local/etc/rconfig/.sh and you are done.’

He’s added share/examples/rconfig auto.sh as a sample rconfig script. It will completely remove and reinstall DragonFly.

MSFBUFs made

Matt Dillon committed the MSFBUF API. His commit note sums it up nicely so I’ll repaste:

” Add the MSFBUF API. MSFBUFs are like SFBUFs but they manage ephermal multi-page mappings instead of single-page mappings. MSFBUFs have the same caching and page invalidation optimizations that SFBUFs have and are considered to be SMP-friendly.

Whereas XIO manages pure page lists, MSFBUFs manage KVA mappings of pure page lists.

This initial commit just gets the basic API operational. The roadmap for future work includes things like better interactions with third-party XIOs, mapping user buffers into the kernel (extending the xio_init_ubuf() API into the MSFBUF API), and allowing higher level subsystems to pass previously released MSFBUFs as a hint to speed-up regeneration. We also need to come up with a way to overload additional sets of MSFBUFs representing smaller chunks of memory on top of the same KVA space in order to efficiently use our KVA reservation when dealing with subsystems like the buffer cache.

MSFBUFs will eventually replace the KVA management in the BUF/BIO, PIPE, and other subsystems which create fake linear mappings with pbufs. The general idea for BUF/BIO will be to use XIO and MSFBUFs to avoid KVA mapping file data through the nominal I/O path. XIO will be the primary I/O buffer mechanism while MSFBUFs will be used when things like UFS decide they need a temporary mapping.

This is a collaborative work between Hiten Pandya and Matthew Dillon .”

bktr, gdb updtd

Joerg Sonnenberger has updated the bktr(4) driver to match what’s current in FreeBSD, including a new msp driver (from Linux), and support for the Terratec TValue, which was submitted by Patrick Mauritz.

cc3 has been switched back to stabs output, temporarily until DWARF2 support comes into gdb5 or DragonFly gets gdb6.

No && problems

‘walt’ found and Chris Pressey fixed a bug in the port system that could cause some ports to fail building with a error similar to ‘cd: can't cd to &&‘. Extraneous text was being inserted by the ‘build-depends-list’ and ‘run-depends-list’ targets.