From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Thu, 02 Dec 2004 18:47:38 +0000 Subject: Re: wait_for_sysfs() "class specific file unavailable" messages Message-Id: <1102013259.6127.9.camel@localhost.localdomain> List-Id: References: <0B1E13B586976742A7599D71A6AC733C12E808@xbl3.ma.emulex.com> In-Reply-To: <0B1E13B586976742A7599D71A6AC733C12E808@xbl3.ma.emulex.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: linux-hotplug@vger.kernel.org On Thu, 2004-12-02 at 11:04 -0500, James.Smart@Emulex.Com wrote: > In testing our FC adapters with the latest kernel, we are seeing the following wait_for_sysfs() messages from udev: > > Dec 1 10:03:20 xeon1 wait_for_sysfs[13843]: either wait_for_sysfs (udev 039) needs an update to handle the device '/class/fc_host/host35' properly (class specific file unavailable) or the sysfs-support of your device's driver needs to be fixed, please report to > Dec 1 10:03:20 xeon1 wait_for_sysfs[13846]: either wait_for_sysfs (udev 039) needs an update to handle the device '/class/fc_transport/target35:0:0' properly (class specific file unavailable) or the sysfs-support of your device's driver needs to be fixed, please report to > > In looking through the 046 udev sources - I think it implies that udev doesn't recognize the fc_transport or fc_host classes. I know fc_host is new. Additionally, there are some other transports being added to scsi that are not accounted for as well - spi_transport and spi_host (and fc_remote_ports is pending). > > I assume this is solved by adding the following lines to udev_sysfs.c: > { .subsystem = "fc_transport", .file = NULL }, > { .subsystem = "fc_host", .file = NULL }, { .subsystem = "fc_transport",»·.file = "port_id" } is already in my tree and will be show up soon with the next sync. What does "ls -l /class/fc_host/host35" print? We may wait for a specific file, if there is one. Thanks, 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 Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel