linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Fw: tape implementation question for SLES9 and persistent Binding
@ 2005-10-26 20:10 Stefan Neff
  2005-10-27 11:50 ` Hannes Reinecke
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Neff @ 2005-10-26 20:10 UTC (permalink / raw)
  To: linux-hotplug

Hi linux-hotplug-devels,

found on several internet web pages your email. I was looking for
implementation help for persistant binding of tape via udev-command under
SLES9 on a IBM pSerie with EMULEX LP10.000

The problem I / we is that we dont't realy understand all the theoretic
explamantion about the udev. All provided examples only talk about printer
and disk - not tape.
With disk and printeres it looks easy ... because for printers in the
"sysfs" is the s/n listed and for disk you can see the ID. With Tapes its
not the case - in the "sysfs" there is no S/N nor the WWNN or WWPN. So you
dont get information for a unique assignment from there.

This is the udevinfo from a front office colleague wich starts with the
            device the node belongs to and then walks up the
device chain, to print for every device found, all possibly useful
            attributes
in the udev key format.
Only attributes within one device section may be used together in one rule,
to match the device for which the node will be created.

device '/sys/class/IBMtape/IBMtape0' has major:minor 253:0
  looking at class device '/sys/class/IBMtape/IBMtape0':
    SYSFS{dev}="253:0"

follow the class device's "device"
  looking at the device chain at '/sys/devices/pci0000:00/0000:00:02.6
            /0000:d8:01.0/host1/1:0:0:0':
    BUS="scsi"
    ID="1:0:0:0"
    SYSFS{detach_state}="0"
    SYSFS{device_blocked}="0"
    SYSFS{model}="ULT3580-TD2     "
    SYSFS{online}="1"
    SYSFS{queue_depth}="30"
    SYSFS{rev}="59P3"
    SYSFS{scsi_level}="4"
    SYSFS{timeout}="0"
    SYSFS{type}="1"
    SYSFS{vendor}="IBM     "

  looking at the device chain at '/sys/devices/pci0000:00/0000:00:02.6
            /0000:d8:01.0/host1':
    BUS=""
    ID="host1"
    SYSFS{detach_state}="0"

  looking at the device chain at '/sys/devices/pci0000:00/0000:00:02.6
            /0000:d8:01.0':
    BUS="pci"
    ID="0000:d8:01.0"
    SYSFS{class}="0x0c0400"
    SYSFS{detach_state}="0"
    SYSFS{device}="0xfa00"
    SYSFS{devspec}="/pci@800000020000002/pci@2,6/fibre-channel@1"
    SYSFS{irq}="137"
    SYSFS{subsystem_device}="0xfa00"
    SYSFS{subsystem_vendor}="0x10df"
    SYSFS{vendor}="0x10df"

  looking at the device chain at '/sys/devices/pci0000:00/0000:00:02.6':
    BUS="pci"
    ID="0000:00:02.6"
    SYSFS{class}="0x06040f"
    SYSFS{detach_state}="0"
    SYSFS{device}="0x0188"
    SYSFS{devspec}="/pci@800000020000002/pci@2,6"
    SYSFS{irq}="0"
    SYSFS{subsystem_device}="0x0000"
    SYSFS{subsystem_vendor}="0x0000"
    SYSFS{vendor}="0x1014"

  looking at the device chain at '/sys/devices/pci0000:00':
    BUS=""
    ID="pci0000:00"
    SYSFS{detach_state}="0"

What I am looking for is a step by step guidline how to set up the
persistent binding for a ibm tape drive ... best with a pratical example.
Maybe something in that linux code is still missing to support IBM tape...
dont know .. I hope you can help us ...

Mit freundlichen Gruessen / Best Regards
Stefan Neff
                                                                                         
 RMSS Product Field                                       EMEA RMSS PFE Intranet Webpage 
 Engineer                                                                                
                                                                                         
 IBM Deutschland GmbH               http://w3.ais.mainz.de.ibm.com/dept/4165pub/home.htm 
                                                                                         
 ESCC Dept. 0A186,                                          mail: stefan.neff@de.ibm.com 
 Bldg.82 - 9A                                                                            
                                                                                         
 Hechtsheimer Str. 2                                       phone: +49 (0) 6131 84 - 6059 
                                                                                         
 D - 55131 MAINZ                                             fax: +49 (0) 6131 84 - 2719 
                                                                                         
                                                                                         
                                                                                         




-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
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] 2+ messages in thread

end of thread, other threads:[~2005-10-27 11:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-26 20:10 Fw: tape implementation question for SLES9 and persistent Binding Stefan Neff
2005-10-27 11:50 ` Hannes Reinecke

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