Subject: Re: scsi block device drivers over firewire
To: None <port-i386@netbsd.org>
From: Bert Kiers <kiers@original.xs4all.nl>
List: tech-kern
Date: 02/12/2003 22:35:48
On Mon, Feb 10, 2003 at 09:00:29PM -0500, yo _ wrote:
> Does anyone know the current status (or where i can keep up on the current 
> status) of the sd drivers running over the experimental firewire drivers? I 
> want to see how well an external firewire harddrive may work with NetBSD. 

Hi,

As I wrote to current-users on 19 Jan 2003, my Maxtor 5000DV external disk does not work with NetBSD-current. The sbpscsi does not attach:


NetBSD 1.6N (CUDDLE) #18: Sun Feb  9 21:22:24 CET 2003
    kiers@cuddle:/usr/src/sys/arch/i386/compile/CUDDLE
...
fwohci0 at pci0 dev 15 function 0: VIA Technologies VT3606 OHCI IEEE 1394 Controller (rev. 0x46)
fwohci0: interrupting at irq 11
fwohci0: OHCI 1.0, 00:11:06:00:00:00:82:ed, 400Mb/s, 2048 max_rec, 8 ir_ctx, 8 it_ctx
...
fw0 at fwohci0: 00:11:06:00:00:00:82:ed:0a:02:ff:ff:f0:01:00:00
fwohci0: Config ROM:
    040436dc 31333934 6800a202 00110600 000082ed 000590d5 0300005e 81000004
    0c0083c0 d1000007 d1000019 00049b20 00000000 00000000 4e657442 53440000
    0005635c 1200005e 81000004 13000001 81000006 95000009 0003c150 00000000
    00000000 49414e41 0003170d 00000000 00000000 49507634 0004127c 0000ffff
    f0010001 0000ffff f0010000 00054e18 1200005e 81000004 13000002 81000006
    95000009 0003c150 00000000 00000000 49414e41 0003374f 00000000 00000000
    49507636 0004127c 0000ffff f0010001 0000ffff f0010000
fwohci0: nodeid=0xffc0(0), rootid=0, irmid=0
fw0: Updating nodeid to 0

after that, when inserting the drive:

fwohci0: nodeid=0xffc1(1), rootid=1, irmid=1
fw0: Updating nodeid to 1
fwnode0 at fwohci0 Node 0: UID 00:00:00:00:00:00:00:00
fwohci0: nodeid=0xffc0(0), rootid=1, irmid=0
fw0: Updating nodeid to 0
fwnode1 at fwohci0 Node 1: UID 00:10:b9:20:00:3d:4f:46
fwnode0 detached


in the config I have:

# PCI IEEE1394 controllers
fwohci* at pci? dev ? function ?        # IEEE1394 Open Host Controller

# CardBus IEEE1394 controllers
#fwohci* at cardbus? dev ? function ?   # IEEE1394 Open Host Controller

fw*     at fwbus?                       # IP over 1394

options         FWOHCI_DEBUG
options         FW_DEBUG
options         SBP2_DEBUG
options         SBPSCSI_DEBUG
options         DEBUG_USERADD

# IEEE1394 nodes
fwnode* at fwbus? idhi ? idlo ?
sbpscsi* at fwnode?
scsibus* at sbpscsi?

The drive works well on USB2 on NetBSD and on FireWire on Linux. I can not find the code that decides if the attached FireWire device is storage.

Grtnx,
-- 
Bert Kiers, PD2BFK
work: mailto:bert@itsx.com  http://www.itsx.com/
home: mailto:kiers@original.xs4all.nl  http://www.xs4all.nl/~kiers/