Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Sep 2015 20:16:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 203319] Invalid setting of comconsole_pcidev in loader.conf can lead to loader BTX halted
Message-ID:  <bug-203319-8@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 203319
           Summary: Invalid setting of comconsole_pcidev in loader.conf
                    can lead to loader BTX halted
           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: sbruno@FreeBSD.org

Found through experimentation.  If one sets the following in a loader.conf in a
net boot nfs environment:

console="comconsole"
comconsole_speed="115200"
comconsole_pcidev="0:22:3"

If the loader is unable to find the pcidev (like you're booting multiple
devices from the same nfs boot environment), loader will panic and a BTX halted
message will be displayed on the video console.

The serial port will emit one error message of "Invalid port" on a COM0 if the
system has it.  This seems to indicate that comc_pcidev_handle() calling into
comc_port_set() isn't gracefully handling the error.

-- 
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-203319-8>