Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Sep 06 12:58:34 PDT
From:      perryh@pluto.rain.com (Perry Hutchison)
To:        freebsd-questions-local@be-well.ilk.org
Cc:        freebsd-questions@freebsd.org
Subject:   [SOLUTION] Re: mount_ext2fs returning ENODEV on 6.1
Message-ID:  <10609151958.AA05219@pluto.rain.com>
In-Reply-To: <441wqd2ty7.fsf@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> <10609150259.AA02100@pluto.rain.com> <441wqd2ty7.fsf@be-well.ilk.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> >> 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.
> 
> I checked the 6.1 install disks, and saw ext2fs.ko in boot/kernel,
> just like I'd expect.  I've rebuilt with newer sources several
> times since then, but I'm surprised if it isn't there on your disk.

According to find, the only *.ko anywhere in the system was
gtkrc.ko, in /usr/ports/x11-toolkits/linux-gtk/work/etc/gtk
and /usr/X11R6/share/themes/Default/gtk.

I suspect this may be additional fallout from my earlier problem,
wherein sysinstall had failed to install the kernel:

  http://lists.freebsd.org/pipermail/freebsd-questions/2006-August/129613.html
  http://lists.freebsd.org/pipermail/freebsd-questions/2006-August/129659.html

Evidently it also failed to install the ext2fs module.
One way to fix it:

  # cd /usr/src/sys/modules/ext2fs
  # make
  # cp ext2fs.ko /boot/modules



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?10609151958.AA05219>