I've booted from SLES 10 SP2 CD and installed Gentoo. Now I'm trying to make Ethernet work (it is working in SLES).
I found this document, but in current kernel (2.6.38.2) sysfs layout is some different, for example, there is no parameters
file in qeth device directory, but it have separate file portname
.
After echo 0.0.0100,0.0.0101,0.0.0102 > /sys/bus/ccwgroup/drivers/qeth/group
sysfs contains new directory /sys/devices/qeth/0.0.0100
with few files and directories inside. File portname
contains "no portname required".
But when I'm trying to write 1 to file online
it says:
-bash: echo: write error: No such device
I also tried to write "OSAPORT" to portname
, 0 and 1 to layer2
with no success. I still can not create eth0
interface.
What am I missing and how to corretly make eth0
configured at boot time in Gentoo?
ifconfig -a
besides lo? Also, can you figure out which kernel modules are loaded for Ethernet under SLES with lsmod? – penguin359 Apr 06 '11 at 11:09ifconfig -a
showslo
andsit0
. IIRC, SLES loadsqdio
andqeth
modules, and I have both compiled-in on Gentoo. – gelraen Apr 06 '11 at 17:24find /sys -name '*eth*'
anddmesg | grep -E '(qdio|qeth)'
reveals under both Gentoo and SLES. – penguin359 Apr 06 '11 at 17:50/etc/ccwgroup.conf
, buteth0
still not created andgrep -R 'ccwgroup\.conf' /etc/init.d
shows nothing. – gelraen Apr 12 '11 at 08:18