LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to set parameter at the boot command line? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-set-parameter-at-the-boot-command-line-827465/)

ufmale 08-20-2010 10:37 AM

how to set parameter at the boot command line?
 
I am following an instruction on the Internet to set up a timer=1.

"You can force use of the timer interrupt by using the timer=1 module arameter (or oprofile.timer=1 on the boot command line"

When I type "modprobe oprofile timer=1" at the command line,
I got a warning message saying that "Deprecated config file /etc/modprobe.conf"

So i want to try other way by setting it at the boot command line. However, I have no idea what it mean. Can someone help?

I am using Fedora 13. vmare image

Jeiku 08-20-2010 07:56 PM

Ok, since you didn't specify any details of what you're trying to do exactly in your original post - I did some googling and assume you're trying to install http://oprofile.sourceforge.net ?

From your error message - it looks like you have some options in /etc/modprobe.conf that conflict with the version that you're trying to install.

The best advice I could give would be to update both and try again, as what you're doing should work.

Reading from: http://oprofile.sourceforge.net/doc/...arameters.html

It states that if it's built into the kernel you can specify it at boot time, so you could try a kernel rebuild also (maybe the long way around though.)

Hope this helps.

syg00 08-20-2010 08:32 PM

Why are you doing this at all ?.
If the hardware has perf counters, they'll be used, else it'll fall back to timer (interrupt) mode.

Nothing to do.


All times are GMT -5. The time now is 06:51 PM.