Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 May 2006 18:55:09 +0200
From:      Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no>
To:        FreeBSD gnats submit <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   misc/97208: System hangs / locks up when a firewire disk is attached
Message-ID:  <1147539309.80911@kg-work.kg4.no>
Resent-Message-ID: <200605131700.k4DH0dYN098031@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         97208
>Category:       misc
>Synopsis:       System hangs / locks up when a firewire disk is attached
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 13 17:00:38 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Torfinn Ingolfsen
>Release:        FreeBSD 6.1-STABLE amd64
>Organization:
LNSF 
>Environment:


root@kg-fil# uname -a
FreeBSD kg-fil.kg4.no 6.1-STABLE FreeBSD 6.1-STABLE #8: Sun May  7 22:51:56 CEST 2006     root@kg-fil.kg4.no:/usr/obj/usr/src/sys/FIL60  amd64



>Description:


(I selected the 'misc' category, because I don't know if this problem is amd64 specific)

I'm running FreeBSD / amd64 on a Gigabyte K8-NF-9 mainboard. When I attach a firewire disk, the machine hangs l/ locks up. When I use the usb interface on the same external disk, everything works as expected.
Details:
When FreeBSD is up, and I attach a  (external) firewire disk, FreeBSD
freezes or hangs. It is totally unresponsive, even the console.
If I turn off / on the power to the firewire disk, nothing happens.
If I keep firewire disk power on, and detach the firewire cable, the
following message(s) appear on the console:
fwochi0: BUS reset
fwochi0: node_id=0xc800ffc0, gen=103, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager (me)
fwohci0: phy int

If I re-attach the firewire cable, nothing happens.
If I detach the firewire cable after that, I get a new message as above,
but with a different 'gen=' number.

I have to remove the firewire cable and reset the machine to get it
going again.

If the firewire disk is attached when the machine boot, the boot hangs
and never finishes (well, not for 15 mins at least).'

The disk in question is a Maxtor OneTouch II, 300GB, and it has both
firewire and usb interfaces. If I attach the usb interface, I get the
following in /var/log /messages:
May 13 18:17:53 kg-fil kernel: umass0: Maxtor OneTouch II, rev 2.00/2.03, addr 2
May 13 18:17:53 kg-fil kernel: umass0: Get Max Lun not supported (STALLED)
May 13 18:17:53 kg-fil kernel: da0 at umass-sim0 bus 0 target 0 lun 0
May 13 18:17:53 kg-fil kernel: da0: <Maxtor OneTouch II 023g> Fixed Direct Access SCSI-4 device 
May 13 18:17:53 kg-fil kernel: da0: 40.000MB/s transfers
May 13 18:17:53 kg-fil kernel: da0: 286188MB (586114704 512 byte sectors: 255H 63S/T 36483C)

and if I try to mount it, I get:
May 13 18:18:33 kg-fil kernel: mountmsdosfs(): disk too big, sorry

which is expected, as I don't have the
options	MSDOSFS_LARGE
in my kernel config.



>How-To-Repeat:


- attach a firewire disk to the machine.


>Fix:


- no fix known at this time.


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1147539309.80911>