Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Mar 1997 23:13:12 -0500 (EST)
From:      Drew Derbyshire <ahd@kew.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   i386/2984: serial console speed goes to hell during boot
Message-ID:  <199703140413.XAA01521@fantasy-factory.net.kew.com>
Resent-Message-ID: <199703140420.UAA15634@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         2984
>Category:       i386
>Synopsis:       serial port console only prints ~ 1 char per second
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 13 20:20:02 PST 1997
>Last-Modified:
>Originator:     Drew Derbyshire
>Organization:
Kendra Electronic Wonderworks
>Release:        FreeBSD 2.2-970225-GAMMA i386
>Environment:

	Northgate 386/33 Slimline Cache
	16M RAM
	250M Quantum IDE hard drive
	387 FPU
	Two motherboard resident 14450 serial ports (SIO0, SIO2)
	Motherboard resident LPT0
	Zoom 28.8 modem (SIO3)
	IBM 14.4 modem (SIO4)
	(no ethernet, keyboard, or video card during test)

>Description:

	When booting the 2.2 GAMMA release using a serial console
	the output (to an IBM PS/1 previously successfully used
	for a serial console for 2.1.5-RELEASE for another 386),
	output is normal 9600 bps output until about the time the
	NPU is detected.  Then, output slows to a crawl (~ 1
	character/second) until shutdown ... the last two lines
	before reboot are printed at a normal speed (again), implying
	the hardware is (still) fine.

	This is a severe impact on the boot process if too many
	messages are issued and buffering is not possible, delaying
	the processes run at the end of the boot by as much as 15
	minutes.

	Important note is that I also seeing stray IRQ 7's about
	the time of the impacted performance; I recongize this
	could be a hardware problem interacting with the serial
	ports, but I don't know of what type -- in previous lives
	running OS/2 and Win 3.1, the machine performed fine.

	Sample log ...

   athena /kernel: Copyright (c) 1992-1996 FreeBSD Inc.
   athena /kernel: Copyright (c) 1982, 1986, 1989, 1991, 1993
   athena /kernel: 	The Regents of the University of California.  All rights reserved.
   athena /kernel: 
   athena /kernel: FreeBSD 2.2-970225-GAMMA #5: Sat Mar  8 15:55:41 EST 1997
   athena /kernel:     ahd@sonata.hh.kew.com:/usr/src/sys/compile/ATHENA
   athena /kernel: Calibrating clock(s) relative to mc146818A clock ... i8254 clock: 1193168 Hz
   athena /kernel: CPU: i386DX (386-class CPU)
   athena /kernel: real memory  = 16646144 (16256K bytes)
   athena /kernel: avail memory = 14991360 (14640K bytes)
   athena /kernel: Probing for devices on the ISA bus:
   athena /kernel: ed0 at 0x280-0x29f irq 10 maddr 0xd8000 msize 16384 on isa
   athena /kernel: ed0: address 00:00:c0:bd:80:d0, type SMC8216/SMC8216C (16 bit) 
   athena /kernel: sio0 at 0x3f8-0x3ff irq 4 on isa
   athena /kernel: sio0: type 16450
   athena /kernel: sio1 at 0x2f8-0x2ff irq 3 on isa
   athena /kernel: sio1: type 16450
   athena /kernel: sio2 at 0x3e8-0x3ef irq 5 on isa
   athena /kernel: sio2: type 16550A
   athena /kernel: sio3 at 0x2e8-0x2ef irq 9 on isa
   athena /kernel: sio3: type 16550A
   athena /kernel: fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
   athena /kernel: wdc0 at 0x1f0-0x1f7 irq 14 on isa
   athena /kernel: wdc0: unit 0 (wd0): <QUANTUM LP240A GM240A01X>
   athena /kernel: wd0: 234MB (479349 sectors), 723 cyls, 13 heads, 51 S/T, 512 B/S
   athena /kernel: npx0 at 0xf0-0xff irq 13 on motherboard
   athena /kernel: stray irq 7
   athena last message repeated 4 times
   athena /kernel: too many stray irq 7's; not logging any more

>How-To-Repeat:

	Consistently happens every reboot on the specified machine.
	Machine configuration (input to config) can be supplied on
	request.

	I do have source loaded, and can test changes if requested.

>Fix:
	
	Unknown cause and therefore fix.

	Workaround is to declare dummy VGA console and perform blind
	boot.

>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199703140413.XAA01521>