LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 01-08-2018, 12:00 AM   #1
OkCalis
Member
 
Registered: Dec 2017
Posts: 34

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


Hi,
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.
OkCalis

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 01:42 AM. Reason: Adding extra information
 
Old 01-08-2018, 04:01 AM   #2
OkCalis
Member
 
Registered: Dec 2017
Posts: 34

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.
Code:
sudo chmod -R 777 /export/rootfs
This solved the problem. I don't know if the -R (recursive) option is necessary, though.
 
  


Reply

Tags
nfs, reboot, segmentation fault, shutdown



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 10:20 PM
[SOLVED] Sudden "general protection fault" on Slackware64 14.0 elesmod Slackware 7 09-22-2013 02:01 PM
"netstat -l" gives "segmentation fault" Earwig Linux - Newbie 2 03-31-2010 04:12 PM
sunbird 0.3 does not start, error: Segmentation fault : "$prog" ${1+"$@"} polemon Ubuntu 8 01-08-2007 04:22 AM
why iam getting problems like "...too many files opened" or "segmentation fault" naren_0101bits Linux - Newbie 2 07-19-2004 12:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 05:20 AM.

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