Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 319423 - sys-apps/openrc: nfs-rooted system hangs with Memory access error when reboot or shutdown
Summary: sys-apps/openrc: nfs-rooted system hangs with Memory access error when reboot...
Status: CONFIRMED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: OpenRC (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: OpenRC Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-12 14:25 UTC by holger.gleissner
Modified: 2011-06-24 10:44 UTC (History)
1 user (show)

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


Attachments
emerge --info (emerge_info.txt,5.43 KB, text/plain)
2010-05-12 14:47 UTC, holger.gleissner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description holger.gleissner 2010-05-12 14:25:01 UTC
After (properly) upgrade from baselayout-1 to baselayout-2 (-2.0.1) with openrc-0.6.1-r1 the system hangs when i want to reboot or shutdown. The system is actual, the special is, that the system is a nfs-root mounted system. I have re-emerged baselayout-2 and openrc but without success.


Reproducible: Always

Steps to Reproduce:
1. upgrade the system to baselayout-2 from bsaelayout-1
2. reboot the system

Actual Results:  
the system hangs and error messages "...Speicherzugriffsfehler..." (...Memory access error...) appears

Expected Results:  
the system will shutdown/reboot properly without errors



Messages from shutdown/reboot screen:
:::
* Stopping sshd ...							[ ok ]
* Stopping OpenAFS client ...
*   Unmounting /afs ...
umount: /afs: device is busy.						[ !! ]
:::
* Unmounting NFS filesystems ...
* umount.nfs: /: device is busy						[ !! ]
* Stopping NFS statd ...						[ ok ]
* Stopping rpcbind ...							[ ok ]
* Unloading lm_sensors modules...
:::
* Stopping avahi-dnsconfd ...						[ ok ]
* Stopping avahi-daemon ...						[ ok ]
* Storing ALSA Mixer Levels ...						[ ok ]
* Stopping gdm ...							[ ok ]
* Stopping gpm ...							[ ok ]
* Stopping Hardware Abstraction Layer daemon  ...			[ ok ]
* Stopping D-BUS system messagebus ...					[ ok ]
* Stopping acpid ...							[ ok ]
* Stopping syslog-ng ...						[ ok ]
* Bringing down interface eth0
/lib64/rc/rc-functions.sh: Zeile 43:  4400 Speicherzugriffsfehler mountinfo
--quiet --netdev "$1"
/lib64/rc/rc-functions.sh: Zeile 43:  4401 Speicherzugriffsfehler mountinfo
--quiet --nonetdev "$1"
* Stopping dhcpcd on eth0 ...
====> System hangs
Comment 1 holger.gleissner 2010-05-12 14:47:27 UTC
Created attachment 231223 [details]
emerge --info
Comment 2 Jeroen Roovers gentoo-dev 2010-05-18 15:08:13 UTC
AFAIK there are two things you need to change:

1) Edit /etc/init.d/nfsmount to not run the umount command in stop().
2) Edit /etc/conf.d/network and set ifdown_eth0="true" so that the default `ifconfig eth0 down' command isn't run.

Assigning because we'll ultimately need to document this somewhere[1].


[1] http://www.gentoo.org/doc/en/diskless-howto.xml
Comment 3 holger.gleissner 2010-05-20 10:56:58 UTC
(In reply to comment #2)
> AFAIK there are two things you need to change:
> 
> 1) Edit /etc/init.d/nfsmount to not run the umount command in stop().
> 2) Edit /etc/conf.d/network and set ifdown_eth0="true" so that the default
> `ifconfig eth0 down' command isn't run.
> 

Thanks for the help!
The Edit in 1) works good.
The Edit in 2) has no effect, the error messages are the same as before:
:::
* Bringing down interface eth0
/lib64/rc/rc-functions.sh: Zeile 43:  4400 Speicherzugriffsfehler mountinfo
--quiet --netdev "$1"
/lib64/rc/rc-functions.sh: Zeile 43:  4401 Speicherzugriffsfehler mountinfo
--quiet --nonetdev "$1"
* Stopping dhcpcd on eth0 ...
====> System hangs

In /etc/conf.d/network are only comments excluding the Edit in 2). I have also tested and created an empty File /etc/ifdown.eth0 but with the same result.