From woju@freebsd.sinica.edu.tw Wed Mar 10 02:11:39 1999
Return-Path: <woju@freebsd.sinica.edu.tw>
Received: from freebsd.sinica.edu.tw (freebsd.sinica.edu.tw [140.109.13.51])
	by hub.freebsd.org (Postfix) with ESMTP id 44D6314F3E
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 10 Mar 1999 02:11:37 -0800 (PST)
	(envelope-from woju@freebsd.sinica.edu.tw)
Received: (from woju@localhost)
	by freebsd.sinica.edu.tw (8.9.2/8.9.2) id SAA63759;
	Wed, 10 Mar 1999 18:13:56 +0800 (CST)
	(envelope-from woju)
Message-Id: <199903101013.SAA63759@freebsd.sinica.edu.tw>
Date: Wed, 10 Mar 1999 18:13:56 +0800 (CST)
From: woju <woju@freebsd.sinica.edu.tw>
Reply-To: woju@freebsd.sinica.edu.tw
To: FreeBSD-gnats-submit@freebsd.org
Subject: modstat problem
X-Send-Pr-Version: 3.2

>Number:         10523
>Category:       bin
>Synopsis:       modstat problem
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    dcs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 10 02:20:00 PST 1999
>Closed-Date:    Sat Mar 13 16:13:43 PST 1999
>Last-Modified:  Sat Mar 13 16:14:49 PST 1999
>Originator:     woju
>Release:        FreeBSD 3.1-RELEASE i386
>Organization:
ACADEMIA Sinica Computing Centre at Taiwan
>Environment:

>Description:
modstat not work properly in 3.1-RELEASE

>How-To-Repeat:
freebsd[woju]:~$ uname -a
FreeBSD freebsd.sinica.edu.tw 3.1-RELEASE FreeBSD 3.1-RELEASE #0: Mon Feb 15 11:
08:08 GMT 1999     jkh@usw3.freebsd.org:/usr/src/sys/compile/GENERIC  i386
freebsd[woju]:~$ modstat
modstat: /dev/lkm: Device not configured

Note: the problem still exist in 3.1-19990309-STABLE

In 2.X --
bbs[woju]:~$ uname -a
FreeBSD bbs.ee.ntu.edu.tw 2.2.8-19990120-SNAP FreeBSD 2.2.8-19990120-SNAP #0: Th
u Feb 11 18:02:52 CST 1999     root@bbs.ee.ntu.edu.tw:/usr/src/sys/compile/FREEB
SD  i386
bbs[woju]:~$ modstat
Type     Id Off Loadaddr Size Info     Rev Module Name
VFS       0  12 f5fcc000 000c f5fce19c   1 procfs
VFS       1   2 f5fd2000 00dd f60066cc   1 nfs
EXEC      2   4 f6012000 0020 f6019010   1 linux_mod
MISC      3   0 f601a000 0008 f601b000   1 daemon_saver_mod

>Fix:


>Release-Note:
>Audit-Trail:

From: "Daniel C. Sobral" <dcs@newsguy.com>
To: woju@freebsd.sinica.edu.tw
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: bin/10523: modstat problem
Date: Wed, 10 Mar 1999 20:09:24 +0900

 Did you configure your kernel with "options LKM"? Unless you did,
 I'm going to close this PR. LKM is not default on 3.1, since it is
 deprecated. Use kld.
 
 woju wrote:
 > 
 > >Number:         10523
 > >Category:       bin
 > >Synopsis:       modstat problem
 > >Confidential:   no
 > >Severity:       serious
 > >Priority:       medium
 > >Responsible:    freebsd-bugs
 > >State:          open
 > >Quarter:
 > >Keywords:
 > >Date-Required:
 > >Class:          sw-bug
 > >Submitter-Id:   current-users
 > >Arrival-Date:   Wed Mar 10 02:20:00 PST 1999
 > >Closed-Date:
 > >Last-Modified:
 > >Originator:     woju
 > >Release:        FreeBSD 3.1-RELEASE i386
 > >Organization:
 > ACADEMIA Sinica Computing Centre at Taiwan
 > >Environment:
 > 
 > >Description:
 > modstat not work properly in 3.1-RELEASE
 > 
 > >How-To-Repeat:
 > freebsd[woju]:~$ uname -a
 > FreeBSD freebsd.sinica.edu.tw 3.1-RELEASE FreeBSD 3.1-RELEASE #0: Mon Feb 15 11:
 > 08:08 GMT 1999     jkh@usw3.freebsd.org:/usr/src/sys/compile/GENERIC  i386
 > freebsd[woju]:~$ modstat
 > modstat: /dev/lkm: Device not configured
 > 
 > Note: the problem still exist in 3.1-19990309-STABLE
 > 
 > In 2.X --
 > bbs[woju]:~$ uname -a
 > FreeBSD bbs.ee.ntu.edu.tw 2.2.8-19990120-SNAP FreeBSD 2.2.8-19990120-SNAP #0: Th
 > u Feb 11 18:02:52 CST 1999     root@bbs.ee.ntu.edu.tw:/usr/src/sys/compile/FREEB
 > SD  i386
 > bbs[woju]:~$ modstat
 > Type     Id Off Loadaddr Size Info     Rev Module Name
 > VFS       0  12 f5fcc000 000c f5fce19c   1 procfs
 > VFS       1   2 f5fd2000 00dd f60066cc   1 nfs
 > EXEC      2   4 f6012000 0020 f6019010   1 linux_mod
 > MISC      3   0 f601a000 0008 f601b000   1 daemon_saver_mod
 > 
 > >Fix:
 > 
 > >Release-Note:
 > >Audit-Trail:
 > >Unformatted:
 > 
 > To Unsubscribe: send mail to majordomo@FreeBSD.org
 > with "unsubscribe freebsd-bugs" in the body of the message
 
 --
 Daniel C. Sobral			(8-DCS)
 dcs@newsguy.com
 dcs@freebsd.org
 
 	"FreeBSD is Yoda, Linux is Luke Skywalker."
 
 

From: Michael Remski <michael.e.remski@lmco.com>
To: freebsd-gnats-submit@freebsd.org, woju@freebsd.sinica.edu.tw
Cc:  
Subject: Re: bin/10523: modstat problem
Date: Wed, 10 Mar 1999 07:19:12 -0500

 I found the same thing, but try the kldstat command.  In the release
 notes there is a reference near the bottom about the "new kernel module
 interface".
 
 m
 -- 
 "You are in a maze of twisty passages, all alike"
 
Responsible-Changed-From-To: freebsd-bugs->dcs 
Responsible-Changed-By: dcs 
Responsible-Changed-When: Thu Mar 11 08:49:12 PST 1999 
Responsible-Changed-Why:  
I'm tracking it. 
State-Changed-From-To: open->closed 
State-Changed-By: dcs 
State-Changed-When: Sat Mar 13 16:13:43 PST 1999 
State-Changed-Why:  
LKM are not supported by default on 3.1-RELEASE, having been 
deprecated by KLD. Support is provided, though, through kernel 
option. 
>Unformatted:
