Package: rng-tools Version: 2-unofficial-mt.12-1 Severity: normal I suspect the cpuid parsing in the viapadlock engine doesn't play nicely with my cpu. Here are the various relevant (I hope) details:
$ zgrep HW_RANDOM /proc/config.gz CONFIG_HW_RANDOM=y # CONFIG_HW_RANDOM_INTEL is not set # CONFIG_HW_RANDOM_AMD is not set # CONFIG_HW_RANDOM_GEODE is not set CONFIG_HW_RANDOM_VIA=y $ grep RNG /var/log/dmesg VIA RNG detected $ cat /proc/cpuinfo processor : 0 vendor_id : CentaurHauls cpu family : 6 model : 10 model name : VIA Esther processor 1000MHz stepping : 9 cpu MHz : 797.968 cache size : 128 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge cmov pat clflush acpi mmx fxsr sse sse2 tm nx pni est tm2 rng rng_en ace ace_en ace2 ace2_en phe phe_en pmm pmm_en bogomips : 1596.44 clflush size : 64 power management: (Obviously the e_powersaver cpufreq driver is doing it's thing.) Here's the last bit of an strace of the command: /usr/sbin/rngd -f -r /dev/hwrng --hrng=viapadlock open("/dev/cpu/0/msr", O_RDWR) = 3 open("/dev/cpu/0/cpuid", O_RDONLY) = 4 lseek(4, 0, SEEK_SET) = 0 read(4, "\1\0\0\0CentaulsaurH\251\6\0\0\0\10\1\0\201\1\0\0\377\273\311\247"..., 32) = 32 lseek(4, 3221225472, SEEK_SET) = 3221225472 read(4, 0xbff1d3ac, 32) = -1 EINVAL (Invalid argument) close(3) = 0 close(4) = 0 write(2, "Could not initialize VIA PadLock "..., 58Could not initialize VIA PadLock RNG set: Invalid argument) = 58 write(2, "\n"..., 1 ) = 1 exit_group(12) = ? (it would also be cool if the docs mentioned that he cpuid and msr modules needed to be available for this mode to work, I had to find that out the hard-way) -- Jamie Heilman http://audible.transient.net/~jamie/ "...thats the metaphorical equivalent of flopping your wedding tackle into a lion's mouth and flicking his lovespuds with a wet towel, pure insanity..." -Rimmer -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]