drbd ebuild emerged fine, but I can't the drbd module (any 8.x.x version is impacted). I see in logs: "drbd: cn_drbd failed to register". It doesn't occur with a sys-kernel/gentoo-sources-2.6.22-r10 or a sys-kernel/vanilla-sources-2.6.25.14. I tried a sys-kernel/gentoo-sources-2.6.23-r8 and a sys-kernel/gentoo-sources-2.6.25-r7 without success. It seems to be version/patchs dependent (only gentoo sources impacted after a certain release), and somewhat kernel configuration dependent (see gentoo forum URL given). Reproducible: Always Steps to Reproduce: 1.Configure a kernel starting with the .config attached to this report, boot on this kernel 2.emerge drbd and drbd-kernel (version 8.0.12 or 8.2.6) 3.try to modprobe drbd Actual Results: # modprobe drbd FATAL: Error inserting drbd (/lib/modules/2.6.23-gentoo-r8/block/drbd.ko): Invalid argument In dmesg (following version): drbdcn_drbd failed to register or drbd: cn_drbd failed to register Expected Results: In dmesg when module is loaded: drbd: initialised. Version: 8.2.6 (api:88/proto:86-88) drbd: GIT-hash: 3e69822d3bb4920a8c1bfdf7d647169eba7d2eb4 build by root@virtual09, 2008-09-17 13:13:35 drbd: registered as block device major 147 drbd: minor_table @ 0xddd31500 Gentoo linux is a VMware Server guest OS. Clean OS, clean kernel configuration ("home made"), each new kernel configured through a "make oldconfig" command. # emerge --info Portage 2.1.4.4 (default-linux/x86/2007.0/server, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25.14 i686) ================================================================= System uname: 2.6.25.14 i686 Intel(R) Xeon(TM) CPU 3.40GHz Timestamp of tree: Wed, 17 Sep 2008 01:45:01 +0000 app-shells/bash: 3.2_p33 dev-lang/python: 2.4.4-r9, 2.5.2-r6 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.61-r2 sys-devel/automake: 1.7.9-r1, 1.10.1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /var/bind" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ http://gentoo.modulix.net/gentoo/ http://ftp.club-internet.fr/pub/mirrors/gentoo ftp://gentoo.imj.fr/pub/gentoo/ ftp://ftp.free.fr/mirrors/ftp.gentoo.org/" LANG="fr_FR.UTF-8" LC_ALL="fr_FR.UTF-8" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" 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" PORTDIR_OVERLAY="/usr/portage/local/layman/wschlich-testing /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="7zip acl acpi apache2 apm bash-completion cli cracklib crypt dri fortran gpm iconv ipv6 isdnlog ldap logrotate mailwrapper midi mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection samba session slang snmp spl ssl threads truetype unicode usb x86 xml 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="alias autoindex dir deflate filter log_config mime mime_magic vhost_alias cache disk_cache mem_cache authz_host" 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="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 165633 [details] .config file for sys-kernel/gentoo-sources-2.6.23-r8 This kernel won't allow the drbd module to load.
Created attachment 165635 [details] .config file for sys-kernel/gentoo-sources-2.6.25-r7 This kernel won't allow the drbd module to load.
Created attachment 165637 [details] .config file for sys-kernel/vanilla-sources-2.6.25.14 This kernel allow the drbd module to load.
Please reopen if issue persist with more recent drbd-kernel