Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.


  Search this Thread
Old 01-08-2018, 01:00 AM   #1
LQ Newbie
Registered: Dec 2017
Posts: 27

Rep: Reputation: Disabled
Unhappy NFS started to malfunction all of a sudden; "shutdown" throws segmentation fault

I've been using a MityDsp-L138F SoM (featuring TI's OMAPL138 processor) with NFS. My host PC has a virtual machine with Ubuntu 16.04 installed, and I've been exporting a directory as NFS to the device without issues.

Last week, either the kernel or the file system started behaving unexpectedly, so I deleted the file system from the host side, and restarted with an untouched version supplied by the manufacturer.

However, since then, things have become even messier. When I login as "root" on the device, the terminal prints "@mityomapl138:/home/root#" (it used to be something like "root@mityomapl138:~#").

And I can't issue commands like "shutdown" or "reboot", either; doing so throws a segmentation fault error.

I have no idea what I did wrong. Have any of you guys encountered such a problem?

Thanks in advance.

Edit: I'm now sure that the issue stems from the Ubuntu host, not the embedded device, as it works as expected on another NFS server computer. But I don't know how I can fix it.

Last edited by OkCalis; 01-08-2018 at 02:42 AM. Reason: Adding extra information
Old 01-08-2018, 05:01 AM   #2
LQ Newbie
Registered: Dec 2017
Posts: 27

Original Poster
Rep: Reputation: Disabled
As I suspected, the host side was causing the problem. Somehow, the permissions of the root file system directory in /export were reset.
sudo chmod -R 777 /export/rootfs
This solved the problem. I don't know if the -R (recursive) option is necessary, though.


nfs, reboot, segmentation fault, shutdown

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] ldconfig retruns "Segmentation fault" after cancel 'yum update' banbia Linux - Server 1 03-19-2016 11:20 PM
[SOLVED] Sudden "general protection fault" on Slackware64 14.0 elesmod Slackware 7 09-22-2013 03:01 PM
"netstat -l" gives "segmentation fault" Earwig Linux - Newbie 2 03-31-2010 05:12 PM
sunbird 0.3 does not start, error: Segmentation fault : "$prog" ${1+"$@"} polemon Ubuntu 8 01-08-2007 05:22 AM
why iam getting problems like "...too many files opened" or "segmentation fault" naren_0101bits Linux - Newbie 2 07-19-2004 01:20 PM > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 12:29 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration