Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 273181 - sys-fs/aufs2 - aufs.ko needs unknown symbol __lookup_one_len [...]
Summary: sys-fs/aufs2 - aufs.ko needs unknown symbol __lookup_one_len [...]
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Thomas Sachau
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-08 10:55 UTC by Konstantin Agouros
Modified: 2009-06-15 14:03 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Konstantin Agouros 2009-06-08 10:55:53 UTC
modprobe aufs2 produces:

 * Updating module dependencies for 2.6.29-gentoo-r5 ...
WARNING: //lib/modules/2.6.29-gentoo-r5/misc/aufs.ko needs unknown symbol __lookup_one_len
WARNING: //lib/modules/2.6.29-gentoo-r5/misc/aufs.ko needs unknown symbol do_splice_to
WARNING: //lib/modules/2.6.29-gentoo-r5/misc/aufs.ko needs unknown symbol devcgroup_inode_permission
WARNING: //lib/modules/2.6.29-gentoo-r5/misc/aufs.ko needs unknown symbol lookup_hash
WARNING: //lib/modules/2.6.29-gentoo-r5/misc/aufs.ko needs unknown symbol fsync_super
WARNING: //lib/modules/2.6.29-gentoo-r5/misc/aufs.ko needs unknown symbol do_splice_from
WARNING: //lib/modules/2.6.29-gentoo-r5/misc/aufs.ko needs unknown symbol do_truncate
WARNING: //lib/modules/2.6.29-gentoo-r5/misc/aufs.ko needs unknown symbol deny_write_access                                                               [ ok ]

kernel is gentoo-sources-2.6.29-r5

Reproducible: Always

Steps to Reproduce:
1. depmod -a or modprobe aufs
2.
3.

Actual Results:  
see description

Expected Results:  
module loads

Portage 2.1.6.13 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.29-gentoo-r5 i686)
=================================================================
System uname: Linux-2.6.29-gentoo-r5-i686-Intel-R-_Pentium-R-_4_CPU_2.40GHz-with-glibc2.0  
Timestamp of tree: Sun, 07 Jun 2009 22:00:17 +0000
distcc 3.1 i686-pc-linux-gnu [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.5.4-r2
dev-python/pycrypto: 2.0.1-r8
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distcc distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j10"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl ads alsa berkdb bzip2 caps cli cracklib crypt cups devfs26 dri fortran gdbm gimpprint gpm iconv ipv6 isdnlog jpeg kerberos ldap ldapsam midi mmx mng mozcalendar mudflap ncurses nls nptl nptlonly nsplugin opengl openmp pam pcre perl png postgres pppd python readline reflection session spl sse sse2 ssl svg sysfs tcpd tiff unicode wmf x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="vesa fbdev i810"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Thomas Sachau gentoo-dev 2009-06-12 18:55:55 UTC
Please test with aufs2-0_p20090601-r1 (in tree after your next regular sync) and report back.
Comment 2 Konstantin Agouros 2009-06-13 05:02:29 UTC
Hmmm how do I emerge an ebuild that is masked because of missing keyword?

Konstantin
Comment 3 Thomas Sachau gentoo-dev 2009-06-13 14:37:30 UTC
Sorry, missed the keyword for x86, just added it, so should be there for your next scheduled sync.
Comment 4 Konstantin Agouros 2009-06-14 05:08:14 UTC
Hi,

still does not work:
 * Updating module dependencies for 2.6.29-gentoo-r5 ...
WARNING: //lib/modules/2.6.29-gentoo-r5/misc/aufs.ko needs unknown symbol __lookup_one_len
WARNING: //lib/modules/2.6.29-gentoo-r5/misc/aufs.ko needs unknown symbol do_splice_to
WARNING: //lib/modules/2.6.29-gentoo-r5/misc/aufs.ko needs unknown symbol devcgroup_inode_permission
WARNING: //lib/modules/2.6.29-gentoo-r5/misc/aufs.ko needs unknown symbol lookup_hash
WARNING: //lib/modules/2.6.29-gentoo-r5/misc/aufs.ko needs unknown symbol fsync_super
WARNING: //lib/modules/2.6.29-gentoo-r5/misc/aufs.ko needs unknown symbol do_splice_from
WARNING: //lib/modules/2.6.29-gentoo-r5/misc/aufs.ko needs unknown symbol do_truncate
WARNING: //lib/modules/2.6.29-gentoo-r5/misc/aufs.ko needs unknown symbol deny_write_access                                                               [ ok ]
 * Adding module to moduledb.

and after modprobe aufs2 dmesg says:
aufs: Unknown symbol __lookup_one_len
aufs: Unknown symbol do_splice_to
aufs: Unknown symbol devcgroup_inode_permission
aufs: Unknown symbol lookup_hash
aufs: Unknown symbol fsync_super
aufs: Unknown symbol do_splice_from
aufs: Unknown symbol do_truncate
aufs: Unknown symbol deny_write_access

Do I need to add something to my kernel-config?


Comment 5 Thomas Sachau gentoo-dev 2009-06-14 17:10:56 UTC
Did you compile your patched kernel and booted it before loading the aufs2 module?
Comment 6 Konstantin Agouros 2009-06-14 18:16:29 UTC
What do You mean 'patched kernel' did the aufs ebuild patch something in /usr/src/linux that requires a reboot? If yes I did not, and this might explain it :)

regards,

Konstantin
Comment 7 Thomas Sachau gentoo-dev 2009-06-14 20:02:27 UTC
(In reply to comment #6)
> What do You mean 'patched kernel' did the aufs ebuild patch something in
> /usr/src/linux that requires a reboot? If yes I did not, and this might explain
> it :)
> 
> regards,
> 
> Konstantin
> 

The first ebuilds did patch the kernel dir with a note during compile. So if you did use an ebuild prior to 0_p20090601-r1, then it will be patched. With the current version, it will ask you to either patch it manually or enable the "kernel-patch" useflag, if the kernel is not already patched.
So yes, you have to run all steps needed to compile, install and boot the current kernel again, then it should work. Please report back after that.
Comment 8 Konstantin Agouros 2009-06-15 11:07:22 UTC
OK this works. Just that I have the problem that it seems aufs doesn't work with xfs which is used on the box I am testing with, but this is another problem.

Thanks Konstantin
Comment 9 Thomas Sachau gentoo-dev 2009-06-15 14:03:26 UTC
(In reply to comment #8)
> OK this works. Just that I have the problem that it seems aufs doesn't work
> with xfs which is used on the box I am testing with, but this is another
> problem.
> 
> Thanks Konstantin
> 

For this, i would suggest you to create a simple way to reproduce your problem, than ask on the aufs mailing list. The author is responsive and very helpfull whereever it is possible for him. ;-)

Closing this bug as invalid since the reason was not in the source nor in the ebuild.