[Firewire-users] Unable to setup shared access to firewire drive

George Bagley bagleyg at redrock.net.au
Mon Dec 10 16:20:03 PST 2007


Hi 
 
I am unable to access a shared firewire drive setup which I am hoping to
use for shared storage.
 
I am using Oracle Enterprise Linux v5.0.
 
Details are below.
 
*	kernel version 

	[root at dbarac001 ~]# uname -r
	2.6.18-8.el5
	

*	ieee1394 drivers version (if not the original ones) 

	[root at dbarac001 ~]# rpm -qa | grep 1394
	libavc1394-0.5.3-1.fc6
	ieee1394-kmdl-2.6.18-8.el5-2.6.18-2.el5

*	relevant messages from dmesg 

	[root at dbarac001 ~]# dmesg | grep sbp2
	ieee1394: sbp2: Driver forced to serialize I/O (serialize_io=1)
	ieee1394: sbp2: Try serialize_io=0 for better performance
	ieee1394: sbp2: force_inquiry_hack is deprecated. Use parameter
'workarounds' instead.
	ieee1394: sbp2: Workarounds for node 0-01:1023: 0x2
(firmware_revision 0x030307, vendor_id 0x0010b9, model_id 0x007228)
	ieee1394: sbp2: Maximum concurrent logins supported: 4
	ieee1394: sbp2: Number of active logins: 1
	ieee1394: sbp2: Error logging into SBP-2 device - login failed
	sbp2: probe of 0010b92100907c54-1 failed with error -16

*	adapter card model and/or OHCI chipset 
 
*	output of lspci 

	0a:01.0 FireWire (IEEE 1394): Texas Instruments TSB82AA2
IEEE-1394b Link Layer Controller (rev 01) (prog-if 10 [OHCI])
	        Subsystem: Ads Technologies Inc Unknown device 0811
	        Flags: bus master, medium devsel, latency 32, IRQ 90
	        Memory at f3eff800 (32-bit, non-prefetchable) [size=2K]
	        Memory at f3ef8000 (32-bit, non-prefetchable) [size=16K]
	        Capabilities: [44] Power Management version 2
	

*	versions of libraries (libraw1394...), application or utility
(if applicable) 

	libraw1394-1.2.1-1.fc6

 
The output of a scsi bus scan on the failing node is below.
 
Host adapter 0 (mptsas) found.
Host adapter 1 (usb-storage) found.
Host adapter 2 (usb-storage) found.
Scanning SCSI subsystem for new devices
Scanning host 0 channels 0 for  SCSI target IDs  0 1 2 3 4 5 6 7, all
LUNs
Scanning for device 0 0 0 0 ...
OLD: Host: scsi0 Channel: 00 Id: 00 Lun: 00
      Vendor: ATA      Model: WDC WD2500JS-75N Rev: 2E04
      Type:   Direct-Access                    ANSI SCSI revision: 05
./rescan_scsi.sh: line 262: return: : numeric argument required
Scanning for device 0 0 0 0 ...
OLD: Host: scsi0 Channel: 00 Id: 00 Lun: 00
      Vendor: ATA      Model: WDC WD2500JS-75N Rev: 2E04
      Type:   Direct-Access                    ANSI SCSI revision: 05
Scanning host 1 channels 0 for  SCSI target IDs  0 1 2 3 4 5 6 7, all
LUNs
Scanning for device 1 0 0 0 ...
OLD: Host: scsi1 Channel: 00 Id: 00 Lun: 00
      Vendor: Dell     Model: Virtual  CDROM   Rev: 123 
      Type:   CD-ROM                           ANSI SCSI revision: 02
./rescan_scsi.sh: line 262: return: : numeric argument required
Scanning for device 1 0 0 0 ...
OLD: Host: scsi1 Channel: 00 Id: 00 Lun: 00
      Vendor: Dell     Model: Virtual  CDROM   Rev: 123 
      Type:   CD-ROM                           ANSI SCSI revision: 02
Scanning host 2 channels 0 for  SCSI target IDs  0 1 2 3 4 5 6 7, all
LUNs
Scanning for device 2 0 0 0 ...
OLD: Host: scsi2 Channel: 00 Id: 00 Lun: 00
      Vendor: Dell     Model: Virtual  Floppy  Rev: 123 
      Type:   Direct-Access                    ANSI SCSI revision: 02
./rescan_scsi.sh: line 262: return: : numeric argument required
Scanning for device 2 0 0 0 ...
OLD: Host: scsi2 Channel: 00 Id: 00 Lun: 00
      Vendor: Dell     Model: Virtual  Floppy  Rev: 123 
      Type:   Direct-Access                    ANSI SCSI revision: 02
0 new device(s) found.               
0 device(s) removed.                 

Here is the output from the node that works.
 
Host adapter 0 (mptsas) found.
Host adapter 1 (usb-storage) found.
Host adapter 2 (usb-storage) found.
Host adapter 3 (sbp2) found.
Scanning SCSI subsystem for new devices
Scanning host 0 channels 0 for  SCSI target IDs  0 1 2 3 4 5 6 7, all
LUNs
Scanning for device 0 0 0 0 ...
OLD: Host: scsi0 Channel: 00 Id: 00 Lun: 00
      Vendor: ATA      Model: WDC WD2500JS-75N Rev: 2E04
      Type:   Direct-Access                    ANSI SCSI revision: 05
Scanning for device 0 0 0 0 ...
OLD: Host: scsi0 Channel: 00 Id: 00 Lun: 00
      Vendor: ATA      Model: WDC WD2500JS-75N Rev: 2E04
      Type:   Direct-Access                    ANSI SCSI revision: 05
Scanning for device 0 0 1 0 ...
OLD: 
NEW: 
Scanning for device 0 0 2 0 ...
OLD: 
NEW: 
Scanning for device 0 0 3 0 ...
OLD: 
NEW: 
Scanning for device 0 0 4 0 ...
OLD: 
NEW: 
Scanning for device 0 0 5 0 ...
OLD: 
NEW: 
Scanning for device 0 0 6 0 ...
OLD: 
NEW: 
Scanning for device 0 0 7 0 ...
OLD: 
NEW: 
Scanning host 1 channels 0 for  SCSI target IDs  0 1 2 3 4 5 6 7, all
LUNs
Scanning for device 1 0 0 0 ...
OLD: Host: scsi1 Channel: 00 Id: 00 Lun: 00
      Vendor: Dell     Model: Virtual  CDROM   Rev: 123 
      Type:   CD-ROM                           ANSI SCSI revision: 02
Scanning for device 1 0 0 0 ...
OLD: Host: scsi1 Channel: 00 Id: 00 Lun: 00
      Vendor: Dell     Model: Virtual  CDROM   Rev: 123 
      Type:   CD-ROM                           ANSI SCSI revision: 02
Scanning for device 1 0 1 0 ...
OLD: 
NEW: 
Scanning for device 1 0 2 0 ...
OLD: 
NEW: 
Scanning for device 1 0 3 0 ...
OLD: 
NEW: 
Scanning for device 1 0 4 0 ...
OLD: 
NEW: 
Scanning for device 1 0 5 0 ...
OLD: 
NEW: 
Scanning for device 1 0 6 0 ...
OLD: 
NEW: 
Scanning for device 1 0 7 0 ...
OLD: 
NEW: 
Scanning host 2 channels 0 for  SCSI target IDs  0 1 2 3 4 5 6 7, all
LUNs
Scanning for device 2 0 0 0 ...
OLD: Host: scsi2 Channel: 00 Id: 00 Lun: 00
      Vendor: Dell     Model: Virtual  Floppy  Rev: 123 
      Type:   Direct-Access                    ANSI SCSI revision: 02
Scanning for device 2 0 0 0 ...
OLD: Host: scsi2 Channel: 00 Id: 00 Lun: 00
      Vendor: Dell     Model: Virtual  Floppy  Rev: 123 
      Type:   Direct-Access                    ANSI SCSI revision: 02
Scanning for device 2 0 1 0 ...
OLD: 
NEW: 
Scanning for device 2 0 2 0 ...
OLD: 
NEW: 
Scanning for device 2 0 3 0 ...
OLD: 
NEW: 
Scanning for device 2 0 4 0 ...
OLD: 
NEW: 
Scanning for device 2 0 5 0 ...
OLD: 
NEW: 
Scanning for device 2 0 6 0 ...
OLD: 
NEW: 
Scanning for device 2 0 7 0 ...
OLD: 
NEW: 
Scanning host 3 channels 0 for  SCSI target IDs  0 1 2 3 4 5 6 7, all
LUNs
Scanning for device 3 0 0 0 ...
OLD: Host: scsi3 Channel: 00 Id: 00 Lun: 00
      Vendor: Maxtor   Model: OneTouch IIIs    Rev: 0337
      Type:   Direct-Access                    ANSI SCSI revision: 04
Scanning for device 3 0 0 0 ...
OLD: Host: scsi3 Channel: 00 Id: 00 Lun: 00
      Vendor: Maxtor   Model: OneTouch IIIs    Rev: 0337
      Type:   Direct-Access                    ANSI SCSI revision: 04
Scanning for device 3 0 1 0 ...
OLD: Host: scsi3 Channel: 00 Id: 01 Lun: 00
      Vendor: Maxtor   Model: OneTouch IIIs    Rev: 0337
      Type:   Direct-Access                    ANSI SCSI revision: 04
Scanning for device 3 0 1 0 ...
OLD: Host: scsi3 Channel: 00 Id: 01 Lun: 00
      Vendor: Maxtor   Model: OneTouch IIIs    Rev: 0337
      Type:   Direct-Access                    ANSI SCSI revision: 04
Scanning for device 3 0 2 0 ...
OLD: Host: scsi3 Channel: 00 Id: 02 Lun: 00
      Vendor: Maxtor   Model: OneTouch IIIs    Rev: 0337
      Type:   Direct-Access                    ANSI SCSI revision: 04
Scanning for device 3 0 2 0 ...
OLD: Host: scsi3 Channel: 00 Id: 02 Lun: 00
      Vendor: Maxtor   Model: OneTouch IIIs    Rev: 0337
      Type:   Direct-Access                    ANSI SCSI revision: 04
Scanning for device 3 0 3 0 ...
OLD: Host: scsi3 Channel: 00 Id: 03 Lun: 00
      Vendor: Maxtor   Model: OneTouch IIIs    Rev: 0337
      Type:   Direct-Access                    ANSI SCSI revision: 04
Scanning for device 3 0 3 0 ...
OLD: Host: scsi3 Channel: 00 Id: 03 Lun: 00
      Vendor: Maxtor   Model: OneTouch IIIs    Rev: 0337
      Type:   Direct-Access                    ANSI SCSI revision: 04
Scanning for device 3 0 4 0 ...
OLD: Host: scsi3 Channel: 00 Id: 04 Lun: 00
      Vendor: Maxtor   Model: OneTouch IIIs    Rev: 0337
      Type:   Direct-Access                    ANSI SCSI revision: 04
Scanning for device 3 0 4 0 ...
OLD: Host: scsi3 Channel: 00 Id: 04 Lun: 00
      Vendor: Maxtor   Model: OneTouch IIIs    Rev: 0337
      Type:   Direct-Access                    ANSI SCSI revision: 04
Scanning for device 3 0 5 0 ...
OLD: Host: scsi3 Channel: 00 Id: 05 Lun: 00
      Vendor: Maxtor   Model: OneTouch IIIs    Rev: 0337
      Type:   Direct-Access                    ANSI SCSI revision: 04
Scanning for device 3 0 5 0 ...
OLD: Host: scsi3 Channel: 00 Id: 05 Lun: 00
      Vendor: Maxtor   Model: OneTouch IIIs    Rev: 0337
      Type:   Direct-Access                    ANSI SCSI revision: 04
Scanning for device 3 0 6 0 ...
OLD: Host: scsi3 Channel: 00 Id: 06 Lun: 00
      Vendor: Maxtor   Model: OneTouch IIIs    Rev: 0337
      Type:   Direct-Access                    ANSI SCSI revision: 04
Scanning for device 3 0 6 0 ...
OLD: Host: scsi3 Channel: 00 Id: 06 Lun: 00
      Vendor: Maxtor   Model: OneTouch IIIs    Rev: 0337
      Type:   Direct-Access                    ANSI SCSI revision: 04
Scanning for device 3 0 7 0 ...
OLD: Host: scsi3 Channel: 00 Id: 07 Lun: 00
      Vendor: Maxtor   Model: OneTouch IIIs    Rev: 0337
      Type:   Direct-Access                    ANSI SCSI revision: 04
Scanning for device 3 0 7 0 ...
OLD: Host: scsi3 Channel: 00 Id: 07 Lun: 00
      Vendor: Maxtor   Model: OneTouch IIIs    Rev: 0337
      Type:   Direct-Access                    ANSI SCSI revision: 04
0 new device(s) found.               
0 device(s) removed.                 
Host adapter 0 (mptsas) found.
Host adapter 1 (usb-storage) found.
Host adapter 2 (usb-storage) found.
Host adapter 3 (sbp2) found.
Scanning SCSI subsystem for new devices
Scanning host 2 channels 0 for  SCSI target IDs  0 1 2 3 4 5 6 7, all
LUNs
Scanning for device 2 0 0 0 ...
OLD: Host: scsi2 Channel: 00 Id: 00 Lun: 00
      Vendor: Dell     Model: Virtual  Floppy  Rev: 123 
      Type:   Direct-Access                    ANSI SCSI revision: 02
Scanning for device 2 0 0 0 ...
OLD: Host: scsi2 Channel: 00 Id: 00 Lun: 00
      Vendor: Dell     Model: Virtual  Floppy  Rev: 123 
      Type:   Direct-Access                    ANSI SCSI revision: 02
Scanning for device 2 0 1 0 ...
OLD: 
NEW: 
Scanning for device 2 0 2 0 ...
OLD: 
NEW: 
Scanning for device 2 0 3 0 ...
OLD: 
NEW: 
Scanning for device 2 0 4 0 ...
OLD: 
NEW: 
Scanning for device 2 0 5 0 ...
OLD: 
NEW: 
Scanning for device 2 0 6 0 ...
OLD: 
NEW: 
Scanning for device 2 0 7 0 ...
OLD: 
NEW: 
0 new device(s) found.               
0 device(s) removed.                 

 
When I reboot the working node and re-init the sbp2 module on the node
that was previously failing, I can then login to the device.
 
 
ieee1394: raw1394: /dev/raw1394 device initialized
ieee1394: Node removed: ID:BUS[0-02:1023]  GUID[00d0f50500000000]
ieee1394: Node removed: ID:BUS[0-01:1023]  GUID[0010b92100907c54]
ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[90]
MMIO=[f3eff800-f3efffff]  Max Packet=[4096]  IR/IT contexts=[4/8]
ieee1394: raw1394: /dev/raw1394 device initialized
ieee1394: Host added: ID:BUS[0-00:1023]  GUID[00d0f50500000000]
ieee1394: Node added: ID:BUS[0-01:1023]  GUID[0010b92100907c54]
ieee1394: Node changed: 0-00:1023 -> 0-02:1023
ieee1394: sbp2: Driver forced to serialize I/O (serialize_io=1)
ieee1394: sbp2: Try serialize_io=0 for better performance
scsi4 : SBP-2 IEEE-1394
ieee1394: sbp2: force_inquiry_hack is deprecated. Use parameter
'workarounds' instead.
ieee1394: sbp2: Workarounds for node 0-01:1023: 0x2 (firmware_revision
0x030307, vendor_id 0x0010b9, model_id 0x007228)
ieee1394: sbp2: Maximum concurrent logins supported: 4
ieee1394: sbp2: Number of active logins: 1
ieee1394: sbp2: Error logging into SBP-2 device - login failed
sbp2: probe of 0010b92100907c54-1 failed with error -16
ieee1394: The root node is not cycle master capable; selecting a new
root node and resetting...
scsi5 : SBP-2 IEEE-1394
ieee1394: sbp2: force_inquiry_hack is deprecated. Use parameter
'workarounds' instead.
ieee1394: sbp2: Workarounds for node 0-01:1023: 0x2 (firmware_revision
0x030307, vendor_id 0x0010b9, model_id 0x007228)
ieee1394: sbp2: Maximum concurrent logins supported: 4
ieee1394: sbp2: Number of active logins: 0
ieee1394: sbp2: Logged into SBP-2 device
ieee1394: Node 0-01:1023: Max speed [S800] - Max payload [4096]
  Vendor: Maxtor    Model: OneTouch IIIs     Rev: 0337
  Type:   Direct-Access                      ANSI SCSI revision: 04
SCSI device sdc: 1172226048 512-byte hdwr sectors (600180 MB)
sdc: Write Protect is off
sdc: Mode Sense: 00 5a 00 00
sdc: cache data unavailable
sdc: assuming drive cache: write through
SCSI device sdc: 1172226048 512-byte hdwr sectors (600180 MB)
sdc: Write Protect is off
sdc: Mode Sense: 00 5a 00 00
sdc: cache data unavailable
sdc: assuming drive cache: write through
 sdc: [mac] sdc1 sdc2 sdc3 sdc4 sdc5 sdc6 sdc7 sdc8 sdc9 sdc10 sdc11
sd 5:0:1:0: Attached scsi disk sdc
sd 5:0:1:0: Attached scsi generic sg3 type 0

Any help would be appreciated.
 
Thanks 
 

George Bagley

 

George Bagley

DBA Practice Manager

 

Red Rock Consulting 

A UXC Company

 

email: bagleyg at redrock.net.au <mailto:bagleyg at redrock.net.au>  

mobile:  04 3184 3896 

desk:    02 8270 5525 

switch: 02 8270 5500

fax:      02 8270 5515

physical: Level 4, 40 King Street, Sydney 

post: PO Box 5238, Sydney NSW 2001 

virtual: www.redrock.net.au <http://www.redrock.net.au/> 

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oss.oracle.com/pipermail/firewire-users/attachments/20071211/1ef352c5/attachment-0001.html


More information about the Firewire-users mailing list