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
#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?
#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
#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


Possibly Related Threads…
Thread Author Replies Views Last Post
  What's a good image to use now? [tutorial help as well] frank_philip 7 397 12-18-2024, 05:08 PM
Last Post: Dendrocalamus64
  Pinebook Pro upgrading from the factory image yamsoup 12 4,650 02-22-2024, 04:02 PM
Last Post: tllim
  How to mainline kernel on daniel thompson's debian installer? hellojack 14 10,255 09-07-2023, 09:38 PM
Last Post: Der Geist der Maschine
  kernel module that supports usb-c hdmi alexandre 16 17,621 05-14-2023, 09:58 PM
Last Post: rathofkhan3
Question Debian (Vanilla) no output on display after Kernel update (6.0.8-1) as365n4 1 1,737 12-09-2022, 12:43 PM
Last Post: as365n4
  postmarketOS/Alpine edge image for the Pinebook Pro MartijnBraam 74 133,271 08-24-2022, 02:06 PM
Last Post: petersen77
  Troubleshooting Kmail not opening on monjaro jcarty 0 965 05-02-2022, 06:34 AM
Last Post: jcarty
  bootloader menu to pick a kernel - what is the current situation in in early 2022? maxtothemax 4 3,944 02-05-2022, 03:04 PM
Last Post: maxtothemax
  Kernel panics solostian 17 17,398 01-26-2022, 08:08 AM
Last Post: TRS-80
  Kernel 5.17 will improve VP9 support? jiyong 1 2,638 01-16-2022, 08:26 PM
Last Post: xmixahlx

Forum Jump:


Users browsing this thread: 1 Guest(s)