Troubleshooting New Kernel Image
#1
I'm having great fun dorking around with the Pinebook Pro, I haven't recompiled the Linux kernel since about 2005 or so, so it's been a while. It's great fun to try and get everything up to speed, I appreciate all the work that went into this project.

So far, I have gotten the 

- firmware updates (trackpad)
- default image updates from MrFixit
- package updates from the Debian repo
- all the other password changes, directory renames, etc

Then, of course, more dorking around. I recompiled the kernel on my x86 laptop, to enable DM_CRYPT kernel so I could encrypt my home directly with LUKS, encrypted the SD card I had installed and was finally able to create the filesystem then mount under LUKS. 

After several reboots fiddling with the /etc/crypttab and /etc/fstab the Pinebook does not boot. I dont get to the splash screen, I have read in the wiki that I should reset the motherboard so I have ordered a very small screwdriver set from Amazon to reset it. 

It has booted one time after I let it be for about 5 minutes awaiting the splash screen, which makes me believe I have some type of connector issue. After all, a faulty kernel wouldn't boot after any length of time. I guess without some type of on-screen message I am really looking for some more advanced troubleshooting techniques?

T
  Reply
#2
(01-15-2020, 07:06 PM)wsgts Wrote: It has booted one time after I let it be for about 5 minutes awaiting the splash screen, which makes me believe I have some type of connector issue. After all, a faulty kernel wouldn't boot after any length of time. I guess without some type of on-screen message I am really looking for some more advanced troubleshooting techniques?

That sounds like it might be a known bootloader problem - see the "Hacks" section here.  Can you boot it by adding maxcpus=4 to the kernel boot line?
  Reply
#3
I don't think it is quite time to break out the screwdriver.

It is true there are ways that you *can* destroy the bootloader (which currently is on the eMMC) and that would need a screwdriver to fix but it shouldn't happen when you are playing about with the kernel. One useful clue is the power light... if the power light still works then the bootloader is starting up!

Assuming the power light is working then try burning the mrfixit image to an SD card and the bootloader should "prefer" the (working) SD card over booting from (broken) eMMC. With luck that should give you a working OS from which to repair things...

Good luck!
PineTime: wasp-os and MicroPython, Pinebook Pro:  Debian Bullseye
  Reply
#4
Danielt,

Yeap, you are right, that was it. No hardware problems, but rather a problem with the image I somehow messed it up. Interestingly enough, I installed the old kernels back to the original locations (copied the .bak back over), and it didn't fix the issue. Thinking I messed up something in the fstab or crypttab. Fun to mess around with.

The key information is that if I get the green activity light then the bootloader is working. I am more accustomed to a debug message of some kind.

I did use your Debian installer (thanks for that) and was able to get Debian onto the eMMC device with the dead Firefox install, but was able to install a backport and get that working ok. Appreciate your effort here!

T
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Compile of Anbox fails because kernel function kallsyms_lookup_name() is unexported Tsvi Bar-David 6 233 06-30-2020, 06:41 AM
Last Post: tophneal
  Can't boot up Manjaro 20.04 eMMc image from SD card... rick1959 25 705 06-23-2020, 07:27 PM
Last Post: nathanielwheeler
  eMMC frequently not found by Linux kernel (especially on low battery) v-man 7 408 06-21-2020, 04:30 PM
Last Post: Arwen
  A true mainline Linux Kernel for the Pinebook Pro tsys 148 25,001 06-16-2020, 03:13 PM
Last Post: xmixahlx
  Reinstalling factory debian image ippl3 2 188 06-15-2020, 08:02 AM
Last Post: ippl3
  How does one get working deep/S3 sleep with Ubuntu Focal/5.7 mainline kernel? Syonyk 6 345 06-14-2020, 10:36 PM
Last Post: Syonyk
  postmarketOS/Alpine edge image for the Pinebook Pro MartijnBraam 57 7,723 06-13-2020, 08:53 AM
Last Post: matosys
  mainline kernel hardware acceleration xmixahlx 33 5,480 06-11-2020, 10:41 AM
Last Post: xmixahlx
  Pinebook Pro Temps? 65C while playing music via youtube w nothing but a static image jazzmans 5 377 06-05-2020, 06:11 PM
Last Post: goda90
  Slow WiFi on Manjaro Default Image 20.04 for PBP SuperUJ 8 502 05-28-2020, 08:16 PM
Last Post: nekojet

Forum Jump:


Users browsing this thread: 1 Guest(s)