Date: Wed, 27 Aug 2008 18:39:19 +0930 From: Wayne Sierke <ws@au.dyndns.ws> To: Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl> Cc: freebsd-questions@freebsd.org Subject: Re: serial console - no go Message-ID: <1219828159.49053.225.camel@predator-ii.buffyverse> In-Reply-To: <20080827104254.X52550@wojtek.tensor.gdynia.pl> References: <20080826215956.M47387@wojtek.tensor.gdynia.pl> <1219824310.49053.220.camel@predator-ii.buffyverse> <20080827104254.X52550@wojtek.tensor.gdynia.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 2008-08-27 at 10:43 +0200, Wojciech Puchar wrote:
> >>
> >> what i do wrong?
> >>
> > Have you checked flag setting on sio?
> >
> > # dmesg | grep "sio.*flags"
> > sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
>
> yes. i then tried to change flags to 0x20 (force console) - still doesn't
> work
>
> sio0: configured irq 4 not in bitmap of probed irqs 0
> sio0: port may not be enabled
> sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x20 on acpi0
> sio0: type 16450
> sio0: [FILTER]
> sio1: configured irq 3 not in bitmap of probed irqs 0
>
Careful, note the last sentence in the 0x20 flag description:
0x20
Forces this unit to be the console (unless there is
another higher priority console), regardless of the -h
option discussed below. The flag 0x20 must be used
together with the 0x10 flag.
i.e. to use 0x20 you have to set it to 0x30
>
>
> it is qemu "machine" for now, but just to test, i would like to use it on
> real hardware.
>
Never tried, could be a qemu-specific issue?
Wayne
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1219828159.49053.225.camel>
