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-next>] [day] [month] [year] [list]
Message-ID: <51158774.8080405@novatechweb.com>
Date:	Fri, 8 Feb 2013 17:17:08 -0600
From:	Joseph Lutz <joseph.lutz@...atechweb.com>
To:	<netdev@...r.kernel.org>
Subject: Issue with Micrel PCI Network Driver.

I am having an issue with one of the network interface drivers. The 
driver in question is 'drivers/net/ethernet/micrel/ksz884x.c', the 
driver for the Micrel-Kendin device 8841.
I am trying to get systemd to rename the three network interfaces in my 
embedded atom system. I have one of the interfaces being renamed (an 
Intel Corporation 82574L), but the two Micrel interfaces are not being 
renamed. I traced this down to the driver not populating the 
/sys/devices/pci* information. Instead it places the driver into 
/sys/devices/virtual/net/.

Here are the details of the setup I am having the problem on:

     # uname -a ; lspci ; lspci -t ; ls -l /sys/class/net/
     Linux orionlx 3.2.28-rt42-0.1-default+ #1 SMP PREEMPT RT Fri Feb 8 
12:01:13 CST 2013 i686 GNU/Linux
     00:00.0 Host bridge: Intel Corporation System Controller Hub (SCH 
Poulsbo) (rev 07)
     00:02.0 VGA compatible controller: Intel Corporation System 
Controller Hub (SCH Poulsbo) Graphics Controller (rev 07)
     00:1a.0 USB Controller: Intel Corporation System Controller Hub 
(SCH Poulsbo) USB Client Controller (rev 07)
     00:1b.0 Audio device: Intel Corporation System Controller Hub (SCH 
Poulsbo) HD Audio Controller (rev 07)
     00:1c.0 PCI bridge: Intel Corporation System Controller Hub (SCH 
Poulsbo) PCI Express Port 1 (rev 07)
     00:1c.1 PCI bridge: Intel Corporation System Controller Hub (SCH 
Poulsbo) PCI Express Port 2 (rev 07)
     00:1d.0 USB Controller: Intel Corporation System Controller Hub 
(SCH Poulsbo) USB UHCI #1 (rev 07)
     00:1d.1 USB Controller: Intel Corporation System Controller Hub 
(SCH Poulsbo) USB UHCI #2 (rev 07)
     00:1d.2 USB Controller: Intel Corporation System Controller Hub 
(SCH Poulsbo) USB UHCI #3 (rev 07)
     00:1d.7 USB Controller: Intel Corporation System Controller Hub 
(SCH Poulsbo) USB EHCI #1 (rev 07)
     00:1f.0 ISA bridge: Intel Corporation System Controller Hub (SCH 
Poulsbo) LPC Bridge (rev 07)
     00:1f.1 IDE interface: Intel Corporation System Controller Hub (SCH 
Poulsbo) IDE Controller (rev 07)
     01:00.0 PCI bridge: Pericom Semiconductor Device e111 (rev 02)
     02:01.0 PCI bridge: Pericom Semiconductor 
PI7C8152A/PI7C8152B/PI7C8152BI PCI-to-PCI Bridge (rev 01)
     03:00.0 Ethernet controller: Micrel-Kendin Device 8841 (rev 10)
     03:01.0 Ethernet controller: Micrel-Kendin Device 8841 (rev 10)
     04:00.0 Ethernet controller: Intel Corporation 82574L Gigabit 
Network Connection
     -[0000:00]-+-00.0
                +-02.0
                +-1a.0
                +-1b.0
+-1c.0-[0000:01-03]----00.0-[0000:02-03]----01.0-[0000:03]--+-00.0
|                                                           \-01.0
                +-1c.1-[0000:04]----00.0
                +-1d.0
                +-1d.1
                +-1d.2
                +-1d.7
                +-1f.0
                \-1f.1
     lrwxrwxrwx    1 root     root             0 Mar 27 02:04 enp4s0 -> 
../../devices/pci0000:00/0000:00:1c.1/0000:04:00.0/net/enp4s0
     lrwxrwxrwx    1 root     root             0 Mar 27 02:04 eth1 -> 
../../devices/virtual/net/eth1
     lrwxrwxrwx    1 root     root             0 Mar 27 02:04 eth2 -> 
../../devices/virtual/net/eth2
     lrwxrwxrwx    1 root     root             0 Mar 27 02:04 lo -> 
../../devices/virtual/net/lo

This kernel is version 3.2.28 with the real-time patches applied.

If there isn't anyone available to resolve this issue I would be willing 
to assist. I just do not have any experience writing Network Drivers or 
PCI drivers. I have only written simple device drivers.

-- 
..............................................
Joseph Lutz
Software Developer
NovaTech, LLC
13555 W. 107th Street
Lenexa, KS 66215
(913) 451-1880 (main)
(913) 742-4531 (direct)
Joseph.Lutz@...atechweb.com


--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ