Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Getty repeating too quickly on port

    General pfSense Questions
    3
    6
    9.1k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      kloon
      last edited by

      I'm getting this error since this morning. And I'm using 2.0 released. I have no clue on what's going on with the log below.

      Oct 3 09:41:19 init: getty repeating too quickly on port /dev/ttyv0, sleeping 30 secs
      Oct 3 09:41:19 init: getty repeating too quickly on port /dev/ttyv0, sleeping 30 secs
      Oct 3 09:41:19 getty[51200]: tcsetattr /dev/ttyv0: Operation not supported
      Oct 3 09:41:19 getty[51200]: tcsetattr /dev/ttyv0: Operation not supported
      Oct 3 09:41:19 getty[51200]: getty: unknown gettytab entry 'Pc'
      Oct 3 09:41:19 getty[51200]: getty: unknown gettytab entry 'Pc'
      Oct 3 09:41:19 getty[51200]: getty: unknown gettytab entry 'Pc'
      Oct 3 09:41:19 getty[51200]: getty: unknown gettytab entry 'Pc'
      Oct 3 09:41:19 getty[51200]: getty: unknown gettytab entry 'default'
      Oct 3 09:41:19 getty[51200]: getty: unknown gettytab entry 'default'
      Oct 3 09:41:19 getty[51008]: tcsetattr /dev/ttyv0: Operation not supported
      Oct 3 09:41:19 getty[51008]: tcsetattr /dev/ttyv0: Operation not supported

      Anyone can help?

      1 Reply Last reply Reply Quote 0
      • K
        kloon
        last edited by

        Guys, anyone know this problem? I saw this error happened during year 2007 released. However, it happen on my pfsense 2.0 now.

        1 Reply Last reply Reply Quote 0
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          You might check /etc/gettytab and compare it to a known good version. We've seen that file become corrupt before and cause such errors.

          https://raw.github.com/bsdperimeter/pfsense/master/etc/gettytab

          Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          1 Reply Last reply Reply Quote 0
          • ?
            Guest
            last edited by

            Hi i have the same problem.

            Running a diff from the github ver to the one on my box shows:

            So can i just safely replace the one on my box with the github version?

            diff gettytab /etc/gettytab
            61,225c61,65
            < :np:nd#1:cd#1:sp#600:
            < f|std.1200|1200-baud:
            < :np:fd#1:sp#1200:
            < 6|std.2400|2400-baud:
            < :np:sp#2400:
            < 7|std.4800|4800-baud:
            < :np:sp#4800:
            < 2|std.9600|9600-baud:
            < :np:sp#9600:
            < g|std.19200|19200-baud:
            < :np:sp#19200:
            < std.38400|38400-baud:
            < :np:sp#38400:
            < std.57600|57600-baud:
            < :np:sp#57600:
            < std.115200|115200-baud:
            < :np:sp#115200:
            < std.230400|230400-baud:
            < :np:sp#230400:
            <
            < #
            < # Entry specifying explicit device settings.ย  See termios(4) and
            < # /usr/include/termios.h, too.ย  The entry forces the tty into
            < # CLOCAL mode (so no DCD is required), and uses Xon/Xoff flow control.
            < #
            < # cflags: CLOCAL | HUPCL | CREAD | CS8
            < # oflags: OPOST | ONLCR | OXTABS
            < # iflags: IXOFF | IXON | ICRNL | IGNPAR
            < # lflags: IEXTEN | ICANON | ISIG | ECHOCTL | ECHO | ECHOK | ECHOE | ECHOKE
            < #
            < # The 0' flags don't have input enabled.ย  The 1' flags don't echo.
            < # (Echoing is done inside getty itself.)
            < #
            < local.9600|CLOCAL tty @ 9600 Bd:
            < :c0#0x0000c300:c1#0x0000cb00:c2#0x0000cb00:
            < :o0#0x00000007:o1#0x00000002:o2#0x00000007:
            < :i0#0x00000704:i1#0x00000000:i2#0x00000704:
            < :l0#0x000005cf:l1#0x00000000:l2#0x000005cf:
            < :sp#9600:
            <
            < #
            < # Dial in rotary tables, speed selection via 'break'
            < #
            < 0|d300|Dial-300:
            < :nx=d1200:cd#2:sp#300:
            < d1200|Dial-1200:
            < :nx=d150:fd#1:sp#1200:
            < d150|Dial-150:
            < :nx=d110:lm@:tc=150-baud:
            < d110|Dial-110:
            < :nx=d300:tc=300-baud:
            <
            < #
            < # Fast dialup terminals, 2400/1200/300 rotary (can start either way)
            < #
            < D2400|d2400|Fast-Dial-2400:
            < :nx=D1200:tc=2400-baud:
            < 3|D1200|Fast-Dial-1200:
            < :nx=D300:tc=1200-baud:
            < 5|D300|Fast-Dial-300:
            < :nx=D2400:tc=300-baud:
            <
            < #
            < #telebit (19200)
            < #
            < t19200:
            < :nx=t2400:tc=19200-baud:
            < t2400:
            < :nx=t1200:tc=2400-baud:
            < t1200:
            < :nx=t19200:tc=1200-baud:
            <
            < #
            < #telebit (9600)
            < #
            < t9600:
            < :nx=t2400a:tc=9600-baud:
            < t2400a:
            < :nx=t1200a:tc=2400-baud:
            < t1200a:
            < :nx=t9600:tc=1200-baud:
            <
            < #
            < # Odd special case terminals
            < #
            < -|tty33|asr33|Pity the poor user of this beast:
            < :tc=110-baud:
            <
            < 4|Console|Console Decwriter II:
            < :nd@:cd@:rw:tc=300-baud:
            <
            < e|Console-1200|Console Decwriter III:
            < :fd@:nd@:cd@:rw:tc=1200-baud:
            <
            < i|Interdata console:
            < :uc:sp#0:
            <
            < l|lsi chess terminal:
            < :sp#300:
            <
            < X|Xwindow|X window system:
            < :fd@:nd@:cd@:rw:sp#9600:
            <
            < P|Pc|Pc console:
            < :ht:np:sp#115200:al=root:
            <
            < bootupcli:
            < tc=std.9600:
            < :ht:np:sp#115200:al=root:
            <
            < #
            < # Wierdo special case for fast crt's with hardcopy devices
            < #
            < 8|T9600|CRT with hardcopy:
            < :nx=T300:tc=9600-baud:
            < 9|T300|CRT with hardcopy (300):
            < :nx=T9600:tc=300-baud:
            <
            < #
            < # Plugboard, and misc other terminals
            < #
            < plug-9600|Plugboard-9600:
            < :pf#1:tc=9600-baud:
            < p|P9600|Plugboard-9600-rotary:
            < :pf#1:nx=P300:tc=9600-baud:
            < q|P300|Plugboard-300:
            < :pf#1:nx=P1200:tc=300-baud:
            < r|P1200|Plugboard-1200:
            < :pf#1:nx=P9600:tc=1200-baud:
            <
            < #
            < # XXXX Port selector
            < #
            < s|DSW|Port Selector:
            < :ps:sp#2400:
            <
            < #
            < # Auto-baud speed detect entry for Micom 600.
            < # Special code in getty will switch this out
            < # to one of the NNN-baud entries.
            < #
            < A|Auto-baud:
            < ๐Ÿ†Žsp#2400:f0#040:
            <
            < #
            < # autologin - automatically log in as root
            < #
            <
            < autologin|al.9600:
            < ::tc=std.9600:
            <
            < #
            < # Entries for 3-wire serial terminals.ย  These don't supply carrier, so
            < # clocal needs to be set, and crtscts needs to be unset.
            < #
            < 3wire.9600|9600-3wire:
            < :np:nc:sp#9600:
            < 3wire.38400|38400-3wire:
            < :np:nc:sp#38400:
            < 3wire.57600|57600-3wire:
            < :np:nc:sp#57600:
            < 3wire.115200|115200-3wire:
            < :np:nc:sp#115200:
            < 3wire.230400|230400-3wire:
            < :np:nc:sp#230400:
            โ€“-

            1 Reply Last reply Reply Quote 0
            • jimpJ
              jimp Rebel Alliance Developer Netgate
              last edited by

              Just replace it, yeah. That diff is just basically saying yours is empty (or some blank lines)

              Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

              Need help fast? Netgate Global Support!

              Do not Chat/PM for help!

              1 Reply Last reply Reply Quote 0
              • ?
                Guest
                last edited by

                Just replaced it and the error disappeard.
                Thanks jimp

                Btw file wasnt empty so probably some blank lines.

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.