All of lore.kernel.org
 help / color / mirror / Atom feed
* b43 wireless driver inhibits access to /dev/hwrng
@ 2010-07-22 22:52 Mario 'BitKoenig' Holbe
  2010-07-23 14:32 ` John W. Linville
  0 siblings, 1 reply; 6+ messages in thread
From: Mario 'BitKoenig' Holbe @ 2010-07-22 22:52 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1407 bytes --]

Hello,

the b43 wireless driver inhibits access to /dev/hwrng while the wireless
network interface is down. When the interface is up, /dev/hwrng is
accessible:

	root@ideapad ~ # uname -a
	Linux ideapad 2.6.35-rc5-686 #1 SMP Tue Jul 13 16:16:00 UTC 2010 i686 GNU/Linux
	root@ideapad ~ # grep name /proc/cpuinfo
	model name	: VIA Nano processor U2250 (1.6GHz Capable)
	root@ideapad ~ # lsmod | grep via.rng
	via_rng                 1243  0
	rng_core                2912  2 via_rng,b43
	root@ideapad ~ # hexdump -n 10 /dev/hwrng
	0000000 81f2 8497 71bb d900 f89f
	000000a
	root@ideapad ~ # ifconfig wlan0 down
	root@ideapad ~ # hexdump -n 10 /dev/hwrng
	hexdump: /dev/hwrng: No such device
	root@ideapad ~ # ifconfig wlan0 up
	root@ideapad ~ # hexdump -n 10 /dev/hwrng
	0000000 86fc 5d33 4dec d97d da7b
	000000a
	root@ideapad ~ #

Aside from such a side-effect being heavily unexpected, this effect is
particularly annoying because it renders rngd failing to start at boot
time - especially when using NetworkManager which is usually started
later than the classic ifupdown methods.

I have no idea whether this issue belongs to the b43 driver or to the
rng core.


Thanks for your work & best regards
   Mario
-- 
The only thing to be scared of, son, is tomorrow.
I don't live for tomorrow. Never saw the fun in it.
                       -- Denny Crane, Boston Legal

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 482 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-07-31  6:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-22 22:52 b43 wireless driver inhibits access to /dev/hwrng Mario 'BitKoenig' Holbe
2010-07-23 14:32 ` John W. Linville
2010-07-23 15:31   ` Mario 'BitKoenig' Holbe
2010-07-23 17:32     ` John W. Linville
2010-07-23 18:21       ` Mario 'BitKoenig' Holbe
2010-07-31  6:15   ` Pavel Machek

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.