public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Mario 'BitKoenig' Holbe" <Mario.Holbe@TU-Ilmenau.DE>
To: linux-kernel@vger.kernel.org
Subject: b43 wireless driver inhibits access to /dev/hwrng
Date: Fri, 23 Jul 2010 00:52:12 +0200	[thread overview]
Message-ID: <20100722225212.GA19361@darkside.kls.lan> (raw)

[-- 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 --]

             reply	other threads:[~2010-07-22 22:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-22 22:52 Mario 'BitKoenig' Holbe [this message]
2010-07-23 14:32 ` b43 wireless driver inhibits access to /dev/hwrng 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100722225212.GA19361@darkside.kls.lan \
    --to=mario.holbe@tu-ilmenau.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox