Subject: kern/9739: PCVT not upgraded to use new callout() API
To: None <netbsd-bugs@netbsd.org>
From: John Darrow <John.P.Darrow@wheaton.edu>
List: netbsd-bugs
Date: 04/05/2000 14:58:20
Date: Fri, 31 Mar 2000 11:45:59 +0200 (CEST)
From: johani@pdc.kth.se
Reply-To: johani@pdc.kth.se
To: gnats-bugs@gnats.netbsd.org
Subject: PCVT not upgraded to use new callout() API


>Number:         9739
>Category:       kern
>Synopsis:       PCVT not upgraded to new callout() API
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 31 01:48:00 PST 2000
>Closed-Date:    
>Last-Modified:  
>Originator:     Johan Ihren
>Release:        March 30, 2000
>Organization:


	Center for Parallel Computers, KTH


>Environment:


System: NetBSD wanda.pdc.kth.se 1.4T NetBSD 1.4T (WANDA) #24: 
Mon Feb 28 20:16:05 CET 2000
root@wanda.pdc.kth.se:/usr/source/netbsd/src/sys/arch/i386/compile/WANDA i386


>Description:


Building a new kernel (-current, around March 30) using PCVT fails:


bash# cd /sys/arch/i386/compile/WANDA/
bash# make
cc  -O2 -Werror -Wall -Wmissing-prototypes -Wstrict-prototypes  -Wpointer-arith -Wno-main -I. -I../../../../arch -I../../../.. -nostdinc -I../../../../../crypto-intl/sys -I../../../../../gnu/sys -DLKM -DDIAGNOSTIC -DIPSEC_DEBUG -DPCVT_META_ESC -DPCVT_VT220KEYB -DPCVT_INHIBIT_NUMLOCK -DSWEDISH_KBD -DMAXUSERS=32 -D_KERNEL -Di386  -c ../../../../arch/i386/isa/pcvt/pcvt_drv.c
cc1: warnings being treated as errors
../../../../arch/i386/isa/pcvt/pcvt_drv.c: In function `pcintr':
../../../../arch/i386/isa/pcvt/pcvt_drv.c:668: warning: implicit declaration of function `timeout'
*** Error code 1


>How-To-Repeat:


Build a kernel with PCVT rather than WSCONS and watch it fail on pcvt_drv.c.


>Fix:


It seems to me that the pcvt system has not been upgraded to use the
new callout API and the fix is apparently to replace the timeout() call
in pcvt_drv.c with new stuff.


Regards,


Johan Ihrén, <johani@pdc.kth.se>,
phone: +46 (8) 790 6844, Center for Parallel Computers, 
Royal Institute of Technology, SE-100 44 Stockholm, Sweden
>Release-Note:
>Audit-Trail:
>Unformatted: