[Cbe-oss-dev] (gentoo) udev-114 bug with PS3 gelic_net (PS3 NIC)?

Wang, Baojun wangbj at lzu.edu.cn
Fri Aug 17 19:11:16 EST 2007


hi,

  I've just upgraded the gentoo (2007.0, 64bit kernel for ps3, 64bit userland) 
on PS3 today (portage is 20070815) and got a new udev 114 from orignal 104. 
then after rebooting, the new udev (114) will handle my NIC as such manner:

1) if there is no /etc/udev/rules.d/70-persistent-net.rules 
or /etc/udev/rules.d/70-persistent-net.rules is empty, NIC will become eth0, 
thus it could be configured correctly.

2) if /etc/udev/rules.d/70-persistent-net.rules is not empty like:

SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="00:19:c5:29:ef:23", 
NAME="eth0"

next reboot will cause udev append a new line into that file and NAME will 
become eth(X+1), ie:

SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="00:19:c5:29:ef:23", 
NAME="eth0"
SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="00:19:c5:29:ef:23", 
NAME="eth1"

so after rebooting, my NIC will be detected as eth0, then eth1, then eth2, 
etc. but if NIC is not detected as eth0, it will not configured and not 
working.

the error is reproducable, is it a udev (114) bug? is there anyone have the 
simular problem like me? I think it might be the NIC module `gelic_net' is 
NOT a PCI/PCI-E device. (ALSO gelic_net is built into the kernel)

I'm sorry if I've posted this to the wrong list.

  Regards,

Wang

-- 
Wang, Baojun                                        Lanzhou University
Distributed & Embedded System Lab              http://dslab.lzu.edu.cn
School of Information Science and Engeneering        wangbj at lzu.edu.cn
Tianshui South Road 222. Lanzhou 730000                     .P.R.China
Tel:+86-931-8912025                                Fax:+86-931-8912022
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/cbe-oss-dev/attachments/20070817/2a27fec7/attachment.pgp>


More information about the cbe-oss-dev mailing list