Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel Hangs at Loading
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3684
Location: Hamburg

PostPosted: Wed Jan 03, 2018 11:26 am    Post subject: Re: Kernel Hangs at Loading Reply with quote

jyoung wrote:
I've tried numerous kernel options (make oldconfig from the working kernel's config, genkernel, etc.), but the result is the same.
I made really good experiences in the past few years especially at my headless server to run "make distclean; make defconfig; make menuconfig" (the later to compile in the file system you need for / and /boot and to choose the right network card). If that kernel boots, then you can strip down the .config to the desired one. And for a quick test of your kernel .config wrt to modularization - you could deactivate that option and all "m" will be an "y" then.
Back to top
View user's profile Send private message
jyoung
Apprentice
Apprentice


Joined: 20 Mar 2007
Posts: 206

PostPosted: Thu Jan 04, 2018 5:42 pm    Post subject: Reply with quote

I've made the following alterations:

Code:

CONFIG_HOTPLUG_PCI_SHPC=y
CONFIG_MFD_INTEL_LPSS=y
CONFIG_MFD_INTEL_LPSS_ACPI=y
CONFIG_MFD_INTEL_LPSS_PCI=y


No change, though. Do you think that I should deactivate all the options under Frame Buffer devices except CONFIG_FB_EFI and related items?

And the other question, yes, this is a tablet so I actually do use portrait mode quite a lot.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43178
Location: 56N 3W

PostPosted: Thu Jan 04, 2018 6:43 pm    Post subject: Reply with quote

jyoung,

Tablet, as in System on a Chip (Soc) tablet?

Please tell more about the hardware, the make and model.
Simple framebuffer and EFI framebuffer are harmless.
So yes, the others should be off but as they are loadable modules, they can't be loaded until root is mounted, unless you have an initrd, and root is not being mounted as far as we can tell.
The inference is that that's not your problem yet.

The very early kernel messages can't use the framebuffer as its still compressed (or being decompressed) as the kernel starts.

SoC hardware often uses the I2C bus for all sorts of setup too.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
jyoung
Apprentice
Apprentice


Joined: 20 Mar 2007
Posts: 206

PostPosted: Sat Jan 13, 2018 10:12 pm    Post subject: Reply with quote

Hi,

It's a surface pro 4 with a core i5 processor. My understanding is that to be Soc tablet, other devices (like the wifi adapter and the video card) would have to be on the same chip, which I don't think is the case. I they appear as distinct devices with lspci, although I suppose that might not be a mutually exclusive statement.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43178
Location: 56N 3W

PostPosted: Sun Jan 14, 2018 11:42 am    Post subject: Reply with quote

jyoung,

The Wifi is likely to be a physically separate unit because of regulatory issues.
It makes it easy to change from one regulatory domain to another.

The video will be on the same piece of silicon as the CPU. it will still show up in lspci as being on a PCI bus because it is :)
Everything else that does not need to be localised for assorted regulations will be on the SoC silicon too.

Your lspci won't have changed. Please pastebin your current kernel .config again.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7071

PostPosted: Sun Jan 14, 2018 2:12 pm    Post subject: Reply with quote

You keep saying grub, but the config entry you show is aiming grub:2 and not grub:0
I'm not using it myself, but saw plenty times grub:2 strength comes from loading proper modules to handle an option...

Maybe you didn't just properly setup grub:2 to use any modules, and loading a kernel from ext4 may need proper ext4 support in grub:2 prior grub:2 is able to read anything from an ext4 partition...

from this https://wiki.gentoo.org/wiki/GRUB2#Chainloading you can see even a simple chainloading need grub:2 to have the proper "insmod part_msdos insmod chainload" modules set. Which also show that even the common msdos partition type is unknown to grub:2 if you don't use the part_msdos module.

And i think you might use your old kernels with proper grub:2 entry set, and you may keep trying to kick off your "test" kernels from a maybe "not valid" grub entry.
Which lead to grub:2 unable to use the kernel you are telling it to kick off.

I would expect grub:2 to throw you an error, but as i say, i'm not using grub:2 and don't know how it react.
So if we only take your error: it's after loading kernel, but prior seeing uncompressing ...
It's logical that if grub has to say something, it must say it prior grub is no more running, so it mean "saying Loading kernel" before actually really loading the kernel. Using the same logic, kernel must be running prior to be able to say anything.

You keep assuming kernel is in trouble because kernel is loaded, while kernel may not be loaded, and your assumption is only base on the fact you see grub saying "loading the kernel".
Back to top
View user's profile Send private message
jyoung
Apprentice
Apprentice


Joined: 20 Mar 2007
Posts: 206

PostPosted: Mon Feb 12, 2018 7:23 pm    Post subject: Reply with quote

Hi Folks,

Sorry I've been so quiet. This particular computer is used for work, and I haven't been able to mess around with the kernel and such...

For the time being, I'm going to have to let this project rest.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum