From owner-FreeBSD-users-jp@jp.FreeBSD.org Thu Oct 14 23:54:07 2004
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) id i9EEs7348246;
	Thu, 14 Oct 2004 23:54:07 +0900 (JST)
	(envelope-from owner-FreeBSD-users-jp@jp.FreeBSD.org)
Received: from ibmfxp.sphere.gulf.or.jp (nagw.gulf.or.jp [219.96.196.152])
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) with ESMTP/inet id i9EEs6848241
	for <FreeBSD-users-jp@jp.FreeBSD.org>; Thu, 14 Oct 2004 23:54:06 +0900 (JST)
	(envelope-from too@os.gulf.or.jp)
Received: from mail.gulf.or.jp (p5175-ipad04daianji.nara.ocn.ne.jp [221.185.4.175])
	by ibmfxp.sphere.gulf.or.jp (8.12.8/3.7W) with SMTP id i9EEs2Ik038865
	for <FreeBSD-users-jp@jp.FreeBSD.org>; Thu, 14 Oct 2004 23:54:03 +0900 (JST)
Message-Id: <200410141453.AA00105@mail.gulf.or.jp>
From: Toru Morimoto <too@os.gulf.or.jp>
To: FreeBSD-users-jp@jp.FreeBSD.org
In-Reply-To: <20041014.231250.59502505.maro@flu.hn.org>
References: <20041014.231250.59502505.maro@flu.hn.org>
MIME-Version: 1.0
X-Mailer: AL-Mail32 Version 1.13
Content-Type: text/plain; charset=iso-2022-jp
Reply-To: FreeBSD-users-jp@jp.FreeBSD.org
Precedence: list
Date: Thu, 14 Oct 2004 23:53:45 +0900
X-Sequence: FreeBSD-users-jp 81337
Subject: [FreeBSD-users-jp 81337] Re: removable disk with ehci or firewire
Sender: owner-FreeBSD-users-jp@jp.FreeBSD.org
X-Originator: too@os.gulf.or.jp
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+041006

$B$3$s$K$A$O!#?9K\$G$9!#(B

Kazumaro Aoki $B$5$s$O(B 2004/10/14 23:12 $B$4$m(B
"[FreeBSD-users-jp 81335] removable disk with ehci or firewire" $B$N%a!<%k$G=q$-$^$7$?!'(B

 >  3.5"HDD$B$O$$!<$k(BKIT DUAL

$B$&$A$O(B IEEE1394 $B%*%s%j!<$N$b$N$r;H$C$F$$$^$9$,!"$$$/$D$+LdBj$O$"$k$b$N$N(B
$BG'<1$7$F;H$($F$$$^$9!#(B

$B%[%9%H%"%@%W%?$O8<?M;V8~$N(B IEEE1394V2-PCI $B$G$9!#(B

$BLdBjE@(B
$B!&EE8;$rF~$l$?$^$^:F5/F0$7$F$bG'<1$5$l$J$$$N$G!"0lC6(BOS$B$,5/F0$7$F$+$i(B
$B!!30IU$1%G%#%9%/$KEE8;$rF~$l$F%^%&%s%H$7$F$"$2$kI,MW$,$"$k!#(B
$B!&(BSMB (Samba) $B$GBgNL$K%U%!%$%k$rE>Aw$9$k$H%P%9%j%;%C%H$,$+$+$k$,(B
$B!!$=$N%G%P%$%9$O;`$s$G$7$^$C$FI|3h$G$-$J$$!J:F5/F0$7$+$J$$!K!#(B
$B!!$J$<$+(B tar $B$GE>Aw$7$F$bBg>fIW$J$3$H$,B?$$$s$G$9$,!D!#(B
$B!&$^$C$?$/F1$830IU$1%G%#%9%/#2$D$rMQ0U$7$F$$$k$N$G$9$,!"(B
$B!!@h$KN>J}EE8;$rF~$l$F$*$/$H$I$C$A$,@h$K(B da3 $B$H$7$FG'<1$5$l$k$+(B
$B!!J,$+$i$J$$$N$,ITJX!#!J2sHrJ}K!$O$"$j$^$9$G$7$g$&$+!)!K(B

dmesg $B$O$3$s$J46$8!#(Bda3 $B$H(B da4 $B$,$=$N%G%#%9%/$G$9!#(B
Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 4.10-STABLE #0: Sun Jul 25 10:30:48 JST 2004
    too@(snip):/export/cvsup/src/sys/compile/CARAVAN07
Timecounter "i8254"  frequency 1193182 Hz
CPU: Intel Pentium III (602.26-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x681  Stepping = 1
  Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PA
T,PSE36,MMX,FXSR,SSE>
real memory  = 268419072 (262128K bytes)
avail memory = 257372160 (251340K bytes)
Preloaded elf kernel "kernel" at 0xc03c2000.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 8 entries at 0xc00f0e80
apm0: <APM BIOS> on motherboard
apm0: found APM BIOS v1.2, connected at v1.2
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
agp0: <Intel 82443BX (440 BX) host to PCI bridge> mem 0xe4000000-0xe7ffffff at d
evice 0.0 on pci0
pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
isab0: <Intel 82371AB PCI to ISA bridge> at device 4.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> at device 4.1 on pci0
atapci0: ATA channel disabled by BIOS
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xd400-0xd41f irq 15 at de
vice 4.2 on pci0
usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
chip0: <Intel 82371AB Power management controller> port 0xe800-0xe80f at device 
4.3 on pci0
xl0: <3Com 3c905-TX Fast Etherlink XL> port 0xd000-0xd03f irq 10 at device 10.0 
on pci0
xl0: Ethernet address: 00:60:08:cd:67:07
miibus0: <MII bus> on xl0
nsphy0: <DP83840 10/100 media interface> on miibus0
nsphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
sym0: <895> port 0xb800-0xb8ff mem 0xe2800000-0xe2800fff,0xe3000000-0xe30000ff i
rq 11 at device 11.0 on pci0
sym0: Tekram NVRAM, ID 7, Fast-40, LVD, parity checking
pci0: <S3 Trio3D/2X graphics accelerator> at 12.0
atapci1: <SiI 0680 ATA133 controller> port 0xa000-0xa00f,0xa400-0xa403,0xa800-0x
a807,0xb000-0xb003,0xb400-0xb407 mem 0xdb800000-0xdb8000ff irq 15 at device 13.0
 on pci0
ata2: at 0xb400 on atapci1
ata3: at 0xa800 on atapci1
fwohci0: <NEC uPD72874> mem 0xdb000000-0xdb000fff irq 10 at device 14.0 on pci0
fwohci0: OHCI version 1.10 (ROM=1)
fwohci0: No. of Isochronous channel is 4.
fwohci0: EUI64 00:00:4c:01:10:00:07:94
fwohci0: Phy 1394a available S400, 3 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
sbp0: <SBP-2/SCSI over FireWire> on firewire0
fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 02:00:4c:00:07:94
fwohci0: Initiate bus reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xc9fff on isa0
pmtimer0 on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
ata1 at port 0x170-0x177,0x376 irq 15 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse Explorer, device ID 4
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ad4: 152627MB <ST3160021A> [310101/16/63] at ata2-master UDMA100
Waiting 15 seconds for SCSI devices to settle
Mounting root from ufs:/dev/da0s1a
da1 at sym0 bus 0 target 1 lun 0
da1: <QUANTUM ATLAS IV 18 WLS 0808> Fixed Direct Access SCSI-3 device 
da1: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing Enabled
da1: 17522MB (35885168 512 byte sectors: 255H 63S/T 2233C)
da0 at sym0 bus 0 target 0 lun 0
da0: <SEAGATE ST318436LW 0010> Fixed Direct Access SCSI-3 device 
da0: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing Enabled
da0: 17522MB (35885168 512 byte sectors: 255H 63S/T 2233C)
da2 at sym0 bus 0 target 3 lun 0
da2: <SEAGATE ST336938LW 0003> Fixed Direct Access SCSI-3 device 
da2: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing Enabled
da2: 35242MB (72176567 512 byte sectors: 255H 63S/T 4492C)
$B!J$3$3$G#1$D$a$N30IU$1%I%i%$%V$NEE8;$r#O#N!K(B
fwohci0: BUS reset
fwohci0: node_id=0x8800ffc0, gen=2, non CYCLEMASTER mode
firewire0: 2 nodes, maxhop <= 1, cable IRM = 1
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 manager election failed
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=1 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:0030e00e8200a78e
da3 at sbp0 bus 0 target 0 lun 0
da3: < 1394 to ATA 0102> Fixed Simplified Direct Access SCSI-4 device 
da3: 50.000MB/s transfers
da3: 157066MB (321672960 512 byte sectors: 255H 63S/T 20023C)
$B!J$3$3$G#2$D$a$N30IU$1%I%i%$%V$NEE8;$r#O#N!K(B
fwohci0: BUS reset
fwohci0: node_id=0xc800ffc2, gen=4, CYCLEMASTER mode
firewire0: 3 nodes, maxhop <= 2, cable IRM = 2 (me)
firewire0: bus manager 2 (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=1 addr=0x400 resp=16 retry=5
firewire0: bus_explore failed for 1 nodes
fwohci0: BUS reset
fwohci0: node_id=0xc800ffc2, gen=5, CYCLEMASTER mode
firewire0: 3 nodes, maxhop <= 2, cable IRM = 2 (me)
firewire0: bus manager 2 (me)
firewire0: New S400 device ID:0030e00e8200a9bf
da4 at sbp0 bus 0 target 1 lun 0
da4: < 1394 to ATA 0102> Fixed Simplified Direct Access SCSI-4 device 
da4: 50.000MB/s transfers
da4: 156334MB (320173056 512 byte sectors: 255H 63S/T 19929C)
---

$B;`$s$@;~$N(B /var/log/messages

Oct 14 23:07:26 caravan /kernel: sbp0:0:0 request timeout(cmd orb:0x04703ebc) ..
. agent reset
Oct 14 23:07:26 caravan /kernel: fwohci0: txd err= 3 miss Ack err
Oct 14 23:07:26 caravan /kernel: sbp0:0:0 sbp_agent_reset_callback: resp=22
Oct 14 23:08:26 caravan /kernel: sbp0:0:0 request timeout(cmd orb:0x0470301c) ..
. target reset
Oct 14 23:08:31 caravan /kernel: sbp0:0:0 request timeout(mgm orb:0x04703154) ..
. reset start
Oct 14 23:08:31 caravan /kernel: fwohci0: txd err=14 ack busy_X
Oct 14 23:08:31 caravan /kernel: fw_asybusy
Oct 14 23:08:31 caravan /kernel: fwohci0: txd err=14 ack busy_X
Oct 14 23:08:31 caravan /kernel: fw_asybusy
Oct 14 23:08:31 caravan /kernel: fwohci0: txd err=14 ack busy_X
Oct 14 23:08:31 caravan /kernel: fw_asybusy
Oct 14 23:08:31 caravan /kernel: fwohci0: txd err=14 ack busy_X
Oct 14 23:08:31 caravan /kernel: fw_asybusy
Oct 14 23:08:31 caravan /kernel: firewire0: max_asyretry exceeded
Oct 14 23:08:31 caravan /kernel: sbp0:0:0 sbp_reset_start failed: resp=16
Oct 14 23:08:31 caravan /kernel: firewire0: split transaction timeout dst=0xffc2
 tl=0x37 state=8
Oct 14 23:08:31 caravan /kernel: sbp0:0:0 sbp_reset_start failed: resp=60

$B$3$N>uBV$G;`$s$G$$$k%G%#%9%/$K(B cd $B$H$+$9$k$H$=$N$^$^1d!9$HBT$?$5$l$^$9$,(B
$BB>$N%G%#%9%/$OL5;v$J$N$G!"$=$l$i$r;2>H$7$F$$$kJ,$K$OF0$-$^$9!#(B
$B$?$@$7!"$3$&$J$k$H(B umount -f $B$7$F$b2?$7$F$b$@$a$G$9!#(B
$B$?$$$F$$$O(B shutdown $B$b$^$H$b$K$G$-$J$$$N$G!"$G$-$k$@$1$,$s$P$C$?$H$3$m$G(B
$BD|$a$F%j%;%C%H%9%$%C%A$r2!$7$F$$$^$9!#(B

/===========================$B$b$C$H$$$$L@F|$X(B /
/ $B!!(B $B?9K\!!5|(B  Toru Morimoto   $B#W#e(B $B#l#o#v#e(B  /
/ too@os.gulf.or.jp, too@road.jp         $B?@8M(B  /
/===============================================/
Web: http://www.gulf.or.jp/~too/
27F1 82B5 AF6D 80B8 9B6E  EBFC 8C67 4B85 5CC4 C0A8

