From owner-freebsd-multimedia@FreeBSD.ORG Tue Jun 22 17:59:38 2010 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 05CCC1065674; Tue, 22 Jun 2010 17:59:38 +0000 (UTC) (envelope-from faber@zod.isi.edu) Received: from zod.isi.edu (zod.isi.edu [128.9.168.221]) by mx1.freebsd.org (Postfix) with ESMTP id D7C918FC08; Tue, 22 Jun 2010 17:59:37 +0000 (UTC) Received: from zod.isi.edu (localhost [127.0.0.1]) by zod.isi.edu (8.14.4/8.14.4) with ESMTP id o5MHxbpC019800; Tue, 22 Jun 2010 10:59:37 -0700 (PDT) (envelope-from faber@zod.isi.edu) Received: (from faber@localhost) by zod.isi.edu (8.14.4/8.14.4/Submit) id o5MHxbBN019799; Tue, 22 Jun 2010 10:59:37 -0700 (PDT) (envelope-from faber) Date: Tue, 22 Jun 2010 10:59:37 -0700 From: Ted Faber To: Hans Petter Selasky Message-ID: <20100622175937.GB18012@zod.isi.edu> References: <20100622142550.26246636@gmail.com> <20100622175500.73e0ea5d@gmail.com> <20100622160658.GA17496@zod.isi.edu> <201006221911.09409.hselasky@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="E39vaYmALEf/7YXx" Content-Disposition: inline In-Reply-To: <201006221911.09409.hselasky@freebsd.org> User-Agent: Mutt/1.4.2.3i X-url: http://www.isi.edu/~faber Cc: freebsd-multimedia@freebsd.org Subject: Re: cuse4bsd doesn't work on recent -HEAD? X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jun 2010 17:59:38 -0000 --E39vaYmALEf/7YXx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 22, 2010 at 07:11:09PM +0200, Hans Petter Selasky wrote: > Are you sure the kernel sources are matched with your kernel. I find this= =20 > rather odd. I find it pretty odd too. As I say, the example module isn't loading either, though plenty of other modules compiled with the kernel do. I build the kernel from source yesterday, using the standard sequence. cd /usr/src make update make buildworld make kernel reboot=20 mount -t ufs -a mergemaster -p=20 cd /usr/src make installworld mergemaster -i=20 reboot=20 After that I did a portupgrade -vf cuse4bsd-kmod-0.1.11 and that worked normally. >=20 > The Cuse4BSD printout is called from a SYSINIT. If sysinits don't work th= en=20 > something fundamental is wrong. That's my understanding as well. But I really don't see what I could do to break it. I may have, but I don't know how. The kernel's GENERIC, compiled from source in the usual way, and I've been doing it that way for a fairly long time. > Also check: >=20 > find /boot -name "cuse4bsd*" $ find /boot -name "cuse4bsd*" /boot/modules/cuse4bsd.ko I only see the one installed from the port. As you can see in my earlier mail, it was compiled after the kernel install. Here's the output of making the port by hand (I only see the two warnings): praxis:/usr/ports/multimedia/cuse4bsd-kmod$ sudo make =3D=3D=3D> Configuring for cuse4bsd-kmod-0.1.11 =3D=3D=3D> Building for cuse4bsd-kmod-0.1.11 make -f /usr/ports/multimedia/cuse4bsd-kmod/work/cuse4bsd-kmod-0.1.11/Makefile.lib all Warning: Object directory not changed from original /usr/ports/multimedia/c= use4bsd-kmod/work/cuse4bsd-kmod-0.1.11 cc -O2 -pipe -fno-strict-aliasing -std=3Dgnu99 -fstack-protector -c cuse4= bsd_lib.c building static cuse4bsd library ranlib libcuse4bsd.a cc -fpic -DPIC -O2 -pipe -fno-strict-aliasing -std=3Dgnu99 -fstack-protect= or -c cuse4bsd_lib.c -o cuse4bsd_lib.So building shared library libcuse4bsd.so.1 gzip -cn cuse4bsd.3 > cuse4bsd.3.gz make -f /usr/ports/multimedia/cuse4bsd-kmod/work/cuse4bsd-kmod-0.1.11/Makefile.kmod= all Warning: Object directory not changed from original /usr/ports/multimedia/c= use4bsd-kmod/work/cuse4bsd-kmod-0.1.11 @ -> /usr/src/sys machine -> /usr/src/sys/i386/include awk -f @/tools/makeobjops.awk @/kern/device_if.m -h awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -p awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -q awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -h cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc = -I. -I@ -I@/contrib/altq -finline-limit=3D8000 --param inline-unit-growth= =3D100 --param large-function-growth=3D1000 -fno-common -mno-align-long-str= ings -mpreferred-stack-boundary=3D2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2= -mno-sse3 -ffreestanding -fstack-protector -std=3Diso9899:1999 -fstack-pro= tector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmiss= ing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-s= ign -fformat-extensions -c cuse4bsd_kmod.c ld -d -warn-common -r -d -o cuse4bsd.kld cuse4bsd_kmod.o :> export_syms awk -f /sys/conf/kmod_syms.awk cuse4bsd.kld export_syms | xargs -J% objcopy % cuse4bsd.kld ld -Bshareable -d -warn-common -o cuse4bsd.ko cuse4bsd.kld objcopy --strip-debug cuse4bsd.ko ---- If you want to make sure that the awk scripts are doing the right thing, I tarred up the work/cuse4bsd-kmod-0.1.11 directory after that make. It's available from http://www.isi.edu/~faber/tmp/cuse.tgz It all seems weird to me, too. Maybe there's a clue in there somewhere. --=20 Ted Faber http://www.isi.edu/~faber PGP: http://www.isi.edu/~faber/pubkeys.= asc Unexpected attachment on this mail? See http://www.isi.edu/~faber/FAQ.html#= SIG --E39vaYmALEf/7YXx Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkwg+gkACgkQaUz3f+Zf+XuA4QCfe+no8zxolsgwHwXeT/vQC5bY 6qYAn0rQza+Dh02/VAf4L9eF2StLNyDT =fXeZ -----END PGP SIGNATURE----- --E39vaYmALEf/7YXx--