Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
system boot stops at init-early.sh and hangs there
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
alecjw
n00b
n00b


Joined: 27 Mar 2010
Posts: 41
Location: Hertfordshire, UK

PostPosted: Sun May 29, 2011 10:34 am    Post subject: Reply with quote

That sorted it. Thanks!
_________________
ACTA is a war on your digital freedom
Back to top
View user's profile Send private message
spindle
Apprentice
Apprentice


Joined: 01 Dec 2003
Posts: 245

PostPosted: Sun May 29, 2011 6:20 pm    Post subject: Reply with quote

alecjw wrote:
That sorted it. Thanks!


This worked for me as well. It is strange that I don't need this enabled on my other box though. But this one is x86 2.6.37-r4 while the other one is amd64 2.6.38-r6
Back to top
View user's profile Send private message
ghutzl
Tux's lil' helper
Tux's lil' helper


Joined: 29 May 2005
Posts: 123
Location: Germany

PostPosted: Sun May 29, 2011 7:24 pm    Post subject: Reply with quote

I guess the problem is related to this bug:

https://bugs.gentoo.org/show_bug.cgi?id=368597

I think there are missing device nodes in the lates stage3 tarball.
Back to top
View user's profile Send private message
dman777
Veteran
Veteran


Joined: 10 Jan 2007
Posts: 1004

PostPosted: Sun Jun 05, 2011 6:20 am    Post subject: Reply with quote

I am having this problem. I am using hardened 2.6.37.rc7(if I remember correctly). Both DEVTMPFS are DEVTMPFS_MOUNT are enabled. I was running a non multi library and did not have this problem. Then I reformatted my root system and installed a hardened multi library, and that is when switch_root gets stuck at init-early.sh with greatest stack depth messages. I'm using my old .config and the same kernel, so everything is the same(except for multi library).
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Sun Jun 05, 2011 7:56 am    Post subject: Reply with quote

https://forums.gentoo.org/viewtopic-t-880149.html making nodes preferred over tmpfs
_________________
Defund the FCC.
Back to top
View user's profile Send private message
dman777
Veteran
Veteran


Joined: 10 Jan 2007
Posts: 1004

PostPosted: Sun Jun 05, 2011 8:42 pm    Post subject: Reply with quote

after 4 days of useless trouble shooting and pain, thanks.

I think it's important to point out it's ok to use devtmpfs(which uses tempfs). the problem was with udev not starting...which is supposed to takes over(not sure overlap would be the correct term) the /dev previously populated by the kernel after switch_root.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Sun Jun 05, 2011 8:45 pm    Post subject: Reply with quote

Code:
 udev not starting
did you find out why it was not starting?
_________________
Defund the FCC.
Back to top
View user's profile Send private message
keenblade
Veteran
Veteran


Joined: 03 Oct 2004
Posts: 1087

PostPosted: Sun Jun 05, 2011 10:09 pm    Post subject: Reply with quote

DONAHUE wrote:
https://forums.gentoo.org/viewtopic-t-880149.html making nodes preferred over tmpfs

I think it is not preferred over tmpfs, but to fix nodes problem in stage tarballs. Since we experienced the problem with a working gentoo install with correct nodes. This is the problem with the new kernels like 2.6.39. The nodes problem is another issue regardless of kernel version, I guess.
_________________
Anyway it's all the same at the end...
Need help to get it working: "x-fi surround 5.1"
Back to top
View user's profile Send private message
Hacksaw116
n00b
n00b


Joined: 12 Oct 2007
Posts: 15
Location: California, USA

PostPosted: Mon Jun 06, 2011 2:50 am    Post subject: Reply with quote

alecjw wrote:
I had DEVTMPFS enabled, but not DEVTMPFS_MOUNT. recompiling now.


Same thread related issue here, and when I enabled DEVTMPFS and DEVTMPFS_MOUNT together it worked fine!
_________________
/-= Hacksaw116 =-\
Back to top
View user's profile Send private message
dman777
Veteran
Veteran


Joined: 10 Jan 2007
Posts: 1004

PostPosted: Tue Jun 07, 2011 3:21 am    Post subject: Reply with quote

DONAHUE wrote:
Code:
 udev not starting
did you find out why it was not starting?


ya, the old openrc used to start udev(from what i read)...new one doesn't. so after manually deleting null and creating the 3 static nodes in /dev, i had to have sysvinit start it. i just created a softlink rather than used rc-update.


Last edited by dman777 on Tue Jun 07, 2011 3:24 am; edited 1 time in total
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Tue Jun 07, 2011 3:24 am    Post subject: Reply with quote

thks
_________________
Defund the FCC.
Back to top
View user's profile Send private message
maxime1986
n00b
n00b


Joined: 23 Oct 2009
Posts: 74

PostPosted: Mon Jan 07, 2013 7:37 pm    Post subject: Reply with quote

For those who might encounter the same problem.
See the requirement section of the udev readme, it liste the required kernel options you have to enable/disable.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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