Project

General

Profile

Actions

Bug #553

closed

Kernelmodule doen't build under Debian lenny

Added by DaB Punkt over 13 years ago. Updated over 13 years ago.

Status:
Won't Fix
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

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

Description

Hello all,
the wiki-page [1] says that ceph runs under Debian lenny, but as far as I see that is not true because the kernel-module need a function not available in 2.6.26-kernel (see below). Just ask when you need more information.

Sincerly,
DaB.

--cut--
serverx:/usr/src/modules/ceph# make clean
make -C /lib/modules/2.6.26-2-686/build M=/usr/src/modules/ceph clean
make[1]: Entering directory `/usr/src/linux-headers-2.6.26-2-686'
  CLEAN   /usr/src/modules/ceph/.tmp_versions
make[1]: Leaving directory `/usr/src/linux-headers-2.6.26-2-686'
serverx:/usr/src/modules/ceph# make
make -C /lib/modules/2.6.26-2-686/build M=/usr/src/modules/ceph CONFIG_CEPH_FS=m modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.26-2-686'
  CC [M]  /usr/src/modules/ceph/super.o
  CC [M]  /usr/src/modules/ceph/inode.o
/usr/src/modules/ceph/inode.c:84: warning: initialization from incompatible pointer type
/usr/src/modules/ceph/inode.c: In function ‘ceph_invalidate_nondirty_pages’:
/usr/src/modules/ceph/inode.c:1330: error: implicit declaration of function ‘trylock_page’
/usr/src/modules/ceph/inode.c:1476:3: warning: #warning i may not flush all data after a snapshot + truncate w/ < 2.6.30
make[2]: *** [/usr/src/modules/ceph/inode.o] Fehler 1
make[1]: *** [_module_/usr/src/modules/ceph] Fehler 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.26-2-686'
make: *** [all] Fehler 2

serverx:/usr/src/modules/ceph# dpkg -l|grep ceph
ii  ceph                                0.22.2-1~bpo50+1                     distributed storage and file system
ii  ceph-client-tools                   0.22.2-1~bpo50+1                     utilities to mount a ceph filesystem with th
ii  ceph-fuse                           0.22.2-1~bpo50+1                     FUSE-based client for the Ceph distributed f
ii  ceph-kclient-source                 0.20-1                               source for client kernel module for the Ceph
ii  libceph1                            0.22.2-1~bpo50+1                     Ceph distributed file system client library

[1] http://ceph.newdream.net/wiki/Debian

Actions #1

Updated by Greg Farnum over 13 years ago

  • Status changed from New to Won't Fix

Unfortunately you're going to need to upgrade your kernel if you want the in-kernel client. Using the backports branches it should work fine on 2.6.27 or later.

However, the userspace tools (all the servers, plus the FUSE-based client) ought to work just fine. That's what the Debian wiki page is talking about. :)

Actions #2

Updated by DaB Punkt over 13 years ago

Ok, a backport-kernel works fine AFAIS. I updated the wiki-page.

Actions

Also available in: Atom PDF