Fwd: NM ignoring interfaces
- From: Mohammed Arafat Kamaal <makamaal linux gmail com>
- To: networkmanager-list gnome org
- Subject: Fwd: NM ignoring interfaces
- Date: Sat, 10 Jul 2010 13:16:00 +0530
Hi Jirka,
Thanks for replying.
Its an SoC, Linux Kernel 2.6.22.19 running busy box. Kernel and Board support package is provided by our vendor.
The output of ls -la /sys/class/net
# ls -la /sys/class/net/
drwxr-xr-x 2 root root 0 Dec 31 16:00 ./
drwxr-xr-x 18 root root 0 Dec 31 16:00 ../
lrwxrwxrwx 1 root root 0 Jan 1 07:33 eth0 -> ../../devices/virtual/net/
eth0/
lrwxrwxrwx 1 root root 0 Jan 1 07:33 eth1 -> ../../devices/virtual/net/eth1/
lrwxrwxrwx 1 root root 0 Jan 1 07:33 lo -> ../../devices/virtual/net/lo/
# ls -la /sys/class/net/eth0/
drwxr-xr-x 3 root root 0 Dec 31 16:00 ./
drwxr-xr-x 5 root root 0 Dec 31 16:00 ../
-r--r--r-- 1 root root 16384 Jan 1 07:33 addr_len
-r--r--r-- 1 root root 16384 Jan 1 07:33 address
-r--r--r-- 1 root root 16384 Jan 1 07:33 broadcast
-r--r--r-- 1 root root 16384 Jan 1 07:33 carrier
-r--r--r-- 1 root root 16384 Jan 1 07:33 dormant
-r--r--r-- 1 root root 16384 Jan 1 07:33 features
-rw-r--r-- 1 root root 16384 Jan 1 07:33 flags
-r--r--r-- 1 root root 16384 Jan 1 07:33 ifindex
-r--r--r-- 1 root root 16384 Jan 1 07:33 iflink
-r--r--r-- 1 root root 16384 Jan 1 07:33 link_mode
-rw-r--r-- 1 root root 16384 Jan 1 07:33 mtu
-r--r--r-- 1 root root 16384 Jan 1 07:33 operstate
drwxr-xr-x 2 root root 0 Dec 31 16:00 statistics/
lrwxrwxrwx 1 root root 0 Jan 1 07:33 subsystem -> ../../../../class/net/
-rw-r--r-- 1 root root 16384 Jan 1 07:33 tx_queue_len
-r--r--r-- 1 root root 16384 Jan 1 07:33 type
-rw-r--r-- 1 root root 16384 Jan 1 07:33 uevent
-rw-r--r-- 1 root root 16384 Jan 1 07:33 weight
# ls -la /sys/class/net/eth1/
drwxr-xr-x 3 root root 0 Dec 31 16:00 ./
drwxr-xr-x 5 root root 0 Dec 31 16:00 ../
-r--r--r-- 1 root root 16384 Jan 1 07:33 addr_len
-r--r--r-- 1 root root 16384 Jan 1 07:33 address
-r--r--r-- 1 root root 16384 Jan 1 07:33 broadcast
-r--r--r-- 1 root root 16384 Jan 1 07:33 carrier
-r--r--r-- 1 root root 16384 Jan 1 07:33 dormant
-r--r--r-- 1 root root 16384 Jan 1 07:33 features
-rw-r--r-- 1 root root 16384 Jan 1 07:33 flags
-r--r--r-- 1 root root 16384 Jan 1 07:33 ifindex
-r--r--r-- 1 root root 16384 Jan 1 07:33 iflink
-r--r--r-- 1 root root 16384 Jan 1 07:33 link_mode
-rw-r--r-- 1 root root 16384 Jan 1 07:33 mtu
-r--r--r-- 1 root root 16384 Jan 1 07:33 operstate
drwxr-xr-x 2 root root 0 Dec 31 16:00 statistics/
lrwxrwxrwx 1 root root 0 Jan 1 07:33 subsystem -> ../../../../class/net/
-rw-r--r-- 1 root root 16384 Jan 1 07:33 tx_queue_len
-r--r--r-- 1 root root 16384 Jan 1 07:33 type
-rw-r--r-- 1 root root 16384 Jan 1 07:33 uevent
-rw-r--r-- 1 root root 16384 Jan 1 07:33 weight
Regards,
MAK
On Thu, Jul 8, 2010 at 4:51 PM, Jirka Klimes
<jklimes redhat com> wrote:
On Friday 02 of July 2010 07:06:44 Mohammed Arafat Kamaal wrote:
> Hi,
>
> I am trying get NM working on a embedded linux platform. The ethernet
> controller is built on SoC(Its not a separate device). The chip vendor
> provides the drivers as part of the Board support package.
>
> When NM is started it just ignores the interfaces, and doesn't do any more
> operations. From the messages it appears to be a driver issue. Any
> patches/workarounds for this issue?
>
> When I Start NM I get the following message:
>
> NetworkManager: <info> starting...
> NetworkManager: <info> Trying to start the modem-manager...
> NetworkManager: SCPlugin-Ifupdown: init!
> NetworkManager: SCPlugin-Ifupdown: update_system_hostname
> NetworkManager: SCPluginIfupdown: management mode: managed
> NetworkManager: SCPlugin-Ifupdown: devices added (path:
> /sys/devices/virtual/net/eth0, iface: eth0)
> NetworkManager: SCPlugin-Ifupdown: device added (path:
> /sys/devices/virtual/net/eth0, iface: eth0): no ifupdown configuration
> found.
> NetworkManager: SCPlugin-Ifupdown: devices added (path:
> /sys/devices/virtual/net/eth1, iface: eth1)
> NetworkManager: SCPlugin-Ifupdown: device added (path:
> /sys/devices/virtual/net/eth1, iface: eth1): no ifupdown configuration
> found.
> NetworkManager: SCPlugin-Ifupdown: devices added (path:
> /sys/devices/virtual/net/lo, iface: lo)
> NetworkManager: SCPlugin-Ifupdown: device added (path:
> /sys/devices/virtual/net/lo, iface: lo): no ifupdown configuration found.
> NetworkManager: SCPlugin-Ifupdown: end _init.
> NetworkManager: Loaded plugin ifupdown: (C) 2008 Canonical Ltd. To report
> bugs please use the NetworkManager mailing list.
> NetworkManager: Loaded plugin keyfile: (c) 2007 - 2008 Red Hat, Inc. To
> report bugs please use the NetworkManager mailing list.
> NetworkManager: <info> WiFi enabled by radio killswitch; enabled by state
> file
> NetworkManager: <info> WWAN enabled by radio killswitch; enabled by state
> file
> NetworkManager: SCPlugin-Ifupdown: (5130848) ... get_connections.
> NetworkManager: SCPlugin-Ifupdown: (5130848) connections count: 0
> NetworkManager: <WARN> device_creator(): /sys/devices/virtual/net/eth0:
> couldn't determine device driver; ignoring...
> NetworkManager: <WARN> device_creator(): /sys/devices/virtual/net/eth1:
> couldn't determine device driver; ignoring...
> ifup: interface lo already configured
>
> Regards,
> MAK.
The driver is not a real kernel driver and thus is not exposing the device
tree in sysfs. Thus NetworkManager ignores it.
What sort of driver do you use? Are you able to use a kernel driver?
Try to provide more details so that someone can help you.
- what embedded platform do you use?
- what distro? (looks like some debian-based)
- kernel version
- network chip (lspci)
- ls -la /sys/class/net
- etc.
Jirka
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]