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/23/2005 21:46:55
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigD1BA50A71711424FCDCDFCDD
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
KIYOHARA Takashi wrote:
>Hi, riz
>
>
>From: Jeff Rizzo <riz@tastylime.net>
>Date: Thu, 21 Jul 2005 15:47:02 -0700
>
>
>
>
>>>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:
>>
>>
>>
>
>
>
>>sd0 at scsibus0 target 0 lun 0: <DMI, HDS722580VLAT20, 0438> simplified
>>direct f
>>ixed
>>
>>
>
>
>
>>sd0: 19114 TB, 78533 cyl, 64 head, 32 sec, 38443 bytes/sect x
>>546687688736 secto
>>rs
>>
>>
>
>
>hmm...
>Please fabricate the blksize too.
>
>
>
>
>
Doesn't seem to have changed much. (See new debug messages, below)
>How about other HDD?
>
>
I don't have any other fw hard drives at the moment.
>And, how many is true geometry of your HDD?
>
>
I thought I'd posted how it shows up when attached via USB, earlier.
Here it is again:
sd0 at scsibus0 target 0 lun 0: <HDS72258, 0VLAT20, V320> disk fixed
sd0: fabricating a geometry
sd0: 78533 MB, 78533 cyl, 64 head, 32 sec, 512 bytes/sect x 160836480
sectors
Just FYI, I will be leaving tomorrow for two weeks; I will receive and
respond to email, but I will not be able to test with this drive or system.
And here are the debug messages with the fabricated blocksize:
desktop#
desktop# sysctl -w hw.sbp.sbp_debug=5
hw.sbp.sbp_debug: 0 -> 5
desktop# fwohci0: BUS reset
fwohci0: node_id=0xc800ffc1, gen=2, CYCLEMASTER mode
ieee1394if0: 2 nodes, maxhop <= 1, cable IRM = 1 (me)
ieee1394if0: bus manager 1 (me)
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:0 speed:2 maxrec:0 new!
sbp0:0:0 'DMI ' 'HDS722580VLAT20 ' '000438'
sbp_login: sec = -1122170290 usec = 688836 ticks = 0
sbp0:0:0 LOGIN
sbp: alloc 1 xfer
sbp0:0:0 mgm orb: 0172901c
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:00172901c
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, d6d2ea4:36
sbp0:0:0 sbp_enqueue_ocb: 0x017290d4
sbp0:0:0 sbp_orb_pointer: 0x017290d4
sbp0:0:0 sbp_orb_pointer_callback
received address 0x0
sbp0:0:0 sbp_dequeue_ocb: 0x017290d4 src 1
sbp0:0:0 ORB status src:1 resp:0 dead:0 len:1 stat:0 orb:0017290d4
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: 0x0172918c
sbp0:0:0 sbp_orb_pointer: 0x0172918c
sbp0:0:0 sbp_orb_pointer_callback
received address 0x0
sbp0:0:0 sbp_dequeue_ocb: 0x0172918c src 1
sbp0:0:0 ORB status src:1 resp:0 dead:0 len:1 stat:0 orb:00172918c
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, d6d2c54:8
sbp0:0:0 sbp_enqueue_ocb: 0x01729244
sbp0:0:0 sbp_orb_pointer: 0x01729244
sbp0:0:0 sbp_orb_pointer_callback
received address 0x0
sbp0:0:0 sbp_dequeue_ocb: 0x01729244 src 1
sbp0:0:0 ORB status src:1 resp:0 dead:0 len:1 stat:0 orb:001729244
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, d6d2cc4:17
sbp0:0:0 sbp_enqueue_ocb: 0x017292fc
sbp0:0:0 sbp_orb_pointer: 0x017292fc
sbp0:0:0 sbp_orb_pointer_callback
received address 0x0
sbp0:0:0 sbp_dequeue_ocb: 0x017292fc src 1
sbp0:0:0 ORB status src:1 resp:0 dead:0 len:1 stat:0 orb:0017292fc
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: 0x017293b4
sbp0:0:0 sbp_orb_pointer: 0x017293b4
sbp0:0:0 sbp_orb_pointer_callback
received address 0x0
sbp0:0:0 sbp_dequeue_ocb: 0x017293b4 src 1
sbp0:0:0 ORB status src:1 resp:0 dead:0 len:1 stat:0 orb:0017293b4
sbp0:0:0 No additional information to report
--------------enigD1BA50A71711424FCDCDFCDD
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
iQCVAwUBQuMdRLOuUtxCgar5AQPJkAP9HIFYvfuUpTRJYxEzL6ihAtur6GbO1iEg
Ljay+DerJ6Zqdy5wj7vvtjjF0X8pCpZHYkuhsrkVEhcUar6pwn5LFCSAHZui2kM+
5NrH83qmaF66q+zm0ISOcVECLCLolBXIcZTaLGzhBVumviAqPh1OeGZeszzLC+B0
NCRhVr3CgjE=
=eWz+
-----END PGP SIGNATURE-----
--------------enigD1BA50A71711424FCDCDFCDD--