Re: reiser4 as a module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Viji V Nair wrote:
On Fri, Oct 22, 2010 at 4:00 PM, Edward Shishkin
<edward.shishkin@xxxxxxxxx> 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.

<snip>
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
</snip>

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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




--
To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux File System Development]     [Linux BTRFS]     [Linux NFS]     [Linux Filesystems]     [Ext4 Filesystem]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Resources]

  Powered by Linux