s390 ctc0 interface not coming up

Matthias Saou thias at spam.spam.spam.spam.spam.spam.spam.egg.and.spam.freshrpms.net
Thu Jul 22 20:44:27 UTC 2004


Pasi Pirhonen wrote :

> I thought that i won't touch this as 
> 
> a) i hate DNS pollution
> b) all kind of faked addresses

Huh?? Are you referring to my e-mail address? Believe it or not, it's a
real working one, its whole point is to have spammers remove it from their
lists thinking it's bogus ;-p Oh, and I'm a Monty Python fan, those who
know the viking spam sketch have probably already figured :-D

> On Thu, Jul 22, 2004 at 06:52:07PM +0200, Matthias Saou wrote:
> > Hi,
> > 
> > Using hercules, I managed to get Fedora Core Development for s390
> > installed and running. My remaining issue is that the ctc0 network
> > interface doesn't come up in the installed system, although it got
> > configured fine and got used at install time. The network service
> > reports "OK", but the interface doesn't appear.
> > 
> > Here's the content of my ifcfg-ctc0 file, it's the post-install default
> > and seems correct to me :
> 
> I don't know the proper fix, but this is how i did it with Tao Linux to
> make people possible to run FC-devel kernel over Tao/s390(x)
> 
> --- initscripts-7.57/sysconfig/network-scripts/ifup-ctc.orig 2004-05-18
> 15:30:49.000000000 +0300+++
> initscripts-7.57/sysconfig/network-scripts/ifup-ctc 2004-06-20
> 22:49:17.235688000 +0300@@ -23,6 +23,14 @@
>  fi
>  [ -n "${MTU}" ] && opts="${opts} mtu ${MTU}"
> 
> +#
> +# Pasi Pirhonen Sun Jun 20 2004 for Tao/s390
> +# Trick the kernel module loader to actually load the ctc driver
> +# so that the configure magic will actually do something
> +#
> +
> +ifconfig ${DEVICE} ${IPADDR} ${opts} pointopoint ${REMIP} netmask
> ${NETMASK}+
>  configure_ccwgroup_device
> 
>  ifconfig ${DEVICE} ${IPADDR} ${opts} pointopoint ${REMIP} netmask
>  ${NETMASK}
> 
> 
> ie. basically just do one _FAKE_ ifconfig so kernel module loader will
> pick up the magic from /etc/modprope.conf _BEFORE_ trying to mess with
> the /sys stuff.
> 
> There must be better way, but that was just a quick hack which doesn't
> harm anyone.

This doesn't work for me. The ctc kernel module doesn't even get loaded
automatically, and when I modprobe it, I only get a single line :

CTC driver Version: 1.61  initialized

It doesn't say anything about ctc0... nor does "ifconfig -a" report any, as
if the device wasn't emulated properly, but running the network install
with the same nercules.cnf works fine. Maybe I could try the LCS network
interface instead? Has anyone had any luck with it using hercules?

Matthias

-- 
Clean custom Red Hat Linux rpm packages : http://freshrpms.net/
Fedora Core release 2 (Tettnang) - Linux kernel 2.6.6-1.435.2.3
Load : 0.82 0.64 0.43





More information about the fedora-devel-list mailing list