NetBSD Problem Report #9739

Received: (qmail 24407 invoked from network); 31 Mar 2000 09:46:12 -0000
Message-Id: <20000331094559.3BF7F4014@wanda.pdc.kth.se>
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
X-Send-Pr-Version: 3.95

>Number:         9739
>Category:       kern
>Synopsis:       PCVT not upgraded to new callout() API
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 31 09:48:00 +0000 2000
>Closed-Date:    Wed Apr 05 20:27:30 +0000 2000
>Last-Modified:  Wed Apr 05 20:27:30 +0000 2000
>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:
State-Changed-From-To: open->closed 
State-Changed-By: thorpej 
State-Changed-When: Wed Apr 5 13:27:16 PDT 2000 
State-Changed-Why:  
This has been fixed 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.