Re: mount_ext2fs returning ENODEV on 6.1

2006-09-15 Thread Lowell Gilbert
[EMAIL PROTECTED] (Perry Hutchison) writes:

 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.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


[SOLUTION] Re: mount_ext2fs returning ENODEV on 6.1

2006-09-15 Thread Perry Hutchison
  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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mount_ext2fs returning ENODEV on 6.1

2006-09-14 Thread Kris Kennaway
On Thu, Sep 14, 2006 at 12:27:11AM -0700, Perry Hutchison wrote:
 What am I doing wrong?
 
 # ll /dev/ad0s7
 crw-r-  1 root  operator0,  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?

Kris


pgph4nTg95HfK.pgp
Description: PGP signature


Re: mount_ext2fs returning ENODEV on 6.1

2006-09-14 Thread Perry Hutchison
  # ll /dev/ad0s7
  crw-r-  1 root  operator0,  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 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mount_ext2fs returning ENODEV on 6.1

2006-09-14 Thread Lowell Gilbert
[EMAIL PROTECTED] (Perry Hutchison) writes:

  # ll /dev/ad0s7
  crw-r-  1 root  operator0,  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 [EMAIL PROTECTED]:/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.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mount_ext2fs returning ENODEV on 6.1

2006-09-14 Thread Kris Kennaway
On Thu, Sep 14, 2006 at 02:07:56PM -0700, Perry Hutchison wrote:
   # ll /dev/ad0s7
   crw-r-  1 root  operator0,  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:

Then you don't have kernel support, since it's not enabled by default
(the ext2 code is under the GPL and cannot be distributed in a
BSD-licensed kernel).  Recompile your kernel or load the module per
the handbook.

Kris


pgppw5OdBtg6u.pgp
Description: PGP signature


Re: mount_ext2fs returning ENODEV on 6.1

2006-09-14 Thread Perry Hutchison
   # ll /dev/ad0s7
   crw-r-  1 root  operator0,  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 [EMAIL PROTECTED]:/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.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]