[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] The vbd stops when it tries to access /dev/random
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 # HG changeset patch # User t.horikoshi@xxxxxxxxxxxxxx # Date 1168490742 -32400 # Node ID bc40028d11c0df0add4cb8b9f034f6ed776c3d61 # Parent e66f047bc97e9121bdbd873f61feb37da469c2ba fix /dev/random read Signed-off-by: Tomonari Horikoshi <t.horikoshi@xxxxxxxxxxxxxx> Signed-off-by: Hirofumi Tsujimura <tsujimura.hirof@xxxxxxxxxxxxxx> 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; } _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |