From mboxrd@z Thu Jan 1 00:00:00 1970 From: Edward Shishkin Subject: Re: reiser4 as a module Date: Fri, 22 Oct 2010 14:46:51 +0200 Message-ID: <4CC187BB.6070402@gmail.com> References: <4CC167D0.1050502@gmail.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: reiserfs-devel-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Viji V Nair Cc: reiserfs-devel Viji V Nair wrote: > On Fri, Oct 22, 2010 at 4:00 PM, Edward Shishkin > wrote: > >> Viji V Nair wrote: >> >>> Hi, >>> >>> >>> >> Hello. >> >> >>> I have been trying to build reiser4 as a module, but the module which >>> is getting compiled having the "symbol" issue. >>> >>> >>> reiser4: Unknown symbol lzo1x_1_compress >>> reiser4: Unknown symbol might_fault >>> reiser4: Unknown symbol mutex_lock_nested >>> reiser4: Unknown symbol zlib_deflate >>> reiser4: Unknown symbol writeback_inodes_wbc >>> >>> >>> >> How to reproduce? >> > > 1. Download and install fedora kernel source package for latest fedora > kernel (f13) > Could you please provide a link to fedora's kernels (I've lost my bookmarks), I'll try to take a look.. Edward. > 2. Patch for reiser4 > 3. make the module (Warning of missing Module.symvers) > > # make CONFIG_REISER4_FS=m CONFIG_REISER4_DEBUG=n M=fs/reiser4 > > 4. Insert the module > > # insmod fs/reiser4/reiser4.ko > # insmod: error inserting 'fs/reiser4/reiser4.ko': -1 Unknown symbol in module > > # dmesg > > reiser4: Unknown symbol lzo1x_1_compress > reiser4: Unknown symbol might_fault > reiser4: Unknown symbol mutex_lock_nested > reiser4: Unknown symbol zlib_deflate > reiser4: Unknown symbol writeback_inodes_wbc > reiser4: Unknown symbol zlib_deflateReset > reiser4: Unknown symbol __raw_spin_lock_init > reiser4: Unknown symbol generic_writeback_sb_inodes > reiser4: Unknown symbol zlib_deflate_workspacesize > reiser4: Unknown symbol zlib_deflateInit2 > reiser4: Unknown symbol inode_lock > reiser4: Unknown symbol _raw_spin_unlock_irq > reiser4: Unknown symbol _raw_spin_lock_nested > reiser4: Unknown symbol _raw_read_unlock > reiser4: Unknown symbol _raw_write_unlock > reiser4: Unknown symbol debug_lockdep_rcu_enabled > reiser4: Unknown symbol lock_acquire > reiser4: Unknown symbol lock_release > reiser4: Unknown symbol __rwlock_init > reiser4: Unknown symbol writeback_skip_sb_inodes > reiser4: Unknown symbol set_page_dirty_notag > reiser4: Unknown symbol _raw_spin_unlock > reiser4: Unknown symbol find_get_pages > reiser4: Unknown symbol rcu_lock_map > > > > >> What stuff are you using? >> > > I am Fedora 13 x86_64 > > # uname -a > Linux dev06 2.6.34.7-56.fc13.x86_64 #1 SMP Wed Sep 15 03:36:55 UTC > 2010 x86_64 x86_64 x86_64 GNU/Linux > > >> Thanks, >> Edward. >> >> >>> I could see from the reiser4 2.6.34 patch that it is adding >>> "EXPORT_SYMBOL" to few files in fs & mm directories of the kernel >>> source tree. Can we have all these symbols defined in the core source >>> tree of resier4 also? Do we have a patch for this already? >>> >>> Thanks >>> Viji >>> -- >>> To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in >>> the body of a message to majordomo@vger.kernel.org >>> More majordomo info at http://vger.kernel.org/majordomo-info.html >>> >>> >>> >> > >