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

    TEAK-5020 problem with uart - bypass

    Scheduled Pinned Locked Moved Hardware
    9 Posts 2 Posters 4.5k Views
    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.
    • G
      gregober
      last edited by

      Hello,

      I am testing a new device in order to install It and I am having very serious problem with uart.
      System boots ok until It reaches uart interfaces (AKA LAN bypass). Then system freezes.

      […]
      atapci1: <intel ich8m="" sata300="" controller="">port 0x1c40-0x1c47,0x1c34-0x1c37,0x1c38-0x1c3f,0x1c30-0x1c33,0x1c00-0x1c0f,0x18f0-0x18ff irq 19 at device 31.2 on pci0
      atapci1: [ITHREAD]
      ata2: <ata 0="" channel="">on atapci1
      ata2: [ITHREAD]
      ata3: <ata 1="" channel="">on atapci1
      ata3: [ITHREAD]
      pci0: <serial bus,="" smbus="">at device 31.3 (no driver attached)
      pci0: <dasp>at device 31.6 (no driver attached)
      acpi_tz0: <thermal zone="">on acpi0
      ACPI Warning for _TZ_.TZ01._AL0: Return Package type mismatch at index 0 - found [NULL Object Descriptor], expected Reference (20100331/nspredef-1197)
      acpi_button0: <power button="">on acpi0
      atrtc0: <at realtime="" clock="">port 0x70-0x71 irq 8 on acpi0
      uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
      uart0: [FILTER]
      uart0: console (9600,n,8,1)
      uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0
      uart1: [FILTER]
      uart2: <16550 or compatible> port 0x3e8-0x3ef irq 5 on acpi0
      uart2: [FILTER]
      uart3: <16550 or compatible> port 0x2e8-0x2ef irq 7 on acpi0
      uart3: [FILTER]

      The device I am testing is : http://www.arinfotek.com/product.php?gid=1&pid=104

      Do you know what I can do to solve the problem ?

      There are no related function in the BIOS to deactivate… 
      So I am stuck with this problem and I need to solve It urgently.

      Thanks for your help.

      G.B.</at></power></thermal></dasp></serial></ata></ata></intel>

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        The uart devices are serial connections. What makes you think they are related to the LAN-bypass feature?
        Interestingly the specification for that box shows two serial ports. Perhaps it has unused serial headers internally.

        Steve

        Edit: Yes. It has two serial ports on the southbridge chip and two further ports on the superIO chip.

        1 Reply Last reply Reply Quote 0
        • G
          gregober
          last edited by

          @stephenw10:

          The uart devices are serial connections. What makes you think they are related to the LAN-bypass feature?
          Interestingly the specification for that box shows two serial ports. Perhaps it has unused serial headers internally.

          Steve

          Here is the quote from the documentation :

          There are two pairs of Bypass Relays in the 5020 series, one for LAN1 and LAN2, and the other one for LAN3 and LAN4. These Bypass Relays can be monitored or controlled by an application during any system state. The application can handle the relay to bypass or go back to normal in the power up or down state, in the system OS shutdown state, or in the running application state.

          The Host sends Control Data to the Bypass controller via an UART interface to handle the relay bypass state. The UART port on the host site, which is connected to the Bypass Controller is a serial port 4. The configuration setting of the serial port is baud rate 9600, data bit 8, non-parity, 1 stop-bit. The Bypass Controller will program the Relay through GPIO pins.

          The Bypass can be set to Normal or Bypass mode, and a timer can be programmed for event triggering for any desired time. The control commands are defined in the next section.

          ?

          1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            Ooo, interesting. I'm still reading the spec sheet.

            I can't see why it would cause an issue though. Unless the console has for some reason chosen the lan-bypass port.

            Steve

            1 Reply Last reply Reply Quote 0
            • G
              gregober
              last edited by

              @stephenw10:

              Ooo, interesting. I'm still reading the spec sheet.

              I can't see why it would cause an issue though. Unless the console has for some reason chosen the lan-bypass port.

              Steve

              So you advise me to try to modify the console redirection in the BIOS ?

              1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by

                I doubt that's the problem, your log shows the console on uart0.
                More likely it's having a problem with whatever should be detected after the uarts and is not showing in the logs.

                My advise would be to disable everything you don't need in the bios, parallel ports, usb etc. This will free up system resources.

                Steve

                1 Reply Last reply Reply Quote 0
                • G
                  gregober
                  last edited by

                  @stephenw10:

                  I doubt that's the problem, your log shows the console on uart0.
                  More likely it's having a problem with whatever should be detected after the uarts and is not showing in the logs.

                  My advise would be to disable everything you don't need in the bios, parallel ports, usb etc. This will free up system resources.

                  Steve

                  Thanks very much.

                  I'll try that. I have also contacted the manufacturer as I am a wholesaler…

                  I'll keep you posted in case I find smthg interesting.

                  1 Reply Last reply Reply Quote 0
                  • stephenw10S
                    stephenw10 Netgate Administrator
                    last edited by

                    It might help if you post a complete boot log. Someone may spot something.

                    I notice you have an ACPI error in what you have already posted. Incomplete or incorrect acpi tables often cause problems (I cannot run acpi on my system) try disabling acpi.

                    Steve

                    1 Reply Last reply Reply Quote 0
                    • G
                      gregober
                      last edited by

                      Ok,

                      It now works like a charm.

                      Had to go in the BIOS setting to disable the UART port of 81216D.
                      And change the setting of the fourth serial port to be 3E8 and IRQ 5.

                      FYI.

                      Thx everyone (and most particularly Steve) :-)

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