kernel configuration

Asked by Luarvik

Hello,

First of all I'd like to thank developers. I would like to know
what is the kernel configuration that is needed for ureadahead to run? Is there any information for custom kernel configuration that would be compatible with ureadahead?

Are there any debug features that need to be turned on in the kernel? Are the 'mainline' kernels with the ureadahead patch?
I am using 2.6.32-rc8 from ubuntu/daily and ureadahead does not load.

Question information

Language:
English Edit question
Status:
Answered
For:
ureadahead Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Philip Rademakers (philiprademakers) said :
#1

I have the same question. I downloaded linux-source-2.6.31-15-generic which I compiled using my own .config file.

However, ureadahead does not work during boot with my own .config file.

What is strange is that when I compile with the config-2.6.31-15-generic then also ureadahead does not work !

If I boot the kernel vmlinuz-2.6.31-15-generic from the repo's then it does work.

Revision history for this message
Hernando Torque (htorque) said :
#2

Just compiled 2.6.32 from kernel.org and got ureadahead working. Ureadahead's sources contain a patch (0001-trace-add-trace-events-for-open-exec-an.patch). Apply it and make sure you have

* Kernel hacking -> Tracers (FTRACE) and

* Kernel hacking -> Tracers -> Trace process context switches and events (ENABLE_DEFAULT_TRACERS)

enabled (this should also select 'Kernel hacking -> Debug Filesystem' (DEBUG_FS)). I'm not entirely sure this is everything you need so report back if that works for you.

Revision history for this message
Francesco Valla (duck-wallace) said :
#3

Hello,
I have the same problem.
I just compiled 2.6.32.1, patched with "0001-trace-add-trace-events-for-open-exec-an.patch" and with FTRACE, ENABLE_DEFAULT_TRACERS and DEBUG_FS options activated, and ureadahead gives me a "status 3" exit

Can you help with this problem?

Provide an answer of your own, or ask Luarvik for more information if necessary.

To post a message you must log in.