You are not logged in.

#1 2012-11-22 17:04:59

Linpandro
Member
Registered: 2012-10-03
Posts: 25

Custom kernel frozen in loading initramfs

I compile my own kernel using the traditional method:
https://wiki.archlinux.org/index.php/Ke … raditional

But still can not get to boot the new kernel.
I try to start with the new kernel, but freezes on loading initramfs.
The strange thing is that I get no kernel panic.
This is my kernel configuration:
http://paste.debian.net/211561/

Any idea?

Offline

#2 2012-11-23 20:57:39

Linpandro
Member
Registered: 2012-10-03
Posts: 25

Re: Custom kernel frozen in loading initramfs

Any idea?
I'm looking for on the topic, but still can not find anything.

Offline

#3 2012-11-27 23:47:32

Linpandro
Member
Registered: 2012-10-03
Posts: 25

Re: Custom kernel frozen in loading initramfs

Ideas?

Offline

#4 2012-11-27 23:55:29

2ManyDogs
Member
Registered: 2012-01-15
Posts: 1,669

Re: Custom kernel frozen in loading initramfs

https://wiki.archlinux.org/index.php/Fo … te#Bumping

Bumping

Posting a single word or useless message (bumping) to attract attention to your thread is not allowed. Do your own research, continue to troubleshoot, post the results, and be patient with the community. If people are reading your thread without answering or offering help, you may try supplying more details, or ask to be pointed in the right direction. Often, the reason for posts remaining unanswered is due in large part to the sparse details in the original post itself, or, the obvious availability of solutions in the wiki, on the forum or on the web, and the community's unwillingness to point out the obvious.

Offline

#5 2012-11-28 00:08:28

Trilby
Forum Moderator
From: Massachusetts, USA
Registered: 2011-11-29
Posts: 13,804
Website

Re: Custom kernel frozen in loading initramfs

One idea would be to post the actual error messages or output you do get.


InterrobangSlider
• How's my coding? See this page.
• How's my moderating? Feel free to email any concerns, complaints, or objections.

Offline

#6 2012-11-28 00:51:54

Max-P
Member
Registered: 2011-06-11
Posts: 164

Re: Custom kernel frozen in loading initramfs

What's the kernel command line you use? Post your bootloader config (Grub/syslinux) from /boot/.

Are you sure you are booting the custom kernel with the custom initramfs that comes with it?

Offline

#7 2012-11-28 01:37:59

Linpandro
Member
Registered: 2012-10-03
Posts: 25

Re: Custom kernel frozen in loading initramfs

Trilby wrote:

One idea would be to post the actual error messages or output you do get.

This is obvious, but I get no error message.
I select the entry for the new kernel and shows me the message:
loading initramfs

And there it freezes, and it does not appear any error message, Just do not load continuous kernel.

@Max-P:
I use make menuconfig, you mean that?
These are the entries that use the grub:

menuentry 'Arch GNU/Linux, with Linux core repo kernel' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-true-802dacb3-1699-4dea-863c-a0c653fbb66d' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos6'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6  802dacb3-1699-4dea-863c-a0c653fbb66d
	else
	  search --no-floppy --fs-uuid --set=root 802dacb3-1699-4dea-863c-a0c653fbb66d
	fi
	echo	'Loading Linux core repo kernel ...'
	linux	/boot/vmlinuz-linux root=UUID=802dacb3-1699-4dea-863c-a0c653fbb66d ro  
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initramfs-linux.img
}

And my custom kernel:

menuentry 'Arch GNU/Linux, with Linux kernel' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-kernel-true-802dacb3-1699-4dea-863c-a0c653fbb66d' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos6'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6  802dacb3-1699-4dea-863c-a0c653fbb66d
	else
	  search --no-floppy --fs-uuid --set=root 802dacb3-1699-4dea-863c-a0c653fbb66d
	fi
	echo	'Loading Linux kernel ...'
	linux	/boot/vmlinuz-kernel root=UUID=802dacb3-1699-4dea-863c-a0c653fbb66d ro  
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initramfs-kernel.img
}

The entry for the custom kernel was created automatically with os-prober.
In the kernel I add support for initramfs:

General setup  --->
    [*] Initial RAM filesystem and RAM disk (initramfs/initrd) support

Offline

#8 2012-11-28 01:56:43

Trilby
Forum Moderator
From: Massachusetts, USA
Registered: 2011-11-29
Posts: 13,804
Website

Re: Custom kernel frozen in loading initramfs

Have you tried regenerating the initramfs from a chroot?


InterrobangSlider
• How's my coding? See this page.
• How's my moderating? Feel free to email any concerns, complaints, or objections.

Offline

#9 2012-11-28 14:57:51

Linpandro
Member
Registered: 2012-10-03
Posts: 25

Re: Custom kernel frozen in loading initramfs

of course, I've tried several times, but always the same problem.
Initramfs loading freezes and there is no error message .. hmm

Offline

Board footer

Powered by FluxBB