Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 385855 - System hangs during Reboot after upgrade to Baselayout-2
Summary: System hangs during Reboot after upgrade to Baselayout-2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: udev maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-06 12:29 UTC by holger.gleissner
Modified: 2012-03-23 14:12 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge_info_nz00108,6.04 KB, text/plain)
2011-10-06 13:00 UTC, holger.gleissner
Details
rc.conf (rc.conf,5.20 KB, text/plain)
2011-12-05 08:17 UTC, holger.gleissner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description holger.gleissner 2011-10-06 12:29:14 UTC
Following the Migration Guide and upgrade to baselayout-2.0.3 (openrc-0.9.3-r1, module-init-tools-3.16-r1) the system hangs during reboot as follows:
:::
INIT: version 2.88 booting
	OpenRC 0.9.3 is starting up Gentoo Linux (x86_64)
Press I to enter interactive boot mode
* Mounting /proc ...			[ ok ]
* Caching Service dependencies ...	[ ok ]	
* Mounting /sys	...			[ ok ]
* Mounting debug filesystem ...		[ ok ]
* Mounting /dev ...			[ ok ]
* Starting udevd ...
	--- "system hangs" ---


Reproducible: Always

Steps to Reproduce:
1. upgrade to baselayout-2
2. following the Migration Guide
3. Reboot
Actual Results:  
System hangs during Reboot


udev version is udev-171-r2.

Behave exactly the same, there were already two other servers with other versions of baselayout2/openrc/udev.

I found the following solution:
udev_debug="YES" in /etc/conf.d/udev solves the problem.
Comment 1 holger.gleissner 2011-10-06 13:00:27 UTC
Created attachment 288957 [details]
emerge --info
Comment 2 Göktürk Yüksek archtester gentoo-dev 2011-10-06 17:35:41 UTC
You might want to try the stable version first to see if this is caused by the migration or the udev itself, since =sys-fs/udev-171-r2 has ~amd64.
Comment 3 holger.gleissner 2011-10-07 09:05:56 UTC
(In reply to comment #2)
> You might want to try the stable version first to see if this is caused by the
> migration or the udev itself, since =sys-fs/udev-171-r2 has ~amd64.

I have tested it on another server with the last stable version udev-164-r2 but no success, the same error as before.

I'm not sure if udev_debug="YES" has solved the problem alone. I think rc_hotplug="*" (and rc_logger="YES") in /etc/rc.conf also play a role.
Comment 4 Diego Augusto Molina 2011-10-07 15:39:48 UTC
Use a livecd and check you have at least this contents in your /dev/:

# l dev/
total 4.0K
drwxr-xr-x  2 root root   54 Jul 19 12:10 .
drwxr-xr-x 17 root root 4.0K Jul 26 11:24 ..
-rw-r--r--  1 root root    0 Jun  9 01:40 .keep
crw-------  1 root root 5, 1 Jul 19 12:09 console
crw-rw-rw-  1 root root 1, 3 Jul 19 12:10 null
crw-rw-rw-  1 root root 1, 5 Jul 19 12:10 zero

Or check that you have compiled in CONFIG_DEVTMPFS in your kernel.
Comment 5 holger.gleissner 2011-10-10 10:23:26 UTC
(In reply to comment #4)
> Use a livecd and check you have at least this contents in your /dev/:
> 
> # l dev/
> total 4.0K
> drwxr-xr-x  2 root root   54 Jul 19 12:10 .
> drwxr-xr-x 17 root root 4.0K Jul 26 11:24 ..
> -rw-r--r--  1 root root    0 Jun  9 01:40 .keep
> crw-------  1 root root 5, 1 Jul 19 12:09 console
> crw-rw-rw-  1 root root 1, 3 Jul 19 12:10 null
> crw-rw-rw-  1 root root 1, 5 Jul 19 12:10 zero
> 
> Or check that you have compiled in CONFIG_DEVTMPFS in your kernel.

I have booted with a livecd and checked dev/: all files (console,null,zero) and many others are available with the exception of .keep.

# CONFIG_DEVTMPFS is not set in our kernel.
Comment 6 Göktürk Yüksek archtester gentoo-dev 2011-12-03 16:16:31 UTC
Is rc_parallel enabled?
Comment 7 holger.gleissner 2011-12-05 08:17:11 UTC
(In reply to comment #6)
> Is rc_parallel enabled?

No, rc_parallel is "No".
Comment 8 holger.gleissner 2011-12-05 08:17:42 UTC
Created attachment 294833 [details]
rc.conf
Comment 9 William Hubbs gentoo-dev 2011-12-05 15:07:29 UTC
What happens if you comment out the setting for rc_hotplug?
Comment 10 holger.gleissner 2011-12-06 15:04:30 UTC
(In reply to comment #9)
> What happens if you comment out the setting for rc_hotplug?

I have comment out rc_hotplug="*",rc_logger="YES" and udev_debug="YES" but no success, the system hangs again when Starting udevd ...
Comment 11 William Hubbs gentoo-dev 2012-03-22 00:16:02 UTC
Is this stil an issue with openrc-0.9.9.3 and udev-182?
Comment 12 holger.gleissner 2012-03-23 11:13:01 UTC
(In reply to comment #11)
> Is this stil an issue with openrc-0.9.9.3 and udev-182?

I have tested it again with the old versions of openrc and udev it's not really an issue. Sorry! I have not waited long enough! After about 1 minute, the system boots properly. I think it has to do with ldap. 
Again sorry for the inconvenience!
Comment 13 William Hubbs gentoo-dev 2012-03-23 14:12:43 UTC
Ok, no problem, thanks for the report.