Page 1 of 1

no automounting with new custom kernel

Posted: 6. Jan 2013, 09:47
by xirtyllo
Hi :-)

I like to optimize the kernel for my machine as much as possible, so I usually compile a custom kernel starting from a blank configuration, and only add the things that I need.

The only problem is that since I use this new custom kernel, removable drives or CDs do not automatically appear on Thunar anymore :-(
I tried revising my kernel configuration various times, and I added everything I could think of, but still nothing.

Can somebody advise on the best steps to troubleshoot the problem and see what I'm missing?
Actually I have no idea what parts of the kernel Thunar is using for its volume management functions, so any information about that could be useful too..

Thanks a lot!

------------
Salix OS 14.0 Xfce

Re: no automounting with new custom kernel

Posted: 6. Jan 2013, 09:52
by gapan
Have you checked the options to automount removable media in xfce settings?

Re: no automounting with new custom kernel

Posted: 6. Jan 2013, 19:52
by xirtyllo
yes, the option is thicked.
It works fine if I boot Salix with the stock kernel, but with the one that I compiled (3.6.11) it doesn't. that's why I think I must have left something out of the kernel, but I don't know what..

Re: no automounting with new custom kernel

Posted: 7. Jan 2013, 16:48
by kcirick
Hello,

I recently wrote a documentation on how to compile a kernel here (http://www.salixos.org/wiki/index.php/H ... ile_kernel).

When you say you started from blank config, I assume you just did "make mrproper", but didn't copy the default Salix configuration. What you should probably do is:

Code: Select all

zcat /proc/config.gz > .config
Then uncheck what you don't need.

Re: no automounting with new custom kernel

Posted: 19. Jan 2013, 12:37
by xirtyllo
Hi Kcirick,

thanks for replying.

basically I also tried starting with the default .config of Salix, but then I always end-up removing something that makes automounting not working. and I don't know what it is :-)

I know that i could just start with the default Salix .config and only change what is necessary, but I like to reduce the kernel to the bones, so that it's perfectly fitted to my system...

BTW, thanks for writing that guide, simple and precise.