From owner-cvs-all Tue May 28 8:31: 4 2002 Delivered-To: cvs-all@freebsd.org Received: from zibbi.icomtek.csir.co.za (zibbi.icomtek.csir.co.za [146.64.24.58]) by hub.freebsd.org (Postfix) with ESMTP id 044BD37B401; Tue, 28 May 2002 08:30:55 -0700 (PDT) Received: (from jhay@localhost) by zibbi.icomtek.csir.co.za (8.11.6/8.11.6) id g4SFUdm90251; Tue, 28 May 2002 17:30:39 +0200 (SAT) (envelope-from jhay) From: John Hay Message-Id: <200205281530.g4SFUdm90251@zibbi.icomtek.csir.co.za> Subject: Re: cvs commit: src/sys/sys tty.h src/sys/kern tty.c In-Reply-To: from Dag-Erling Smorgrav at "May 28, 2002 04:28:43 pm" To: des@ofug.org (Dag-Erling Smorgrav) Date: Tue, 28 May 2002 17:30:39 +0200 (SAT) Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > John Hay writes: > > I'm running as late as cvsup/cvs will give me which is 1.179. This > > patch fix the panics for me. At first I only added the if (tp->t_dev) > > check, but then I paniced a few lines further. I don't know if this > > is perfect, but the panics are gone and I can remotely log in, so I'm > > happy. :-) > > It looks right. I didn't expect to run into ttys that didn't have an > associated device or process. Can you mail me the output of 'pstat -t'? ########################### beast:/home/jhay # pstat -t LINE RAW CAN OUT IHIWT ILOWT OHWT LWT COL STATE SESS PGID DISC ttyp1 0 0 0 512 448 2052 256 0 OCc 86298 86796 term ttyp0 0 0 0 512 448 2052 256 31 OCc 228 234 term ttyv7 0 0 0 512 448 2052 256 7 OCc 226 226 term ttyv6 0 0 0 512 448 2052 256 7 OCc 225 225 term ttyv5 0 0 0 512 448 2052 256 7 OCc 224 224 term ttyv4 0 0 0 512 448 2052 256 7 OCc 223 223 term ttyv3 0 0 0 512 448 2052 256 7 OCc 222 222 term ttyv2 0 0 0 512 448 2052 256 7 OCc 221 221 term ttyv1 0 0 0 512 448 2052 256 7 OCc 220 220 term ttyd0 0 0 0 512 448 1296 256 0 OCc 0 0 term 0,0 0 0 0 0 0 0 0 0 - 0 0 term ttyv0 0 0 0 512 448 2052 256 7 OCc 219 219 term ########################### John -- John Hay -- John.Hay@icomtek.csir.co.za / jhay@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message