Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 407991 - Stabilise sys-fs/aufs3-3_p20120109
Summary: Stabilise sys-fs/aufs3-3_p20120109
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Keywording and Stabilization (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Justin Lecher (RETIRED)
URL:
Whiteboard:
Keywords: STABLEREQ
Depends on:
Blocks:
 
Reported: 2012-03-13 07:00 UTC by Oleg Gawriloff
Modified: 2012-05-05 11:41 UTC (History)
1 user (show)

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 Oleg Gawriloff 2012-03-13 07:00:15 UTC
Keeping in mind that gentoo-sources and vanilla-sources 3.0.x was stabilized we should stabilize aufs3 as well.

Reproducible: Always
Comment 1 Oleg Gawriloff 2012-03-13 10:51:33 UTC
It seems its too early.

barzog@peerbox-r5 ~ $ uname -a
Linux peerbox-r5 3.0.22 #1 SMP Mon Mar 12 17:44:52 FET 2012 x86_64 Intel(R) Xeon(R) CPU 5110 @ 1.60GHz GenuineIntel GNU/Linux

barzog@peerbox-r5 ~ $ sudo modprobe aufs
FATAL: Error inserting aufs (/lib/modules/3.0.22/misc/aufs.ko): Unknown symbol in module, or unknown parameter (see dmesg)

barzog@peerbox-r5 ~ $ dmesg

aufs: Unknown symbol inode_sb_list_lock (err 0)
aufs: Unknown symbol file_sb_list_del (err 0)
aufs: Unknown symbol do_splice_to (err 0)
aufs: Unknown symbol security_inode_permission (err 0)
aufs: Unknown symbol security_file_mmap (err 0)
aufs: Unknown symbol lookup_hash (err 0)
aufs: Unknown symbol do_splice_from (err 0)
aufs: Unknown symbol do_truncate (err 0)
aufs: Unknown symbol security_file_permission (err 0)
aufs: Unknown symbol deny_write_access (err 0)
aufs: Unknown symbol security_inode_readlink (err 0)

According to http://www.gentoo.ru/node/24928 in latest git sources this problem is solved.
After emerging latest git from mv-overlay (http://git.overlays.gentoo.org/gitweb/?p=user/mv.git;a=tree;f=sys-fs/aufs;h=79962b48d3031cdb5d1c1137488cf96b414de4bc;hb=HEAD) we have same error.

So, is anyone able to use aufs3 on kernel 3.0.22?
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2012-03-13 23:02:00 UTC
(In reply to comment #1)
> It seems its too early.
> 

Did you recompile you kernel after installing aufs3? You also need to boot into the new kernel.
Comment 3 Oleg Gawriloff 2012-03-14 06:03:16 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > It seems its too early.
> > 
> 
> Did you recompile you kernel after installing aufs3? You also need to boot
> into the new kernel.

Uh-oh. My fault. It seems that I forgot thing (may be some ewarn should be added at posinst stage).
Thanks for pointing.

Then stabilization required.
Comment 4 Justin Lecher (RETIRED) gentoo-dev 2012-03-14 07:05:23 UTC
pkg_setup()

...
     ewarn "You need to compile your kernel with the applied patch"
     ewarn "to be able to load and use the aufs kernel module"
...
}
Comment 5 Justin Lecher (RETIRED) gentoo-dev 2012-03-14 07:06:29 UTC
arches please go ahead. Our live dvd and the systemrescuecd is using this package and I got no bugreport on it.
Comment 6 Oleg Gawriloff 2012-03-14 07:17:11 UTC
(In reply to comment #4)
> pkg_setup()
> 
> ...
>      ewarn "You need to compile your kernel with the applied patch"
>      ewarn "to be able to load and use the aufs kernel module"
> ...
> }

Its on setup stage, not on posinst. So some digging must be done.

Smth like (as in net-firewall/ipset):
pkg_postinst() {
        linux-mod_pkg_postinst
        elog "Note you need to rebuid and run kernel with netlink.patch or you'll get error:"
        elog "Kernel error received: Invalid argument"
}
Comment 7 Maurizio Camisaschi (amd64 AT) 2012-04-10 10:34:20 UTC
amd64 ok
Comment 8 Michael Harrison 2012-04-22 19:22:40 UTC
amd64 ok
Comment 9 Agostino Sarubbo gentoo-dev 2012-04-23 15:47:43 UTC
amd64 stable
Comment 10 Markus Meier gentoo-dev 2012-05-05 11:41:40 UTC
x86 stable, all arches done.