judicator, my home firewall/router/VPN machine, is a Soekris net4501: a compact but basically PC-
Originally this duty was fulfilled by my main Linux box. Unfortunately, a lightning strike in July 2006 fried the serial port on that machine, so I plugged judicator's console into my Windows box instead (which was what really motivated me to finally get round to building serial comms support into PuTTY). But when I moved house last week, things changed again: my Windows box is now on a different floor from judicator, and the only available machine to use as a terminal is my Mac. Which has no serial port.
Well, that can't be too hard, surely? Macs are bristling with USB ports, and a USB-
Wrong.
To begin with, the Mac doesn't natively recognise this USB device. No points to Apple. Belkin helpfully provide drivers for it under MacOS 8 and 9, but –
Anyway. After a couple of hours I had it working, and can now successfully talk to the console on judicator; even sending serial breaks works, so I can be completely paranoid and use the SAK feature I compiled into judicator's kernel.
Except that that doesn't work: instead of printing a ‘SAK activated’ message and then killing all the processes attached to the console, it prints the message and then does nothing. This is particularly annoying since I fixed a Linux kernel bug last summer which had this effect, and my fix has been in the mainstream kernels since 2.6.20. Have they stupidly backed it out? No, they haven't: it's still there, but apparently some other bug in the code has reintroduced the same misbehaviour. No points to the kernel developers.
I really would have thought that this ought to have been a far simpler process than it has so far been. And I'm not even at the end of it yet: until I properly diagnose the strange kernel bug, I won't know whether there are more lurking horrors beyond that…