LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-28-2003, 02:34 PM   #1
pdavis
LQ Newbie
 
Registered: Mar 2003
Distribution: RedHat AS 2.1
Posts: 3

Rep: Reputation: 0
Help : Attempting to connect firewire WD to two hosts


I have 2 Dell Inspiron laptops that I am attempting to connect to a 200GB WD firewire disk. I can install all the drivers and successfully mount a filesystem from one machine. As soon as I repeat the process on the second machine, the first looses visibility to the the disk.

I name running RedHat AS with a 2.4.20-rc2-orafw kernel downloaded from Oracle's OTN site. The module load sequence used is:

insmod ieee1394
insmod ohci1394
insmod scsi_mod
insmod sbp2 sbp2_exclusive_login=0
insmod sd_mod

When I look at the dmesg output, everything looks great...

SCSI subsystem driver Revision: 1.00
ohci1394: $Rev: 693 $ Ben Collins <bcollins@debian.org>
PCI: Found IRQ 11 for device 02:01.2
PCI: Sharing IRQ 11 with 02:01.0
PCI: Sharing IRQ 11 with 02:01.1
ohci1394_0: OHCI-1394 1.0 (PCI): IRQ=[11] MMIO=[f8fff000-f8fff7ff] Max Packet=[2048]
ieee1394: SelfID completion called outside of bus reset!
ieee1394: Device added: Node[00:1023] GUID[0090a9500000074d] [WDC ]
ieee1394: Device added: Node[01:1023] GUID[4a4fc000074db041] [Linux OHCI-1394]
ieee1394: Host added: Node[03:1023] GUID[474fc0000deb3041] [Linux OHCI-1394]
ieee1394: sbp2: Logged into SBP-2 device
ieee1394: sbp2: Node[00:1023]: Max speed [S400] - Max payload [2048]
scsi0 : IEEE-1394 SBP-2 protocol driver (host: ohci1394)
$Rev: 601 $ James Goodwin <jamesg@filanet.com>
SBP-2 module load options:
- Max speed supported: S400
- Max sectors per I/O supported: 255
- Max outstanding commands supported: 8
- Max outstanding commands per lun supported: 1
- Serialized I/O (debug): no
- Exclusive login: no
Vendor: WDC Model: FireWire HDD Rev: 4.11
Type: Direct-Access ANSI SCSI revision: 06
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sda: 390721968 512-byte hdwr sectors (200050 MB)
sda: sda1

At this point I can go ahead and mount the filesystem. (Note: I use the ocfs filesystem, again downloaded from Oracle OTN as I intend installing Oracle RAC).


Now, as soon as I repeat these operations on the second laptop, the following messages appear in the first laptops dmesg...

ieee1394: sbp2: aborting sbp2 command
Read (10) 00 00 00 00 00 00 00 02 00
ieee1394: sbp2: aborting sbp2 command
Test Unit Ready 00 00 00 00 00
ieee1394: sbp2: reset requested
ieee1394: sbp2: Generating sbp2 fetch agent reset
ieee1394: sbp2: aborting sbp2 command
Test Unit Ready 00 00 00 00 00
ieee1394: sbp2: reset requested
ieee1394: sbp2: Generating sbp2 fetch agent reset
ieee1394: sbp2: aborting sbp2 command
Test Unit Ready 00 00 00 00 00
scsi: device set offline - not ready or command retry failed after bus reset: host 0 channel 0 id 0 lun 0
SCSI disk error : host 0 channel 0 id 0 lun 0 return code = 50000
I/O error: dev 08:00, sector 0
I/O error: dev 08:00, sector 2



I am new to Linux and firewire, so if there is anyone that can advise me on what to try next I would appreciate it.

Thanks in advance.
Paul
 
Old 03-28-2003, 07:40 PM   #2
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Rep: Reputation: 30
I'm just guessing here, but it seems like you've got 2 laptops trying to utilize the same IP address behind the router. You should check your gateway and make sure that they've been assigned 2 different internal IPs. That's the only thing I can think of. Hope this helps.
 
Old 03-31-2003, 12:50 PM   #3
pdavis
LQ Newbie
 
Registered: Mar 2003
Distribution: RedHat AS 2.1
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for the suggestion.
I have checked this out and confirmed that the IP address on each laptop is indeed unique. The search goes on...
 
Old 03-31-2003, 01:08 PM   #4
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
the firewire drive is connected to one of the machines and you're trying to export a filesystem on it via NFS?
 
Old 03-31-2003, 03:34 PM   #5
pdavis
LQ Newbie
 
Registered: Mar 2003
Distribution: RedHat AS 2.1
Posts: 3

Original Poster
Rep: Reputation: 0
Not exactly. I am attempting to dual host the firewire drive. As I understand it, there should be no need for NFS. Both machines are directly firewire cabled to the disk.
However, as mentioned in the original posting, as soon as the second node attempts to address the drive, the first node looses all connection.

Can you see any reason why the first node looses its connection?
 
Old 06-06-2003, 10:16 AM   #6
apairudin
LQ Newbie
 
Registered: Jun 2003
Location: Malaysia
Posts: 5

Rep: Reputation: 0
What kind of firewire enclosure are u using?
Some chipsets for the enclosure do not support multiple logins. My guess is this is the reason. I only know of one kind which supports multiple logins, which is Oxford Semiconductor.
 
Old 11-07-2003, 04:49 PM   #7
wm10000
LQ Newbie
 
Registered: Nov 2003
Location: Maryland
Distribution: Red Hat
Posts: 3

Rep: Reputation: 0
Cool OCFS implementation

Hi, there:

I try to do excatly what you tried to do, ie. to implement OCFS
over firewire.
I have WD 120G usb/firewire combo. WD won't tell me which
model of chipset they use. But they told me it is Oxford.
There is only one kind of Oxford chip will do combo, ie, Oxford 922.

I can connect to the harddriver from either computer, but not both.
The sequence I did was:

modprobe ohci1394
modprobe sbp2 sbp2_exclusive_login=0

The dmesg shows different than yours. I don't have it handy.

It is something like this:

ieee1394: sbp2: Logged into SBP-2 device
ieee1394: sbp2: Maximum login: 0
ieee1394: sbp2: current number of logins: 345679978 (some big number)

I can access the harddriver from then on. Once I tried this from another
computer. I will lose the first one.
How do you solve this problem.

Wei
 
Old 11-09-2003, 06:37 PM   #8
apairudin
LQ Newbie
 
Registered: Jun 2003
Location: Malaysia
Posts: 5

Rep: Reputation: 0
Are you sure you have your kernel patched for multiple logins?
My dmesg shows
ieee1394: sbp2: Maximum login: 4
 
Old 11-10-2003, 09:57 AM   #9
wm10000
LQ Newbie
 
Registered: Nov 2003
Location: Maryland
Distribution: Red Hat
Posts: 3

Rep: Reputation: 0
Thanks for the reply.

The kernel I am using is from OTN oracel site.

kernel-2.4.20-18.10.1.i686.rpm
 
Old 11-10-2003, 09:58 AM   #10
wm10000
LQ Newbie
 
Registered: Nov 2003
Location: Maryland
Distribution: Red Hat
Posts: 3

Rep: Reputation: 0
Thanks for the reply.

The kernel I am using is from OTN oracle site.

kernel-2.4.20-18.10.1.i686.rpm

Do I need a patch on top of it? where do I got them?

Wei
 
Old 05-30-2004, 04:12 PM   #11
kaarthic
LQ Newbie
 
Registered: May 2004
Posts: 1

Rep: Reputation: 0
OS : RH Linux WS 3.0
Oracle 9i RAC

Question regarding 9i RAC Setup
using FireWire Shared Disk on two nodes.

I followed this link,
http://www.puschitz.com/InstallingOracle9iRAC.shtml


I was able Install OCFS and Config and also able to
mount on Node 1, but for some reason I am not able to
Mount from Node 2.

Initially i was getting Error on Node2:

#mount -t ocfs /dev/sda1 /u01/app/oracle/product/9.2.0
mount: /dev/sda1 is not a valid block device

After that I rebooted the server and reload the
modules and drivers, then I was able to view the
/dev/sda1 thro ocfstool from node2,

But now I am getting following Error while trying to
mount ocfs on Node2:

#mount -t ocfs /dev/sda1 /u01/app/oracle/product/9.2.0
mount: fs type ocfs not supported by kernel


I am currently stuck here, I am not sure where the
conflict is, I did exactly the same installation steps
on both Node1 and Node2.

Any help truly appreciated.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PC-firewire-PC direct connect belorion General 1 07-15-2006 03:25 PM
External Hosts Resolve but Local Hosts Do Not kjm9 Linux - Networking 7 11-19-2005 04:51 PM
Firewire disk: how to connect?? dirdej Linux - Hardware 1 05-12-2004 04:04 AM
Adding shell commands to hosts.deny and hosts.allow ridertech Linux - Security 3 12-29-2003 04:52 PM
SAMBA & SWAT - Connection refused when attempting to connect Localhost:901 ScooterB Linux - Networking 3 12-24-2003 05:15 PM


All times are GMT -5. The time now is 08:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration