From owner-freebsd-stable@FreeBSD.ORG Mon Oct 13 16:02:16 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5FC8716A4B3 for ; Mon, 13 Oct 2003 16:02:16 -0700 (PDT) Received: from hermes.pressenter.com (hermes.pressenter.com [69.58.128.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 998F743F75 for ; Mon, 13 Oct 2003 16:02:15 -0700 (PDT) (envelope-from nospam@hiltonbsd.com) Received: from [69.58.134.146] (helo=daggar.sbgnet.local) by hermes.pressenter.com with smtp (Exim 3.35 #1) id 1A9Bhb-0002F8-00; Mon, 13 Oct 2003 18:02:11 -0500 Date: Mon, 13 Oct 2003 18:02:09 -0500 From: Stephen Hilton To: Hidetoshi Shimokawa Message-Id: <20031013180209.11e02bf9.nospam@hiltonbsd.com> In-Reply-To: References: <20031011181109.J15184@vette.gigo.com> <20031013023401.7eb10b1a.nospam@hiltonbsd.com> <200310132340.53053.doconnor@gsoft.com.au> X-Mailer: Sylpheed version 0.9.4 (GTK+ 1.2.10; i386-portbld-freebsd4.9) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-stable@freebsd.org Subject: Re: Firewire on STABLE: Sane for drive-based backups? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2003 23:02:16 -0000 On Mon, 13 Oct 2003 23:23:09 +0900 Hidetoshi Shimokawa wrote: > At Mon, 13 Oct 2003 23:40:52 +0930, > Daniel O'Connor wrote: > > > > > > I left the original message in tact to help with debugging. > > Thanks for sending me a copy. > > > > > > > plugging the firewire cable back in gives this: > > > fwohci0: BUS reset > > > fwohci0: node_id=0xc800ffc1, gen=3, CYCLEMASTER mode > > > fwohci0: SID Error > > > > > > At this point I cannot mount the firewire drive anymore. > > SID Error usually means hardware error. > What happens if you do 'fwcontrol -r' after that? > > /\ Hidetoshi Shimokawa > \/ simokawa@sat.t.u-tokyo.ac.jp > PGP public key: http://www.sat.t.u-tokyo.ac.jp/~simokawa/pgp.html > OK after clean reboot: daggar># mount /dev/da2s1c /mnt/firewire daggar># ls -la /mnt/firewire total 6060294 drwxr-xr-x 3 root wheel 512 May 27 07:34 . drwxr-xr-x 10 root wheel 512 Jun 30 15:00 .. drwxr-xr-x 6 root wheel 512 May 27 07:47 daggar -rw-r--r-- 1 root wheel 6204180970 May 27 01:26 daggar_full_backup.tgz Now unplug firewire cable for 1st time: daggar># fwohci0: BUS reset fwohci0: node_id=0x0800ffc0, gen=2, Bus reset failure fwohci0: phy int fwohci0: phy int fwohci0: node_id=0x0800ffc0, gen=4, Bus reset failure fwohci0: phy int fwohci0: phy int fwohci0: node_id=0x0800ffc0, gen=6, Bus reset failure fwohci0: phy int fwohci0: phy int fwohci0: node_id=0x0800ffc0, gen=8, Bus reset failure fwohci0: phy int fwohci0: phy int fwohci0: node_id=0x0800ffc0, gen=10, Bus reset failure fwohci0: phy int fwohci0: node_id=0xc800ffc0, gen=12, CYCLEMASTER mode firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) daggar># fwcontrol -r Plug cable back in: WARNING: driver fw should register devices with make_dev() (dev_t = "#fw/0") fwohci0: Initiate bus reset fwohci0: BUS reset fwohci0: node_id=0xc800ffc0, gen=13, CYCLEMASTER mode firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) daggar># fwohci0: BUS reset fwohci0: node_id=0xc800ffc1, gen=14, CYCLEMASTER mode fwohci0: SID Error daggar># unplug again daggar># daggar># fwohci0: node_id=0x0800ffc0, gen=16, Bus reset failure fwohci0: phy int fwohci0: phy int fwohci0: node_id=0x0800ffc0, gen=18, Bus reset failure fwohci0: phy int fwohci0: phy int fwohci0: node_id=0x0800ffc0, gen=20, Bus reset failure fwohci0: phy int fwohci0: phy int fwohci0: phy int fwohci0: node_id=0x0800ffc0, gen=22, Bus reset failure fwohci0: node_id=0xc800ffc0, gen=24, CYCLEMASTER mode firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) daggar># fwcontrol -r fwohci0: Initiate bus reset fwohci0: BUS reset fwohci0: node_id=0xc800ffc0, gen=25, CYCLEMASTER mode firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) daggar># fwcontrol -r fwohci0: Initiate bus reset fwohci0: BUS reset fwohci0: node_id=0xc800ffc0, gen=26, CYCLEMASTER mode firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) daggar># fwcontrol -r fwohci0: Initiate bus reset fwohci0: BUS reset fwohci0: node_id=0xc800ffc0, gen=27, CYCLEMASTER mode firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) daggar># (da2:sbp0:0:0:0): lost device daggar># fwcontrol -r fwohci0: Initiate bus reset fwohci0: BUS reset fwohci0: node_id=0xc800ffc0, gen=28, CYCLEMASTER mode firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) daggar># Plug cable back in: daggar># fwohci0: BUS reset fwohci0: node_id=0xc800ffc1, gen=29, CYCLEMASTER mode fwohci0: SID Error Hope this helps, Stephen Hilton nospam@hiltonbsd.com