From owner-freebsd-current@FreeBSD.ORG Fri Apr 6 17:38:57 2007 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A9D5416A401 for ; Fri, 6 Apr 2007 17:38:57 +0000 (UTC) (envelope-from nork@FreeBSD.org) Received: from sakura.ninth-nine.com (sakura.ninth-nine.com [219.127.74.120]) by mx1.freebsd.org (Postfix) with ESMTP id 526B713C465 for ; Fri, 6 Apr 2007 17:38:57 +0000 (UTC) (envelope-from nork@FreeBSD.org) Received: from mail.ninth-nine.com ([IPv6:2001:3e0:4cf:1:d2:ff:fe23:1b4]) (authenticated bits=0) by sakura.ninth-nine.com (8.13.8/8.13.8/NinthNine) with ESMTP id l36Hctxk050676 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 7 Apr 2007 02:38:55 +0900 (JST) (envelope-from nork@FreeBSD.org) Date: Sat, 7 Apr 2007 02:38:55 +0900 From: Norikatsu Shigemura To: freebsd-current@FreeBSD.org Message-Id: <20070407023855.ede13b76.nork@FreeBSD.org> X-Mailer: Sylpheed 2.4.0beta7 (GTK+ 2.10.11; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (sakura.ninth-nine.com [IPv6:2001:3e0:4cf:0:230:48ff:fe41:2455]); Sat, 07 Apr 2007 02:38:55 +0900 (JST) Cc: Subject: Cannot mount linprocfs by unresolving sysvs?m symbols X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Apr 2007 17:38:57 -0000 Hi. I noticed that recently 7-current has a linprocfs kernel module has a problem. - - - - - - - - - - - - - - - - - - - - - - - - - - - $ dmesg -a (snip) Mounting local file systems: link_elf: symbol msginfo undefined mount: linprocfs : Operation not supported by device . (snip) - - - - - - - - - - - - - - - - - - - - - - - - - - - I seperated sysv* subsystems as kernel modules, so I found. # kldstat | fgrep sysv 6 3 0xc07fd000 4914 sysvmsg.ko 7 3 0xc0802000 6384 sysvsem.ko 8 2 0xc0809000 4b84 sysvshm.ko Please validate following patch and fix this issue. Index: linprocfs.c =================================================================== RCS file: /home/ncvs/src/sys/compat/linprocfs/linprocfs.c,v retrieving revision 1.108 diff -u -r1.108 linprocfs.c --- linprocfs.c 30 Mar 2007 17:56:44 -0000 1.108 +++ linprocfs.c 6 Apr 2007 17:33:05 -0000 @@ -1238,3 +1238,5 @@ PSEUDOFS(linprocfs, 1); MODULE_DEPEND(linprocfs, linux, 1, 1, 1); MODULE_DEPEND(linprocfs, procfs, 1, 1, 1); +MODULE_DEPEND(linprocfs, sysvmsg, 1, 1, 1); +MODULE_DEPEND(linprocfs, sysvsem, 1, 1, 1);