similar to: Anatomy of a trap

Displaying 20 results from an estimated 10000 matches similar to: "Anatomy of a trap"

2006 Aug 11
7
How Xen handles Dom1 interrupts?
Good morning, I am new to Xen, and trying to understand how Xen works. I have some questions about virtualization of interrupts on Xen. Thanks in advance for all helps. 1) From papers about Xen architecture found at Xen homepage, Xen seemingly intercepts interrupts of Dom1 (paravirtualization). So interrupts occur in Dom1''s context are sent to Xen, and Xen handles them. Is that correct?
2009 Sep 22
2
[pvops-dom0]Let PV ops guest could handle Machine Check trap
Hi, Jeremy and all This small patch lets pv ops guest handle machine check trap. When non fatal mce error happens, xen will inject vMCE# to the impacted pv ops guest. This patch allows pv ops guest could receive machine check trap and enter its own machine check handler. Thanks & Regards, Criping >From 5efc12fe8214d55e2becc2c4b6ec4a30531d7b60 Mon Sep 17 00:00:00 2001 From: Liping Ke
2007 Apr 12
1
writing a new trap handler
Hi, I looked at the pid provider''s trap handler code (usr/src/uts/sun4u/ml/trap_table.s and usr/src/uts/sun4/os/dtrace_subr.c), and try to understand how it works. Can someone point me some directions about trap handlers? I am interesed in writing a new one (like dtrace does it in pid provider with the 0x38 trap id). At first, I would be pleased if I could write a trap handler which just
2008 Jul 03
6
2.6.26-rc8 pv_ops causes Unhandled invalid opcode fault/trap
Xen: 3.2.1-rc5 64bit Dom0: 2.6.18.8 (at cs 524) 32-pae DomU: 2.6.26-rc8 32-pae root at newark13:~# xm create -f /linodes/xencaker/xen.conf -c Using config file "/linodes/xencaker/xen.conf". Started domain xencaker root at newark13:~# root at newark13:~# xm dmesg ... (XEN) traps.c:413:d332 Unhandled invalid opcode fault/trap [#6] on VCPU 0 [ec=0000] (XEN)
2018 Aug 01
1
[PATCH nbdkit] tests: Cancel trap in cleanup function to avoid recursive traps.
In these test functions, when a test fails, the bash ‘trap’ command causes the cleanup function to be called. However bash does not annul or cancel the traps when cleanup is called, so at the end of the cleanup function when ‘exit’ is called, cleanup is called recursively. Avoid this by cancelling the traps at the top of the cleanup function. Also an extra debugging message is emitted here
2014 Apr 01
6
[LLVMdev] Proposal: Loads/stores with deterministic trap/unwind behavior
Hi, I wanted to propose an IR extension that would allow us to support zero-cost exception handling for non-call operations that may trap. I wanted to start with loads and stores through a null pointer, and later we might extend this to div/rem/mod zero. This feature is obviously useful for implementing languages such as Java and Go which deterministically translate such operations into
2013 Apr 10
1
[PATCH v3] x86: use a read-only IDT alias on all CPUs
Make a copy of the IDT (as seen via the "sidt" instruction) read-only. This primarily removes the IDT from being a target for arbitrary memory write attacks, and has the added benefit of also not leaking the kernel base offset, if it has been relocated. We already did this on vendor == Intel and family == 5 because of the F0 0F bug -- regardless of if a particular CPU had the F0 0F bug
2013 Apr 10
1
[PATCH v3] x86: use a read-only IDT alias on all CPUs
Make a copy of the IDT (as seen via the "sidt" instruction) read-only. This primarily removes the IDT from being a target for arbitrary memory write attacks, and has the added benefit of also not leaking the kernel base offset, if it has been relocated. We already did this on vendor == Intel and family == 5 because of the F0 0F bug -- regardless of if a particular CPU had the F0 0F bug
2009 Feb 08
1
Unhandled invalid opcode fault/trap
Hi, Trying to get pv_ops working with 2.6.28.4, this is what I get on an Intel Xeon CPU. Works fine on AMD Opteron... (XEN) Xen trace buffers: disabled (XEN) Std. Loglevel: Errors and warnings (XEN) Guest Loglevel: Nothing (Rate-limited: Errors and warnings) (XEN) Xen is relinquishing VGA console. (XEN) *** Serial input -> DOM0 (type ''CTRL-a'' three times to switch input
2011 Jun 09
2
Adapting R code for different traps
Hi all, My code: > temp<-outer(release.days,collection.days,'-') > temp<-ifelse(temp>=0,NA,temp) > release.diff<-apply(temp,2,max,na.rm=TRUE) works for one trap and does what I want. That is, it determines the time difference between the collection date of a trap and date of parasitoid release immediately before it, excluding releases that occurred on the same day
2003 Nov 25
4
* Configuration
Hi, I am a beginner to Asterisk. Can anybody clear my following doubts regarding the configuration needed? 1) What is the ideal system configuratin required?(like processer, RAM, h/d space etc) 2) How many connections it can handle at a time? 3) How many Virtual PBXs it can handle? 4) Whether Postgres or Mysql is best suited? 5) How many IVR's it can handle simultaneously? 6) How many
2006 Apr 19
1
Anatomy of an application in rails
Ok guys, after doing many tutorial arond the web i realize that im not going to learn rails well until a made my own app, so i defined what i want and structured in a way that hope you can understand, maybe we can help each other and define a good starting base(models and relationships) that can be helpful for all of us. Its a little(i think cms), it will consist of basically 4 sections:
2016 Apr 15
4
Is trapping allowed when an add with nsw flag overflows?
Hi, In our backend, we currently emit add operations that trap on overflow if the IR operation has the nsw flag set. Is this allowed? According to the documentation about poison values, overflowing a nsw add is undefined behavior. However I didn't find a formal definition of undefined behavior in LLVM. Judging from previous discussions on the mailing list, there seems to be a vague
2016 Apr 18
2
Is trapping allowed when an add with nsw flag overflows?
[This mail could be an answer to the other responses as well, as they basically are the same.] Ah, I think I understand now what poison is for. Adds are defined to not have side-effects, so the dependence rule is needed so the optimizer is allowed to exploit undefined behavior. Is this correct? I forgot to mention in my original mail that our trapping arithmetic operations are fully
2011 Feb 04
1
read.csv trap
This is not specifically a bug, but an (implicitly/obscurely) documented behavior of read.csv (or read.table with fill=TRUE) that can be quite dangerous/confusing for users. I would love to hear some discussion from other users and/or R-core about this ... As always, I apologize if I have missed some obvious workaround or reason that this is actually the desired behavior ... In a nutshell,
2007 Apr 28
4
Status of frequency scaling
Hi! I would like to know the status of the frequency scaling in XEN. I found a web site saying that XEN doesn’t work with frequency scaling, at the other hand I found some fixes for powernow-k8 to get rid of some messages. I have an AMD64. powerno-k8 works find with non-XEN kernels, but with XEN-kernels I get the error: powernow-k8: Found 1 AMD Athlon(tm) 64 Processor 3400+ processors
2005 Nov 09
2
FreeBSD DomU Fatal trap 12 in cpu_switch_load_gs
I see the following with a FreeBSD 5.3 DomU on 2.0.7 Fatal trap 12: page fault while in kernel mode fault virtual address = 0xca7a0088 fault code = supervisor read, page not present instruction pointer = 0x819:0xc0183343 stack pointer = 0x821:0xca069d30 frame pointer = 0x821:0x0 code segment = base 0x235, limit 0x8485e7c3, type 0x9
2007 Jul 30
50
boot a existing windows in hvm domain
Hi all don''t get such envionment to try now. so ask for help here. imagine that two os installed. Xen3.1 + Linux is installed in /dev/hda and windows xp is installed in /dev/hdb I don''t want to reboot to use windows. Is it possiable to boot the hdb windows in xen? i saw there are some threads about P2V in this mail list. will the P2V tools help? thanks
2007 Jul 30
50
boot a existing windows in hvm domain
Hi all don''t get such envionment to try now. so ask for help here. imagine that two os installed. Xen3.1 + Linux is installed in /dev/hda and windows xp is installed in /dev/hdb I don''t want to reboot to use windows. Is it possiable to boot the hdb windows in xen? i saw there are some threads about P2V in this mail list. will the P2V tools help? thanks
2010 Aug 09
2
[LLVMdev] Overflow trap
Several instruction set architectures include arithmetic operations that can trap on overflow, or support this feature with a separate trap-on-overflow-flag instruction (such as the x86 INTO instruction). I am adding a back-end to the Open Dylan compiler to generate LLVM IR. The original back-end, which generates x86 machine code, makes use of the INTO instruction, and the runtime turns the