MirOS News

Sponsored by
HostEurope Logo

MirOS News

All 1 2 3 4 5 6 7 8 9 10 11 12 13

The second-stage boot(8/i386) loader has gained several interesting new features:

  • When called as DOS .com programme, it defaults to DL=80h because no actual drive is passed from the BIOS
  • When named boot.com it can be run as SYSLINUX (ISOLINUX, PXELINUX, EXTLINUX) module and boot any OpenBSD/i386 and MirBSD/i386 kernels from local filesystems supported
  • In addition to 4.2FFS and ISO 9660, the code to support the FAT12, FAT16, and FAT28 filesystems works and is enabled now, for both booting and the “ls” command
  • If a hard disc has no type 27h partition, the disklabel is searched using the superfloppy approach (i.e., LBA sector #1)
  • If no disklabel can be found, one is spoofed with a somewhat reasonable ‘c’ slice, the four MBR primary partitions as slices ‘d’, ‘e’, ‘f’ and ‘g’, and an ‘a’ slice spanning either the partition passed from DS:SI via SYSLINUX, the first non-empty MBR partition, or the entire disc
  • The new command “cat” allows you to display files from within the bootloader, lest they be accessible
  • The new command “machine label [hd0a]” dumps the disklabel
  • You can place more than one command on the same input line, because ‘`’ now acts the same as ‘\n’ in the command parser; this is useful for instance if the serial console is not accessible from the boot loader, but required for the kernel, and using a boot.cfg is no option

The /usr/mdec/mbrldr, /usr/mdec/mbrmgr and the MBR built in fdisk(8/i386) have been upgraded to pass the partition data in DS:SI (or junk if reading from FDD or whole HDD)

*smile* Now we just need to make our bootloader multiboot-compliant…

If you want to track MirOS-current, be aware that /usr/libexec/cpp changed and /usr/bin/cpp is gone; you must compile and install a new cpp first, then stuff like rpcgen(1) and lint(1), then remove the /usr/bin/cpp script.

Furthermore, the gcc-provided shared libraries and items have moved from /usr/lib to /usr/lib/gcc/OStriplet/3.4.6 which you should add to shlib_dirs in /etc/rc.conf.local until you have rebuilt everything (base system and ports). Both mgcc and llvm-gcc add appropriate DT_RPATH to programmes and shared objects compiled with them and use their own crtstuff; mircvs://src/lib/csu/ now provides crtstuff for use with pcc(!) instead.

Expect a new i386 snapshot some time soon; sparc snapshots are planned more for the long term but could be compiled on request (ETA one week).

The C Præprocessor, cpp(1), in MirOS-current has changed.

/usr/bin/cpp is henceforth deprecated in MirOS-current as well as in MirOS-stable; it’s a shell script (overhead!) to call either mcpp(1) or Reiser CCCP. It will be removed in MirOS-current ASAP.

/usr/bin/mcpp calls GNU cpp directly. Its manual page used to be called cpp(1) and is now called mcpp(1). Since we are going towards a multi compiler system, people are expected to use “${CC} -E” as C Præprocessor in the future, instead of relying on an external cpp binary, when compiling. A cpp binary will still be provided for the X(7) Windowing System and similar uses. /usr/bin/mcpp will be removed some time before MirOS #11

/usr/libexec/cpp used to be Reiser CCCP without a manual page. It is now pcc cpp(1) with a manual page.

ahoka@ came up with the idea of using the (much faster) pcc cpp over the (rather slow) GNU cpp for purposes like Xresources, xdm configuration files, etc. Reiser CCCP could be used too, but it’s lacking in terms of standards and features. However, pcc cpp is under the Caldera licence, and thus, the following text must be reproduced in this announcement. (It’s still much more free than GNU cpp.)

This product includes software developed or owned by Caldera International, Inc.

Technical issues: pcc cpp uses getopt(3) and, as such, has a command line syntax which is totally different from the CPP standard. It also pre-defines neither any macros nor include paths. Be warned, and expect some breakage until everything is sorted out.

The MirOS Licence is now, after quite some years, OSI approved, which not only implies an official certification that it conforms to the Open Source Definition, but also allows mksh to be advertised as “OSI Certified Open Source Software”™, and has other benefits, for example qualifying for being hosted by certain projects, or fulfilling certain gouvernment restrictions.

While there has always been cōnsensus that The MirOS Licence is DFSG and OSD and, recently, OKD conformant, only some lists actually included it – the OKFN was quick to do so, but while it qualifies as both Free Software and Free Documentation licence as per the FSF definition, they have yet to respond to my enquiry, and the OSI list has only been updated last night (and could use some UTF-8 fixing, or, in this case certainly better, a downgrade to the ASCII version dubbed the licence template initially).

Still we’re glad that the OSI, although not encouraging people to actually use the licence, given their stance on “licence proliferation”, has done this step. It would be the first approved “copycenter” (as per Marshall Kirk McKusick’s definition) style licence with EU jurisdiction in mind while remaining generally usable.

We are proud to announce the migration of the httpd(8) vhost www.mirbsd.org to eurynome, the VM already mentioned in the Developers’ Weblog. The MirOS website is now accessible via HTTPS (this includes downloads in a secure fashion), using IPv4 or IPv6. Due to no longer being hosted on a foreign operating system, operation should be much more smooth. CVSweb, AnonCVS and AnonRSYNC are now provided from a central place, and you can even retrieve the full website via rsync.

The links in the mirbsd.de Zope kindly hosted by waldi also have been changed to use SSL now.

All links to the 66h.42h.de domain have also been changed to point to mirbsd.de or mirbsd.org, as the latter is now under sort of our control, and the former being phased out to reduce the possible points of failure.

MirOS-current DuaLive snapshot on BT

07.11.2008 by tg@
Tags: snapshot

The 2008-11-06 snapshot of MirOS BSD/i386 #10-current has been released as a new-style dualive CD image (BaseLive + Install CD for i386, Install CD for sparc, build logs) on the usual BitTorrent tracker, multi-tracked with a major BT site for these who pick it up there.

It's also available for NetInstall on both architectures. Note that this snapshot is identical to the 2008-30-10 one, but has been built using newer makefs(8) and baselive infrastructure.

This is the first snapshot with working startx(1) because we can now write symlink(7)s using Rock Ridge onto the filesystem image.

Today, a new snapshot of MirOS-current has been uploaded into the NetInstall area. The cdrom10.iso image is, as usually, a manifold-boot ISO 9660 filesystem which starts on i386 via El Torito, on i386 via MBR (if dd(1)’d onto a hard disc, USB stick, CompactFlash card, etc.), and on sparc via OpenBOOT. It also contains floppy images for i386 (one normal and three for serial console at COM1/tty00 at 9600, 38400 and 115200 bps, 8N1) and sparc. There are also CD images for serial console boot with the same parametres.

The MirPorts Framework snapshot, ports10.ngz, has also been updated. Note that we are still seeking port maintainers (our current policy is to update ports we use, which are often used, or we notice, or these someone asks us to, because we are understaffed), as well as people who use the MirPorts Framework on MidnightBSD and OpenBSD (and, to a lesser extend, Mac OSX). Furthermore, the pkgsrc10.ngz snapshot has been untouched since July 2007; if someone would like to improve the situation, for example by talking to the pkgsrc® developers responsible for stalling the integration, talk to ahoka@ (replaced in IRC).

This snapshot does not come as a DuaLive CD due to issues with both J�rg Schilling’s mkisofs(8), which has since been removed from the base system source tree, and NetBSD® makefs(8). However, we are trying to solve these and will produce one as soon as possible.

As of now, there are no binary packages compiled specifically for this snapshot; however, binary packages for older snapshots and even MirOS #10 RELEASE generally work.

RMD160 (paxmirabilis-20081030.cpio.gz) = 34c9a5913c9e69c8451d27d6ceeaa07cce6d3fef

Everyone who has been using the portable version of the MirBSD cpio(1), pax(1), tar(1) combined utility should upgrade, as the new version not only allows the executables to be called, for example, mirtar (to avoid breaking tools such as dpkg-source and lintian when they are in the $PATH), but also contains fixes regarding certain types of broken archives, such as these found in the Fedora Core 4 RPMs, which do not store the data content of hard-linked files packed with the first archive member but a later (the last). Furthermore, the ‘-v’ option may now be given multiple times to the cpio and pax, not only tar, frontend.

paxmirabilis is used, among others, in MirOS BSD, the MirPorts Framework, FreeWRT Embedded GNU/Linux ADK.

mksh R36 released!

25.10.2008 by tg@
Tags: mksh

The MirBSD Korn Shell R36 has been released yesterday; the Changelog contains more details as usual.

Major changes:

  • Digital UNIX (DEC OSF/1) V2.0 (MIPS) is now supported using the DEC C and ucode toolchain. (We could not run the testsuite, though.)
  • The ‘-Q’ option to Build.sh is gone without replacement.
  • A new option can be enabled by adding -DMKSH_BINSHREDUCED to $CPPFLAGS, intended mostly for Debian. This option adds extra code to determine whether mksh(1) is called as sh or -sh and switch to “set -o posix” mode if so, disabling brace expansion and some security features, because legacy scripts, such as debconf, depend on such reduced functionality /bin/shs.
  • Input lines beginning with an IFS character of IFS white space are no longer pushed into the history. Some other, less surprising, changes were also made to both Emacs and Vi command line editing modes.
  • The arc4random.c contributed file is now stored with the RCS version number appended, and has been updated.

This is a major update with improved stability and compatibility, and as such recommended in general. It has undergone more extensive testing than mksh R35; if there still be bugs, please report to us. Note that some sorts of behaviour are not considered bugs but expected, sometimes due to historical, sometimes compatibility reasons.

Request for Assistance: We are still looking for an OpenBSD committer to import mksh into the ports tree. Furthermore, a Slackware GNU/Linux package is still missing, as well as a PC-BSD PBI, and Macports (former Darwinports) do not carry mksh either. My earlier Minix 3 problem persists, as do the Plan 9 and Syllable Desktop ones.

Bugs in the current snapshot

26.07.2008 by tg@
Tags: snapshot bug

The following bugs are known in the MirOS #10-current snapshot, dated 2008-07-22:

  • The user shell for the default “live” user is /usr/dbin/mksh, which however has been optimised away. This is a bug in the production of this one snapshot and easy to fix in future issues. Workaround: while the rc.netselect script runs, choose ‘9’ to escape to a shell, and change the “live” user’s shell using vipw(8)chsh -s /bin/mksh live might also work, but has not been tested.
  • Running “startx” does not work because /usr/X11R6/bin/X is no symbolic link but a copy of the XFree86® server itself (on other baselive CDs it was a hard link instead of a copy; the change is due to production differences, but both break startx(1) and xinit(1)). Workaround is to use xdm(1) instead or try: startx -- /usr/X11R6/bin/XFree86 :0
  • The X11 server may not switch to graphics mode on the ALIX.1c board.

We apologise for the inconvenience caused, and will try to solve these issues in the next development snapshot.

MirOS Project @ FrOSCon 2008

22.07.2008 by tg@
Tags: event

The MirOS Project will show up with both developers to run a booth at FrOSCon; we will be giving away Live CDs (either #10-stable or #10-current) and flyers. You will be able to meet us and a few helpers (known from IRC and mailing lists) there, chat about mksh, have a beer, fun, whatever.

This year, one of the two XFree86® developers will also attend; you can probably meet him at our booth.

MirOS-current DuaLive snapshot on BT

22.07.2008 by tg@
Tags: snapshot

The 2008-07-22 snapshot of MirOS BSD/i386 #10-current has been released as a new-style dualive CD image (BaseLive + Install CD for i386, Install CD for sparc, build logs, a selected few binary packages and their distfiles, but nothing fancy) on the usual BitTorrent tracker, multi-tracked with a major BT site for these who pick it up there.

It's also available for NetInstall on both architectures. Note that /MirOS/ has been cleaned up a little: some old NetInstall or upgrade packages are removed.

The #10/i386 binary packages should all be installable on this snapshot, although it does come with more recent MirPorts Framework and a couple of current binary packages as well.

All 1 2 3 4 5 6 7 8 9 10 11 12 13

MirOS Logo