| Summary: | A recent patch nfs-utils: fix nfs mount error on 32bit nfs server is causing the OS boot to fail | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Chanakya Koppolu <chanakya.koppolu> |
| Component: | oe-core other | Assignee: | Yi Zhao <yi.zhao> |
| Status: | RESOLVED INVALID | QA Contact: | |
| Severity: | normal | ||
| Priority: | High | CC: | richard.purdie, yi.zhao |
| Version: | unspecified | ||
| Target Milestone: | 2.8 M4 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
Patch being referred to: http://git.yoctoproject.org/cgit.cgi/poky/commit/?h=master-next&id=100bf17470211abd499a3b8700b2d0c221b2d3ea I can not reproduce this issue in my side. There are 2 failures in Chanakya's systemd boot log: 1. [FAILED] Failed to mount NFSD configuration filesystem. I suspect this becasue the nfs-server IMAGE_FEATURES is enabled but the NFSD kernel configure is not enabled which cause this failure. But this issue is not fatal. 2. [FAILED] Failed to activate swap /dev/sda3. See 'systemctl status dev-sda3.swap' for details FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck. This is the local hard disk issue. Maybe the disk is corrupt. So issue is regardless of NFS. I have discussed with Chanakya but haven't got more information so far. |
A recent update the nfs mount is causing the boot up of the image built using oe-core to fail with the follow error: [FAILED] Failed to mount NFSD configuration filesystem. See 'systemctl status proc-fs-nfsd.mount' for details. [DEPEND] Dependency failed for NFS server and services. [DEPEND] Dependency failed for NFS Mount Daemon. [ OK ] Mounted Kernel Debug File System. [ OK ] Started Apply Kernel Variables. [ OK ] Started Create Static Device Nodes in /dev. [ OK ] Started File System Check on Root Device. Starting Remount Root and Kernel File Systems... [0m... EXT4-fs (sda4): re-mounted. Opts: (null) [ OK ] Started Remount Root and Kernel File Systems. [ OK ] Reached target Local File Systems (Pre). Starting udev Kernel Device Manager... [ OK ] Started udev Kernel Device Manager. [ OK ] Started Journal Service. Starting Flush Journal to Persistent Storage... systemd-journald[160]: Received client request to flush runtime journal. [ OK ] Started Flush Journal to Persistent Storage. igb 0000:03:00.0 enp3s0: renamed from eth0 [ OK ] Started udev Coldplug all Devices. [ OK ] Found device Ultra_USB_3.0 primary. [ OK ] Found device Ultra_USB_3.0 tcf-scratch. Activating swap /dev/sda3... Mounting /boot... [FAILED] Failed to activate swap /dev/sda3. See 'systemctl status dev-sda3.swap' for detailsFAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck. . [DEPEND] Dependency failed for Swap. Here is another report of the same log on console: E#1 @local/mbt-02a console: [[0;1;31mFAILED[0m] Failed to mount [0;1;39mNFSD configuration filesystem[0m. E#1 @local/mbt-02a console: See 'systemctl status proc-fs-nfsd.mount' for details. E#1 @local/mbt-02a console: [[0;1;38;5;185mDEPEND[0m] Dependency failed for [0;1;39mNFS Mount Daemon[0m. E#1 @local/mbt-02a console: [[0;1;38;5;185mDEPEND[0m] Dependency failed for [0;1;39mNFS server and services[0m. E#1 @local/mbt-02a console: [[0;32m OK [0m] Mounted [0;1;39mKernel Debug File System[0m. E#1 @local/mbt-02a console: [[0;32m OK [0m] Started [0;1;39mApply Kernel Variables[0m. E#1 @local/mbt-02a console: [[0;32m OK [0m] Started [0;1;39mCreate Static Device Nodes in /dev[0m. E#1 @local/mbt-02a console: /dev/sda4: fsck 0.0% complete... E#1 @local/mbt-02a console: /dev/sda4: fsck 5.8% complete... E#1 @local/mbt-02a console: /dev/sda4: fsck 70.0% complete... E#1 @local/mbt-02a console: Starting [0;1;39mRemount Root and Kernel File Systems[0m... E#1 @local/mbt-02a console: EXT4-fs (sda4): re-mounted. Opts: (null) E#1 @local/mbt-02a console: [[0;32m OK [0m] Started [0;1;39mRemount Root and Kernel File Systems[0m. E#1 @local/mbt-02a console: [[0;32m OK [0m] Reached target [0;1;39mLocal File Systems (Pre)[0m. E#1 @local/mbt-02a console: Starting [0;1;39mRebuild Hardware Database[0m... E#1 @local/mbt-02a console: Starting [0;1;39mFlush Journal to Persistent Storage[0m... E#1 @local/mbt-02a console: systemd-journald[160]: Received client request to flush runtime journal. E#1 @local/mbt-02a console: [[0;32m OK [0m] Started [0;1;39mFlush Journal to Persistent Storage[0m. E#1 @local/mbt-02a console: [[0;32m OK [0m] Started [0;1;39mRebuild Hardware Database[0m. E#1 @local/mbt-02a console: Starting [0;1;39mudev Kernel Device Manager[0m... E#1 @local/mbt-02a console: [[0;32m OK [0m] Started [0;1;39mudev Kernel Device Manager[0m. E#1 @local/mbt-02a console: igb 0000:03:00.0 enp3s0: renamed from eth0 E#1 @local/mbt-02a console: [[0;32m OK [0m] Found device [0;1;39mUltra_USB_3.0 primary[0m. E#1 @local/mbt-02a console: Mounting [0;1;39m/boot[0m... E#1 @local/mbt-02a console: [[0;32m OK [0m] Found device [0;1;39mUltra_USB_3.0 tcf-scratch[0m. E#1 @local/mbt-02a console: Activating swap [0;1;39m/dev/sda3[0m... E#1 @local/mbt-02a console: [[0;32m OK [0m] Mounted [0;1;39m/boot[0m. E#1 @local/mbt-02a console: [[0;1;31mFAILED[0m] Failed to activate swap [0;1;39m/dev/sda3[0m. E#1 @local/mbt-02a console: See 'systemctl status dev-sda3.swap' for details. E#1 @local/mbt-02a console: [[0;1;38;5;185mDEPEND[0m] Dependency failed for [0;1;39mSwap[0m. E#1 @local/mbt-02a console: Mounting [0;1;39mTemporary Directory (/tmp)[0m... E#1 @local/mbt-02a console: Mounting [0;1;39m/var/volatile[0m... E#1 @local/mbt-02a console: [[0;32m OK [0m] Mounted [0;1;39mTemporary Directory (/tmp)[0m. E#1 @local/mbt-02a console: [[0;32m OK [0m] Mounted [0;1;39m/var/volatile[0m. E#1 @local/mbt-02a console: [[0;32m OK [0m] Reached target [0;1;39mLocal File Systems[0m. E#1 @local/mbt-02a console: Starting [0;1;39mCommit a transient machine-id on disk[0m... E#1 @local/mbt-02a console: Starting [0;1;39mCreate Volatile Files and Directories[0m... E#1 @local/mbt-02a console: [[0;32m OK [0m] Started [0;1;39mCreate Volatile Files and Directories[0m. E#1 @local/mbt-02a console: Starting [0;1;39mRun pending postinsts[0m... E#1 @local/mbt-02a console: Starting [0;1;39mRebuild Journal Catalog[0m... E#1 @local/mbt-02a console: [[0;32m OK [0m] Started [0;1;39mCommit a transient machine-id on disk[0m. E#1 @local/mbt-02a console: [[0;32m OK [0m] Started [0;1;39mRebuild Journal Catalog[0m. E#1 @local/mbt-02a console: Starting [0;1;39mUpdate is Completed[0m... E#1 @local/mbt-02a console: [[0;32m OK [0m] Started [0;1;39mUpdate is Completed[0m. E#1 @local/mbt-02a console: [[0;32m OK [0m] Started [0;1;39mRun pending postinsts[0m. E#1 @local/mbt-02a console: [[0;32m OK [0m] Reached target [0;1;39mSystem Initialization[0m. E#1 @local/mbt-02a console: [[0;32m OK [0m] Started [0;1;39mDaily rotation of log files[0m. E#1 @local/mbt-02a console: [[0;32m OK [0m] Started [0;1;39mDaily Cleanup of Temporary Directories[0m. E#1 @local/mbt-02a console: [[0;32m OK [0m] Reached target [0;1;39mTimers[0m. E#1 @local/mbt-02a console: [[0;32m OK [0m] Listening on [0;1;39mD-Bus System Message Bus Socket[0m. E#1 @local/mbt-02a console: [[0;32m OK [0m] Listening on [0;1;39mRPCbind Server Activation Socket[0m. E#1 @local/mbt-02a console: �<NULL> <NULL><NULL> Hope that rings a bell, Is this related to the fix provided? If Yes, then can you revert the patch or provide a new patch?