On Mon, 30 Oct 2006 17:21:05 +0000,
Andy Whitcroft <[email protected]> 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: [email protected]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]