linux-mips
[Top] [All Lists]

SGI O2 meth: missing sysfs device symlink

To: linux-mips@linux-mips.org
Subject: SGI O2 meth: missing sysfs device symlink
From: Martin Michlmayr <tbm@cyrius.com>
Date: Thu, 17 May 2007 17:16:37 +0200
Cc: Giuseppe Sacco <giuseppe@eppesuigoccas.homedns.org>
In-reply-to: <50621.192.168.2.50.1179383217.squirrel@eppesuigoccas.homedns.org>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1178743456.15447.41.camel@scarafaggio> <20070516151939.GH19816@deprecation.cyrius.com> <20070516160313.GA3409@bongo.bofh.it> <50621.192.168.2.50.1179383217.squirrel@eppesuigoccas.homedns.org>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.13 (2006-08-11)
Apparently udev fails to rename the SGI O2 interface because it
doesn't have a sysfs device symlink.  Does someone here know how to
fix this?

* Giuseppe Sacco <giuseppe@eppesuigoccas.homedns.org> [2007-05-17 08:26]:
> [...]
> > Interfaces must have a device symlink (in /sys/class/net/$IFACE/, which
> > some broken drivers lack) and unique MAC addresses.
> 
> Hi Marco,
> this "device" link is missing for this driver. So probably this is a
> kernel bug.
> 
> giuseppe@sgi:~$ ls -ld /sys/class/net/*{,/device}
> drwxr-xr-x 3 root root 0 2007-05-17 08:22 /sys/class/net/eth0
> drwxr-xr-x 3 root root 0 2007-05-17 08:22 /sys/class/net/eth100
> lrwxrwxrwx 1 root root 0 2007-05-17 08:22 /sys/class/net/eth100/device ->
> ../../../devices/pci0000:00/0000:00:03.0
> drwxr-xr-x 3 root root 0 2007-05-12 23:35 /sys/class/net/lo
> drwxr-xr-x 3 root root 0 2007-05-12 15:10 /sys/class/net/ppp0
> drwxr-xr-x 3 root root 0 2007-05-12 21:35 /sys/class/net/sit0
> 
> Thanks,
> Giuseppe

-- 
Martin Michlmayr
http://www.cyrius.com/

<Prev in Thread] Current Thread [Next in Thread>