Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 212443 - sys-block/iscsitarget-0.4.15-r1 init.d iscsi_trgt module loading problem
Summary: sys-block/iscsitarget-0.4.15-r1 init.d iscsi_trgt module loading problem
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-05 23:31 UTC by Stefan Behte (RETIRED)
Modified: 2008-03-09 15:49 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 Stefan Behte (RETIRED) gentoo-dev Security 2008-03-05 23:31:09 UTC
[root@nuw /usr/src/linux]# /etc/init.d/ietd start
 * net.core.wmem_max is lower than recommended 1048576
 * net.core.wmem_default is lower than recommended 1048576
 * net.core.rmem_max is lower than recommended 1048576
 * net.core.rmem_default is lower than recommended 1048576
 * net.ipv4.tcp_mem:min is lower than recommended 1048576
 * net.ipv4.tcp_mem:default is lower than recommended 1048576
 * net.ipv4.tcp_mem:max is lower than recommended 1048576
 * net.ipv4.tcp_rmem:min is lower than recommended 1048576
 * net.ipv4.tcp_rmem:default is lower than recommended 1048576
 * net.ipv4.tcp_wmem:min is lower than recommended 1048576
 * net.ipv4.tcp_wmem:default is lower than recommended 1048576
 * Loading iSCSI-Target modules - iscsi_trgt ...
FATAL: Module iscsi_trgt not found.                                [ !! ]
 * Starting iSCSI Enterprise Target ...
netlink fd: Connection refused                                     [ !! ]

[root@nuw /usr/src/linux]# modprobe iscsi_trgt
FATAL: Module iscsi_trgt not found.

[root@nuw /usr/src/linux]# insmod /lib/modules/2.6.24-gentoo-r2/kernel/iscsi/iscsi_trgt.ko

[root@nuw /usr/src/linux]# /etc/init.d/ietd start
 * net.core.wmem_max is lower than recommended 1048576
 * net.core.wmem_default is lower than recommended 1048576
 * net.core.rmem_max is lower than recommended 1048576
 * net.core.rmem_default is lower than recommended 1048576
 * net.ipv4.tcp_mem:min is lower than recommended 1048576
 * net.ipv4.tcp_mem:default is lower than recommended 1048576
 * net.ipv4.tcp_mem:max is lower than recommended 1048576
 * net.ipv4.tcp_rmem:min is lower than recommended 1048576
 * net.ipv4.tcp_rmem:default is lower than recommended 1048576
 * net.ipv4.tcp_wmem:min is lower than recommended 1048576
 * net.ipv4.tcp_wmem:default is lower than recommended 1048576
 * Loading iSCSI-Target modules - iscsi_trgt ...
FATAL: Module iscsi_trgt not found.                               [ !! ]
 * Starting iSCSI Enterprise Target ...                           [ ok ]
[root@nuw /usr/src/linux]#

Then it works fine! Why doesn't modprobe find it?


Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r2 i686)
=================================================================
System uname: 2.6.24-gentoo-r2 i686 AMD Athlon(tm) XP 2400+
Timestamp of tree: Wed, 05 Mar 2008 20:00:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.3.5-r3, 2.4.4-r9
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.13, 2.61-r1
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
sys-devel/binutils:  2.18-r1
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="-Os -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-Os -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://192.168.0.2:66/ http://gentoo.intergenia.de/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo/ ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LINGUAS="de"
MAKEOPTS="-j2"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi aiglx alsa amr apache2 arts asf berkdb bzip2 bzlib cairo cdb cdparanoia cdr cli cracklib crypt css cups curl dbus dga directfb divx4linux dri dts dv dvd dvdr dvdread eds emboss encode ethereal evo extrafilters fbcon ffmpeg firefox flac fortran ftp gcj gdbm gif gpm gstreamer gtk gtk2 hal iconv icq imagemagick isdnlog java jikes jpeg kerberos lame lzo mad midi mikmod mime mjpeg mmx mmxext motif mp3 mpeg mtrr mudflap musepack ncurses network nls nptl nptlonly nsplugin nvidia ogg oggvorbis opengl openmp oss pam pcre pdf perl png pppd print python qt3 qt3support qt4 quicktime readline real reflection samba sdl session snmp sockets spell spl sse ssl svg svga tcpd theora threads tiff truetype unicode usb userlocales vcd vorbis wavpack win32codecs x264 x86 xine xinerama xml xorg xprint xv xvid xvmc 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 mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon 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 deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="nv nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 SpanKY gentoo-dev 2008-03-09 10:23:56 UTC
because the modprobe database wasnt updated ... run `update-modules`

http://sources.gentoo.org/sys-block/iscsitarget/iscsitarget-0.4.15-r1.ebuild?r1=1.3&r2=1.4
Comment 2 Stefan Behte (RETIRED) gentoo-dev Security 2008-03-09 15:49:34 UTC
I already tried update-modules, it did not fix the issue on one of my servers, but I have no clue why it worked on two others.

It now gets added to the moduledb and works fine, thank you! :)