Re: problem while loading streams.ko

Paul Landay <[email protected]> Fri, 23 Dec 2005 13:06:47 -0500
Newsgroups gmane.linux.kernel.streams
Message-ID <OFD3F1E79A.E7712C30-ON852570E0.006248CC-852570E0.00637FBE@us.ibm.com>
I don't recall ever seeing a hang during insmod,
so I do not know what the problem might be.

On 2.6 kernel systems, like RHEL4,
I use 'modprobe' instead of 'insmod'.
   cd /usr/src/LiS-2.18
   make
   make install
   modprobe streams

The dmesg text below says 2.18.1, but some
of your posts said you were using 2.18.0 from
ftp.gcom.com.  I still use the:
   ftp://ftp.gcom.com/pub/linux/src/LiS/LiS-2.18.0.tgz
plus the changes I sent on RHEL4.
I have not used 2.18.1.

I notice in the dmesg output that you have SELinux enabled.
Did you look at the mailing list archives for other posts
about SELinux:
http://www.mail-archive.com/cgi-bin/htsearch?method=and&config=linux-streams_gsyc_escet_urjc_es&words=selinux


> I did all the modifications, what u said in mail.
> Now, am safe during compilation without any warnings
> ( some warnings as method was deprecated, but i ignored).
> I got streams.ko in the default folder
> (/lib/modules/`uname -r`/misc/.)
>
> I tried to load streams.ko using insmod,
> insmod /lib/modules/`uname -r`/misc/streams.ko
> then the system hung.
>
> I restarted the system and observed dmesg, it is as follows:
> LiS-RunQ-2.18.1 running on CPU 0 pid=1738
>   :
> SELinux: initialized (dev rpc_pipefs, type rpc_pipefs),

> Then i observed /proc/modules; i found that streams and its
> related modules streams-timod, streams-mtdrv are loaded.
> let me know why the system hung, when i tried to load streams.ko?