Skip to contentSkip to conversation

wait_for_sysfs warning in my driver

DISCUSSION [email protected] 2 participants 2 messages Dec 8, 2004

lore
Share & tools
lore
#0 lore raw

I have an ethernet driver that generates this warning on Fedora Core 3:

Dec  7 12:52:49 vic7 wait_for_sysfs[4254]: either wait_for_sysfs (udev 

039) needs an update to handle the device '/class/net/ccilnet0' properly (no device symlink) or the sysfs-support of your device's driver needs to be fixed, please report to <[email protected]>

I've been going through the archives of this mailing list, and I see a couple posts that suggest this is just a bug in udev, and not in my driver. Is that correct? If not, can someone give me a quick run-down as to what I need to do to update my driver? I'm assuming this warning is because I'm using some deprecated interface.

Signature · 14 lines
Timur Tabi
Staff Software Engineer
[email protected]


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
#1 lore raw
Quoted 10 lines · On Wed, 2004-12-08 at 10:41 -0600, [email protected] wrote:

I have an ethernet driver that generates this warning on Fedora Core 3:

Dec  7 12:52:49 vic7 wait_for_sysfs[4254]: either wait_for_sysfs (udev 

039) needs an update to handle the device '/class/net/ccilnet0' properly (no device symlink) or the sysfs-support of your device's driver needs to be fixed, please report to <[email protected]>

I've been going through the archives of this mailing list, and I see a couple posts that suggest this is just a bug in udev, and not in my driver. Is that correct?

It's not really a bug. If the device is backed by a physical device, it should create the symlinks. Only virtual interfaces will not need to do that.

Quoted 4 lines

If not, can someone give me a quick run-down
as to what I need to do to update my driver? I'm assuming this warning is because I'm using some deprecated interface.

Most networkd drivers use:
SET_NETDEV_DEV(dev, &pdev->dev);

to create the expected links in sysfs. You may look at one of the existing drivers how to do that in your driver.

Kay

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel