From owner-FreeBSD-users-jp@jp.FreeBSD.org Mon Nov 15 23:00:50 2004
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) id iAFE0ok16956;
	Mon, 15 Nov 2004 23:00:50 +0900 (JST)
	(envelope-from owner-FreeBSD-users-jp@jp.FreeBSD.org)
Received: from flu.hn.org (f1a02-0067.din.or.jp [61.122.73.67])
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) with ESMTP/inet id iAFE0n816951
	for <FreeBSD-users-jp@jp.FreeBSD.org>; Mon, 15 Nov 2004 23:00:50 +0900 (JST)
	(envelope-from ka@flu.hn.org)
Received: from localhost (localhost.hn.org [127.0.0.1])
	by flu.hn.org (8.13.1/8.13.1) with ESMTP id iAFE0nsT001130
	for <FreeBSD-users-jp@jp.FreeBSD.org>; Mon, 15 Nov 2004 23:00:49 +0900 (JST)
	(envelope-from ka@flu.hn.org)
Message-Id: <20041115.230049.59466850.maro@flu.hn.org>
To: FreeBSD-users-jp@jp.FreeBSD.org
From: Kazumaro Aoki <ka@flu.hn.org>
In-Reply-To: <20041115.220121.59465459.maro@flu.hn.org>
References: <20041115.014034.74753069.maro@flu.hn.org>
	<87is877r6t.wl@tora.nunu.org>
	<20041115.220121.59465459.maro@flu.hn.org>
X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
Reply-To: FreeBSD-users-jp@jp.FreeBSD.org
Precedence: list
Date: Mon, 15 Nov 2004 23:00:49 +0900
X-Sequence: FreeBSD-users-jp 81797
Subject: [FreeBSD-users-jp 81797] Re: removable disk with ehci or
 firewire
Sender: owner-FreeBSD-users-jp@jp.FreeBSD.org
X-Originator: ka@flu.hn.org
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+041115

From: Kazumaro Aoki <ka@flu.hn.org>
Subject: [FreeBSD-users-jp 81795] Re: removable disk with ehci or firewire
Date: Mon, 15 Nov 2004 22:01:21 +0900

> > HDD $B$r(B bus $B$K7R$$$G$+$i(B, $BEE8;(B on $B$9$k$N$G$O$J$/(B, $B@h$K(Bon$B$7$F$*$$$F$+$i(B
> > bus $B$K7R$0$h$&$K$7$?$i(B, $B0BDj$7$F;H$($?$j$7$J$$$G$7$g$&$+(B?
> 
> $B2DG=@-$O$"$j$^$9!#(B
> SMP kernel$B$KLa$7$F!"$3$l$+$i<B83$7$F$_$^$9!#(B

$B:G=i!"(BNOVAC HD$B$NEE8;$rF~$l$F$+$i(B10$BIC$[$I$7$F!"2sE>2;$H$+0BDj$7$?$H;W$o(B
$B$l$k;~$K(BIEEE1394 cable$B$r@\B3$7$?$i$$$-$J$j(Bpanic$B$G$7$?!#(B

fwohci0: BUS reset
fwohci0: node_id=0xc800ffc1, gen=2, CYCLEMASTER mode
firewire0: 2 nodes, maxhop <= 1, cable IRM = 1 (me)
firewire0: bus manager 1 (me)
fwohci0: txd err=14 ack busy_X
fw_asybusy
fwohci0: txd err=14 ack busy_X
fw_asybusy
fwohci0: txd err=14 ack busy_X
fw_asybusy
fwohci0: txd err=14 ack busy_X
fw_asybusy
firewire0: max_asyretry exceeded
firewire0: bus_explore node=0 addr=0x400 resp=16 retry=5
firewire0: bus_explore failed for 1 nodes
fwohci0: BUS reset
fwohci0: node_id=0xc800ffc1, gen=3, CYCLEMASTER mode
firewire0: 2 nodes, maxhop <= 1, cable IRM = 1 (me)
firewire0: bus manager 1 (me)
firewire0: New S400 device ID:0030e00e8200a011
da0 at sbp0 bus 0 target 0 lun 0
da0: < 1394 to ATA 0102> Fixed Simplified Direct Access SCSI-4 device 
da0: 50.000MB/s transfers
da0: 157066MB (321672960 512 byte sectors: 255H 63S/T 20023C)


Fatal trap 18: integer divide fault while in kernel mode
cpuid = 0; apic id = 00
instruction pointer	= 0x8:0xc0690bf8
stack pointer	        = 0x10:0xe5ac788c
frame pointer	        = 0x10:0xe5ac7920
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 0
current process		= 2 (g_event)
[thread 100035]
Stopped at      __qdivrem+0x3e: divl    %ecx,%eax
db> trace
__qdivrem(5a04ff40,0,0,0,0) at __qdivrem+0x3e
__udivdi3(5a04ff40,0,0,0,c32fde00) at __udivdi3+0x2e
cam_calc_geometry(e5ac7a20,1,c052a901,c0718de0,c07feccd) at cam_calc_geometry+0x35
sbp_action1(c2c60580,e5ac7a20,e5ac7a0c,c0436faf,c2c60580) at sbp_action1+0x50b
sbp_action(c2c60580,e5ac7a20,ae58b014,c0442b0f,c071bb60) at sbp_action+0x18
xpt_action(e5ac7a20,c2f796f0,1,1,1a) at xpt_action+0x287
dasetgeom(c3581c80,c8371000,5a04ff3f,0,c2d425a0) at dasetgeom+0x80
dagetcapacity(c3581c80,14c,e5ac7b44,44a,c06ed820) at dagetcapacity+0x330
daopen(c3581c00,c06bb905,c34b8558,1,0) at daopen+0x7d
g_disk_access(c34b8500,1,0,0,0) at g_disk_access+0x11d
g_access(c3303880,1,0,0,e5ac7c20) at g_access+0x169
g_slice_new(c0701a80,8,c34b8500,e5ac7c1c,e5ac7c20) at g_slice_new+0xc0
g_bsd_taste(c0701a80,c34b8500,0,c34be900,4) at g_bsd_taste+0x78
g_new_provider_event(c34b8500,0,0,c06bb292,0) at g_new_provider_event+0x62
one_event(66666667,c04d8f80,0,e5ac7d14,c04d8fa0) at one_event+0x211
g_run_events(c0712d7c,0,4c,c06bb292,a) at g_run_events+0xb
g_event_procbody(0,e5ac7d48,80d24fc,6327b779,5dc15f01) at g_event_procbody+0x20
fork_exit(c04d8f80,0,e5ac7d48) at fork_exit+0x80
fork_trampoline() at fork_trampoline+0x8
--- trap 0x1, eip = 0, esp = 0xe5ac7d7c, ebp = 0 ---
db> panic
panic: from debugger
cpuid = 0
boot() called on cpu#0
Uptime: 1m50s
Dumping 1519 MB
 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 256 272 288 304 320 336 352 368 384 400 416 432 448 464 480 496 512 528 544 560 576 592 608 624 640 656 672 688 704 720 736 752 768 784 800 816 832 848 864 880 896 912 928 944 960 976 992 1008 1024 1040 1056 1072 1088 1104 1120 1136 1152 1168 1184 1200 1216 1232 1248 1264 1280 1296 1312 1328 1344 1360 1376 1392 1408 1424 1440 1456 1472 1488

$B$3$N$H$-$O!V(Bsysctl debug.sbp_debug=5$B!WK:$l$F$$$?$N$G!"$"$s$^$j>pJs$J$$(B
$B$G$9!#(B

$B$?$@!"$3$N$"$H!"(B10$BIC$0$i$$$G$OC;$$$N$+$H;W$C$F!"(BNOVAC HD$B$NEE8;$rF~$l$F(B
$B$+$i(B1$BJ,$0$i$$$7$F$+$i!"(B20$B2s$[$I!"(BIEEE1394 cable$B$rH4$-:9$7$7$^$7$?$1$I!"(B
$B2?$b5/$-$^$;$s$G$7$?!#(B

$B$d$C$Q$j!"(BNOVAC HD$B$,0BDj$9$k$^$G;~4V$,$+$+$k$H$+$G$*$+$7$$$N$+$b$7$l$^(B
$B$;$s!#$7$P$i$/$3$l$G;H$C$F$_$?$$$H;W$$$^$9!#(B

$B@DLZOBKcO$(B
