Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Oct 2015 20:52:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 203750] comconsole_pcidev does not function as expected
Message-ID:  <bug-203750-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203750

            Bug ID: 203750
           Summary: comconsole_pcidev does not function as expected
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: emaste@freebsd.org

loader(8) claims that setting comconsole_pcidev will automatically set
comconsole_port, but this did not work for me.

My Lenovo Thinkpad X220 has the following UART (provided by AMT
Serial-over-LAN):

uart2@pci0:0:22:3:      class=0x070002 card=0x21da17aa chip=0x1c3d8086 rev=0x04
hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '6 Series/C200 Series Chipset Family KT Controller'
    class      = simple comms
    subclass   = UART
    bar   [10] = type I/O Port, range 32, base 0x50b0, size 8, enabled
    bar   [14] = type Memory, range 32, base 0xf252c000, size 4096, enabled
    cap 01[c8] = powerspec 3  supports D0 D3  current D0
    cap 05[d0] = MSI supports 1 message, 64 bit 

I set comconsole_pcidev="0:22:3" in loader.conf, but did not get a serial
console and when the system booted kenv showed comconsole_port=1016.

I was able to get it to work by setting comconsole_port and hw.uart.console
explicitly:

comconsole_port="0x50b0"
hw.uart.console="io:0x50b0,br:115200"

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-203750-8>