Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jul 1999 09:28:35 +0800
From:      Peter Wemm <peter@netplex.com.au>
To:        mjacob@feral.com
Cc:        alpha@FreeBSD.ORG
Subject:   Re: breakage du jour.... 
Message-ID:  <19990728012835.1F64B1C9E@overcee.netplex.com.au>
In-Reply-To: Your message of "Tue, 27 Jul 1999 18:03:12 MST." <Pine.BSF.4.05.9907271756300.31508-100000@semuta.feral.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
Matthew Jacob wrote:
> 
> Reopening this again... the changes that were made in CVS do not address
> the problem that had occurred before- namely the panic. The following
> patch is still necessary (at least if you have a serial console).
> 
> -matt
> Index: cons.c
> ===================================================================
> RCS file: /cvs-src/src/sys/alpha/alpha/cons.c,v
> retrieving revision 1.11
> diff -u -r1.11 cons.c
> --- cons.c	1999/06/22 14:13:16	1.11
> +++ cons.c	1999/07/28 00:57:40
> @@ -183,8 +183,12 @@
>  	cdp->d_close = cnclose;
>  	cn_phys_open = cdp->d_open;
>  	cdp->d_open = cnopen;
> +#ifdef	worked
>  	cn_tp = (*cdp->d_devtotty)(cn_tab->cn_dev);
>  	cn_dev_t = cn_tp->t_dev;
> +#else
> +	cn_dev_t = cn_tab->cn_dev;
> +#endif
>  	cn_udev_t = dev2udev(cn_dev_t);
>  }

As a data point, on a system with serial console only and no vga card:

Initial rc.alpha initialization:.
rc.alpha configuring syscons: blank_time/etc/rc.alpha: cannot open /dev/ttyv0: no such device or address
.
Local package initialization: sshd.
Mon Jul 26 15:40:07 WST 1999
de0: abnormal interrupt: transmit underflow (raising TX threshold to 96|256)
=59U%`!QQepA%55)55)Last login: Mon Jul 26 15:40:08 from overcee
Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
        The Regents of the University of California.  All rights reserved.

Note the burst of garbage just before Last Login.  This was the second
last boot - it's been doing this for a week but stopped after the recompile
last night (for some unrelated tests).

Mind you, this could just be de0 driver problems with doing printf's from
interrupt context.  I've had garbage and complete loss of serial console
when the initial 'ifconfig de0' happened on other systems.

Cheers,
-Peter




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




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