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

Test IIAB 7.2 on 64-bit Raspbian (renamed to Raspberry Pi OS / RaspiOS) as this becomes more established? [UH-OH: WiFi firmware 7.45.18.0 not quite compatible; will a new kernel help?] [64-bit RasPiOS Bullseye allows for Calibre 5.12] #2422

Closed
holta opened this issue May 28, 2020 · 34 comments

Comments

@holta
Copy link
Member

holta commented May 28, 2020

@jvonau & All: the early beta of Raspberry Pi Foundation's new OS is here:
https://www.raspberrypi.org/forums/viewtopic.php?f=117&t=275370

Latest 32-bit versions are here:
https://www.raspberrypi.org/downloads/raspbian/
http://downloads.raspberrypi.org/raspios_armhf/release_notes.txt

@holta holta added the question label May 28, 2020
@holta holta added this to the 7.1 milestone May 28, 2020
@holta
Copy link
Member Author

holta commented May 29, 2020

Thanks @floydianslips who observes:

  • He had to do apt install vlc-data before the IIAB install would begin
  • He could not log into Admin Console (http://box.lan/admin)

SEE ALSO @georgejhunt report:

#2424 "raspbian-64bit-dnsmasq does not start because br0 is not up [RaspiOS]"

@holta
Copy link
Member Author

holta commented May 29, 2020

@floydianslips @georgejhunt did you also see this error below on 64-bit RaspiOS on RPi 4?

TASK [2-common : Install 24 common packages: acpid, bridge-utils, bzip2, curl, gawk, hostapd, htop, i2c-tools, logrotate, make, mlocate, netmask, net-tools, ntfs-3g, pandoc, pastebinit, rsync, sqlite3, sudo, tar, unzip, usbmount, usbutils, wget] ***
fatal: [127.0.0.1]: FAILED! => {"changed": false, "msg": "No package matching 'usbmount' is available"}

@holta holta changed the title Test IIAB 7.1 RC4 on 64-bit Raspbian (renamed to Raspberry Pi OS) Test IIAB 7.1 RC4 on 64-bit Raspbian (renamed to Raspberry Pi OS / RaspiOS) May 29, 2020
@holta
Copy link
Member Author

holta commented May 29, 2020

Even when I comment out pkg usbmount from https://github.com/iiab/iiab/blob/master/roles/2-common/tasks/packages.yml#L63 it still fails later on in Stage 4, predictably:

TASK [usb_lib : Enable exFAT and NTFS in /etc/usbmount/usbmount.conf] **********
fatal: [127.0.0.1]: FAILED! => {"changed": false, "msg": "Destination /etc/usbmount/usbmount.conf does not exist !", "rc": 257}

@holta
Copy link
Member Author

holta commented May 29, 2020

Until the above issue is solved, I've temporarily (also) set the following in /etc/iiab/local_vars.yml :

usb_lib_install: False
usb_lib_enabled: False

@holta
Copy link
Member Author

holta commented May 29, 2020

FYI Sugarizer also fails to install on 64-bit RaspiOS, due to...

TASK [mongodb : Enable & Restart 'mongodb' systemd service if mongodb_enabled, incl daemon-reload (in case mongodb.service changed?)] ***
fatal: [127.0.0.1]: FAILED! => {"changed": false, "msg": "Unable to start service mongodb: Job for mongodb.service failed because the control process exited with error code.\nSee "systemctl status mongodb.service" and "journalctl -xe" for details.\n"}

root@raspberrypi:~# systemctl status mongodb
● mongodb.service - High-performance, schema-free document-oriented database
Loaded: loaded (/etc/systemd/system/mongodb.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2020-05-29 14:26:38 EDT; 10min ago
Process: 10628 ExecStartPre=/usr/bin/iiab-mongodb-repair-if-no-lock (code=exited, status=127)

May 29 14:26:38 box.lan systemd[1]: Starting High-performance, schema-free document-oriented database...
May 29 14:26:38 box.lan iiab-mongodb-repair-if-no-lock[10628]: /usr/bin/mongod: error while loading shared libraries: libstdc .so.6: cannot open shared object file: No
May 29 14:26:38 box.lan systemd[1]: mongodb.service: Control process exited, code=exited, status=127/n/a
May 29 14:26:38 box.lan systemd[1]: mongodb.service: Failed with result 'exit-code'.
May 29 14:26:38 box.lan systemd[1]: Failed to start High-performance, schema-free document-oriented database.

@tim-moody
Copy link
Contributor

This is a beta test of the Raspberry Pi OS (64 bit)

We still recommend the 32 bit operating system for all Pis at this time, although have decided it is now time to begin the move toward a 64bit OS. For the moment this is a 'beta' program, the OS is in heavy flux and its functionality is likely to change significantly over the next few months.

@holta
Copy link
Member Author

holta commented May 29, 2020

Good News first...

  1. fyi @floydianslips Admin Console works for me on 64-bit RaspiOS e.g. I can log in to http://10.8.0.38/admin (182-rpi4-2g-raspios-64bit-MEDIUM) with the usual username/password (iiab-admin/g0adm1n) and navigate around Admin Console after that.

  2. fyi @jvonau after reboot, dnsmasq no longer seems to start...

root@box:~# systemctl status dnsmasq
● dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server
Loaded: loaded (/lib/systemd/system/dnsmasq.service; disabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2020-05-29 15:01:16 EDT; 25min ago
Process: 623 ExecStartPre=/usr/sbin/dnsmasq --test (code=exited, status=0/SUCCESS)
Process: 649 ExecStart=/etc/init.d/dnsmasq systemd-exec (code=exited, status=2)

May 29 15:01:15 box.lan systemd[1]: Starting dnsmasq - A lightweight DHCP and caching DNS server...
May 29 15:01:15 box.lan dnsmasq[623]: dnsmasq: syntax check OK.
May 29 15:01:16 box.lan dnsmasq[649]: dnsmasq: unknown interface br0
May 29 15:01:16 box.lan systemd[1]: dnsmasq.service: Control process exited, code=exited, status=2/INVALIDARGUMENT
May 29 15:01:16 box.lan systemd[1]: dnsmasq.service: Failed with result 'exit-code'.
May 29 15:01:16 box.lan systemd[1]: Failed to start dnsmasq - A lightweight DHCP and caching DNS server.

Related:

iiab/iiab-admin-console#327 "0.4.1.5 new public key authentication"

@tim-moody
Copy link
Contributor

@holta and @floydianslips can you report if captive portal is running
cat /var/log/uwsgi/app/admin-console.log if authentication doesn't happen. it will tell why

@floydianslips
Copy link
Contributor

@tim-moody this is the output of /var/log/uwsgi/app/admin-console.log.

http://dpaste.com/05CTF8D

@floydianslips
Copy link
Contributor

1. fyi @floydianslips Admin Console works for me on 64-bit RaspiOS e.g. I can log in to http://10.8.0.38/admin (182-rpi4-2g-raspios-64bit-MEDIUM) with the usual username/password (iiab-admin/g0adm1n) and navigate around Admin Console after that.

What happens if you change the password?

@tim-moody
Copy link
Contributor

@floydianslips there are a lot of log entries that say the user is invalid, though there is a decryption failure as well.

@holta
Copy link
Member Author

holta commented May 29, 2020

1. fyi @floydianslips Admin Console works for me on 64-bit RaspiOS e.g. I can log in to http://10.8.0.38/admin (182-rpi4-2g-raspios-64bit-MEDIUM) with the usual username/password (iiab-admin/g0adm1n) and navigate around Admin Console after that.

What happens if you change the password?

That works — fyi I can continue to log into http://10.8.0.38/admin after changing iiab-admin's password.

@floydianslips
Copy link
Contributor

floydianslips commented May 30, 2020

The new 64-bit OS shows as Debian 10 if you cat /etc/os-release:

PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

compared to old:

PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

Debian doesn't have usbmount in their packages...

@holta
Copy link
Member Author

holta commented May 30, 2020

Raspbian which has now been renamed RaspiOS (Raspberry Pi OS) is explained here...alongside its 64-bit Beta preview and 32-bit updates etc...as released 2 days ago:

https://www.raspberrypi.org/blog/latest-raspberry-pi-os-update-may-2020/

Related: PR #2427 Rpi detect [for 64-bit RaspiOS]

@jvonau
Copy link
Contributor

jvonau commented Jun 4, 2020

@holta holta modified the milestones: 7.1, 7.2 Jun 5, 2020
@holta holta changed the title Test IIAB 7.1 RC4 on 64-bit Raspbian (renamed to Raspberry Pi OS / RaspiOS) Test IIAB 7.2 pre-releases on 64-bit Raspbian (renamed to Raspberry Pi OS / RaspiOS) Jun 23, 2020
@holta
Copy link
Member Author

holta commented Aug 25, 2020

Can someone try Raspberry Pi's new attempt at 64-bit RaspiOS Lite?
https://downloads.raspberrypi.org/raspios_lite_arm64/images/

(I don't expect it's fully ready for prime time...given their late May 2020 64-bit RaspiOS "with desktop" still seemed to be quite buggy ??)

ASIDE: 32-bit "2020-08-20" Raspberry Pi OS images also released:
https://www.raspberrypi.org/downloads/raspberry-pi-os/

@holta
Copy link
Member Author

holta commented Aug 25, 2020

I've temporarily (also) set the following in /etc/iiab/local_vars.yml :

usb_lib_install: False
usb_lib_enabled: False

Still true 3 months later, when installing IIAB installed onto the brand new experimental 64-bit RaspiOS (#2422 (comment)) on this Raspberry Pi 4:

183-rpi4-2g-lite-64bit-BIG-2487 = 10.8.0.58

Likewise I again commented out Line 63 of https://github.com/iiab/iiab/blob/master/roles/2-common/tasks/packages.yml#L63 here:

#      - usbmount

@holta
Copy link
Member Author

holta commented Aug 25, 2020

FWIW they've not changed ID=debian to ID=raspbian here: (on 64-bit RaspiOS Lite)

root@raspberrypi:/opt/iiab/iiab# more /etc/os-release
PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
root@raspberrypi:/opt/iiab/iiab# uname -a
Linux box.lan 5.4.51-v8  #1333 SMP PREEMPT Mon Aug 10 16:58:35 BST 2020 aarch64 GNU/Linux

@holta
Copy link
Member Author

holta commented Aug 25, 2020

IIAB's current MongoDB 3.0.14 for 32-bit RaspiOS doesn't work on 64-bit RaspiOS. As @jvonau & I reconfirmed today.

If there's a need to get Sugarizer working on 64-bit RaspiOS and/or 64-bit Ubuntu-on-RPi, this might possibly be the way forward...

"MongoDB 4.0.11 (64-bit) on Raspberry Pi 3"
https://andyfelong.com/2019/03/mongodb-4-0-6-64-bit-on-raspberry-pi-3/

...particularly if it works on both 64-bit OS's on RPi HW? (i.e. the currently experimental 64-bit RaspiOS images and/or the 64-bit Ubuntu images for RPi which might be a bit more mature?)

PS for now I opted out entirely, with these 2 lines in /etc/iiab/local_vars.yml

sugarizer_install: False
sugarizer_enabled: False

@holta holta modified the milestones: 7.2, 8.0 Sep 15, 2020
@holta holta changed the title Test IIAB 7.2 pre-releases on 64-bit Raspbian (renamed to Raspberry Pi OS / RaspiOS) Test IIAB 7.2 on 64-bit Raspbian (renamed to Raspberry Pi OS / RaspiOS) Oct 25, 2020
@holta holta changed the title Test IIAB 7.2 on 64-bit Raspbian (renamed to Raspberry Pi OS / RaspiOS) Test IIAB 7.2 on 64-bit Raspbian (renamed to Raspberry Pi OS / RaspiOS) as this becomes more established? Oct 25, 2020
@holta holta modified the milestones: 8.0, 7.2 Oct 25, 2020
@holta
Copy link
Member Author

holta commented Nov 3, 2020

I and @georgejhunt did several tests of IIAB 7.2 pre-releases onto 64-bit RaspiOS ("Lite" and "with desktop") this week and it looks solid!

The catch is of course that microSD cards will not be portable (insertable) into 32-bit RPi Zero W machines however :/

Refs:

@holta
Copy link
Member Author

holta commented Nov 6, 2020

Any guess how much faster 64-bit Raspberry Pi OS (RaspiOS) is?

Is it roughly equivalent to Ubuntu Server 20.10 on RPi 4?

Are both measurably faster than 32-bit RaspiOS on RPi 4 e.g. with 2GB or 4GB RAM?

Are there any outstanding/major risks with 64-bit RaspiOS that field communities need to watch for?

@georgejhunt
Copy link
Contributor

georgejhunt commented Nov 6, 2020 via email

@holta
Copy link
Member Author

holta commented Nov 6, 2020

Other Data Points — Kolibri MEDIUM-sized IIAB on 64-bit RaspiOS Lite on RPi 4 w/ 4GB RAM [*] took...

  • 53 seconds (avg) to reboot when kolibri.service was enabled (4 tries, 45-to-61 seconds)
  • 38 seconds (avg) to reboot when kolibri.service was disabled (4 tries, 37-to-41 seconds)

...measured up to the point where RaspiOS's login prompt appeared on the attached screen.

[*} and a large microSD card full of content.

@holta holta changed the title Test IIAB 7.2 on 64-bit Raspbian (renamed to Raspberry Pi OS / RaspiOS) as this becomes more established? Test IIAB 7.2 on 64-bit Raspbian (renamed to Raspberry Pi OS / RaspiOS) as this becomes more established? [UH-OH: WiFi firmware 7.45.0.18 not quite compatible] Nov 6, 2020
@holta
Copy link
Member Author

holta commented Nov 6, 2020

WiFi firmware 7.45.18.0 (for 32 simultaneous WiFi devices) acts unstably on this OS. It "works" (sort of) but pages generally take 1-2min to load even when the WiFi connection doesn't drop.

Android 11 clients seem to figure out that the WiFi connection is wholly inadequate, and intentionally drop the WiFi connection within a few minutes. Windows and Ubuntu WiFi client devices (2 laptops attempted) seem to try to keep the WiFi connection alive, even when...maybe they shouldn't!

This means 64-bit RaspiOS likely cannot be used in most classroom and school-like environments.

The jury is out on other 64-bit OS's for RPi like Ubuntu 20.04.1 and 20.10 but it might not look good :/

Schools will have to stick with 32-bit OS's in most cases it appears. I've added a quick/cautionary note in the top-left of Table 1 here: #823 (comment) (and some idle gossip about Cypress firmware 7.45.221 just released 2020-09-25 for those running tiny kiosks... i.e. those not needing more than about 4-6 simultaneous WiFi client devices).

@holta
Copy link
Member Author

holta commented Nov 7, 2020

I forgot to mention that wifi firmware 7.45.18.0 tricks you in the 1st-minute-or-few before it goes haywire (on 64-bit RaspiOS).

It's best to click on a lot of different content (actual, installed content) on IIAB's main page (http://box or http://box.lan) so that the WiFi slowness failure[*] is quickly induced usually within 1-or-2 minutes.

[*] or complete WiFi drop, e.g. if client is Android 11.

Video-intensive pages like http://box/kiwix/teded_en_all_2020-06/ would seem to help induce the failure mode even more quickly maybe/possibly ?

@holta holta changed the title Test IIAB 7.2 on 64-bit Raspbian (renamed to Raspberry Pi OS / RaspiOS) as this becomes more established? [UH-OH: WiFi firmware 7.45.0.18 not quite compatible] Test IIAB 7.2 on 64-bit Raspbian (renamed to Raspberry Pi OS / RaspiOS) as this becomes more established? [UH-OH: WiFi firmware 7.45.18.0 not quite compatible] Nov 9, 2020
@jvonau
Copy link
Contributor

jvonau commented Nov 9, 2020

There are testing users who don't care if the WiFi hotspot is functioning, the successful install reports returned may not be complete in testing coverage as one may think. I suggest re-evaluation of the universal use with wifi_hotspot_capacity_rpi_fix: True in local_vars.yml in use since 09cdf28. The "fix" has now demonstrated not to be universal, had I thought you were going to go against my wishes to have the rollback to be voluntarily and opt-in, I would never of written the code to begin with. Let the end-user chose to be part of the experimental testing as this operation is currently one way and hard for the end-user to recover from the change. Lets see what 2624 brings to light but being able to perform back-2-back comparisons being an opt-in, the way I envisioned is a pile easier when evaluating while not intruding into other use cases that don't require 32-clients on the WiFi AP or prefer the newest firmware for other valid reasons.

@holta holta changed the title Test IIAB 7.2 on 64-bit Raspbian (renamed to Raspberry Pi OS / RaspiOS) as this becomes more established? [UH-OH: WiFi firmware 7.45.18.0 not quite compatible] Test IIAB 7.2 on 64-bit Raspbian (renamed to Raspberry Pi OS / RaspiOS) as this becomes more established? [UH-OH: WiFi firmware 7.45.18.0 not quite compatible; will a new kernel help?] Nov 29, 2020
@holta holta modified the milestones: 7.2, 8.0 Apr 18, 2021
@jvonau
Copy link
Contributor

jvonau commented Apr 23, 2021

#2739 or close this one in favor of 2748

@holta holta modified the milestones: 8.0, 7.2 Apr 23, 2021
@holta
Copy link
Member Author

holta commented May 21, 2021

This appears largely resolved since 2020. The WiFi hotspot now appears to work well with WiFi firmware 7.45.18.0 on both 64-bit versions of RaspiOS on RPi 4.

Please move followup discussion to #2748.

@holta holta closed this as completed May 21, 2021
@holta
Copy link
Member Author

holta commented Mar 11, 2022

@holta holta changed the title Test IIAB 7.2 on 64-bit Raspbian (renamed to Raspberry Pi OS / RaspiOS) as this becomes more established? [UH-OH: WiFi firmware 7.45.18.0 not quite compatible; will a new kernel help?] Test IIAB 7.2 on 64-bit Raspbian (renamed to Raspberry Pi OS / RaspiOS) as this becomes more established? [UH-OH: WiFi firmware 7.45.18.0 not quite compatible; will a new kernel help?] [64-bit RasPiOS Bullseye allows for Calibre 5.12] Mar 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants