Re: PUC rewrite

From: Mike Tancsa <mike_at_sentex.net>
Date: Fri, 25 Jul 2008 22:36:01 -0400
At 10:23 PM 7/25/2008, Marcel Moolenaar wrote:

>My best guess is that the hints are interfering. Try
>renumbering the hints. The number does not matter for
>the console.

You are right, if I add

hint.uart.4.at="isa"
hint.uart.4.port="0x3F8"
hint.uart.4.flags="0x10"
hint.uart.4.irq="4"

# dmesg | grep -i uart
uart0: <Non-standard ns8250 class UART with FIFOs> port 0xe500-0xe507 
irq 10 at device 14.0 on pci0
uart0: [FILTER]
uart1: <16550 or compatible> at port 0x2f8-0x2ff irq 3 on isa0
uart1: [FILTER]
uart0: <Non-standard ns8250 class UART with FIFOs> port 0xe500-0xe507 
irq 10 at device 14.0 on pci0
uart0: [FILTER]
uart1: <16550 or compatible> at port 0x2f8-0x2ff irq 3 on isa0
uart1: [FILTER]
uart0: <Non-standard ns8250 class UART with FIFOs> port 0xe500-0xe507 
irq 10 at device 14.0 on pci0
uart0: [FILTER]
uart1: <16550 or compatible> at port 0x2f8-0x2ff irq 3 on isa0
uart1: [FILTER]
uart4: <16550 or compatible> at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
uart4: [FILTER]


However, serial console at bootup stops at

1   FreeBSD
2   FreeBSD

Default: 1

/boot.config:  -h

FreeBSD/i386 boot
Default: 0:ad(0,a)/boot/loader
boot: Consoles: serial port
BIOS drive C: is disk0
BIOS 639kB/261120kB available memory

FreeBSD/i386 bootstrap loader, Revision 1.1
(mdtancsa_at_releng7.sentex.ca, Wed Jul 23 12:29:59 EDT 2008)
Loading /boot/defaults/loader.conf
/boot/kernel/kernel text=0x36ab14 data=0x325e0+0x2182c 
syms=[0x4+0x41890+0x4+0x544d6]
|
Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [/boot/kernel/kernel]...
\
Received on Sat Jul 26 2008 - 00:36:01 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:33 UTC