LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-20-2010, 11:37 AM   #1
ufmale
Member
 
Registered: Feb 2007
Posts: 385

Rep: Reputation: 30
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
 
Old 08-20-2010, 08:56 PM   #2
Jeiku
Member
 
Registered: Jul 2005
Posts: 64

Rep: Reputation: 18
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.
 
Old 08-20-2010, 09:32 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,037

Rep: Reputation: 1912Reputation: 1912Reputation: 1912Reputation: 1912Reputation: 1912Reputation: 1912Reputation: 1912Reputation: 1912Reputation: 1912Reputation: 1912Reputation: 1912
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to pass command-line parameter to shell script? Kropotkin Linux - Newbie 12 07-25-2011 10:24 AM
Does bash shell parameter expansion run the risk of overflowing command line buffer? david1941 Linux - Software 1 04-28-2009 11:13 PM
pass parameter in command line lingyun Linux - Newbie 4 04-21-2009 11:42 PM
Awk - get a parameter from the command line benjalien Programming 1 01-24-2006 10:06 AM
How do i set up svga for command line greendusk Linux - Newbie 2 09-27-2003 10:17 AM


All times are GMT -5. The time now is 01:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration