Cannot mount linprocfs by unresolving sysvs?m symbols

Norikatsu Shigemura nork at FreeBSD.org
Fri Apr 6 17:38:57 UTC 2007


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);


More information about the freebsd-current mailing list