lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20061030211432.6ed62405@gondolin.boeblingen.de.ibm.com>
Date:	Mon, 30 Oct 2006 21:14:32 +0100
From:	Cornelia Huck <cornelia.huck@...ibm.com>
To:	Andy Whitcroft <apw@...dowen.org>
Cc:	Martin Bligh <mbligh@...gle.com>, Andrew Morton <akpm@...l.org>,
	linux-kernel@...r.kernel.org, Steve Fox <drfickle@...ibm.com>
Subject: Re: 2.6.19-rc3-mm1 -- missing network adaptors

On Mon, 30 Oct 2006 17:21:05 +0000,
Andy Whitcroft <apw@...dowen.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@...30034 ~]# 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@...ibm.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ