From owner-freebsd-questions@FreeBSD.ORG Fri Sep 15 03:03:42 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5FD8C16A416 for ; Fri, 15 Sep 2006 03:03:42 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (agora.rdrop.com [199.26.172.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id A74D543D53 for ; Fri, 15 Sep 2006 03:03:41 +0000 (GMT) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id k8F338ut059557 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 14 Sep 2006 20:03:08 -0700 (PDT) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id k8F338LT059555; Thu, 14 Sep 2006 20:03:08 -0700 (PDT) Received: by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA02100; Thu, 14 Sep 06 19:59:21 PDT Date: Thu, 14 Sep 06 19:59:21 PDT From: perryh@pluto.rain.com (Perry Hutchison) Message-Id: <10609150259.AA02100@pluto.rain.com> To: freebsd-questions-local@be-well.ilk.org References: <10609140727.AA28689@pluto.rain.com> <20060914160534.GA53648@xor.obsecurity.org> <10609142107.AA01301@pluto.rain.com> <44u03auon5.fsf@be-well.ilk.org> In-Reply-To: <44u03auon5.fsf@be-well.ilk.org> Cc: freebsd-questions@freebsd.org Subject: Re: mount_ext2fs returning ENODEV on 6.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Sep 2006 03:03:42 -0000 > >> > # ll /dev/ad0s7 > >> > crw-r----- 1 root operator 0, 93 Sep 4 02:30 /dev/ad0s7 > >> > # file -s /dev/ad0s7 > >> > /dev/ad0s7: Linux rev 1.0 ext2 filesystem data > >> > # grep -w ad0s7 /etc/fstab > >> > /dev/ad0s7 /linux ext2fs ro 0 0 > >> > # ll -d /linux > >> > drwxr-xr-x 2 root wheel 512 Aug 24 12:09 /linux > >> > # mount /linux > >> > mount_ext2fs: /dev/ad0s7: Operation not supported by device > >> > >> No ext2fs support in your kernel? > > > > I had not thought that was the problem, since according to > > something in the docs or manpages -- which I now cannot locate > > -- missing kernel support should have resulted in a different > > message. How would I check, to be sure? I am using the kernel > > from the installation CD, not one I have built: > > > > # uname -a > > FreeBSD fbsd61 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May 7 04:32:43 UTC 2006 root@opus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 > > The standard kernel doesn't have ext2fs support now; I doubt the 6.1 > release was different. Try loading it as a module; "kldload ext2fs". It seems not to be that easy :( # kldload ext2fs kldload: can't load ext2fs: No such file or directory Where is ext2fs.ko supposed to have come from? A search for ext2fs in the Handbook found nothing applicable, and I have already built and installed /usr/ports/sysutils/e2fsprogs.