lkml.org 
[lkml]   [2006]   [Oct]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: 2.6.19-rc3-mm1 -- missing network adaptors
    On Mon, 30 Oct 2006 17:21:05 +0000,
    Andy Whitcroft <apw@shadowen.org> wrote:

    > Martin Bligh wrote:
    > >>> Setting up network interfaces:
    > >>> lo
    > >>> lo IP address: 127.0.0.1/8
    > >>> 7[?25l[1A[80C[10D[1;32mdone[m8[?25h eth0
    > >>> No configuration found for eth0
    > >>> 7[?25l[1A[80C[10D[1munused[m8[?25h eth1
    > >>> No configuration found for eth1
    > >>>
    > >>> for all 8 cards.
    > >>
    > >>
    > >> What version of udev is being used?
    > >
    > > Buggered if I know. If we could quit breaking it, that'd be good though.
    > > If it printed its version during boot somewhere, that'd help too.
    > >
    > >> Was CONFIG_SYSFS_DEPRECATED set?
    > >
    > > No.
    > >
    > > M.
    >
    > These all sounds pretty old. I'll rerun them all with
    > CONFIG_SYSFS_DEPRECATED set and see what pans out.

    With CONFIG_SYSFS_DEPRECATED set, you'll get errors for devices which
    have no parent set. The kobject's parent is set to the class
    subsystem's kobject, meaning there is a child with name bus_id (e.
    g. /sys/class/net/lo). Unfortunately, we also try to create a link
    named bus_id in /sys/class/<foo>, which will fail with -EEXIST... We
    should probably drop that link if we have no parent.

    FWIW, my s390 system (modified FC 4) works fine with
    CONFIG_SYSFS_DEPRECATED not set (parent-less devices showing up under
    virtual/):

    [root@t2930034 ~]# ls -l /sys/class/net/
    total 0
    lrwxrwxrwx 1 root root 0 Oct 30 20:57 dummy0-> ../../devices/virtual/net/dummy0
    lrwxrwxrwx 1 root root 0 Oct 30 20:57 eth0-> ../../devices/qeth/0.0.f5f0/eth0
    lrwxrwxrwx 1 root root 0 Oct 30 20:57 lo-> ../../devices/virtual/net/lo
    lrwxrwxrwx 1 root root 0 Oct 30 20:57 sit0 -> ../../devices/virtual/net/sit0
    lrwxrwxrwx 1 root root 0 Oct 30 20:57 tunl0 -> ../../devices/virtual/net/tunl0

    Maybe the initscripts have problems coping with the new layout
    (symlinks instead of real devices)?

    --
    Cornelia Huck
    Linux for zSeries Developer
    Tel.: +49-7031-16-4837, Mail: cornelia.huck@de.ibm.com
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2006-10-30 21:17    [W:0.025 / U:0.912 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site