A couple of more direct questions:

Have anyone successfully booted a kernel without any console output?
What related kernel options can I play with?
If not, where in the kernel source should I start digging?

Thanks, Rickard.

Rickard Dahlstrand wrote:

>Hi,
>
>I'm trying to connect a modem to the serial port on my PC Engines
>Wrap1E-board and I can't seem to boot a kernel without having anything
>sent to the com-port.
>
>This device doesn't have a screen controller so it uses the serial port
>for bios and boot messages. It seems like the bios are redirecting pc0
>to com0 up until the kernel booting. There is a boot-option to disable
>this, but since there is no way for me to get a kernel to boot on pc0 it
>makes no difference.
>
>If I boots the a kernel without the PCCOMCONSOLE-option I can boot the
>kernel providing I set the tty to com0 in either the boot loader or
>/etc/boot.conf. But if I set the tty to pc0 and tries to boot it freezes
>just after the entry point message.
>
>I have even tried to set the tty to com1 in boot.conf to see if that
>made any difference, but it seems to freeze up in the same way.
>
>I need to find a way to boot a kernel without any messages on the
>serial-port.
>
>Thankful for any help, Rickard.
>
>
>-----------------------------------
>
>Loading;.....
>probing: pc0 com0 pci mem[640K 127M a20=on]
>disk: hd0
>  
>
>>>OpenBSD/i386 BOOT 2.06
>>>      
>>>
>boot> set tty pc0
>switching console to pc0
>  
>
>>>OpenBSD/i386 BOOT 2.06
>>>      
>>>
>boot> bsd
>booting hd0a:bsd: 14062692+352328 [52+108048+95427]=0xdf1128
>entry point at 0x100120
>[FREEZE]
>
>
>
>Loading;.....
>probing: pc0 com0 pci mem[640K 127M a20=on]
>disk: hd0
>  
>
>>>OpenBSD/i386 BOOT 2.06
>>>      
>>>
>boot> set tty com0
>switching console to com0
>  
>
>>>OpenBSD/i386 BOOT 2.06
>>>      
>>>
>boot> stty com0 57600
>com0: changing speed to 57600 baud in 5 seconds, change your terminal to
>match!
>
>com0: 57600 baud
>boot> bsd
>booting hd0a:bsd: 14062692+352328 [52+108048+95427]=0xdf1128
>entry point at 0x100120
>
>[ using 203900 bytes of bsd ELF symbol table ]
>Copyright (c) 1982, 1986, 1989, 1991, 1993
>        The Regents of the University of California.  All rights reserved.
>Copyright (c) 1995-2005 OpenBSD. All rights reserved. 
>http://www.OpenBSD.org
>
>OpenBSD 3.7 (TILDECOS020) #0: Thu May 19 14:34:58 CEST 2005
>    [EMAIL PROTECTED]:/root/cvsflashboot/obj/TILDECOS020
>RTC BIOS diagnostic error 80<clock_battery>
>cpu0: Geode(TM) Integrated Processor by National Semi ("Geode by NSC"
>586-class)
> 267 MHz
>cpu0: FPU,TSC,MSR,CX8,CMOV,MMX
>cpu0: TSC disabled
>real mem  = 133804032 (130668K)
>avail mem = 112906240 (110260K)
>using 331 buffers containing 1355776 bytes (1324K) of memory
>RTC BIOS diagnostic error 80<clock_battery>
>mainbus0 (root)
>bios0 at mainbus0: AT/286+(fa) BIOS, date 05/02/05, BIOS32 rev. 0 @ 0xfc5f2
>pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000
>pcibios0: pcibios_get_intr_routing - function not supported
>pcibios0: PCI IRQ Routing information unavailable.
>pcibios0: PCI bus #0 is the last bus
>bios0: ROM list: 0xe0000/0x8000
>cpu0 at mainbus0
>pci0 at mainbus0 bus 0: configuration mode 1 (bios)
>pchb0 at pci0 dev 0 function 0 "Cyrix GXm PCI" rev 0x00
>sis0 at pci0 dev 14 function 0 "NS DP83815 10/100" rev 0x00: DP83816A,
>irq 10, a
>ddress 00:0d:b9:01:94:e8
>nsphyter0 at sis0 phy 0: DP83815 10/100 PHY, rev. 1
>sis1 at pci0 dev 15 function 0 "NS DP83815 10/100" rev 0x00: DP83816A,
>irq 9, ad
>dress 00:0d:b9:01:94:e9
>nsphyter1 at sis1 phy 0: DP83815 10/100 PHY, rev. 1
>sis2 at pci0 dev 16 function 0 "NS DP83815 10/100" rev 0x00: DP83816A,
>irq 11, a
>ddress 00:0d:b9:01:94:ea
>nsphyter2 at sis2 phy 0: DP83815 10/100 PHY, rev. 1
>gscpcib0 at pci0 dev 18 function 0 "NS SC1100 ISA" rev 0x00
>gpio0 at gscpcib0: 64 pins
>"NS SC1100 SMI/ACPI" rev 0x00 at pci0 dev 18 function 1 not configured
>"NS SCx200 IDE" rev 0x01 at pci0 dev 18 function 2 not configured
>"NS SCx200 AUDIO" rev 0x00 at pci0 dev 18 function 3 not configured
>geodesc0 at pci0 dev 18 function 5 "NS SC1100 X-Bus" rev 0x00: iid 6
>revision 3
>wdstatus 0
>isa0 at gscpcib0
>isadma0 at isa0
>wdc0 at isa0 port 0x1f0/8 irq 14
>wd0 at wdc0 channel 0 drive 0: <STI Flash 7.2.0>
>wd0: 1-sector PIO, LBA, 122MB, 250880 sectors
>wd0(wdc0:0:0): using BIOS timings
>gscsio0 at isa0 port 0x2e/2: SC1100 SIO rev 1: ACB1 ACB2
>iic0 at gscsio0
>iic1 at gscsio0
>lmtemp0 at iic1 addr 0x48: LM77
>npx0 at isa0 port 0xf0/16: using exception 16
>pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
>pccom0: console
>biomask f1ef netmask ffef ttymask ffef
>rd0: fixed, 22528 blocks
>dkcsum: wd0 matched BIOS disk 80
>root on rd0a
>rootdev=0x1100 rrootdev=0x2f00 rawdev=0x2f02
>clock: unknown CMOS layout

Reply via email to