Subject: Re: panic in new ieee1394 code
To: None <riz@tastylime.net>
From: KIYOHARA Takashi <kiyohara@kk.iij4u.or.jp>
List: current-users
Date: 07/22/2005 01:47:19
Hi, riz!


From: Jeff Rizzo <riz@tastylime.net>
Date: Tue, 19 Jul 2005 07:18:10 -0700

> KIYOHARA Takashi wrote:
> 
> >Please try once more.  more than 4.
> ># 4 is very verbose.

> >>>Please do the following command.  And insert cable.
> >>># HDD is aleady power on state.
> >>>
> >>> # sysctl -w hw.sbp.sbp_debug=1

> fwohci0: BUS reset
> fwohci0: node_id=0xc800ffc1, gen=2, CYCLEMASTER mode
> ieee1394if0: 2 nodes, maxhop <= 1, cable IRM = 1 (me)

  ... snip ...

> sbp0:0:0 sbp_dequeue_ocb: 0x01729524 src 1
> sbp0:0:0 ORB status src:1 resp:0 dead:0 len:1 stat:0 orb:001729524
> sbp0:0:0 No additional information to report


hmm...
Have your disk is direct disk?

> sd0 at scsibus0 target 0 lun 0: <DMI, HDS722580VLAT20, 0438> disk fixed
                                                               ^^^^^^^^^^

Please try simplified direct disk.  You set T_RBC ( == T_SIMPLE_DIRECT)
when inquiry response.


Index: sbp.c
===================================================================
RCS file: /cvsroot/src/sys/dev/ieee1394/sbp.c,v
retrieving revision 1.1
diff -u -r1.1 sbp.c
--- sbp.c       11 Jul 2005 15:29:05 -0000      1.1
+++ sbp.c       21 Jul 2005 16:00:07 -0000
@@ -1767,7 +1767,7 @@
 END_DEBUG
        switch (inq->device & SID_TYPE) {
        case T_DIRECT:
-#if 0
+#if 1
                /* 
                 * XXX Convert Direct Access device to RBC.
                 * I've never seen FireWire DA devices which support READ_6.


--
kiyohara