Subject: autoconfigure not finding sd0 in firewire enclosure
To: None <netbsd-help@netbsd.org>
From: Harry Waddell <waddell@caravan.com>
List: netbsd-help
Date: 02/23/2003 14:10:41
Just for giggles I've tried a few firewire hard drives on
1386-current. With two different enclosures, with two different ide drives,
one of which is a macally that I believe is using the oxford 911 bridge,
autoconfig detects an attached scsibus, but no devices attached to it are
found. [I have a firewire cd burner to, but no scsibus found at all on that
one]

I'm using the GENERIC_LAPTOP  config file with the following
firewire related stuff added to GENERIC.local

#fwohci* at pci? dev ? function ?       # IEEE1394 Open Host Controller
fwohci* at cardbus? dev ? function ?    # IEEE1394 Open Host Controller
#fw*    at fwbus?                       # IP over 1394

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

options SBPSCSI_DEBUG


I've tried it with and without some other FW realated debug options as well.
GENERIC_LAPTOP already contains 

sd*     at scsibus? target ? lun ?      # SCSI disk drives


here's an example of the relavent console log messages I get

--- begin log messages --- 

Feb 23 13:20:04 scimitar /netbsd: fwohci0 at cardbus0 dev 0 function 0:
Texas In struments TSB43AA23 OHCI IEEE 1394 Host Controller (rev. 0x00)
Feb 23 13:20:04 scimitar /netbsd: fwohci0: interrupting at 10
Feb 23 13:20:04 scimitar /netbsd: fwohci0: OHCI 1.1,
00:00:30:bd:00:00:00:00, 40 0Mb/s, 2048 max_rec, 4 ir_ctx, 8 it_ctx
Feb 23 13:20:04 scimitar /netbsd: fw at fwohci0 not configured
Feb 23 13:20:04 scimitar /netbsd: fwohci0: Config ROM:
Feb 23 13:20:04 scimitar /netbsd:     040480b4 31333934 6000a002 000030bd
000000 00 000590d5 0300005e 81000004
Feb 23 13:20:04 scimitar /netbsd:     0c0083c0 d1000007 d1000019 00049b20
000000 00 00000000 4e657442 53440000
Feb 23 13:20:04 scimitar /netbsd:     0005635c 1200005e 81000004 13000001
810000 06 95000009 0003c150 00000000
Feb 23 13:20:04 scimitar /netbsd:     00000000 49414e41 0003170d 00000000
000000 00 49507634 0004127c 0000ffff
Feb 23 13:20:04 scimitar /netbsd:     f0010001 0000ffff f0010000 00054e18
120000 5e 81000004 13000002 81000006
Feb 23 13:20:04 scimitar /netbsd:     95000009 0003c150 00000000 00000000
49414e 41 0003374f 00000000 00000000
Feb 23 13:20:04 scimitar /netbsd:     49507636 0004127c 0000ffff f0010001
0000ff ff f0010000
Feb 23 13:20:04 scimitar /netbsd: fwohci0: nodeid=0xffc0(0), rootid=0,
irmid=63 Feb 23 13:20:05 scimitar /netbsd: fwohci0: nodeid=0xffc0(0),
rootid=1, irmid=63 Feb 23 13:20:05 scimitar /netbsd: fwnode0 at fwohci0 Node
1: UID 00:30:e0:10:e0: 00:9d:b1
Feb 23 13:20:05 scimitar /netbsd: fwnode0: Link Speed: 100Mb/s, max_rec: 64
byte s
Feb 23 13:20:05 scimitar /netbsd: sbpscsi0 at fwnode0
Feb 23 13:20:05 scimitar /netbsd: scsibus0 at sbpscsi0: 1 target, 1 lun per
targ et
Feb 23 13:20:06 scimitar /netbsd: fwohci0: nodeid=0xffc0(0), rootid=1,
irmid=63 Feb 23 13:20:06 scimitar /netbsd: fwnode0: Updating nodeid to 1
Feb 23 13:20:37 scimitar /netbsd: fwohci0 detached

---- end log messages -----

also "scsictl scsibus0 scan any any" just hangs. 

Is this just the current state of things, or am I missing something obvious?
If anyone would care to suggest any usb or firewire enclosures that are
known to work reasonably well, I would appreciate it.

-- 
Harry Waddell
Caravan Electronic Publishing
-----------

"Beauty is worse than wine, it intoxicates both the holder and beholder." --
Immermann