Programming :: Configure Cpu Interrupts Manually?

Dec 17, 2010

I was installing freebds for one of my friends and during the entire install the top never crossed 1.0. When I install linux top always shows a cpu load of more than 1.0.Also on the bsd when copying a huge file (4gb) it takes a long time but then the load never goes beyond 1.0. Linux will do it much faster but then there is a difference in the cpu load time.What I want to know is is there anyway I can interupt the processor so that the load does not go beyond 1.0.

View 11 Replies


ADVERTISEMENT

Programming :: Generating Timer Interrupts In C?

Jul 23, 2010

I'm trying to understand how interrupts work. Is there a way to generate timer interrupts in C. Also can we enter into the protected mode of the CPU. Does OS (specifically, linux) place any restrictions on user programs entering protected mode. If it does not, do we just have an assembly language program which changed the mode, followed by the C code... I'm just trying to understand how things work at the lowest level. So I'm trying to write few snippets to test my understanding.

View 3 Replies View Related

OpenSUSE :: PHP Not Working. Help \ Manually Configure It?

Aug 10, 2011

I'm supposed to migrate a website I'm working on from Windows to Linux, so I downloaded the whole site from its webserver to my Linux enviroment, but, although everything work perfectly under Windows, on Linux all the scripts just won't load, and I ain't got no idea of what could be the problem causing this - but I had installed phpMyAdmin and it worked fine. I'm using Apache 2.0 (2.2.17-4.5.1), PHP5 Module for Apache (5.3.5-5.14.1) and MySQL (5.1.53-4.7.1) under openSUSE 11.4 x86_64. Oh, I had the same problem when trying to load the page under Mandriva 2010.

So I tried to reinstall Apache as well as PHP and phpMyAdmin following the instructions in here step by step, but, after reinstalling these not even phpMyAdmin is working anymore, and if I call a(ny) php page from localhost in the browser, a download window pops up, which means Apache doesn't recognise the php ile as a script to be executed by php machine, or something like that.Looking at httpd.conf (apache configuration file) I noticed there's no reference to php module. I tried to manually configure it, but it seems there's also no libphp5.so in my computer (tried to find it using dolphin's search feature)... I guess I'll have to unninstall everything php related and then try to compile PHP from source and just thinking of that already gives me headaches

View 9 Replies View Related

Ubuntu :: Manually Configure Display Adapter?

Sep 19, 2010

In 8.04 i used this command to manually configure my graphics adapter.sudo displayconfig-gtk

I would like to do the same thing in 9.10 and 10.04. How do i do it?it is a unichrome pro in and older everex stepnote.

View 7 Replies View Related

Ubuntu :: Manually Configure Second Monitor For Xorg?

Oct 20, 2010

I just installed the new Ubuntu onto my laptop and want to use a second monitor with it in twinview.

I have to use the Nvidia X Server Settings and while I can get the second monitor working, I cant get any resolutions higher than 1024x768. But I know for a fact that I can get better resolutions as I used to use that monitor as my primary. I had to manually change my xorg.conf tho.

How do I change my xorg for the secondary monitor? if I add a new monitor and screen sections it breaks X and it sends me to teminal on boot.

heres what I tried The stuff I added is in bold:

Code:
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 260.19.06 (buildd@yellow) Mon Oct 4 15:59:51 UTC 2010
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
code....

View 9 Replies View Related

General :: Cannot Connect To The Internet, Tried To Manually Configure?

Oct 25, 2009

I have a dell wireless wlan 1397 mini card with an ethernet 802.3. Now I am trying to connect by a wired connection. Supposedly a have a bcm5784m nic. I have tried to configue the bcm5784m which was shown it to be regonized through fedora 11, i could activate it, and connection still failed. In my driver list on my dell inspiron and studio 1737 the bcm5784m was not checked as a download i needed. What in the hell am I doing wrong. I have searched exhaustively and have found nothing concerning the wire ethernet card or bcm. Supposidly ubuntu does support the dell studio 1737 laptopForgive my spelling. Oh and by the way I am using kubuntu 9.04 jaunty.

View 5 Replies View Related

OpenSUSE Wireless :: Manually Configure Network Interfaces?

Nov 20, 2010

I'm building a wireless router based on OpenSuse 11.3 I have experience with Debian, but here I'm confused howto manually configure network interfaces. I need my wireless card to work in master mode, so I need to place

[Code]...

View 3 Replies View Related

Ubuntu :: Error Message 'dpkg Interrupted Must Manually Run 'dpkg --configure -a'

Jan 6, 2010

im trying to update some software in ubuntu using the update manager. i type my password in CORRECTLY but then get this error message.

E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
E: _cache->open() failed, please report.

what does it mean and how do i fix it?

View 3 Replies View Related

Ubuntu :: Error - Dpkg Was Interrupted, You Must Manually Run 'sudo Dpkg --configure

Jul 6, 2010

I keep getting this error when I try to install Adobe flash player E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. E: _cache->open() failed, please report. I had it installed just fine, then i restarted my computer and its gone. .

View 4 Replies View Related

Ubuntu :: Error - Dpkg Was Interrupted, You Must Manually Run 'sudo Dpkg --configure -a' To Correct The Problem

Jan 9, 2011

I'm using 10.10 and from today I'm getting this error Quote:dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. When I'm trying to install any software using

Code: sudo apt-get <sw-name> Also I'm unable install using "Ubuntu Software Center", showing unhandleable error. Here is the details:
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/aptdaemon/worker.py", line 769, in simulate
return self._simulate_helper(trans, status_path)

[Code]...

View 6 Replies View Related

General :: Getting Notified In User-space On Interrupts?

Jun 27, 2010

I hope this is the right place to post to because I haven't found any other related forums.I'm working on an AMD opteron running Linux 2.6.28.6 I want to preload a hardware performance counter (register) with a value to have it overflow after a number of a specific event counts. As I understand, when the counter in the register overflows, an interrupt will be generated and handled by the appropriate interrupt handler. How can my user-level application get notified whenever the interrupt occurs? I want to obtain information on the instruction that caused the overflow. Is this possible? I think this is different than responding to signals with sigaction().

View 1 Replies View Related

Networking :: FreeNAS Error With NIC - Missed TX Interrupts

Sep 6, 2010

So I've been researching this on my new NAS. I just tried to register the IP on the new system to have an issue pop up that says:
"msk0: watchdog timeout (missed Tx interrupts) -- recovering"
The error repeats then ends with no set IP. I tried the loader.conf fix but I cannot write to the system its installed on (embedded on a harddrive + data + swap) but it gives me a issue with write privileges which I thought would have been fixed by chmod +w /cf.

View 1 Replies View Related

CentOS 5 :: Kernel Parameter Available For Interrupts Handling?

Sep 16, 2010

Is there any Kernel parameter available for interrupts handling, In the case of busy server how we can tune the kernel to handle interrupts effectively.

View 4 Replies View Related

General :: Switch To VGA Graphics Mode Without BIOS Interrupts?

Feb 14, 2009

I am working on development of an TOS that runs in Protected Mode. I am required to switch it from text mode to graphics mode. Everywhere I google I get only one solution set AX to 0013h and call INT 10 and easily the VGA Graphics Mode is set.

I am working in protected mode and hence cannot use INT 10. Can someone please guide me? I came across a post where it was said that this can be done by setting the VGA registers, but I could not understand much from the link provided in the post on how to implement it.

View 1 Replies View Related

Fedora Security :: Spurious Interrupts And Kernel Seg Faults?

Jun 22, 2009

What does this means:

[6867450.202500] hpet1: lost 1 rtc interrupts
[6867450.548506] hpet1: lost 2 rtc interrupts
May 24 20:20:01 vms2 kernel: [6886829.451310] console-kit-dae[19655]: segfault at 198 ip 00007f4c31b7fe09 sp 000000004036c090 error 4 in libglib-2.0.so.0.1800.2[7f4c31b53000+c3000]"

View 1 Replies View Related

Ubuntu Multimedia :: NVidia Sharing Interrupts With Usb Controller: Acceptable?

May 1, 2011

I'm getting random system hangs and display issues when using my computer with my nVidia graphics card. On a lark, i checked /proc/interrupts and noticed that the nvidia device is sharing an interrupt with one of my USB boards, as well as my integrated sound card. i managed to move my sound card by editing my alsa-base and adding:

Code: options snd-hda-intel enable_msi=1 This helps mostly, but i'm still getting intermittant issues. is there any way to shift the interrupt of my gfx card (or usb controller) to avoid this potential conflict? i know the devices should be able to co-exist, but i've seen several people having issues when an nVidia card shares interrupts.

[Code]...

View 1 Replies View Related

General :: Mask Local Timer Interrupts In User Space?

Oct 27, 2010

I am trying to figure out how to mask local timer interrupts on a specific core of a multicore system from within user space. The interrupts are causing latency spikes of 3-10u that we would like to remove. We are only running 1 thread on the core h everything shielded except for these timer interrupts. This thread makes no system calls and thus is never getting context switched out. I am not looking to turn them off entirely but rather turn them off, run my code, turn them on in a continuous loop. The thread runs in user space which we are hoping to maintain. We also have no desire to modify the kernel if possible. I've read about using spinlock_irqsave() but it appears (not positive) that it must be used within kernel space.

View 3 Replies View Related

Software :: Clearing /Proc/Interrupts Counters Without Rebooting System

Dec 7, 2010

I have a question regarding the /proc/interrupts file. Let's say for example I had a server with 2xQuad-Core processors (so we have CPU0 to CPU7 ), and with 5 network interfaces. SMP affinity to all 5 interfaces was set to "ff", so all interfaces have done interrupts on all the processors. he network interfaces interrupts counters should look like this:

24: 32650776 32670506 50315017 32677739 32672119 32677935 32656299 32667496 IO-APIC-fasteoi eth2
27: 35233448 35285546 35317201 52657622 35315835 35339998 35221092 35246597 IO-APIC-fasteoi eth3
55: 37573056 35870363 35874607 35858010 37728061 35880275 35882340 35882127 PCI-MSI-edge eth1
56: 35861392 35863516 35865123 35865342 35864604 40515822 35861250 35863585 PCI-MSI-edge eth0
58: 30173318 30109146 30002990 30016870 30084937 30034759 46517278 30139103 PCI-MSI-edge eth4

Now let's say I've set the affinity to each of the network interfaces, so that it balances one per processor, so we have 5 processors working only for the network interfaces each processor with it's own eth. Now let's assume that the network interfaces generate very few interrupts, and that they show up every 5-6 seconds, so watching cat /proc/interrupts doesn't exactly underline the modifications unless you look with a ruler. Is there a way to reset the counters on /proc/interrupts so that they all start at 0, without rebooting the system?

View 6 Replies View Related

Ubuntu Installation :: Installing Updates Error "E: Dpkg Was Interrupted, You Must Manually Run 'sudo Dpkg --configure -a' To Correct The Problem"

Apr 1, 2010

After I got the OS up and running (v9.10), I was prompted to download and install some updates. The download is complete, but when I try to install the updates, I receive the following message. What should I do?

E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
E: _cache->open() failed, please report.

View 4 Replies View Related

Ubuntu :: Updates With Tweak And Video Codec - Error "dpkg Was Interrupted, You Must Manually Run 'sudo Dpkg --configure -a' To Correct The Problem"

May 26, 2011

I installed the software Ubuntu Tweak yesterday and I was satisfied of how it worked. today, surfing the internet I was hoping to find a solution to a couple of problems that I have: the computer sometimes get stuck when opening videos or photos - I can't see streaming TV. when the internet browser was asking me to install plug-in in order to show the videos I tried to install them but errors occurred.

so I followed the instruction in [URL] (many of these things didn't work and the terminal was showing error messages...) now after rebooting I have got the unity 2D I think (which is fine as I can't notice great differences) but I can't install the updates from Ubuntu Tweak the error message is: E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. E: _cache->open() failed, please report. how can I fix it and get my video codecds?

View 3 Replies View Related

Ubuntu :: Update Kubuntu 11.04 - Error: "p, Li {white-space: Pre-wrap;} E: Dpkg Was Interrupted, You Must Manually Run 'dpkg --configure -a' To Correct The Problem"

Sep 1, 2011

I'm trying to update Kubuntu 11.04 here is my error: p, li {white-space: pre-wrap;} E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem. here is what i have tried to fix it:

[Code]....

View 2 Replies View Related

Programming :: Grep In Bash Script Returns "No Such File Or Directory", Works Manually?

Feb 25, 2010

To start, I'm writing a script to check a file's date via FTP. Here's the portion that I'm having problems with:

Code:
function checkRemote
{

[code]...

View 7 Replies View Related

Software :: "Enabling The Pci Based MSI Interrupts."?

Apr 5, 2010

i can enable the pci based MSI interrupts by where appendin the pci=msi in kernel.

View 1 Replies View Related

Programming :: Deleted Gawk And Now Nothing Will Configure?

Oct 27, 2010

So unbeknownst to me until today, but apparently all configure scripts rely on some version of awk to create the Makefile when config.status is run.how to get gawk reinstalled?I have compiled one on Ubuntu and copied it to my other machine but when run it throws the error:Code:./gawk: no such file or directorySo I am guessing I either need to create a static copy or maybe also copy the libs created from compile with it.

View 7 Replies View Related

Programming :: How To Configure Network In Rhel5

Oct 1, 2010

When i use this command
#service network start
my Internet connection terminated/very slow ..
I'm configuring lamp in my system,but when i use to start apache and eth0 ....Internet slowing down..

View 1 Replies View Related

Programming :: How To Create Configure And Install Scripts

Jun 10, 2010

Many times I downloaded software source packages for Linux and installed using following

command sequences
./configure
make
make install

developer creates the 'configure' script and 'makefiles'? Is is an automated process using some tool or developer has to manually write these scripts?

View 2 Replies View Related

Programming :: Generating Makefile Ans Configure Script ?

May 17, 2011

I know how to manually writing a makefile for my project, but I am new in using makefile & configure file generation tools like automake to generate a makefile and a configure script file.

I had done research on tutorials for generating makefile and configure script file.

I know that I need to manually write two files (makefile.am and configure.in).

I use wxWidgets GUI library, libconfig library, and libpcap library to do my project.

wx-config is a tool that can return the library files and include directory for wxWidgets library.

When using g++ to compile my files, I need to add in this line "`/wxlib/bin/wx-config --version=2.9 --static=yes --unicode=yes --debug=yes --libs`"

How to add that line to the makefile.am file?

View 1 Replies View Related

Programming :: Static Linker With Make Configure

Oct 2, 2010

I need to compile a program and make it portable to other computers, but it needs some external libraries and I don't want them to be linked dynamically, I would like to compile them as one single executable or at least compile them in the same directory as the main output files. The program is sphinx>, it has its own configure and make scripts. I know I can run g++ with the -static flag, but I don't know how to do this with make or configure. This is the ./configure --help output

[Code]....

View 1 Replies View Related

Programming :: Tool To Convert Configure.ac Into CMake?

Feb 18, 2010

Is there any tool to translate rules from configure.ac into Cmake rules?

View 3 Replies View Related

Programming :: Specify A Library Search Path To Configure's AC_CHECK_LIB?

Aug 31, 2010

I'm writing an application and want to make possible to compile it with or without an optional module. This module requires perl library to be compiled, so I want to check presence of it in 'autoconf'.

The problem exists because perl library is placed in 'non-standart' location itself (like a /usr/lib64/perl5/CORE/libperl.so). So when I try to run configure (with AC_CHECK_LIB or AC_SEARCH_LIBS), it cannot find and link libperl.so in its test.

Trying to pass ./configure CFLAGS=-L/usr/lib64/perl5/CORE/ or ./configure LDFLAGS=-L/usr/lib64/perl5/CORE/

How can I define a location to search for configure's tests?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved