Skip to contentSkip to conversation

Difficulties inserting external modules in dom0 & using a serial port

DISCUSSION Michael LeMay 2 participants 2 messages Apr 24, 2006 2 messages not in the archive

lore
Share & tools
lore
#2 lore raw
In reply to a message not in the archive

As an update, I figured out the "force_evtchn_callback" problem. My module used the spin_lock_irq and spin_unlock_irq routines, which eventually trickled back to force_evtchn_callback. I'm cross-posting this to -devel in case this is a real problem. It seems like these calls should be supported... Thanks for the help!

Quoted 41 lines · Molle Bestefich
Quoted 2 lines · Michael LeMay

FATAL: Error inserting 8250 (...): Device or resource busy

Xen uses the console too, you might want to check your boot options and the documentation.

Perhaps the busy error code refers to an IRQ (check the 8250 source code to make sure), so you could look in /proc/interrupts and see if anything else is using the same IRQ that the 8250 is trying to grab.

Same problem, clue about 8250 being modularized on SuSE but not other distros:
http://article.gmane.org/gmane.comp.emulators.xen.user/2504

Same problem, possible solution offered (didn't work) and a clue about IRQ problems:
http://article.gmane.org/gmane.comp.emulators.xen.user/4275
http://article.gmane.org/gmane.comp.emulators.xen.user/4290
http://article.gmane.org/gmane.comp.emulators.xen.user/4298

Same problem, no solution:
http://article.gmane.org/gmane.comp.emulators.xen.user/97

Quoted 2 lines

x10_cm19a: Unknown symbol force_evtchn_callback

Nothing else in dmesg or syslog?

I usually solve this kind of problem by fiddling with the kernel version :-)...

Same problem, no solution:
http://article.gmane.org/gmane.comp.emulators.xen.user/10337
http://article.gmane.org/gmane.comp.emulators.xen.user/10354
http://article.gmane.org/gmane.comp.emulators.xen.user/10414

Same problem, impolite enough to crosspost to users- and devel-list, no replies:
http://article.gmane.org/gmane.comp.emulators.xen.user/9892

Quoted 8 lines

Same problem, no replies:
http://article.gmane.org/gmane.comp.emulators.xen.user/10543

_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users

begin:vcard
fn:Michael LeMay
n:LeMay;Michael
org:University of Illinois at Urbana-Champaign;Computer Science adr:;;Goodwin Ave.;Urbana;IL;61801;USA email;internet:[email protected]
title:Ph.D. Student
tel;cell:715-497-4276
x-mozilla-html:TRUE
url:http://lemaymd.com/uiuc
version:2.1
end:vcard

_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users

#3 lore raw
Quoted 2 lines · Michael LeMay

As an update, I figured out the "force_evtchn_callback" problem. My module used the spin_lock_irq and spin_unlock_irq routines,

No clue whether it's a bug that they're not supported, but I'd suspect a bug in Xen on account of 8250 not working when it's loaded as a module?

Quoted 1 line

Thanks for the help!

Cool that you got it working :-).
Consider adding to
http://wiki.xensource.com/xenwiki/CoolConfigurations if you're doing something really fancy with Xen ;-)..