Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jan 2002 19:43:42 +0000
From:      Anthony Campbell <ac@acampbell.org.uk>
To:        Benedikt Schmidt <ry102@rz.uni-karlsruhe.de>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Another problem with mount_ext2fs
Message-ID:  <20020109194342.GA1636@debian.local>
In-Reply-To: <20020108193416.GC605@wn4-marvin.wn4.uni-karlsruhe.de>
References:  <20020108164541.GA368@debian.local> <20020108184254.GB605@wn4-marvin.wn4.uni-karlsruhe.de> <20020108191541.GA1369@debian.local> <20020108193416.GC605@wn4-marvin.wn4.uni-karlsruhe.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On 08 Jan 2002, Benedikt Schmidt wrote:
> Anthony Campbell <ac@acampbell.org.uk> wrote:
> [ext2fs on FreeBSD]
> > > Make sure you have "options EXT2FS" in your Kernel config (seems like
> > > the module is missing here).
> > > 
> > 
> > This could explain my failure. I haven't yet discovered how to change
> > the kernel config so more research is clearly indicated.
> 
> If you installed the sources in /usr/src/:
> 
> # cp /usr/src/sys/i386/conf/GENERIC /usr/src/sys/i386/conf/FOO
> # echo "options EXT2FS" >> /usr/src/sys/i386/conf/FOO
> # cd /usr/src; make buildkernel KERNCONF=FOO
> # make installkernel KERNCONF=FOO
> 
> Now you have a new kernel with only ext2fs support added.
> After that you can take a look at /usr/src/sys/i386/conf/LINT
> (all options with comments) and edit /usr/src/sys/i386/conf/FOO
> (your new kernel config)+recompile if you like to change
> something else.
> 
> -- 
> Benedikt
> 

Many thanks for this help. Yes, I recompiled the kernel as suggested and
I now can access my linux partitions.

However, the compile didn't go very smoothly. The first time I tried it
I included support for a usb scanner because I have an Epson 1650
Perfection, but this failed as follows:

     linking kernel
        usb_ethersubr.o: In function `usbintr':
        usb_ethersubr.o(.tex+0x31): undefined reference to `ether_input'
        *** Error code 1

In the config file I had enabled:

        device     uhci
        device     usb
        device     uscanner

I therefore recompiled without usb support, but this isn't ideal.

Is it possible to say what the problem may be from the above?

Anthony



-- 
Anthony Campbell - running Linux GNU/Debian (Windows-free zone)
For an electronic book (The Assassins of Alamut), skeptical 
essays, and over 150 book reviews, go to: http://www.acampbell.org.uk/

Our planet is a lonely speck in the great enveloping cosmic dark. In our
obscurity, in all this vastness, there is no hint that help will come
from elsewhere to save us from ourselves. [Carl Sagan]




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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