I recently ran across an interesting issue when I started building a network lab. Anyway, I wanted a serial console server to not always swap console cables between every box.
Since real serial console servers (well, makes me think of a KVM switch but for serial console ports) can be prhibitively priced, I looked at DYI solutions: A *nix box with just the number of serial ports that I needed – at least 6 (ok, in meantime: 9).
USB vs. PCI(e)
Serial ports are dying and mostly disappearing on today’s end-user computers: On laptops they vanished back around the Pentium 3 to Pentium 4 generation, most desktop computers have banned the old DB9 starting I’d say the Core 2 generation. Often you can either finde a mere single port at the back, or you can attach a DB9 port to a onboard DB9 header. Getting 6-9 connectors to one single box wasn’t going to be the solution, I ran accross 2 ways to hook more ports to a reasonably modern Computer: USB to Serial adapters or PCI(e) cards.
Prolific PL2303 and the “break” problem
With some Cisco gear (mostly their routers) you need to send a break message over the serial console to get into ROMMON mode, like when you need to reset the password, or flash the IOS when it’s broken. The break sequence is sent by a serial console tool and will work with (really?) any native, non-converted, serial console port. But lots of these USB to serial cables use variants of the Prolific PL2303 chip, some differ in design, most often you can’t really distinguish devices with the PL2303 chip and others like the ones from FTDI until you plug them into your computerand see the driver loaded.
All/lots of PL2303 based serial converters have one particular gotcha: They are just NOT able send this break message properly. Additionally hooking up 8-9 of these converters on some USB hub is also quite clunky (> 2 Port USB to serial adapters exist but are quite expensive too). I didn’t want to check all the converters for using the FTDI chip, there are seemingly so many products with the Prolific chip floating around thus I dismissed the idea.
PCI vs. PCIe
There are PCI and PCIe boards that allow you to get 2, 4, 8, 16 or even up to 32 ports over a single card (16 and 32 often via external boxes). Many of these boards are using the PCI interface – while serial ports won’t even remotely hit the limits of the PCI bus, I expect to PCI to get more and more difficult in future to get (both boards and cards). Which is why I looked for the – still quite seldom – PCIe boards. There are many different vendors out there but the Oxford-based cards were seen as compatible with most Linux, Windows and BSD version so far. My EXSYS EX-44378 which thanks to its low-profile format can also be used in small cases or 2U rack chasiss.
Albeit I have tried to check it would work out of the box – allas the card got recognized by Debian Squeeze, it only showed up with 4 of the 8 available ports…
admin September 9, 2012
Posted In: Uncategorized