From owner-freebsd-multimedia@FreeBSD.ORG Tue Jun 22 17:24:04 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 90C27106564A for ; Tue, 22 Jun 2010 17:24:04 +0000 (UTC) (envelope-from hselasky@freebsd.org) Received: from swip.net (mailfe14.tele2.se [212.247.155.161]) by mx1.freebsd.org (Postfix) with ESMTP id 1C1438FC15 for ; Tue, 22 Jun 2010 17:24:03 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=NiIbcJYgR6AA:10 a=ood2b7iyd8MA:10 a=Q9fys5e9bTEA:10 a=M8b_wTzEtboA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=cZiytllGAAAA:8 a=eYxE5TcSkhcSPjcWnN4A:9 a=-Bpwr9MhqHOJpbzs-BYA:7 a=1J6fFQ_RQX0Wo75ZRhfw8MT0AukA:4 a=PUjeQqilurYA:10 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe14.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 634906445; Tue, 22 Jun 2010 19:14:00 +0200 Received-SPF: softfail receiver=mailfe14.swip.net; client-ip=188.126.201.140; envelope-from=hselasky@freebsd.org From: Hans Petter Selasky To: freebsd-multimedia@freebsd.org Date: Tue, 22 Jun 2010 19:11:09 +0200 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.4; amd64; ; ) References: <20100622142550.26246636@gmail.com> <20100622175500.73e0ea5d@gmail.com> <20100622160658.GA17496@zod.isi.edu> In-Reply-To: <20100622160658.GA17496@zod.isi.edu> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201006221911.09409.hselasky@freebsd.org> Cc: 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:24:04 -0000 On Tuesday 22 June 2010 18:06:58 Ted Faber wrote: > FWIW, I'm seeing the same thing on 8.1-PRERELEASE csupped from > yesterday. It's been going on foe a while, but I haven't been able to > find the bug. > > (I was literally sitting down to type an e-mail about it when I saw this > thread.) > > Same symptom: cuse4bsd loads but no device file appears in the /dev I > also don't see the printfs from cuse_kern_init show up in the log. It > seems like something's changed in the kernel module load path somehow. > FWIW, the example in /usr/share/examples/kld/cdev/ doesn't work for me > either. > > I've attached the verbose boot. Cuse4bsd is current from ports, > recompiled after the new kernel install: > > $ pkg_info | grep cuse > cuse4bsd-kmod-0.1.11 Cuse4BSD character device loopback driver for > userspace > > Here's my loader.conf: > > $ cat /boot/loader.conf > beastie_disable="YES" > acpi_ibm_load="YES" > snd_ich_load="YES" > cuse4bsd_load="YES" > > The module is in the right place and seems to load: > $ ls -l /boot/modules/ > total 18 > -r-xr-xr-x 1 root wheel 16505 Jun 21 19:02 cuse4bsd.ko > $ kldstat > Id Refs Address Size Name > 1 36 0xc0400000 bb8ea8 kernel > 2 1 0xc0fb9000 7224 snd_ich.ko > 3 2 0xc0fc1000 577a4 sound.ko > 4 1 0xc1019000 5244 acpi_ibm.ko > 5 1 0xc101f000 4610 cuse4bsd.ko > 6 1 0xc59c9000 8000 linprocfs.ko > 7 1 0xc5a1d000 26000 linux.ko > 8 1 0xc5b07000 11000 ipfw.ko > 9 1 0xc5b18000 d000 libalias.ko > 10 1 0xc5e2e000 2000 green_saver.ko > 11 1 0xc5f0d000 68000 radeon.ko > 12 1 0xc5f84000 14000 drm.ko > > $ uname -a > FreeBSD praxis.lunabase.org 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #38: Mon > Jun 21 17:14:31 PDT 2010 > root@praxis.lunabase.org:/usr/obj/usr/src/sys/GENERIC i386 > > I'm happy to try fixes or provide information. > Are you sure the kernel sources are matched with your kernel. I find this rather odd. The Cuse4BSD printout is called from a SYSINIT. If sysinits don't work then something fundamental is wrong. Also check: find /boot -name "cuse4bsd*" printf("Cuse4BSD v%d.%d.%d @ /dev/cuse\n", (CUSE_VERSION >> 16) & 0xFF, (CUSE_VERSION >> 8) & 0xFF, (CUSE_VERSION >> 0) & 0xFF); } SYSINIT(cuse_kern_init, SI_SUB_DEVFS, SI_ORDER_ANY, cuse_kern_init, 0); --HPS