From <@sequent.kiae.su,@astral.uucp:ache@ache.dialup.demos.ru>  Fri Oct 13 17:01:02 1995
Received: from sequent.kiae.su (sequent.kiae.su [144.206.136.6])
          by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id RAA17295
          for <FreeBSD-gnats-submit@freebsd.org>; Fri, 13 Oct 1995 17:00:58 -0700
Received: by sequent.kiae.su id AA10392
  (5.65.kiae-2  for FreeBSD-gnats-submit@freebsd.org); Sat, 14 Oct 1995 03:58:53 +0400
Received: by sequent.KIAE.su (UUMAIL/2.0); Sat, 14 Oct 95 03:58:52 +0300
Received: (from ache@localhost) by ache.dialup.demos.ru (8.6.11/8.6.9) id CAA01012; Sat, 14 Oct 1995 02:58:03 +0300
Message-Id: <199510132358.CAA01012@ache.dialup.demos.ru>
Date: Sat, 14 Oct 1995 02:58:03 +0300
From: "Andrey A. Chernov" <ache@ache.dialup.demos.ru>
Reply-To: ache@ache.dialup.demos.ru
To: FreeBSD-gnats-submit@freebsd.org
Subject: PROCFS lkm broken
X-Send-Pr-Version: 3.2

>Number:         780
>Category:       kern
>Synopsis:       PROCFS tries to call unused function from libkern
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 13 17:10:01 PDT 1995
>Closed-Date:    Sat Oct 21 02:25:09 PDT 1995
>Last-Modified:  Sat Oct 21 02:27:13 PDT 1995
>Originator:     Andrey A. Chernov
>Release:        FreeBSD 2.0-BUILT-19950603 i386
>Organization:
Andrey A. Chernov        : And I rest so composedly,  /Now, in my bed,
ache@astral.msk.su       : That any beholder  /Might fancy me dead -
FidoNet: 2:5020/230.3    : Might start at beholding me,  /Thinking me dead.
RELCOM Team,FreeBSD Team :         E.A.Poe         From "For Annie" 1849
>Environment:

	-current

>Description:

	_divdi3 function missing: modload error on reboot with
	procfs lkm'ed.

>How-To-Repeat:

	Remove all optional filesystems rebuild and rerun system.
	PROCFS want divdi3 from libkern and because it is only
	one who want, divdi3 not picked from libkern at kernel
	build time.

>Fix:
	
	Workaround:
	add 'options PROCFS' to kernel config.
	Right:
	_divdi3 function should be picked to kernel in any case,
	f.e. called from dummy unused function.

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: bde 
State-Changed-When: Sat Oct 21 02:25:09 PDT 1995 
State-Changed-Why:  
Fixed in rev. 1.24 of support.s by including all compiler 
support functions that are known to be used by some part 
of the kernel. 
>Unformatted:
