Hello misc,

I am just in the process of moving one of my servers from i386 to amd64. 
My webhoster provides me with a serial console over a ssh connection 
with the speed set to 57600 baud. The following boot.conf works for the 
bootloader:

set tty com0
stty com0 57600

But after the -current kernel is loaded and the main func is executed 
the serial speed is reset to 9600 baud, which gives me output like this:

`````````````````````
com0: 57600 baud
boot>
booting hd0a:/bsd: 4415664+1071036+748152+0+557208 
[80+390168+243800]=0xb16058
entry point at 0x1001e0 [7205c766, 34000004, 24448b12, cba0a304]
                                                          m```````````````

(The last line starts right behind the closing bracket in the line 
below, my mailer will break the line, so I can't show that in the right 
way here).

The com_speed variable is set to 57600 at the point where the kernel is 
started. Those accented 'a's show up if I set the console speed to 9600 
and have any output on the console, so I am pretty sure that the com 
port is reset to 9600 baud after the kernel starts.

Is there any way to get a readable output on the serial console at 57600 
baud? I can change /etc/rc to set the console back to 57600 but that 
won't help if I got a kernel problem or if I would like to use the -s 
boot option. In fact I am expiriencing exactly this problem at the 
moment...

dmesg is below is from an install kernel for i386 4.2-stable. The 
i386-4.2 kernel does not show the behaviour described above.

Kind regards,
   Markus

dmesg i386:
Copyright (c) 1982, 1986, 1989, 1991, 1993
         The Regents of the University of California.  All rights 
reserved.
Copyright (c) 1995-2007 OpenBSD. All rights reserved. 
http://www.OpenBSD.org

OpenBSD 4.2-stable (RAMDISK_YAIFO) #0: Thu Mar 27 11:08:54 CET 2008

[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/RAMDISK_YAIFO
cpu0: AMD Athlon(tm) 64 Processor 3200+ ("AuthenticAMD" 686-class, 512KB 
L2 cache) 2.01 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3
cpu0: AMD erratum 89 present, BIOS upgrade may be required
real mem  = 535261184 (510MB)
avail mem = 508964864 (485MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 07/27/05, BIOS32 rev. 0 @ 0xfa760, 
SMBIOS rev. 2.2 @ 0xf0000 (39 entries)
bios0: vendor Phoenix Technologies, LTD version "6.00 PG" date 
07/27/2005
apm0 at bios0: Power Management spec V1.2
apm0: flags 70102 dobusy 1 doidle 1
pcibios0 at bios0: rev 3.0 @ 0xf0000/0xcc34
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfcb00/240 (13 entries)
pcibios0: bad IRQ table checksum
pcibios0: PCI BIOS has 17 Interrupt Routing table entries
pcibios0: PCI Exclusive IRQs: 3 5 7 10 11
pcibios0: no compatible PCI ICU found
pcibios0: Warning, unable to fix up PCI interrupt routing
pcibios0: PCI bus #5 is the last bus
bios0: ROM list: 0xc0000/0x8000 0xc8000/0x1600
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
"NVIDIA nForce4 DDR" rev 0xa3 at pci0 dev 0 function 0 not configured
pcib0 at pci0 dev 1 function 0 "NVIDIA nForce4 ISA" rev 0xa3
"NVIDIA nForce4 SMBus" rev 0xa2 at pci0 dev 1 function 1 not configured
ohci0 at pci0 dev 2 function 0 "NVIDIA nForce4 USB" rev 0xa2: irq 7, 
version 1.0, legacy support
ehci0 at pci0 dev 2 function 1 "NVIDIA nForce4 USB" rev 0xa3: irq 5
usb0 at ehci0: USB revision 2.0
uhub0 at usb0: NVIDIA EHCI root hub, rev 2.00/1.00, addr 1
pciide0 at pci0 dev 6 function 0 "NVIDIA nForce4 IDE" rev 0xf2: DMA, 
channel 0 configured to compatibility, channel 1 configured to 
compatibility
wd0 at pciide0 channel 0 drive 0: <HDS728080PLAT20>
wd0: 16-sector PIO, LBA48, 78533MB, 160836480 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 6
wd1 at pciide0 channel 1 drive 0: <HDS728080PLAT20>
wd1: 16-sector PIO, LBA48, 78533MB, 160836480 sectors
wd1(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 6
ppb0 at pci0 dev 9 function 0 "NVIDIA nForce4 PCI-PCI" rev 0xa2
pci1 at ppb0 bus 1
vga1 at pci1 dev 5 function 0 "ATI Rage XL" rev 0x27
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
ppb1 at pci0 dev 11 function 0 "NVIDIA nForce4 PCIE" rev 0xa3
pci2 at ppb1 bus 2
ppb2 at pci0 dev 12 function 0 "NVIDIA nForce4 PCIE" rev 0xa3
pci3 at ppb2 bus 3
ppb3 at pci0 dev 13 function 0 "NVIDIA nForce4 PCIE" rev 0xa3
pci4 at ppb3 bus 4
bge0 at pci4 dev 0 function 0 "Broadcom BCM5721" rev 0x11, BCM5750 B1 
(0x4101): irq 11, address 00:e0:81:55:09:c0
brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
ppb4 at pci0 dev 14 function 0 "NVIDIA nForce4 PCIE" rev 0xa3
pci5 at ppb4 bus 5
pchb0 at pci0 dev 24 function 0 "AMD AMD64 HyperTransport" rev 0x00
pchb1 at pci0 dev 24 function 1 "AMD AMD64 Address Map" rev 0x00
pchb2 at pci0 dev 24 function 2 "AMD AMD64 DRAM Cfg" rev 0x00
pchb3 at pci0 dev 24 function 3 "AMD AMD64 Misc Cfg" rev 0x00
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom0: console
usb1 at ohci0: USB revision 1.0
uhub1 at usb1: NVIDIA OHCI root hub, rev 1.00/1.00, addr 1
biomask f7ed netmask ffed ttymask ffef
rd0: fixed, 8192 blocks
Kernelized RAIDframe activated
dkcsum: wd0 matches BIOS drive 0x80
dkcsum: wd1 matches BIOS drive 0x81
root on rd0a swap on rd0b dump on rd0b
add net xx.xxx.xxx.x: gateway xx.xxx.xxx.xxx
add net default: gateway xx.xxx.xxx.x
erase ^?, werase ^W, kill ^U, intr ^C, status ^T
(I)nstall, (U)pgrade or (S)hell?

Reply via email to