linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* wait_for_sysfs() "class specific file unavailable" messages for /class/fc_host and /class/fc_transpo
@ 2004-12-02 16:04 James.Smart
  2004-12-02 18:47 ` wait_for_sysfs() "class specific file unavailable" messages Kay Sievers
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: James.Smart @ 2004-12-02 16:04 UTC (permalink / raw)
  To: linux-hotplug

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 <linux-hotplug-devel@lists.sourceforge.net>
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 <linux-hotplug-devel@lists.sourceforge.net>

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 },

-- James



-------------------------------------------------------
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: wait_for_sysfs() "class specific file unavailable" messages
  2004-12-02 16:04 wait_for_sysfs() "class specific file unavailable" messages for /class/fc_host and /class/fc_transpo James.Smart
@ 2004-12-02 18:47 ` Kay Sievers
  2004-12-02 22:20 ` wait_for_sysfs() "class specific file unavailable" messages for /class/fc_host and /class/fc_tra Greg KH
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Kay Sievers @ 2004-12-02 18:47 UTC (permalink / raw)
  To: linux-hotplug

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 <linux-hotplug-devel@lists.sourceforge.net>
> 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 <linux-hotplug-devel@lists.sourceforge.net>
> 
> 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: wait_for_sysfs() "class specific file unavailable" messages for /class/fc_host and /class/fc_tra
  2004-12-02 16:04 wait_for_sysfs() "class specific file unavailable" messages for /class/fc_host and /class/fc_transpo James.Smart
  2004-12-02 18:47 ` wait_for_sysfs() "class specific file unavailable" messages Kay Sievers
@ 2004-12-02 22:20 ` Greg KH
  2004-12-10 15:05 ` wait_for_sysfs() "class specific file unavailable" messagesfor /class/fc_host and /class/fc_tran James.Smart
  2004-12-10 21:05 ` wait_for_sysfs() "class specific file unavailable" messagesfor Kay Sievers
  3 siblings, 0 replies; 5+ messages in thread
From: Greg KH @ 2004-12-02 22:20 UTC (permalink / raw)
  To: linux-hotplug

On Thu, Dec 02, 2004 at 07:47:38PM +0100, Kay Sievers wrote:
> 
> is already in my tree and will be show up soon with the next sync.

Speaking of which, I have synced up with you, right?  I'd like to get a
new release out this week if we can.

thanks,

greg k-h


-------------------------------------------------------
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: wait_for_sysfs() "class specific file unavailable" messagesfor /class/fc_host and /class/fc_tran
  2004-12-02 16:04 wait_for_sysfs() "class specific file unavailable" messages for /class/fc_host and /class/fc_transpo James.Smart
  2004-12-02 18:47 ` wait_for_sysfs() "class specific file unavailable" messages Kay Sievers
  2004-12-02 22:20 ` wait_for_sysfs() "class specific file unavailable" messages for /class/fc_host and /class/fc_tra Greg KH
@ 2004-12-10 15:05 ` James.Smart
  2004-12-10 21:05 ` wait_for_sysfs() "class specific file unavailable" messagesfor Kay Sievers
  3 siblings, 0 replies; 5+ messages in thread
From: James.Smart @ 2004-12-10 15:05 UTC (permalink / raw)
  To: linux-hotplug

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="windows-1254", Size: 2743 bytes --]

Kay,

> What does "ls -l /class/fc_host/host35" print? We may wait for a
> specific file, if there is one.

The results are below....

I do need to caveat this that this is for a pending patch, which although it has general consensus, has not made it into the upstream as yet.

-- James

[root@elxware fc_host]# pwd
/sys/class/fc_host/host1

[root@elxware host1]# ls
active_fc4s    maxframe_size  port_state   statistics         symbolic_name
device         node_name      port_type    supported_classes  tgtid_bind_type
fabric_name    port_id        rport-1:0-0  supported_fc4s
link_down_tmo  port_name      speed        supported_speeds

[root@elxware host1]# cat *
0x40 0x41 0x42 0x43 0x44 0x45 0x46 0x47 0x48 0x49 0x4a 0x4b 0x4c 0x4d 0x4e 0x4f 0x50 0x51 0x52 0x53 0x54 0x55 0x56 0x57 0x58 0x59 0x5a 0x5b 0x5c 0x5d 0x5e 0x5f 
cat: device: Is a directory
0x33334444ffeeddcc
30
2511 bytes
0x78563412aabbccdd
0x789abc
0xefcdab9011223344
Online
NPort (fabric via point-to-point)
cat: rport-1:0-0: Is a directory
2 Gbit
cat: statistics: Is a directory
Class 2, Class 3
0x80 0x81 0x82 0x83 0x84 0x85 0x86 0x87 0x88 0x89 0x8a 0x8b 0x8c 0x8d 0x8e 0x8f 0x90 0x91 0x92 0x93 0x94 0x95 0x96 0x97 0x98 0x99 0x9a 0x9b 0x9c 0x9d 0x9e 0x9f 
2 Gbit, 4 Gbit, 10 Gbit
LP9052 Dual Port Adapter
wwpn (World Wide Port Name)

[root@elxware host1]# ls -ld *
-r--r--r--  1 root root 4096 Dec  9 18:15 active_fc4s
lrwxrwxrwx  1 root root    0 Dec  9 18:15 device -> ../../../devices/platform/host1
-r--r--r--  1 root root 4096 Dec  9 18:15 fabric_name
-rw-r--r--  1 root root 4096 Dec  9 18:15 link_down_tmo
-r--r--r--  1 root root 4096 Dec  9 18:15 maxframe_size
-r--r--r--  1 root root 4096 Dec  9 18:15 node_name
-r--r--r--  1 root root 4096 Dec  9 18:15 port_id
-r--r--r--  1 root root 4096 Dec  9 18:15 port_name
-r--r--r--  1 root root 4096 Dec  9 18:15 port_state
-r--r--r--  1 root root 4096 Dec  9 18:15 port_type
lrwxrwxrwx  1 root root    0 Dec  9 18:15 rport-1:0-0 -> ../../../class/fc_remote_ports/rport-1:0-0
-r--r--r--  1 root root 4096 Dec  9 18:15 speed
drwxr-xr-x  2 root root    0 Dec  9 18:15 statistics
-r--r--r--  1 root root 4096 Dec  9 18:15 supported_classes
-r--r--r--  1 root root 4096 Dec  9 18:15 supported_fc4s
-r--r--r--  1 root root 4096 Dec  9 18:15 supported_speeds
-r--r--r--  1 root root 4096 Dec  9 18:15 symbolic_name
-rw-r--r--  1 root root 4096 Dec  9 18:15 tgtid_bind_type
ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÒ\x15隊X¬²š'²ŠÞu¼ÿN\x17ˆLúèvç-\x1aèy\x17šv\x1a'zËÿq©Ý‰ÚÞ¾'°²‰áºwkyÛ(|„Ï®‡nrÛ\x1f®‰«y©n±êìü8¬r‹Þ¯\bbr\x1ak¡Ûœ¶Ëkº\¥Š÷®¦Ú-…èr¥ïÒµªí­æŠx'£\x0fá¶Úÿÿúk¡Ûœ¶\v¢uïâ¶f§j\a«²:.®v¥ýÊ&ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ.)îÇøh¶™nƒ÷^½éfj)bž	b²Øm¶ŸÿþX§»\x1fá¢Úeº\x0fì¢êÜyú+ïçzÒâžìÿ†‹i–èÿuëÞ—ùb²Ûÿ²‹«qçè®\aÿëa¶ÚlÿÿåŠËlþÊ.­ÇŸ¢¸\x1eþw­þX¬¶ÏåŠËbú?–)îÇøh¶™nƒ÷^

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: wait_for_sysfs() "class specific file unavailable" messagesfor
  2004-12-02 16:04 wait_for_sysfs() "class specific file unavailable" messages for /class/fc_host and /class/fc_transpo James.Smart
                   ` (2 preceding siblings ...)
  2004-12-10 15:05 ` wait_for_sysfs() "class specific file unavailable" messagesfor /class/fc_host and /class/fc_tran James.Smart
@ 2004-12-10 21:05 ` Kay Sievers
  3 siblings, 0 replies; 5+ messages in thread
From: Kay Sievers @ 2004-12-10 21:05 UTC (permalink / raw)
  To: linux-hotplug

On Fri, 2004-12-10 at 10:05 -0500, James.Smart@Emulex.Com wrote:
> Kay,
> 
> > What does "ls -l /class/fc_host/host35" print? We may wait for a
> > specific file, if there is one.
> 
> The results are below....
> 
> I do need to caveat this that this is for a pending patch, which although
> it has general consensus, has not made it into the upstream as yet.

I've added it to the list.

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-12-10 21:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-02 16:04 wait_for_sysfs() "class specific file unavailable" messages for /class/fc_host and /class/fc_transpo James.Smart
2004-12-02 18:47 ` wait_for_sysfs() "class specific file unavailable" messages Kay Sievers
2004-12-02 22:20 ` wait_for_sysfs() "class specific file unavailable" messages for /class/fc_host and /class/fc_tra Greg KH
2004-12-10 15:05 ` wait_for_sysfs() "class specific file unavailable" messagesfor /class/fc_host and /class/fc_tran James.Smart
2004-12-10 21:05 ` wait_for_sysfs() "class specific file unavailable" messagesfor Kay Sievers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).