Changes between Version 6 and Version 7 of mars


Ignore:
Timestamp:
02/01/07 17:24:44 (20 years ago)
Author:
dkg@…
Comment:

Updated mars serial config information to match what i learned during the mars rebuild

Legend:

Unmodified
Added
Removed
Modified
  • mars

    v6 v7  
    2626there are [http://www.lavalink.com/index.php?id=471 linux configuration instructions online]
    2727
    28 as it turned out, to properly configure the device, i needed to install the `setserial` package, tell debconf to configure it manually, and then create an /var/lib/setserial/autoserial.conf that looks like this:
     28as it turned out, to properly configure the device, i needed to:
     29
     30 * install a modern kernel.  debian Linux 2.6.18-3-686 has a decent internal serial configuration capable of supporting up to 16 UARTS:
     31{{{
     32caladmin@mars:~$ grep UARTS /boot/config-2.6.18-3-686
     33CONFIG_SERIAL_8250_NR_UARTS=16
     34CONFIG_SERIAL_8250_RUNTIME_UARTS=4
     35caladmin@mars:~$
     36}}}
     37 * This defaults to using only 4 out of 16 ports, though, so you need to pass the kernel `8250.nr_uarts=10` at boot time to make the full complement of 10.
     38 * After boot, you want the `setserial` package to configure the tools. Tell debconf to configure it manually, and then create an `/etc/serial.conf` that looks like this:
    2939
    3040{{{
    … …  
    5262/dev/ttyS9 uart 16550A port 0x9c00 irq 169 baud_base 115200 spd_normal skip_test
    5363}}}
    54 
    55 after udev got installed, this doesn't help any more.  udev isn't automatically creating the proper `/dev/ttyS{4-9}'
    56 
    57 [http://www.support.lavalink.com/index.php?id=435 this page] suggests rebuilding the kernel (presumably with `CONFIG_SERIAL_8250_NR_UARTS` greater than 4), but i'd really rather not maintain a whole different kernel just to make udev create 6 new devices at boot time.