From owner-freebsd-multimedia@FreeBSD.ORG Tue Jun 22 19:25:46 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 5702E106564A; Tue, 22 Jun 2010 19:25:46 +0000 (UTC) (envelope-from sergey.dyatko@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.155]) by mx1.freebsd.org (Postfix) with ESMTP id A9E7F8FC15; Tue, 22 Jun 2010 19:25:45 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id l26so1013779fgb.13 for ; Tue, 22 Jun 2010 12:25:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=gz4X8kKJ97R1nE9ScdgWWWsfSfFC5VI3cByQKwaKI9I=; b=pdSf5P3jqjwEUnkehizdEhIlKcG6difrHXmj0z4t0M/6iX6NWFo4vgN2Zm4cfNS72A F5FR/a2bojDtw7nA/6SffVxAGG61PvpKI2wgzkTagbJ/Tk/VpM7z3awh5u0cVUvogOd6 ivZ5VpsRQgK1UJDAnh7j6raRv7e699BIcrUlw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=GG7IfASOdGZqilQC3DKxjienuLOaSg3mwroxVqnjrC2Lp7k6roVOGeGxsVoUpdUXlG QUXx4OQ56ybKzpffuEyauG++jrhTp7hH1ZsAabX3rVh/UKacDMaw7xnijiQimvJTseLA C9BcdyWlogEgJoIuoBjyUuOIJNyzp1PlMBqSw= Received: by 10.87.50.37 with SMTP id c37mr11072144fgk.68.1277234743114; Tue, 22 Jun 2010 12:25:43 -0700 (PDT) Received: from localhost ([178.125.19.25]) by mx.google.com with ESMTPS id 1sm11494254fks.54.2010.06.22.12.25.41 (version=SSLv3 cipher=RC4-MD5); Tue, 22 Jun 2010 12:25:42 -0700 (PDT) Date: Tue, 22 Jun 2010 22:26:26 +0300 From: "Sergey V. Dyatko" To: Hans Petter Selasky Message-ID: <20100622222626.6de4f8f1@gmail.com> In-Reply-To: <201006221911.09409.hselasky@freebsd.org> References: <20100622142550.26246636@gmail.com> <20100622175500.73e0ea5d@gmail.com> <20100622160658.GA17496@zod.isi.edu> <201006221911.09409.hselasky@freebsd.org> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; i386-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 19:25:46 -0000 On Tue, 22 Jun 2010 19:11:09 +0200 Hans Petter Selasky wrote: > 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. > laptop# svn info Path: . URL: svn://svn.freebsd.by/base/head Repository Root: svn://svn.freebsd.by/base Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Revision: 209412 Node Kind: directory Schedule: normal Last Changed Author: delphij Last Changed Rev: 209408 Last Changed Date: 2010-06-22 03:26:07 +0300 (Tue, 22 Jun 2010) svn.freebsd.by - nearest svn mirror for me. [username@svn]~%crontab -l|grep svn 0 */2 * * * /usr/local/bin/svnsync sync file:///usr/local/repositories/freebsd/base/ %uname -a FreeBSD laptop.domain 9.0-CURRENT FreeBSD 9.0-CURRENT #7 r209412M: Tue Jun 22 11:23:15 EEST 2010 root@laptop.domain:/usr/obj/usr/src/sys/b450 i386 laptop# pwd /usr/src laptop# svn st laptop# > The Cuse4BSD printout is called from a SYSINIT. If sysinits don't > work then something fundamental is wrong. Also check: > > find /boot -name "cuse4bsd*" > laptop# find /boot -name 'cuse*' /boot/modules/cuse4bsd.ko laptop# > 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 -- wbr, tiger