Firewire on STABLE: Sane for drive-based backups?

Stephen Hilton nospam at hiltonbsd.com
Mon Oct 13 16:02:16 PDT 2003


On Mon, 13 Oct 2003 23:23:09 +0900
Hidetoshi Shimokawa <simokawa at sat.t.u-tokyo.ac.jp> wrote:

> At Mon, 13 Oct 2003 23:40:52 +0930,
> Daniel O'Connor wrote:
> > 
> > <Hidetoshi Shimokawa CC'd>
> > 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 at 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 at hiltonbsd.com


More information about the freebsd-stable mailing list