WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] forgot ARCH=xen


On 22 May 2005, at 10:23, James Harper wrote:

I've been doing some testing on a kernel driver which compiles
separately as a module, and after a few days of on-and-off testing have
just realised that I forgot ARCH=xen in the makefile and so consequently
it crashed and burned at the first spin_lock_irqsave().

Should xen have given me an error message here?

How did it crash and burn? The kernel ought to print an oops with the EIP pointing at the CLI instruction...

On unstable we currently silently fail CLI/STI, but propagating the fault up to the guest in all cases would give an obvious error if mistakenly using native drivers. Some people *want* to be able to use native drivers in XenLinux, but it is playing with fire in any case.

 -- Keir


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>