Subject: Re: panic in new ieee1394 code
To: KIYOHARA Takashi <kiyohara@kk.iij4u.or.jp>
From: Jeff Rizzo <riz@tastylime.net>
List: current-users
Date: 07/21/2005 15:47:02
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigC0C6683C099B7B9248DDE9AF
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

KIYOHARA Takashi wrote:

>Hi, riz!
>
>  
>
>  
>
<snip>

>hmm...
>Have your disk is direct disk?
>  
>

I don't understand the question...

>  
>
>>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.
>
>
>  
>

I hope I understood your request correctly;  I applied the patch, and
attached the disk again.  It's *different*, but still not right.  Let me
know if I should do something else to test.

Here's the debug messages with your patch:


fwohci0: BUS reset
fwohci0: node_id=0x8800ffc0, gen=2, non CYCLEMASTER mode
ieee1394if0: 2 nodes, maxhop <= 1, cable IRM = 0 (me)
ieee1394if0: root node is not cycle master capable
ieee1394if0: bus manager 0 (me)
fwohci0: too many cycle lost, no cycle master presents?
ieee1394if0: New S400 device ID:00063a27d409d3b0
sbp0 at ieee1394if0: SBP-2/SCSI over IEEE1394
sbp_attach (cold=0)
sbp_alloc_target
target: mgm_port: f0010020
scsibus0 at sbp0: 1 target, 0 luns per target
sbp_post_busreset
not alive
sbp_post_explore (sbp_cold=1)
not alive
sbp_post_explore (sbp_cold=1)
sbp_post_explore: EUI:00063a27d409d3b0 sbp_probe_target 0
target 0 lun 0 found
sbp0:0:0 ordered:1 type:0 EUI:00063a27d409d3b0 node:1 speed:2 maxrec:0 new!
sbp0:0:0 'DMI     ' 'HDS722580VLAT20 ' '000438'
sbp_login: sec = -1121985851 usec = 787847 ticks = 0
sbp0:0:0 LOGIN
sbp: alloc 1 xfer
sbp0:0:0 mgm orb: 0172a01c
sbp0:0:0 sbp_mgm_callback
received address 0x0
sbp0:0:0 ORB status src:1 resp:0 dead:0 len:1 stat:0 orb:00172a01c
sbp0:0:0 No additional information to report
sbp0:0:0 login: len 16, ID 0, cmd 0000fffff0010000, recon_hold 0
sbp0:0:0 sbp_busy_timeout
sbp0:0:0 sbp_busy_timeout_callback
sbp0:0:0 sbp_agent_reset
sbp0:0:0 sbp_do_attach
Called sbpscsi_scsipi_request
Got req_run_xfer
xs control: 0x00401024, timeout: 10000
opcode: 0x12
0x00 0x00 0x00 0x24 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
sbp0:0:0 XPT_SCSI_IO: cmd: 12 00 00 00 24 00 00 00 00 00, flags: 0x1000,
6b cmd/
36b data/0b sense
sbp_execute_ocb: seg 1, e2c8ea4:36
sbp0:0:0 sbp_enqueue_ocb: 0x0172a0d4
sbp0:0:0 sbp_orb_pointer: 0x0172a0d4
sbp0:0:0 sbp_orb_pointer_callback
received address 0x0
sbp0:0:0 sbp_dequeue_ocb: 0x0172a0d4 src 1
sbp0:0:0 ORB status src:1 resp:0 dead:0 len:1 stat:0 orb:00172a0d4
sbp0:0:0 No additional information to report
sbp0:0:0 sbp_fix_inq_data
sd0 at scsibus0 target 0 lun 0: <DMI, HDS722580VLAT20, 0438> simplified
direct f
ixed
Called sbpscsi_scsipi_request
Got req_run_xfer
xs control: 0x00000384, timeout: 10000
opcode: 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
sbp0:0:0 XPT_SCSI_IO: cmd: 00 00 00 00 00 00 00 00 00 00, flags: 0x00,
6b cmd/0b
 data/0b sense
sbp_execute_ocb: seg 0
sbp0:0:0 sbp_enqueue_ocb: 0x0172a18c
sbp0:0:0 sbp_orb_pointer: 0x0172a18c
sbp0:0:0 sbp_orb_pointer_callback
received address 0x0
sbp0:0:0 sbp_dequeue_ocb: 0x0172a18c src 1
sbp0:0:0 ORB status src:1 resp:0 dead:0 len:1 stat:0 orb:00172a18c
sbp0:0:0 No additional information to report
Called sbpscsi_scsipi_request
Got req_run_xfer
xs control: 0x00401024, timeout: 20000
opcode: 0x25
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
sbp0:0:0 XPT_SCSI_IO: cmd: 25 00 00 00 00 00 00 00 00 00, flags: 0x1000,
10b cmd
/8b data/0b sense
sbp_execute_ocb: seg 1, e2c8c54:8
sbp0:0:0 sbp_enqueue_ocb: 0x0172a244
sbp0:0:0 sbp_orb_pointer: 0x0172a244
sbp0:0:0 sbp_orb_pointer_callback
received address 0x0
sbp0:0:0 sbp_dequeue_ocb: 0x0172a244 src 1
sbp0:0:0 ORB status src:1 resp:0 dead:0 len:1 stat:0 orb:00172a244
sbp0:0:0 No additional information to report
Called sbpscsi_scsipi_request
Got req_run_xfer
xs control: 0x00401004, timeout: 6000
opcode: 0x1a
0x08 0x06 0x00 0x11 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
sbp0:0:0 XPT_SCSI_IO: cmd: 1a 08 06 00 11 00 00 00 00 00, flags: 0x1000,
6b cmd/
17b data/0b sense
sbp_execute_ocb: seg 1, e2c8cc4:17
sbp0:0:0 sbp_enqueue_ocb: 0x0172a2fc
sbp0:0:0 sbp_orb_pointer: 0x0172a2fc
sbp0:0:0 sbp_orb_pointer_callback
received address 0x0
sbp0:0:0 sbp_dequeue_ocb: 0x0172a2fc src 1
sbp0:0:0 ORB status src:1 resp:0 dead:0 len:1 stat:0 orb:00172a2fc
sbp0:0:0 No additional information to report
sd0: 19114 TB, 78533 cyl, 64 head, 32 sec, 38443 bytes/sect x
546687688736 secto
rs
Called sbpscsi_scsipi_request
Got set xfer mode
Called sbpscsi_scsipi_request
Got req_run_xfer
xs control: 0x000001c4, timeout: 10000
opcode: 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
sbp0:0:0 XPT_SCSI_IO: cmd: 00 00 00 00 00 00 00 00 00 00, flags: 0x00,
6b cmd/0b
 data/0b sense
sbp_execute_ocb: seg 0
sbp0:0:0 sbp_enqueue_ocb: 0x0172a3b4
sbp0:0:0 sbp_orb_pointer: 0x0172a3b4
sbp0:0:0 sbp_orb_pointer_callback
received address 0x0
sbp0:0:0 sbp_dequeue_ocb: 0x0172a3b4 src 1
sbp0:0:0 ORB status src:1 resp:0 dead:0 len:1 stat:0 orb:00172a3b4
sbp0:0:0 No additional information to report



--------------enigC0C6683C099B7B9248DDE9AF
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iQCVAwUBQuAl6rOuUtxCgar5AQONPAP9FqJrvjBiFnlw51a1k0dRSFO5K7bHeqvm
bx4Zzgvz4pgerV2rbQw+eTrZhCm6Jruts4/y1rmNH/9iXuQQoJIFliww9WbG9DN/
R1G+xgCE5+xDcItrAri6h7SvEGBrmNBgSPGx3CZAEPqz4c7OtnKDOH7gsBM/0GRE
R1c67EMa2JM=
=O7Qz
-----END PGP SIGNATURE-----

--------------enigC0C6683C099B7B9248DDE9AF--