LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-14-2014, 04:13 PM   #1
ArbitraryValue
LQ Newbie
 
Registered: Jul 2013
Posts: 4

Rep: Reputation: Disabled
How to diagnose errors when mounting root filesystem?


So I am remotely accessing an embedded Linux device which boots from a flash memory card. That card is formatted using ext2 and mounted with errors=remount-ro.

My problem is this: sometimes, the filesystem of this device boots as read-only, and I've even seen it go into read-only mode while running, without a reboot. I think this also has something to do with fairly frequent system crashes I am also experiencing. I assume that some error is triggering this, but I can't find any log of such an error. That stands to reason, since it would be hard to log errors to a read-only filesystem, but I still want to diagnose this somehow.

Last edited by ArbitraryValue; 01-14-2014 at 04:32 PM.
 
Old 01-14-2014, 04:54 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,751

Rep: Reputation: 271Reputation: 271Reputation: 271
You could remove the errors=remount-ro for a few test runs to see if you can find a meaningful error message.

----------------
Steve Stites
 
Old 01-14-2014, 05:43 PM   #3
ArbitraryValue
LQ Newbie
 
Registered: Jul 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
Good idea! I tried that, and after yet another spontaneous reboot, the only odd thing I see is this in dmesg:

Code:
VFS: Mounted root (ext2 filesystem).
Mounted devfs on /dev
Freeing unused kernel memory: 52k init
Unhandled interrupt 18, disabled
What is that interrupt? Are there other files I should look at, ones not in /var/log?
 
Old 01-14-2014, 05:55 PM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,751

Rep: Reputation: 271Reputation: 271Reputation: 271
Quote:
Originally Posted by ArbitraryValue View Post
Unhandled interrupt 18, disabled

What is that interrupt?

The interrupt number is part of the hardware design. You would have to look it up in the hardware manual for the computer that you are using. Just a random guess, the error message says that the interrupt is disabled. That could mean that you do not have a device driver in the kernel for whatever generates interrupt 18.

------------------
Steve Stites
 
  


Reply


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
how does mounting a root filesystem actually work? ben-linus Linux - Embedded & Single-board computer 4 11-23-2011 10:32 PM
Kernel and Ext3 Filesystem Errors at the same time -- difficult to diagnose. Sum1 Linux - Server 3 10-24-2009 06:33 PM
Looking for a way to have a portable filesystem (or mounting without root) dkulchenko Linux - General 2 02-27-2009 09:45 AM
Root filesystem mounting as Read-Only paddyjoy Linux - Newbie 11 03-21-2006 04:32 PM
Mounting root filesystem with data=writeback Phaethar Red Hat 2 01-29-2004 05:47 PM


All times are GMT -5. The time now is 06:22 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration