[Pkg-utopia-maintainers] Bug#568977: Bug#568977: Kernel drivers

John Talbut jt at dpets.co.uk
Wed Feb 10 06:44:58 UTC 2010


Michael

You wrote:

>>> Can't you install an original Debian kernel in parallel and test
>>> it.

Even if I did it would not help.  Presumably NetworkManager works with a
kernel that uses external kernel modules.  The problem I have is that it
is not working with a kernel that has the drivers compiled into it.

> If the drivers do not provide the proper sysfs interface, then this
> is a driver/kernel issue.

It seems as if the interface is present, it is just that NetworkManager
is not finding it.  Presumably, since "The point of NetworkManager is to
make networking configuration and setup as painless and automatic as
possible." it should find any network devices if they are present.

In my case it seems as if NetworkManager is not following the symlink:

>>> ls -la /sys/class/net/eth0/device/
>> lrwxrwxrwx 1 root root 0 2010-02-09 14:28
>> /sys/class/net/eth0/device -> 
>> ../../../devices/pci0000:00/0000:00:1c.0/0000:01:00.0

So if I look at /sys/devices/pci0000:00/0000:00:1c.0/0000:01:00.0 I get:

ls -la /sys/devices/pci0000:00/0000:00:1c.0/0000:01:00.0
total 0
drwxr-xr-x 3 root root     0 2010-02-10 05:04 .
drwxr-xr-x 7 root root     0 2010-02-10 05:04 ..
-rw-r--r-- 1 root root  4096 2010-02-10 06:40 broken_parity_status
lrwxrwxrwx 1 root root     0 2010-02-10 06:40 bus -> ../../../../bus/pci
-r--r--r-- 1 root root  4096 2010-02-10 06:40 class
-rw-r--r-- 1 root root  4096 2010-02-10 06:40 config
-r--r--r-- 1 root root  4096 2010-02-10 06:40 device
lrwxrwxrwx 1 root root     0 2010-02-10 06:40 driver ->
../../../../bus/pci/drivers/r8169
-rw------- 1 root root  4096 2010-02-10 06:40 enable
lrwxrwxrwx 1 root root     0 2010-02-10 06:40 firmware_node ->
../../../LNXSYSTM:00/device:00/PNP0A08:00/device:12/device:13
-r--r--r-- 1 root root  4096 2010-02-10 06:40 irq
-r--r--r-- 1 root root  4096 2010-02-10 06:40 local_cpulist
-r--r--r-- 1 root root  4096 2010-02-10 06:40 local_cpus
-r--r--r-- 1 root root  4096 2010-02-10 06:40 modalias
-rw-r--r-- 1 root root  4096 2010-02-10 06:40 msi_bus
lrwxrwxrwx 1 root root     0 2010-02-10 06:40 net:eth0 ->
../../../../class/net/eth0
drwxr-xr-x 2 root root     0 2010-02-10 06:40 power
--w--w---- 1 root root  4096 2010-02-10 06:40 remove
--w--w---- 1 root root  4096 2010-02-10 06:40 rescan
-r--r--r-- 1 root root  4096 2010-02-10 06:40 resource
-rw------- 1 root root   256 2010-02-10 06:40 resource0
-rw------- 1 root root  4096 2010-02-10 06:40 resource2
-rw------- 1 root root  4096 2010-02-10 06:40 resource2_wc
-rw------- 1 root root 65536 2010-02-10 06:40 resource4
-rw------- 1 root root 65536 2010-02-10 06:40 resource4_wc
-r-------- 1 root root 65536 2010-02-10 06:40 rom
lrwxrwxrwx 1 root root     0 2010-02-10 06:40 subsystem ->
../../../../bus/pci
-r--r--r-- 1 root root  4096 2010-02-10 06:40 subsystem_device
-r--r--r-- 1 root root  4096 2010-02-10 06:40 subsystem_vendor
-rw-r--r-- 1 root root  4096 2010-02-10 06:40 uevent
-r--r--r-- 1 root root  4096 2010-02-10 06:40 vendor
-rw------- 1 root root 32768 2010-02-10 06:40 vpd

Which seems to be what you were looking for.

John





More information about the Pkg-utopia-maintainers mailing list