*BSD News Article 25222


Return to BSD News archive

Newsgroups: comp.os.386bsd.bugs
Path: sserve!newshost.anu.edu.au!munnari.oz.au!bunyip.cc.uq.oz.au!harbinger.cc.monash.edu.au!yeshua.marcam.com!news.kei.com!eff!news.umbc.edu!europa.eng.gtefsd.com!howland.reston.ans.net!cs.utexas.edu!swrinde!news.dell.com!obiwan!bob
From: bob@obiwan.uucp (Bob Willcox)
Subject: Re: NetBSD console lockups after SHIFT-LOCK
References: <756051271snx@toucan.toppoint.de>
Organization: Bob's Place, Austin TX
Date: Tue, 21 Dec 1993 02:25:49 GMT
Message-ID: <CID5FF.9xw@obiwan.uucp>
Lines: 38

In article <756051271snx@toucan.toppoint.de>,
Gerrit Graf <gerrit@toucan.toppoint.de> wrote:
>Hi,
>
>  I'm using NetBSD-0.9 on an 2-year-old 386DX25 AMI-MKII Board and everything's
>  fine, but:
>
>  I'm not able to use SHIFT-LOCK, SCROLL-LOCK, NUM-LOCK or Pause, because
>  the console hangs on pressing one of them. The corresponding LED's don't
>  even light, it's just dead. Sometimes (when I'm very lucky) the NUM-LOCK
>  LED lights up but that's all.

I don't know if the problem is related or not, but I discovered
that with FreeBSD-1.0 RELEASE and either pccons or syscons and the
ASUS EISA VLB motherboard I was using at the time, my console would
also lock up whenever I pressed a key that tried to turn on one of
the LEDs (A friends system with the same motherboard failed exactly
the same way).  I found that if I added a delay in the kbd_wait()
routine of syscons.c (though I experienced the same problem with
pccons I never attempted to workaround the problem with it) the
problem went away (at the expense of some keyboard performance and
additional load, no doubt).  Again, the hack was simply to add a
DELAY(3000) at the top of kbd_wait().  I did experiment with
different values and placement of the DELAY() but found that this
was the simplest change that seemed to work.

A variety of other systems that I am running FreeBSD on never had
this problem, so I suspected that it was some kind of timeing
problem unique to the particular mother board (this board has some
other compatibility problems as well).


Hope this helps...

-- 
Bob Willcox                ...!{rutgers|ames}!cs.utexas.edu!uudell!obiwan!bob
Phone: 512 258-4224 (home)
       512 838-3914 (work)