Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#2733 - Ath79 firmware accident enter to failsafe mode when reboot/reflash router. #8110

Closed
openwrt-bot opened this issue Jan 13, 2020 · 3 comments
Labels

Comments

@openwrt-bot
Copy link

linhtinh:

Sometime when reboot/reflash router, I see serial console messages:
[ 5.868712] init: - preinit -
[ 5.960699] random: procd: uninitialized urandom read (4 bytes read)
[ 6.909058] random: jshn: uninitialized urandom read (4 bytes read)
[ 7.327749] random: jshn: uninitialized urandom read (4 bytes read)
[ 7.567130] random: jshn: uninitialized urandom read (4 bytes read)
[ 7.638687] random: jshn: uninitialized urandom read (4 bytes read)
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[ 9.860896] eth0: link up (1000Mbps/Full duplex)

  • failsafe button rfkill was pressed -
  • failsafe -
    [ 12.309911] urandom_read: 3 callbacks suppressed
    [ 12.309921] random: dropbearkey: uninitialized urandom read (32 bytes read)
    Generating 1024 [ 12.323834] random: dropbearkey: uninitialized urandom read (32 bytes read)
    bit rsa key, this may take a while...
    Public key portion is:
    ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQCKZVT/UJoTHz2CkNHrYmfzzBDfa/6Yd6+LJVcrURD15lbN3ch7AG/tc/ZolkeOrqkKD6dM2h4TsYv4+)
    Fingerprint: sha1!! b9:a4:d3:94:71:b3:34:ae:a3:85:c8:e9:a7:c8:63:fd:74:52:5e:ad

BusyBox v1.30.1 () built-in shell (ash)

ash: can't access tty; job control turned off


| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -| || | | || || |
|
_____|| |
||||___||| |____|
|
| W I R E L E S S F R E E D O M

OpenWrt 19.07-SNAPSHOT, r10868-08d9828b76

================= FAILSAFE MODE active ================

I noticed when wifi on/off switch on router is on, sometime it accident enter failsafe mode. If switch to off, it's not happen.
Issue happens with 841n v8/v9/v10 & 841hp v3 (same hardware as v9/10) model.

@openwrt-bot
Copy link
Author

adrianschmutzler:

  • failsafe button rfkill was pressed -

So, this tells us that the router thinks the rfkill button was pressed. With the 841n v8, it appears that rfkill is actually a switch, so having it "enabled" would permanently send "button pressed" ...

However, this only applies to the 841n v8. For 841n v9/v10, the button is actually a button and the problem should not occur.

@openwrt-bot
Copy link
Author

adrianschmutzler:

Created a PR for the 841n v8 here: #3184

@openwrt-bot
Copy link
Author

adrianschmutzler:

Fixed for v8 in 5e86877

As the v9/v10 are different, I'm closing this now.

Please resubmit for v9/v10 when you can reproduce the problem there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant