> On Sat, Feb 23, 2008 at 11:14:51AM -0800, Anthony Brock wrote: >> My instance has the follow on the file system: >> >> # ls -lA /dev/*rand* >> crw-rw-rw- 1 root root 1, 8 2008-02-11 11:43 /dev/random >> crw-rw-rw- 1 root root 1, 9 2008-02-23 10:06 /dev/urandom >> # >> >> Is it possible that recent kernel versions are having issues with >> /dev/random? Any ideas on what would cause this behavior, or an I >> dealing >> with a known issue/misconfiguration? > > See if the patch below helps...
It appears that this patch is designed against 2.6.22. Do you want me to downgrade from 2.6.24.2 to 2.6.22 to try this? Applying it against 2.6.24.3 resulted in the following: ~/linux-2.6.24.3# patch -p1 < ../random-test.patch patching file arch/um/drivers/random.c Hunk #1 succeeded at 7 with fuzz 2 (offset -1 lines). Hunk #2 succeeded at 27 (offset -1 lines). Hunk #3 succeeded at 40 with fuzz 1 (offset -1 lines). Hunk #4 succeeded at 64 with fuzz 1 (offset -1 lines). Hunk #5 succeeded at 105 with fuzz 1 (offset -1 lines). Hunk #6 FAILED at 126. Hunk #7 succeeded at 144 (offset -1 lines). Hunk #8 FAILED at 154. 2 out of 8 hunks FAILED -- saving rejects to file arch/um/drivers/random.c.rej patching file arch/um/os-Linux/sigio.c Hunk #1 FAILED at 338. Hunk #2 succeeded at 347 with fuzz 1 (offset -13 lines). 1 out of 2 hunks FAILED -- saving rejects to file arch/um/os-Linux/sigio.c.rej patching file include/asm-um/irq.h Hunk #1 FAILED at 15. 1 out of 1 hunk FAILED -- saving rejects to file include/asm-um/irq.h.rej ~/linux-2.6.24.3# Should I make the adjustments necessary to fit this patch into the 2.6.24.3 code? Tony ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user