Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Jun 2010 13:19:17 -0700
From:      Mayo Jordanov <mayo@oyam.ca>
To:        Garrett Cooper <yanefbsd@gmail.com>
Cc:        Andy Farkas <chuzzwassa@gmail.com>, freebsd-bugs@freebsd.org
Subject:   Re: kern/147082: [uart] Serial ports unusable
Message-ID:  <178426DD-D548-42F3-BA77-D2D212B7F246@oyam.ca>
In-Reply-To: <AANLkTikkER16xZvbra7Qy_mlQGRPzAQg7IoLSBX0ON1m@mail.gmail.com>
References:  <201006041900.o54J0DmB099738@freefall.freebsd.org> <AANLkTilkl5Jzk86lgsHAoqy0mVktoJsLPOC6l6YZOYXu@mail.gmail.com> <694FC835-8D12-402C-941D-CADFBE8D5961@oyam.ca> <AANLkTikkER16xZvbra7Qy_mlQGRPzAQg7IoLSBX0ON1m@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]

On 2010-06-04, at 20:47 , Garrett Cooper wrote:

> On Fri, Jun 4, 2010 at 5:28 PM, Mayo Jordanov <mayo@oyam.ca> wrote:
>> Hi Andy,
>> 
>> Thanks for the suggestion. I have all my ports mapped directly as you have, and I also tried setting the bios to reserve the IRQs so nothing else gets to use them.
>> 
>> Thank you for the suggestions and keeping an eye on this.
>> mayo
>> 
>> On 2010-06-04, at 16:43 , Andy Farkas wrote:
>> 
>>> On Sat, Jun 5, 2010 at 5:00 AM, Mayo Jordanov <mayo@oyam.ca> wrote:
>>>> 
>>>>  One more report, I loaded FreeBSD 6.4 on this machine, and the serial =
>>>>  ports work without any problems.=
>>>> 
>>> 
>>> Hi Mayo,

>>> 
>>> You might remember that I was having this problem as well, no output on
>>> serial ports, on my HP ProLiant ML 100 box.
>>> 
>>> I solved it by going into BIOS and explicitly setting the COM ports to
>>> 3F8/4 and 2F8/3. They were set to AUTO before. As a side note, when set
>>> to AUTO, COM2 did not show up in dmesg.
>>> 
>>> What are your BIOS settings?
> 
> Was this an upgrade or a fresh install? If it was an upgrade, what
> version of FreeBSD did you upgrade from? Can you please provide your
> device.hints file?
> Thanks,
> -Garrett

No, it was always a clean install. The only upgrade that happened was when I tested 8.0-STABLE after failing on 8.0-RELEASE. (Also tested the 8.1 beta with same probs) In every case I used generic kernel with the default/original device.hints. Both device.hints files are attached, but looking at the relevant lines, they have the same setup.

Thanks,
mayo

[-- Attachment #2 --]
# $FreeBSD: src/sys/i386/conf/GENERIC.hints,v 1.14.12.1 2008/10/02 02:57:24 kensmith Exp $
hint.fdc.0.at="isa"
hint.fdc.0.port="0x3F0"
hint.fdc.0.irq="6"
hint.fdc.0.drq="2"
hint.fd.0.at="fdc0"
hint.fd.0.drive="0"
hint.fd.1.at="fdc0"
hint.fd.1.drive="1"
hint.ata.0.at="isa"
hint.ata.0.port="0x1F0"
hint.ata.0.irq="14"
hint.ata.1.at="isa"
hint.ata.1.port="0x170"
hint.ata.1.irq="15"
hint.adv.0.at="isa"
hint.adv.0.disabled="1"
hint.bt.0.at="isa"
hint.bt.0.disabled="1"
hint.aha.0.at="isa"
hint.aha.0.disabled="1"
hint.aic.0.at="isa"
hint.aic.0.disabled="1"
hint.atkbdc.0.at="isa"
hint.atkbdc.0.port="0x060"
hint.atkbd.0.at="atkbdc"
hint.atkbd.0.irq="1"
hint.psm.0.at="atkbdc"
hint.psm.0.irq="12"
hint.vga.0.at="isa"
hint.sc.0.at="isa"
hint.sc.0.flags="0x100"
hint.vt.0.at="isa"
hint.vt.0.disabled="1"
hint.apm.0.disabled="1"
hint.apm.0.flags="0x20"
hint.sio.0.at="isa"
hint.sio.0.port="0x3F8"
hint.sio.0.flags="0x10"
hint.sio.0.irq="4"
hint.sio.1.at="isa"
hint.sio.1.port="0x2F8"
hint.sio.1.irq="3"
hint.sio.2.at="isa"
hint.sio.2.disabled="1"
hint.sio.2.port="0x3E8"
hint.sio.2.irq="5"
hint.sio.3.at="isa"
hint.sio.3.disabled="1"
hint.sio.3.port="0x2E8"
hint.sio.3.irq="9"
hint.ppc.0.at="isa"
hint.ppc.0.irq="7"
hint.ed.0.at="isa"
hint.ed.0.disabled="1"
hint.ed.0.port="0x280"
hint.ed.0.irq="10"
hint.ed.0.maddr="0xd8000"
hint.cs.0.at="isa"
hint.cs.0.disabled="1"
hint.cs.0.port="0x300"
hint.sn.0.at="isa"
hint.sn.0.disabled="1"
hint.sn.0.port="0x300"
hint.sn.0.irq="10"
hint.ie.0.at="isa"
hint.ie.0.disabled="1"
hint.ie.0.port="0x300"
hint.ie.0.irq="10"
hint.ie.0.maddr="0xd0000"
hint.fe.0.at="isa"
hint.fe.0.disabled="1"
hint.fe.0.port="0x300"
hint.lnc.0.at="isa"
hint.lnc.0.disabled="1"
hint.lnc.0.port="0x280"
hint.lnc.0.irq="10"
hint.lnc.0.drq="0"

[-- Attachment #3 --]
# $FreeBSD: src/sys/amd64/conf/GENERIC.hints,v 1.21.2.1.2.1 2009/10/25 01:10:29 kensmith Exp $
hint.fdc.0.at="isa"
hint.fdc.0.port="0x3F0"
hint.fdc.0.irq="6"
hint.fdc.0.drq="2"
hint.fd.0.at="fdc0"
hint.fd.0.drive="0"
hint.fd.1.at="fdc0"
hint.fd.1.drive="1"
hint.atkbdc.0.at="isa"
hint.atkbdc.0.port="0x060"
hint.atkbd.0.at="atkbdc"
hint.atkbd.0.irq="1"
hint.psm.0.at="atkbdc"
hint.psm.0.irq="12"
hint.sc.0.at="isa"
hint.sc.0.flags="0x100"
hint.uart.0.at="isa"
hint.uart.0.port="0x3F8"
hint.uart.0.flags="0x10"
hint.uart.0.irq="4"
hint.uart.1.at="isa"
hint.uart.1.port="0x2F8"
hint.uart.1.irq="3"
hint.ppc.0.at="isa"
hint.ppc.0.irq="7"
hint.atrtc.0.at="isa"
hint.atrtc.0.port="0x70"
hint.atrtc.0.irq="8"
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?178426DD-D548-42F3-BA77-D2D212B7F246>