From owner-freebsd-current Sun Jan 3 22:25:47 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA00899 for freebsd-current-outgoing; Sun, 3 Jan 1999 22:25:47 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from dingo.cdrom.com (castles317.castles.com [208.214.167.17]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA00894 for ; Sun, 3 Jan 1999 22:25:44 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (LOCALHOST [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id WAA10270; Sun, 3 Jan 1999 22:22:23 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199901040622.WAA10270@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Gregory Bond cc: current@FreeBSD.ORG Subject: Re: SOFTUPDATES hangs keyboard In-reply-to: Your message of "Mon, 04 Jan 1999 16:59:41 +1100." <199901040559.QAA25674@lightning.itga.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 03 Jan 1999 22:22:23 -0800 From: Mike Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Current as at 199901040100UTC (but has happened since 3.0R when I started on > 3.0). > > HP KAYAK XA (P-II 400, BX Mboard, Matrox G200 AGP, PS/2 mouse, HP keyboard > with a bunch of extra buttons.) > > This is happening quite consistently. > > - boot -s, turn softupdates on on (unmounted) /var. > - ^D to boot multi-user, system comes up. > - Alt-F2 to switch to second vt > - log in as root > > >From this point on, the keyboard stops working - perhaps because this is the > first time a write to /var occurs? > > - Hitting any "normal" key has no effect at all. > - Alt-Fn will swap to another vt > - after a bunch of keypresses (dunno if it is the number of 'normal" keys or > the number of Alt-Fn presses), then beahviour changes again: > - normal keys still to nothing > - Alt-Fn keys now elicit a beep just like DOS does when the KB buffer > is full. > > - At this point, the only solution is C-A-Del, boot single user, run fsck on > the /var partition (usually somewhat mangled), turn off soft updates, ^D to > start up, and the system is fine. > > Very repeatable, very clearly a SOFTUPDATES problem. How is it "clearly a SOFTUPDATES problem"? What's clear is that you have something spinning in an interrupt handler. Soft updates may be triggering this, but there's no guarantee that it's the cause of the problem. Start off by making sure that your softupdates files are symlinks to the real thing, not stale copies. Then add DDB to your kernel config, and when the system wedges, hit alt-ctrl-escape, then type "trace" to get a traceback. If you can do this with a debug kernel (config -g ...) that would be even better. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message