NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Callesoroe
Oct 30, 2013Aspirant
Haveged on ReadyNas Ultra ?
I am running LMS (squeezebox) on my readynas ultra. There is a problem with the Random mix. The problem is that it isn't very random. The problem could be this that I have read about: http://www.i...
RichieB1
Oct 31, 2013Aspirant
This is Slimdevices bug id 8310: http://bugs.slimdevices.com/show_bug.cgi?id=8310
With LMS 7.6.x I went trough the code and it used a default MySQL random feature, which (I'm sure) uses /dev/random or /dev/urandom. LMS 7.7.x and 7.8.x use SQLite, and I haven't checked how the random playlists are created.
Using /dev/urandom instead of /dev/random does not give you more randomness. If not enough random bits are available /dev/urandom will reuse the random bits to generate more pseudo random bits. This will likely cause repeats like the ones we were seeing with LMS. See http://en.wikipedia.org/wiki//dev/random
I have been running haveged on my QNAP TS-459 Pro+ for a week now, and it positively solves this issue.
With LMS 7.6.x I went trough the code and it used a default MySQL random feature, which (I'm sure) uses /dev/random or /dev/urandom. LMS 7.7.x and 7.8.x use SQLite, and I haven't checked how the random playlists are created.
Using /dev/urandom instead of /dev/random does not give you more randomness. If not enough random bits are available /dev/urandom will reuse the random bits to generate more pseudo random bits. This will likely cause repeats like the ones we were seeing with LMS. See http://en.wikipedia.org/wiki//dev/random
I have been running haveged on my QNAP TS-459 Pro+ for a week now, and it positively solves this issue.
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!