linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* jfs_fsck fails at boot, after upgrade to recent kernel
@ 2011-05-01 13:03 Matt Dunnington
  2011-05-04 15:09 ` Dave Kleikamp
  0 siblings, 1 reply; 2+ messages in thread
From: Matt Dunnington @ 2011-05-01 13:03 UTC (permalink / raw)
  To: linux-fsdevel

Hi

I'd appreciate some help with an issue that I'm experiencing with my 
root jfs partition being mounted read only at boot, due to jfs_fsck 
returning code 11. Below is a log of what is shown on screen after 
jfs_fsck has been run on the rootfs:

Could not locate device by label or uuid
warning... fsck.jfs for device /dev/md1 exiteds with signal 11
operational error
remounting root filesystem read/write
mount: / not mounted already, or bad option
root filesystem could not be mounted read/write

The issue arose when I upgraded my kernel from 2.6.28-gentoo-r2 to 
2.6.38-gentoo-r3. If I boot my original kernel the system still boots 
fine, but booting the new kernel results in the errors above. Is this a 
bug, or perhaps I have missed something in my kernel configuration?

Many thanks in advance for your kind assistance. Please let me know if 
you need any further information.

Best Regards
Matt Dunnington

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: jfs_fsck fails at boot, after upgrade to recent kernel
  2011-05-01 13:03 jfs_fsck fails at boot, after upgrade to recent kernel Matt Dunnington
@ 2011-05-04 15:09 ` Dave Kleikamp
  0 siblings, 0 replies; 2+ messages in thread
From: Dave Kleikamp @ 2011-05-04 15:09 UTC (permalink / raw)
  To: Matt Dunnington; +Cc: linux-fsdevel

On 05/01/2011 08:03 AM, Matt Dunnington wrote:
> Hi
>
> I'd appreciate some help with an issue that I'm experiencing with my
> root jfs partition being mounted read only at boot, due to jfs_fsck
> returning code 11. Below is a log of what is shown on screen after
> jfs_fsck has been run on the rootfs:
>
> Could not locate device by label or uuid

Seems to be failing to open the journal.  Do you use an external 
journal?  If so, what device is it on?

> warning... fsck.jfs for device /dev/md1 exiteds with signal 11

Found a bug.  not checking the return code of findLog() properly. 
Fixing this will result in jfs_fsck failing cleanly rather than a 
segfault, but probably won't get you any further.

> operational error
> remounting root filesystem read/write
> mount: / not mounted already, or bad option

I'm guessing that the filesystem is still clean, and the rw mount is 
failing for the same reason as jfs_fsck.  It doesn't find the journal.

> root filesystem could not be mounted read/write
>
> The issue arose when I upgraded my kernel from 2.6.28-gentoo-r2 to
> 2.6.38-gentoo-r3. If I boot my original kernel the system still boots
> fine, but booting the new kernel results in the errors above. Is this a
> bug, or perhaps I have missed something in my kernel configuration?

If you're using an external journal, then it may be a configuration 
error and the kernel isn't configuring the journal device.  If not, then 
I'll have to dig deeper.

> Many thanks in advance for your kind assistance. Please let me know if
> you need any further information.
>
> Best Regards
> Matt Dunnington

Thanks,
Shaggy

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-05-04 15:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-01 13:03 jfs_fsck fails at boot, after upgrade to recent kernel Matt Dunnington
2011-05-04 15:09 ` Dave Kleikamp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).