You are not logged in.

#1 2014-08-13 19:46:07

steabert
Member
Registered: 2011-04-18
Posts: 78

[SOLVED] Kernel not booting, could use help with debugging

Hi,

for a while now I could not boot several linux versions (since 3.14, boot consistently fails for every version), and I thought it had to do with an outstanding UEFI bug. That bug seems to be resolved now in 3.16, but I still cannot boot, so I decided to investigate this issue closer. The kernel I _can_ currently boot is 3.10.46-1 (I'm preventing linux-lts from upgrading to 3.14.16, as that one does not boot).

I've followed the recommended ways to activate debug print levels of the kernel from the ArchWiki page Boot debugging, with the 'extreme' and 'insane' options. In both cases, the logging ends with the last line flickering (so I can't read it) and nothing further happening (I have a video of that but I guess it's too large to post anywhere).

So, currently, I'm a bit stuck. I did think of filing a kernel bug report, but they require you to select a subsystem first, and I have no clue whatsoever as to where I should report this.

thanks for any help/suggestions,
Steven

Last edited by steabert (2014-08-16 16:00:12)

Offline

#2 2014-08-14 10:24:25

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,985

Re: [SOLVED] Kernel not booting, could use help with debugging

Booting an archlinux system goes through several stages, and you don't give clues at which stage your boot fails.

Please read https://wiki.archlinux.org/index.php/Boot_process and tell us where it goes wrong.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2014-08-14 12:52:19

steabert
Member
Registered: 2011-04-18
Posts: 78

Re: [SOLVED] Kernel not booting, could use help with debugging

I boot under UEFI, gummiboot loads, I select the kernel, then I get a blank screen.
Only with the kernel parameters 'debug' and 'earlyprintk=efi' do I get any lines printed to the screen.
So, I'm guessing it hangs during the 'Kernel' stage of the page you referred me to?

The exact place where it hangs is difficult to tell, as at some point the lines that get printed to the screen
are not printed any more on a new line, but over the existing last line. The last part of the screen output reads:

...
[0.000000]  [mem 0x100000000-0x1fbffffff] page 2M
[0.000000] init_memory_mapping: [mem 0x200000000-0x21bffffff]
[0.000000]  [mem 0x200000000-0x21bffffff] page 2M
[0.000000] log_buf_len: 16777216
[0.000000] early log buf free: 479196(91%)
[0.000000] RAMDISK: [mem 0x7fcf7000-0x7fffffff]
[0.000000] ACPI: RSDP 00000000db67ef98 00024 (v02 DELL  )
[0.000000] ACPI: XSDT 00000000db67de18 00064 (v01 DELL    E2      06222004 MSFT 00010013)
...(illegible overlapping lines)...

Offline

#4 2014-08-14 13:47:30

Pse
Member
Registered: 2008-03-15
Posts: 415

Re: [SOLVED] Kernel not booting, could use help with debugging

Have you tried other bootloaders?

Offline

#5 2014-08-14 13:49:54

steabert
Member
Registered: 2011-04-18
Posts: 78

Re: [SOLVED] Kernel not booting, could use help with debugging

Pse wrote:

Have you tried other bootloaders?

I tried grub as well, with the same results: boot loaders loads fine, kernel stuck at the same place.

Offline

#6 2014-08-14 14:03:59

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: [SOLVED] Kernel not booting, could use help with debugging

Some basic h/w info would be useful. Maybe something in here could be relevant, but who would know?


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#7 2014-08-14 14:07:57

steabert
Member
Registered: 2011-04-18
Posts: 78

Re: [SOLVED] Kernel not booting, could use help with debugging

I'm getting this problem on a laptop, a Dell Latitude e4310.

Sorry for having been so terse, I already searched several specific places (Arch forum, Arch bug tracker, kernel bug tracker) for the problem and did not find anything related to this specific hardware and the problem I'm encountering.

Offline

#8 2014-08-16 10:12:41

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,985

Re: [SOLVED] Kernel not booting, could use help with debugging

Steabert,

Have you tried booting into a live environment like that of the arch install isos ?

If not, please try multiple releases of the arch install isos.

While they do use kernels that don't work on your installed system, they use other methods to boot the system that tend to be very reliable
(though difficult to setup yourself i think).


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#9 2014-08-16 11:13:37

steabert
Member
Registered: 2011-04-18
Posts: 78

Re: [SOLVED] Kernel not booting, could use help with debugging

Lone_Wolf wrote:

Have you tried booting into a live environment like that of the arch install isos ?

If not, please try multiple releases of the arch install isos.

Thanks for this great suggestion, didn't think of it myself.

I tried the most recent arch iso (from first of august) and that one fails to boot too (linux 3.15.7).
However, if I choose 'Legacy' boot for the USB device from the boot menu (I guess this is BIOS) instead of UEFI, the kernel boots fine.
So, I guess this must still be some kind of issue with UEFI, either with the firmware or the kernel?

Offline

#10 2014-08-16 11:48:12

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,985

Re: [SOLVED] Kernel not booting, could use help with debugging

Yes, it looks more and more like an UEFI related issue.

Most UEFI firmwares have an option to boot with a Compatibility Support Module .
The CSM tries to make OSes see standard BIOS devices instead of UEFI devices.

Is your system running latest uefi firmware ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#11 2014-08-16 15:58:51

steabert
Member
Registered: 2011-04-18
Posts: 78

Re: [SOLVED] Kernel not booting, could use help with debugging

Lone_Wolf wrote:

Is your system running latest uefi firmware ?

Turns out that was the problem, I was way behind with firmware updates. Thanks for the swift analysis which pointed me to the correct solution! I feel a bit stupid that I didn't check for more recent firmware updates earlier.

In case anyone else runs into this for a Dell Latitude E4310 and want to update the firmware, here is a short summary of what I did:

  • I used FreeDOS to update the firmware based on instructions here, for images that are too large for a floppy.

  • Downloaded the A07, A09, and A14 updated from here.

  • Since the updates are about 5M in size, I could only copy one of them onto the image, so I proceded in steps with one update at a time.

Offline

Board footer

Powered by FluxBB