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!
  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
  postmarketOS/Alpine edge image for the Pinebook Pro MartijnBraam 3 270 6 hours ago
Last Post: anjanmomi
  Kernel headers for stock Debian image fader 0 23 Yesterday, 10:35 AM
Last Post: fader
  A true mainline Linux Kernel for the Pinebook Pro tsys 90 10,123 01-16-2020, 03:11 PM
Last Post: theotherjimmy
  Bricked PBP after writing image to eMMC? wvdschel 19 887 12-13-2019, 10:46 AM
Last Post: tophneal
  Debian ARMv7 Multiplatform, Linux Kernel Support? u974615 5 554 12-09-2019, 01:31 PM
Last Post: u974615
Wink Re-image Help *facepalm* xircledev 2 287 11-24-2019, 04:16 AM
Last Post: Arglebargle
  The default OS / kernel had a wifi issue? dawncold 14 725 11-23-2019, 04:53 PM
Last Post: Arwen
  Debos (debian style os image creator) mfritsche 0 97 11-12-2019, 04:28 AM
Last Post: mfritsche
  Booting with default debian image mfritsche 15 799 11-11-2019, 06:50 AM
Last Post: mfritsche
  Which Kernel Version? jaylittle 10 1,311 09-16-2019, 08:03 AM
Last Post: tophneal

Forum Jump:


Users browsing this thread: 1 Guest(s)