Wheezy FCP problem

2013-03-18 Thread PROT Pierre-François
hello,

I'm having trouble running Wheezy in z/VM 6.2.  I  try to access scsi lun with 
fcp driver but this doesn't work.
Wheezy is installed running on eckd dasd, but now I'd like to test FCP lun.
I have s390-tools version 1.16.0-2 installed. Kernel 3.2.0-4-s390x
We  use NPIV. Storage and SAN seems wel l configured.

On  z/VM side in the USER DIRECT C, I have
dedicate 3400 3400
dedicate 4400 4400

On debian side, when I made a vmcp q fcp all, I see my 2 devices :
FCP  3400 ATTACHED TO DEBIAN3  3400 CHPID 30
 WWPN C05076E7E380
FCP  4400 ATTACHED TO DEBIAN3  4400 CHPID 40
 WWPN C05076E7E3800680

But a chccwdev -e 3400 or chccwdev -e 4400 does nothing.
I have the  /sys/bus/ccw/drivers/zfcp/0.0.3400 directory, but not the wwpn 
subdirectory.

I referred to the IBM's doc Linux on System z Device Drivers, Features, and 
Commands Development stream (Kernel 3.2) SC33-8411-14.

Also made a lszfcp -P -H -D -V and the result is the following.
/sys/devices/css0/0.0.0002/0.0.3400
/sys/class/fc_host/host2
/sys/class/scsi_host/host2
Error: No fcp devices found.

I also see in the doc a lsluns command, but a't find it on my system ?
Do you have any idea on how to solve this problem ? Thank you for your help.

Best Regads
Pierre-François Prot





Re: Wheezy FCP problem

2013-03-18 Thread Philipp Kern
Hi,

On Mon, Mar 18, 2013 at 02:39:09PM +, PROT Pierre-François wrote:
 But a chccwdev -e 3400 or chccwdev -e 4400 does nothing.
 I have the  /sys/bus/ccw/drivers/zfcp/0.0.3400 directory, but not the wwpn
 subdirectory.

please try to write 1 into /sys/bus/ccw/drivers/zfcp/0.0.3400/port_rescan.
Apart from that the output of dmesg would be helpful to see why no port
has been detected.

Kind regards
Philipp Kern


signature.asc
Description: Digital signature