An unofficial Debian Installer for Pinebook Pro
(02-25-2020, 12:53 PM)carletes Wrote: Thanks for your work on this, danielt! I'm happily running Debian Buster now off a microSD card.

Question regarding the `bootloader` Git submodule: It is now pointing to mrfixit2001's branch v1.5, which is not the latest available. Did you choose that branch for any particular reason? I created my microSD card using branch v1.9 (by manually checking it out, and commenting out the `git submodule update --init` command in the install script) and everything seems to be working just fine.

Hmm, I've tried installing v2.0 and can report happy results - while booting with all six cores enabled still takes some extra time, it is now almost an order of magnitude faster than before with v1.5.
Hi there,
I've got up-to-date installation on my eMMC:

root@joyce> uname -a
Linux joyce.n1.pinyon.org 5.5.0-1-pinebookpro-arm64 #1 SMP PREEMPT Sat Feb 22 17:10:06 UTC 2020 aarch64 GNU/Linux

I few weeks ago I futzed around with a variety of window managers because my 25 year partner, FVWM, is just too slow.  I settled on MATE.  Looks pretty good, but somehow X stopped working.  The current error in /var/log/Xorg.1.log is:

[  1513.672] (II) event1  - gpio-keys: device is a switch device
[  1515.715] (EE)
[  1515.715] (EE) Backtrace:
[  1515.715] (EE) 0: /usr/lib/xorg/Xorg (OsLookupColor+0x188) [0xaaaacc1288a0]
[  1515.716] (EE) unw_get_proc_info failed: no unwind info found [-10]
[  1515.716] (EE)
[  1515.716] (EE) Segmentation fault at address 0xaadad44f3ba8
[  1515.716] (EE)
Fatal server error:
[  1515.716] (EE) Caught signal 11 (Segmentation fault). Server aborting
[  1515.716] (EE)
[  1515.716] (EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
[  1515.716] (EE) Please also check the log file at "/var/log/Xorg.1.log" for ad
ditional information.
[  1515.716] (EE)
[  1515.716] (II) AIGLX: Suspending AIGLX clients for VT switch
[  1515.742] (EE) Server terminated with error (1). Closing log file.

This is root running 'startx'.

As you can see from the timestamp it actually gets really far.  The full MATE desktop
is visible for about 1s before crashing.  When I was exploring window managers
I did quite a bit of inadvertant uninstalls of lower level X/gl/mesa sorts of packages,
but I have been extremely diligant about searching for  something missing, or a conflict, and I can't find it.

So I am hoping someone has an idea.

Thanks!

So after post I discovered the topic "mesa-git build script for latest panfrost", ran the script, and ran startx and up came the desktop.

https://forum.pine64.org/showthread.php?tid=8953

Hooray!
glad mesa-git works for you.

regarding WM/DM, give xfce4, ice wm and sway a try. i primarily use sway and it is imho the best experience on pbp.
(02-27-2020, 10:05 PM)moonwalkers Wrote:
(02-25-2020, 12:53 PM)carletes Wrote: Thanks for your work on this, danielt! I'm happily running Debian Buster now off a microSD card.

Question regarding the `bootloader` Git submodule: It is now pointing to mrfixit2001's branch v1.5, which is not the latest available. Did you choose that branch for any particular reason? I created my microSD card using branch v1.9 (by manually checking it out, and commenting out the `git submodule update --init` command in the install script) and everything seems to be working just fine.

Hmm, I've tried installing v2.0 and can report happy results - while booting with all six cores enabled still takes some extra time, it is now almost an order of magnitude faster than before with v1.5.

Thanks for the feedback.

I haven't experimented with removing the maxcpus= workaround yet but I have updated to v2.0 in the latest (2020-03-02) release. See first post for other changes.
PineTime: wasp-os and MicroPython, Pinebook Pro:  Debian Bullseye
(02-25-2020, 04:56 AM)FeMike Wrote: After the initial set up I wanted to create a root account so it is like my factory Debian. In a terminal I created it by using ($ passwd root) gave it a password and confirmed that it worked by switching accounts in terminal with ($ su root). When I log out of the DE then relogin and this time select different user it won't accept my password for root but it works while in terminal. Did I set this up incorrectly? Also I noticed that when in terminal as normal user I have to click the x in the top right corner to close terminal but while using root in terminal as soon as my mouse hovers over the x to close, it automatically logs out of DE causing me to sign back in. I'm still noobish but that doesn't seem right. Does this happen to anyone else?

If your graphical login is via GDM, then there are GDM policies with PAM restrictions that deliberately block a root login to full X/Wayland sessions. This is normal, and good - it discourages the *nix "worst practice" of general user operations by root.

If you must have a root desktop - and they do sometimes have utility - there are 2 things to do on Debian 10:
1 — Edit (as root/sudo) /etc/gdm3/daemon.conf. In the section for security add the stanza:

Code:
[security]
AllowRoot=true

2 — Edit (as root/sudo) /etc/pam.d/gdm-password”. Comment out the line containing “auth required pam_succeed_if.so user != root quiet_success”:

Code:
# auth required pam_succeed_if.so user != root quiet_successSave the file and exit.


This is more or less the same for Ubuntu and other Debian derivatives. Probably also Manjaro, etc. as I can't see that their different packagers would much deviate for PAM policies, etc.
— Jeremiah Cornelius
"Be the first person not to do some­thing, that no one has thought of not doing before’’
— Brian Eno, "Oblique Strategies"
(03-02-2020, 12:57 PM)Jeremiah Cornelius Wrote:
(02-25-2020, 04:56 AM)FeMike Wrote: After the initial set up I wanted to create a root account so it is like my factory Debian. In a terminal I created it by using ($ passwd root) gave it a password and confirmed that it worked by switching accounts in terminal with ($ su root). When I log out of the DE then relogin and this time select different user it won't accept my password for root but it works while in terminal. Did I set this up incorrectly? Also I noticed that when in terminal as normal user I have to click the x in the top right corner to close terminal but while using root in terminal as soon as my mouse hovers over the x to close, it automatically logs out of DE causing me to sign back in. I'm still noobish but that doesn't seem right. Does this happen to anyone else?

If your graphical login is via GDM, then there are GDM policies with PAM restrictions that deliberately block a root login to full X/Wayland sessions. This is normal, and good - it discourages the *nix "worst practice" of general user operations by root.

If you must have a root desktop - and they do sometimes have utility - there are 2 things to do on Debian 10:
1 — Edit (as root/sudo) /etc/gdm3/daemon.conf. In the section for security add the stanza:

Code:
[security]
AllowRoot=true

2 — Edit (as root/sudo) /etc/pam.d/gdm-password”. Comment out the line containing “auth required pam_succeed_if.so user != root quiet_success”:

Code:
# auth required pam_succeed_if.so user != root quiet_successSave the file and exit.


This is more or less the same for Ubuntu and other Debian derivatives. Probably also Manjaro, etc. as I can't see that their different packagers would much deviate for PAM policies, etc.

Thank you you've been most helpful.
(03-03-2020, 11:34 AM)FeMike Wrote: Thank you you've been most helpful.

Gladly!
— Jeremiah Cornelius
"Be the first person not to do some­thing, that no one has thought of not doing before’’
— Brian Eno, "Oblique Strategies"
(03-02-2020, 08:41 AM)danielt Wrote: Thanks for the feedback.

I haven't experimented with removing the maxcpus= workaround yet but I have updated to v2.0 in the latest (2020-03-02) release. See first post for other changes.

Speaking of the hedgehogs - the new 5.5 kernel build is the first one I've seen to panic on PBP. I haven't yet been able to figure out what triggers the panic, but it seems to be more likely to happen when I just leave the laptop alone to eventually fall asleep. Can't provide much details about the panic itself either - I got the USB-to-UART cable only yesterday and haven't had time to play around with it yet.
(03-02-2020, 08:41 AM)danielt Wrote: I haven't experimented with removing the maxcpus= workaround yet but I have updated to v2.0 in the latest (2020-03-02) release. See first post for other changes.

After running v2.0 with your 5.5-1 build for a while I can say that without maxcpus= workaround it takes between 10 and 15 seconds for me to see screen come to life after pressing power button. If the price of not having workarounds with nasty security implications is a mere 10 seconds of extra boot time I'm perfectly fine with paying it.
(03-07-2020, 12:00 AM)moonwalkers Wrote:
(03-02-2020, 08:41 AM)danielt Wrote: I haven't experimented with removing the maxcpus= workaround yet but I have updated to v2.0 in the latest (2020-03-02) release. See first post for other changes.

After running v2.0 with your 5.5-1 build for a while I can say that without maxcpus= workaround it takes between 10 and 15 seconds for me to see screen come to life after pressing power button. If the price of not having workarounds with nasty security implications is a mere 10 seconds of extra boot time I'm perfectly fine with paying it.

The option turned off in the v5.4 was pretty theoretic; it is designed to prevent a hostile virtualized kernel from learning at what address the host kernel had been mapped (and there would have to be another security hole in the hypervisor for that info to be useful). The security implications certainly weren't all nasty or I wouldn't have turned them off! IMHO browsing the web is a *much* more signficant security risk.

Anyhow when looking at v5.5 I realized there was another errata that I wasn't happy to disable so I force both workaround to deploy even when maxcpus=4. In other words the HARDEN_EL2_VECTORS is reenabled in v5.5 and will deploy in both cases. around the problem in a different way and all the security features are enabled again in v5.5.
PineTime: wasp-os and MicroPython, Pinebook Pro:  Debian Bullseye


Possibly Related Threads…
Thread Author Replies Views Last Post
  Pinebook pro won't boot after bootloader installation jwensouls 4 758 08-21-2024, 04:17 AM
Last Post: KC9UDX
  Official Debian support moonwalkers 64 62,485 07-08-2024, 01:40 PM
Last Post: Humid Stylus
  [Pinebook Pro/Mobian/XFCE4] can fix touch or screen in greeter not both SynthGal 0 356 05-31-2024, 09:42 AM
Last Post: SynthGal
  Debian on Pinebook Pro u974615 7 2,618 03-31-2024, 10:11 AM
Last Post: u974615
  Pinebook Pro upgrading from the factory image yamsoup 12 3,831 02-22-2024, 04:02 PM
Last Post: tllim
  Help installing Manjaro on eMMC of Pinebook Pro pine4546464 4 3,075 12-13-2023, 07:22 PM
Last Post: trillobite
  Need Help Recovering Manjaro /boot Contents on Pinebook Pro calinb 6 3,356 12-11-2023, 03:47 AM
Last Post: calinb
  Gentoo on Pinebook Pro RELEASE jannik2099 54 101,065 12-08-2023, 11:25 PM
Last Post: tllim
  Boot Order in Pinebook Pro food 8 2,501 11-23-2023, 07:37 AM
Last Post: KC9UDX
  install debian on pbp jsch 7 5,207 11-22-2023, 04:22 PM
Last Post: TRS-80

Forum Jump:


Users browsing this thread: 2 Guest(s)