* The vbd stops when it tries to access /dev/random
@ 2007-01-11 5:13 Hirofumi Tsujimura
2007-01-11 13:14 ` Hirofumi Tsujimura
0 siblings, 1 reply; 2+ messages in thread
From: Hirofumi Tsujimura @ 2007-01-11 5:13 UTC (permalink / raw)
To: xen-devel
[-- Attachment #1: Type: text/plain, Size: 305 bytes --]
Hi all,
We found a problem when we tested PV-on-HVM drivers.
The vbd stops when it tries to access /dev/random.
This problem occurs because the platform-pci doesn't
register SA_SAMPLE_RANDOM handler to request_irq.
This patch is corrected for platform-pci to register it.
Thanks.
--
Hirofumi Tsujimura
[-- Attachment #2: pv-random-device.patch --]
[-- Type: text/plain, Size: 929 bytes --]
# HG changeset patch
# User t.horikoshi@jp.fujitsu.com
# Date 1168490742 -32400
# Node ID bc40028d11c0df0add4cb8b9f034f6ed776c3d61
# Parent e66f047bc97e9121bdbd873f61feb37da469c2ba
fix /dev/random read
Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
Signed-off-by: Hirofumi Tsujimura <tsujimura.hirof@jp.fujitsu.com>
diff -r e66f047bc97e -r bc40028d11c0 unmodified_drivers/linux-2.6/platform-pci/platform-pci.c
--- a/unmodified_drivers/linux-2.6/platform-pci/platform-pci.c Tue Jan 09 18:56:44 2007 -0800
+++ b/unmodified_drivers/linux-2.6/platform-pci/platform-pci.c Thu Jan 11 13:45:42 2007 +0900
@@ -250,7 +250,7 @@ static int __devinit platform_pci_init(s
if ((ret = init_xen_info()))
goto out;
- if ((ret = request_irq(pdev->irq, evtchn_interrupt, SA_SHIRQ,
+ if ((ret = request_irq(pdev->irq, evtchn_interrupt, SA_SHIRQ | SA_SAMPLE_RANDOM,
"xen-platform-pci", pdev))) {
goto out;
}
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: The vbd stops when it tries to access /dev/random
2007-01-11 5:13 The vbd stops when it tries to access /dev/random Hirofumi Tsujimura
@ 2007-01-11 13:14 ` Hirofumi Tsujimura
0 siblings, 0 replies; 2+ messages in thread
From: Hirofumi Tsujimura @ 2007-01-11 13:14 UTC (permalink / raw)
To: xen-devel
Sorry, the vbd doesn't stop.
the random device (/dev/random) stops when
system volume of guest domain is started by the vbd.
--
Hirofumi Tsujimura
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-01-11 13:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-11 5:13 The vbd stops when it tries to access /dev/random Hirofumi Tsujimura
2007-01-11 13:14 ` Hirofumi Tsujimura
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.