[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#340508: missing modules on s390/s390x



On Qui, 2006-03-16 at 16:41 +0100, Ivan Warren wrote:
>  >
>  > Only problem was that the network interface did not come up. Trying to
>  > manually start it resulted in:
>  > # ifup eth0
>  > Ignoring unknown interface eth0=eth0.
>  >
>  > This looks like an issue related to udev persistent device naming.
>  >
>  > Further info:
>  > - The ctc module was loaded:
>  > # lsmod
>  > Module                  Size  Used by
>  > ctc                    79648  0
>  > fsm                    12544  1 ctc
>  > cu3088                 12292  1 ctc
>  > ccwgroup               15104  1 cu3088
>  > dcssblk                20504  0
>  > dasd_fba_mod           17408  0
>  > dasd_eckd_mod         109824  6
>  > dasd_mod               79924  8 dasd_fba_mod,dasd_eckd_mod
>  >
>  > - Network config is a basic static configuration; from
>  >   /etc/network/interfaces:
>  > auto ctc0
>  > iface ctc0 inet static
>  >         address 10.19.92.1
>  >         [...]
>  >
> 
> ... For Info ....
> 
> I had to add a file such as this to /etc/network/if-pre-up.d :
> 
> ctc0 :
> **********
> #!/bin/sh
> exec > /dev/null 2>&1
> echo "0.0.0400,0.0.0401" > /sys/bus/ccwgroup/drivers/ctc/group
> echo "1" > /sys/bus/ccwgroup/devices/0.0.0400/online
> **********
> 
> (it's a dual CTC link at CCUU 0400 & 0401)
> 
> Apparently this needs to be done so as to indicate the grouping 
> (CCUU/CCUU+1 was probably implicit in 2.4).
> 
> I had to do this some time ago when I switched to 2.6 and I think it was 
> Bastian who told me this.
> 
> Note that for the 1st time, since the update to klibc 1.2.4-1, I've been 
> able to complete a 2.6.15 kernel IPL (I suspect the issue was a problem 
> with pivot_root). Now also I had to change the parm line and /etc/fstab 
> due to the change in the DASD naming convention from the devfs 
> (/dev/dasd/0.LCSS.CCUU/partn) to the udev naming convention (/dev/dasdXY))
> 
> --Ivan
> 

I used the pre-up directive in /etc/network/interfaces as follows:

iface eth0 inet static
        address 10.10.10.10
        netmask 255.255.255.0
        network 10.10.10.0
        broadcast 10.10.10.255
        gateway 10.10.10.1
        pre-up echo 0.0.0700,0.0.0701,0.0.0702
> /sys/bus/ccwgroup/drivers/qeth/group
        pre-up echo 1 > /sys/devices/qeth/0.0.0700/online


Hugo Monteiro.



> 
-- 
ci.fct.unl.pt:~# cat .signature

Hugo Monteiro
Email    : hugo.monteiro@fct.unl.pt
Telefone : +351 212948300 Ext.15307

Centro de Informática
Faculdade de Ciências e Tecnologia da
                   Universidade Nova de Lisboa
Quinta da Torre   2829-516 Caparica   Portugal
Telefone: +351 212948596   Fax: +351 212948548
www.ci.fct.unl.pt             apoio@fct.unl.pt

ci.fct.unl.pt:~# _




Reply to: