Bug 30706

Summary: Problem with mount linuxproc filesystem on 4.4 stable
Product: Base System Reporter: Serg O. Malakhov <serg>
Component: binAssignee: Dag-Erling Smørgrav <des>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description Peter Pentchev 2001-09-21 13:07:47 UTC
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.
Comment 1 Serg O. Malakhov 2001-09-21 13:09:35 UTC
>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
Comment 2 Serg O. Malakhov 2001-09-21 13:10:01 UTC
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.

Fix: 

Probably you know ;)
How-To-Repeat: Just try:
mount_linprocfs linproc /compat/linux/proc
Comment 3 Peter Pentchev 2001-09-21 13:43:46 UTC
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.
Comment 4 des 2001-09-23 22:46:17 UTC
"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
Comment 5 Dag-Erling Smørgrav freebsd_committer freebsd_triage 2001-09-23 22:46:27 UTC
Responsible Changed
From-To: freebsd-bugs->des

linprocfs is mine.
Comment 6 des 2001-09-24 15:12:56 UTC
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
Comment 7 des 2001-09-25 09:33:27 UTC
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
Comment 8 Dag-Erling Smørgrav freebsd_committer freebsd_triage 2001-10-15 21:42:02 UTC
State Changed
From-To: open->closed

Fixed, thanks.