From nobody@FreeBSD.org  Fri Sep 21 05:09:36 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 9624937B422
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 21 Sep 2001 05:09:35 -0700 (PDT)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.4/8.11.4) id f8LC9Z855119;
	Fri, 21 Sep 2001 05:09:35 -0700 (PDT)
	(envelope-from nobody)
Message-Id: <200109211209.f8LC9Z855119@freefall.freebsd.org>
Date: Fri, 21 Sep 2001 05:09:35 -0700 (PDT)
From: "Serg O. Malakhov" <serg@servocomp.ru>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Problem with mount linuxproc filesystem on 4.4 stable
X-Send-Pr-Version: www-1.0

>Number:         30706
>Category:       bin
>Synopsis:       Problem with mount linuxproc filesystem on 4.4 stable
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    des
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 21 05:10:01 PDT 2001
>Closed-Date:    Mon Oct 15 13:42:02 PDT 2001
>Last-Modified:  Mon Oct 15 13:42:23 PDT 2001
>Originator:     Serg O. Malakhov
>Release:        4.4stable. Latest cvsup for /usr/src was 21.09.2001
>Organization:
Servocomp Inc.
>Environment:
FreeBSD camel.servocomp.ru 4.4-STABLE FreeBSD 4.4-STABLE #0: Fri Sep 21 18:55:18 MSD 2001
>Description:
After updating system and kernel to version 4.4, in the booting time I see  
error on the mount linuxproc file system, that was mounted aftomaticaly in 
my fstab file. There is error: "Exec format error".
I didn't touch anithing, but make world and make kernel after cvsup for all sources.
>How-To-Repeat:
Just try:
mount_linprocfs linproc /compat/linux/proc
>Fix:
Probably you know ;)
>Release-Note:
>Audit-Trail:

From: Peter Pentchev <roam@ringlet.net>
To: "Serg O. Malakhov" <serg@servocomp.ru>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: bin/30706: Problem with mount linuxproc filesystem on 4.4 stable
Date: Fri, 21 Sep 2001 15:07:47 +0300

 On Fri, Sep 21, 2001 at 05:09:35AM -0700, Serg O. Malakhov wrote:
 > 
 > >Number:         30706
 > >Category:       bin
 > >Synopsis:       Problem with mount linuxproc filesystem on 4.4 stable
 > >Originator:     Serg O. Malakhov
 > >Release:        4.4stable. Latest cvsup for /usr/src was 21.09.2001
 > >Organization:
 > Servocomp Inc.
 > >Environment:
 > FreeBSD camel.servocomp.ru 4.4-STABLE FreeBSD 4.4-STABLE #0: Fri Sep 21 18:55:18 MSD 2001
 > >Description:
 > After updating system and kernel to version 4.4, in the booting time I see  
 > error on the mount linuxproc file system, that was mounted aftomaticaly in 
 > my fstab file. There is error: "Exec format error".
 > I didn't touch anithing, but make world and make kernel after cvsup for all sources.
 > >How-To-Repeat:
 > Just try:
 > mount_linprocfs linproc /compat/linux/proc
 > >Fix:
 > Probably you know ;)
 
 What does 'brandelf /sbin/mount_linprocfs' tell you?
 
 G'luck,
 Peter
 
 -- 
 I am the meaning of this sentence.

From: Peter Pentchev <roam@ringlet.net>
To: Serg <serg@servocomp.ru>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: bin/30706: Problem with mount linuxproc filesystem on 4.4 stable
Date: Fri, 21 Sep 2001 15:43:46 +0300

 On Fri, Sep 21, 2001 at 04:38:32PM +0400, Serg wrote:
 > Hi, Peter!
 > 
 > There was for brandelf /sbin/mount_linprocfs
 > File '/sbin/mount_linprocfs' is of brand 'FreeBSD' (9).
 > of couse. Somthing wrong?
 
 OK.  Now can you try 'ktrace mount_linprocfs linproc /compat/linux/proc',
 then post the output of 'kdump', if the ktrace'd mount gives you the same
 error message?
 
 G'luck,
 Peter
 
 -- 
 This sentence contains exactly threee erors.

From: "Serg O. Malakhov" <serg@servocomp.ru>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: bin/30706: Problem with mount linuxproc filesystem on 4.4 stable
Date: Fri, 21 Sep 2001 05:09:35 -0700 (PDT)

 >Number:         30706
 >Category:       bin
 >Synopsis:       Problem with mount linuxproc filesystem on 4.4 stable
 >Confidential:   no
 >Severity:       non-critical
 >Priority:       medium
 >Responsible:    freebsd-bugs
 >State:          open
 >Quarter:        
 >Keywords:       
 >Date-Required:
 >Class:          sw-bug
 >Submitter-Id:   current-users
 >Arrival-Date:   Fri Sep 21 05:10:01 PDT 2001
 >Closed-Date:
 >Last-Modified:
 >Originator:     Serg O. Malakhov
 >Release:        4.4stable. Latest cvsup for /usr/src was 21.09.2001
 >Organization:
 Servocomp Inc.
 >Environment:
 FreeBSD camel.servocomp.ru 4.4-STABLE FreeBSD 4.4-STABLE #0: Fri Sep 21 18:55:18 MSD 2001
 >Description:
 After updating system and kernel to version 4.4, in the booting time I see  
 error on the mount linuxproc file system, that was mounted aftomaticaly in 
 my fstab file. There is error: "Exec format error".
 I didn't touch anithing, but make world and make kernel after cvsup for all sources.
 >How-To-Repeat:
 Just try:
 mount_linprocfs linproc /compat/linux/proc
 >Fix:
 Probably you know ;)
 >Release-Note:
 >Audit-Trail:
 >Unformatted:
 
 To Unsubscribe: send mail to majordomo@FreeBSD.org
 with "unsubscribe freebsd-bugs" in the body of the message
Responsible-Changed-From-To: freebsd-bugs->des 
Responsible-Changed-By: des 
Responsible-Changed-When: Sun Sep 23 14:46:27 PDT 2001 
Responsible-Changed-Why:  
linprocfs is mine. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=30706 

From: Dag-Erling Smorgrav <des@ofug.org>
To: "Serg O. Malakhov" <serg@servocomp.ru>
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: bin/30706: Problem with mount linuxproc filesystem on 4.4 stable
Date: 23 Sep 2001 23:46:17 +0200

 "Serg O. Malakhov" <serg@servocomp.ru> writes:
 > After updating system and kernel to version 4.4, in the booting time I see  
 > error on the mount linuxproc file system, that was mounted aftomaticaly in 
 > my fstab file. There is error: "Exec format error".
 
 Your modules are out of date wrt the kernel, or one of the modules
 linprocfs depends on is stale or missing.  There may be a message in
 /var/log/messages (and on the console) stating that a particular
 symbol could not be found.
 
 linprocfs actually depends on procfs, but for some reason the
 MODULE_DEPEND line is missing in -STABLE; can you check that procfs is
 loaded (or statically compiled into your kernel)?
 
 DES
 -- 
 Dag-Erling Smorgrav - des@ofug.org

From: Dag-Erling Smorgrav <des@ofug.org>
To: Serg <serg@servocomp.ru>
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: bin/30706: Problem with mount linuxproc filesystem on 4.4 stable
Date: 24 Sep 2001 16:12:56 +0200

 I found the mistake - Jim Pirzyk forgot a patch when he added loadavg
 support back in June.  I'll fix this ASAP.
 
 DES
 -- 
 Dag-Erling Smorgrav - des@ofug.org

From: Dag-Erling Smorgrav <des@ofug.org>
To: Serg <serg@servocomp.ru>
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: bin/30706: Problem with mount linuxproc filesystem on 4.4 stable
Date: 25 Sep 2001 10:33:27 +0200

 Serg <serg@servocomp.ru> writes:
 > Tell me, plaese, after you fixed this one.
 
 I need to get the patch properly tested first, but if you want to try
 it, you can find it at:
 
 http://people.freebsd.org/~des/software/linprocfs-20010925.mfc
 
 DES
 -- 
 Dag-Erling Smorgrav - des@ofug.org
State-Changed-From-To: open->closed 
State-Changed-By: des 
State-Changed-When: Mon Oct 15 13:42:02 PDT 2001 
State-Changed-Why:  
Fixed, thanks. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=30706 
>Unformatted:
