View previous topic :: View next topic |
Author |
Message |
alecjw n00b
Joined: 27 Mar 2010 Posts: 41 Location: Hertfordshire, UK
|
|
Back to top |
|
|
spindle Apprentice
Joined: 01 Dec 2003 Posts: 245
|
Posted: Sun May 29, 2011 6:20 pm Post subject: |
|
|
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 |
|
|
ghutzl Tux's lil' helper
Joined: 29 May 2005 Posts: 123 Location: Germany
|
|
Back to top |
|
|
dman777 Veteran
Joined: 10 Jan 2007 Posts: 1004
|
Posted: Sun Jun 05, 2011 6:20 am Post subject: |
|
|
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 |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
|
Back to top |
|
|
dman777 Veteran
Joined: 10 Jan 2007 Posts: 1004
|
Posted: Sun Jun 05, 2011 8:42 pm Post subject: |
|
|
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 |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Sun Jun 05, 2011 8:45 pm Post subject: |
|
|
did you find out why it was not starting? _________________ Defund the FCC. |
|
Back to top |
|
|
keenblade Veteran
Joined: 03 Oct 2004 Posts: 1087
|
Posted: Sun Jun 05, 2011 10:09 pm Post subject: |
|
|
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 |
|
|
Hacksaw116 n00b
Joined: 12 Oct 2007 Posts: 15 Location: California, USA
|
Posted: Mon Jun 06, 2011 2:50 am Post subject: |
|
|
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 |
|
|
dman777 Veteran
Joined: 10 Jan 2007 Posts: 1004
|
Posted: Tue Jun 07, 2011 3:21 am Post subject: |
|
|
DONAHUE wrote: | 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 |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Tue Jun 07, 2011 3:24 am Post subject: |
|
|
thks _________________ Defund the FCC. |
|
Back to top |
|
|
maxime1986 n00b
Joined: 23 Oct 2009 Posts: 74
|
Posted: Mon Jan 07, 2013 7:37 pm Post subject: |
|
|
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 |
|
|
|