Software :: "Enabling The Pci Based MSI Interrupts."?
Apr 5, 2010i can enable the pci based MSI interrupts by where appendin the pci=msi in kernel.
View 1 Repliesi can enable the pci based MSI interrupts by where appendin the pci=msi in kernel.
View 1 RepliesI 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 View RelatedI'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 RelatedI 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 RelatedSo 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.
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 RelatedI 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.
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]"
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]...
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 RelatedI 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?
I notice that on DistroWatch, the descriptions include "debian based", "arch based", etc. For the newbie, is there any practical difference between the different bases, or is it a Coke vs Pepsi type question?
Is a distro based on Debian say, easier for a newbie to learn or work with than say one that is FreeBSD based?
I've got some source code that loads and plays WAV files through the OSS drivers (and USB audio). The code works even under 2.6.34. Is there any benefit to rewriting the code using the ALSA system?
View 1 Replies View RelatedI am working on a set up, and I like to be able to toggle compiz on and off, or toggle dualscreen on and off. The thing is, I also have conky on my desktop as well as a terminal window embedded in my desktop (that requires compiz). So, when I turn comiz off, or resize my desktop, I want to be able to reposition conky/embedded-terminal and the terminals position is relative to my conky position and the size of my virtual desktop.
I can do this all fine, except that to reposition the terminal I need to kill it then reopen it. But if I kill gnome-terminal it kills ALL gnome-terminals instead of just my embedded one. How can I specifically close my embedded one and leave any others untouched? Lets say that the title of my embedded terminal is "trans777"Also, the trans777 titled gnome-terminal will be killed when compiz is not running.
When you use an IDE and it asks you if you want frame based or dialog based, what is the difference?
View 1 Replies View Relatedwhat distro should i use, rpm based or debian based?
View 2 Replies View RelatedI have a question regarding to the Graphical Splash Screen. Is their a way to show the text based startup on booting your OS? So. I don't the OpenSuse Background with the loading line. But i want the half transparent black background if possible or just the black background with all the loading texts. The black and white screen.
View 9 Replies View RelatedSee the following output from powertop:
Uptime 5 minutes
Wakeups-from-idle per second : 86,8interval: 15,0s
no ACPI power usage estimate available
Top causes for wakeups:
37,8% (129,7) <interrupt> : uhci_hcd:usb2, uhci_hcd:usb5, rr26xx
23,6% ( 81,0) <kernel core> : hrtimer_start_range_ns (tick_sched_timer)[code]....
As you can see, when system is "fresh" booted there are no noticeable "Extra timer interrupts". As time goes, this number seems to increase. I have tried to find out what causes this behaviour without any luck. I am not even sure if this is any practical problem, as performance seems to be more or less unaffected, but any explanation to this would be nice. Anyone else ever notice this?I am running Ubuntu 9.10 Server edition on a Dell Poweredge SC1420, 64-bit version. The server is used for web and file sharing mostly, with little load. (15 min avg. about 0,10).
Whats better partition based install or LVM based install?Does one perform better than the other?I have a 640 gig drive.I have win 7 installed on a 360 gig partition.The remaining space is free.
View 4 Replies View RelatedI have a n2pap-lite motherboard with a AMD Sempron 2800+. My host clock is at 133mhz when it needs to at least be at 166mhz to be a AMD Sempron 2800+... I installed the system on 100mhz clock not thinking that it mattered.
I tried the following
sudo apt-get install rcconf
sudo rcconf
*Disabled "ondemand"
It says on guides that it will ask me to reboot but it doesn't, so I manually did it and put the CPU Frequency Monitor on my taskbar. It does not have the options like it shows in the screenshots to set my CPU frequency..
Anyone could teach me what is the "correct" method to enable the php Zip extension in a PHP 5.3 on a Ubuntu 10.04?
View 2 Replies View RelatedI'm using Linux Kernel version 2.6.33 on a server with Intel Xeon X5570.
I assume that Intel's DCA is already enabled on my system, because I see
Code:
I would like to test the effects of with and without DCA. How can I disable DCA?
i have a problem with my slack box.i want an eye candy desktop (actually i didn't need this, but i want to show my friends that linux distro eye candy desktop can beat windows).I'm using KDE desktop effect, but i didn't satisfy with this, cause i have been test compiz in my PC (using ubuntu), the effects is more smooth than KDE desktop effect.my Xorg config is using vesa (i didn't know that linux kernel didn't have my 'Intel Corporation 82945G/GZ Integrated Graphics Controller (rev 02)' driver. How do i enable the driver? (cause in ubuntu, works like a charms)in my slack box compiz version : compiz-0.8.6-i486-1 how do i enable compiz (cause i want to use XFCE + compiz too)
View 12 Replies View Relateddoc/tip/web page with some info on how to enable the vga-out port on my laptop?
I need it so I can hook it to a projector when I'm teaching a class or giving a presentation
I've read the centos on laptos wiki but I found nothing of assistance.
I'm using centos 5.2 on an HP 550 laptop, everything else works like a charm
I have a C application in which I was happily using stdint.h and other useful things like UINT32_MAX. Now, I am trying to move over to C++. Turns out, C++ does not support C99 and there is no equivalent header file (like climits for limits.h). So is there a way to enable C99 types in C++? Or any other equivalent header files?
View 1 Replies View Relatedwhen I tried to configure network I came across a problem that the enable button on top of network manager GUI is disabled. So alternatively I enabled it with ifconfig command. I also configured DNS servers. But the problem is whenever I reboot my machine. I have to reactivate the network from terminal and give the DNS servers again, because DNS settings are not saved.
View 2 Replies View RelatedIs there an easy way to enable libfaac in ffmpeg? I'm hoping to not have to compile it myself, but it appears that it was compiled without libfaac support. Not sure if what I'm using is from rpmfusion, but it's enabled.
View 9 Replies View RelatedI'm having a bit of trouble with a web server running Fedora 12. Apache works fine, and serves up php content without a hitch. My problem is SQLite -- I thought that it was built into php5, but support is disabled in the repo version. phpinfo shows this as part of the configure command:
Code:
'--without-sqlite' ... '--disable-pdo' ... '--without-sqlite3'
The only solution I've read anywhere is "compile php from source," but I'd like to avoid that if possible, for ease of future upgrades. Is there a way to convince php to use sqlite despite its current state?
I have various repos in my yum.repos.d including rawhide, google, and various others which I can enable on specific yum commands with --enablerepo=reponame.
Question is, how come these aren't enabled by default? When I do a yum repolist they don't show up, which effectively leaves orphan programs.
I can see why you might not want rawhide enabled by default for obvious update reasons, but I might want others to be enabled by default, like google for one.
So how is the default repo anabling/disabling controlled?
My laptop (as many others) has a hardware switch which turns wireless/bluetooth disabled. If after booting up the system I switch on this key, the wireless would still remain disabled and I need to reboot the system to be able to connect to any network.
I have tried
Code:
rfkill unblock all
ifconfig wlan0 up
Is there any way to activate wireless without rebooting the system?