Project

General

Profile

Actions

Bug #2936

closed

Remounting cephfs with non-existing path causes kernel panic

Added by Bartek Kania over 11 years ago. Updated over 11 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
Development
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):

Description

Steps to reproduce:

First mount the root somewhere

mount -t ceph a.b.c.153:6789:/ -oname=admin,secret=... /mnt

Unmount root:

umount /mnt

Try to mount a nonexistent path:

mount -t ceph a.b.c.153:6789:/idonotexist -oname=admin,secret=... /mnt

At this point the kernel panics. The entire panic is attached.

Kernel is a stock 3.5.1 kernel. The .config file is attached.
Problem also appears on a 3.4.7 kernel
The server is running under kvm 1.0

ceph version is 0.48argonaut-1~bpo60+1


Files

config.txt (62.6 KB) config.txt Bartek Kania, 08/10/2012 01:48 PM
panic.txt (7.32 KB) panic.txt Bartek Kania, 08/10/2012 01:48 PM
Actions #1

Updated by Sage Weil over 11 years ago

  • Priority changed from Normal to Urgent
Actions #2

Updated by Sage Weil over 11 years ago

  • Project changed from Ceph to Linux kernel client
  • Category deleted (26)
Actions #3

Updated by Sage Weil over 11 years ago

  • Assignee set to Sage Weil
Actions #4

Updated by Sage Weil over 11 years ago

  • Status changed from New to 7

this is the same issue Yan hit, #2959.

Actions #5

Updated by Bartek Kania over 11 years ago

I see the change for #2959 is in the mds.

However, the kernel still shouldn't hang on bad data from the mds, so I think some additional checks need to be done in the kernel.
I am willing to test kernel patches if you need me to.

Actions #6

Updated by Sage Weil over 11 years ago

There are patches to do that pending, but i haven't pushed them to the tree yet because a regression in 3.6-rc1 breaks networking. Leaving these bugs testing and not resolved until that is all sorted out.

Actions #7

Updated by Sage Weil over 11 years ago

  • Status changed from 7 to Resolved
Actions

Also available in: Atom PDF