Click to See Complete Forum and Search --> : supermount question


ludwig1
04-03-2004, 06:43 PM
Hi,
I've compiled a new kernel and when booting, I get an error saying that
"fs type supermount is not supported by the kernel"

I would imagine this is happening because I have missed an option in the .config file.
Does anyone know where in the .config file set up (I used make xconfig) that the option to enable supermount is?

thanks,
Ludwig

Hayl
04-03-2004, 07:19 PM
the option is called "supermount"

EnigmaOne
04-03-2004, 07:23 PM
Quit kidding him, Hayl. Everyone knows that things aren't that easy in Linux. ;)








(Couldn't resist!)

ludwig1
04-03-2004, 07:24 PM
thanks, you've been really helpful

Hayl
04-03-2004, 07:26 PM
Originally posted by EnigmaOne
Quit kidding him, Hayl. Everyone knows that things aren't that easy in Linux. ;)
(Couldn't resist!)

LOL. the scary thing is it's true... that is what it is called.

:D

ludwig1
04-03-2004, 07:32 PM
I 'm sure you find yourself highly amusing, however you have missed the point.

If you look at my question I asked you where it was, not what it was called.

Perhaps you could be more specific than 'the config file' ,which I suppose would be your next wisecrack?

Hayl
04-03-2004, 07:37 PM
if you go through the configuration in menuconfig or xconfig you will find it.

perhaps you would like me to come over and look through menuconfig or xconfig for you?

:D

PS: But seriously, what kernel are you building? are you sure it is patched with supermount? it's not in the vanilla kernel.

ludwig1
04-03-2004, 07:40 PM
Can I Private-Message you for Support?

Hayl
04-03-2004, 07:41 PM
no :P

It's in File Systems

< > Supermount removable media support

- I hope you are happy, I downloaded patched sources with supermount so that I could go into menuconfig and look that up for you as I don't use any kernels that have it.

ludwig1
04-03-2004, 07:44 PM
I'm very happy.
So happy in fact that I would like to private message you on AIM, MSN, Yahoo, ICQ, and Jabber just to thank you and also ask for support at the end.
Is that ok?

lhm0155
04-03-2004, 07:47 PM
i think i had a similar problem before (with mandrake i believe), and i had to specify the file mount types in fstab instead of just leaving them with the supermount option but then i could be wrong also with the menuconfig kernel configurator did you select it as being directly supported by the kernel and not loaded as a module?? hope this helps

Hayl
04-03-2004, 07:47 PM
OK, but just this once.

:D

Ludwig, actually that "do not PM me" is there for a reason -- there is a certain person in this site that was causing problems on AIM. so unfortunately it has to stay there.

ludwig1
04-03-2004, 07:49 PM
ok, thanks for your help.

Satanic Atheist
04-04-2004, 07:42 AM
If Supermount support is not already available in the kernel (when you go around choosing options to compile into your shiny new kernel) then you need to patch the kernel with the relevant options.

When you run "make xconfig" then look in "Filesystems" and see if it's listed. If so, then simply select it and recompile.

James

ludwig1
04-04-2004, 09:34 AM
I actually had a pretty good look in file systems and couldn't see it.
I'm using 2.4.24
Unless it's named something else.

Anyway, I edited my fstab file so as not to have supermount as an option. so I no longer get the errors when booting up.

Satanic Atheist
04-04-2004, 01:10 PM
Right, well I see you're using RedHat which doesn't include Supermount by default, so this is what you need to do.

1) Install a CLEAN copy of the kernel source. If you have a .config file in the kernel source directory, go and get it and save it somewhere safe. This makes reconfiguring easier (I never delete a .config file).

2) Download this link (ftp://linux.dcs.ed.ac.uk/pub/linux/supermount/supermount-0.6.diff.gz) and save it in the root of the kernel source directory (/usr/src/linux or something. The directory above where you normally run "make xconfig" et al. Unzipping it with GZip helps as well :)

3) Go into the next directory where you manipulate the kernel (as stated above) and type the following:

> patch -p1 < ../<PATCH-NAME>

Obviously replacing <PATCH-NAME> with the name of the file that decompressed before. Keep an eye out for "Failed Hunks" and report back if there were any. If there are, then the patch did not work and you need to get a different version of the patch. It also means your kernel is now tainted and you need to reinstall the source.

4) Configure the kernel as before but now, under "Filesystems" you should see "Supermount Support".

James

ludwig1
04-04-2004, 02:27 PM
thanks Satan,

I'll give it a whirl.