[Bug 203319] Invalid setting of comconsole_pcidev in loader.conf can lead to loader BTX halted

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Sep 24 20:16:58 UTC 2015


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 at FreeBSD.org
          Reporter: sbruno at 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.


More information about the freebsd-bugs mailing list