com1 incorrectly associated with ttyd1, com2 with ttyd0

Bruce Evans bde at zeta.org.au
Thu Nov 17 23:58:43 GMT 2005


On Thu, 17 Nov 2005, John Baldwin wrote:

> On Thursday 17 November 2005 05:03 pm, Joe Rhett wrote:
>> We can't.  Serial A is a 9pin serial port, and Serial B is the rj45 console
>> port.  This is how the motherboard is built. We need Serial B to be the
>> console.
>>
>> /boot/device.hints clearly indicates that 3f8 should map to sio1.  Why
>> isn't it using these hints?
>
> What if you disable ACPI?  I think the ACPI bus doesn't use the port
> information to honor "wiring" requests but just reads the flags.

ACPI me harder :-).

If it doesn't match the port info then it probably gets the flags wrong
too, by applying the flags intended for the port at 0x3f8 (intended unit 0)
to the port that ends up as unit 0 (0x2f8 here).

Console initialization uses the flags to decide the console port(s),
so swapped flags probably give swapped console ports.

Bruce


More information about the freebsd-hardware mailing list