Hmm.  This was not my experience when I was testing IUCV connections with
2.2.16 back in May of 2001, but it certainly is now with the 2.4 kernel (as
you stated).  I checked the latest version of the "Device Drivers and
Installation Commands" manual, dated 23 November, 2001, and it still shows
"insmod netiucv iucv=userid[,userid][,userid]" as the syntax for the
command.  So, I would have to say that this is a reportable bug.  Either the
documentation needs to be updated to match the code (if the change was
intentional) or the code has to be fixed.

Mark Post

-----Original Message-----
From: Ronald Van Der Laan [mailto:[EMAIL PROTECTED]]
Sent: Saturday, January 19, 2002 3:23 PM
To: [EMAIL PROTECTED]
Subject: Re: netiucv question


Erwann wrote:
> I can't figure out why i can't use more than one iucv interface with the
> precompiled 2.4.9 debian kernel image (unstable) and also after
> recompilation of a 2.4.16 kernel
>
> insmod: /lib/modules/2.4.16/kernel/drivers/s390/net/netiucv.o: too many
> values for iucv (max 1)

This is something in the Linux 2.4 parameter parsing for kernel modules
that causes the parser to see the comma as a delimiter between module
parameters.  And as the netiucv module only wants 1 parameter, you get the
error message.  (Note that the 'iucv' refers to the variable name within
netiucv.c that receives the parameter string and not the iucv.c part of the
kernel).
If you use a colon instead of a comma between the userids, it works fine.

So from the command line:
     insmod netiucv iucv=userid0:userid1

or in /etc/modules.conf
     alias     iucv0     netiucv
     alias     iucv1     netiucv
     option    netiucv   iucv=userid0:userid1

You should be able to define up to 10 userids that way.

Ronald van der Laan

Reply via email to