Subject: kern/25847: malformed input messages and hangs in fwohci_buf_input
To: None <gnats-bugs@gnats.netbsd.org>
From: None <kiers@original.xs4all.nl>
List: netbsd-bugs
Date: 06/06/2004 18:15:50
>Number:         25847
>Category:       kern
>Synopsis:       malformed input messages and hangs in fwohci_buf_input
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jun 06 16:45:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Bert Kiers
>Release:        NetBSD 2.0F
>Organization:
Snow
>Environment:
Patch from PR21099 applied.
fwohci0 at pci0 dev 8 function 0: Sony CXD3222 OHCI IEEE 1394 Host Controller (rev. 0x02)
fwohci0: interrupting at irq 9
fwohci0: OHCI 1.0, 08:00:46:03:00:9d:01:2b, 400Mb/s, 2048 max_rec, 4 ir_ctx, 4 it_ctx
fw0 at fwohci0: 08:00:46:03:00:9d:01:2b:0a:02:ff:ff:f0:01:00:00
fwnode0 at fwohci0 Node 0: UID 00:90:a9:50:00:00:60:f0
fwnode0: Link Speed: 400Mb/s, max_rec: 2048 bytes
sbpscsi0 at fwnode0
scsibus0 at sbpscsi0: 1 target, 1 lun per target
Unknown device at fwnode0 not configured
sd0 at scsibus0 target 0 lun 0: <WD, 2500JB External, 2.21> simplified direct fixed
RBC size: mode sense=268435454, get cap=488397168


System: NetBSD waves 2.0F NetBSD 2.0F (WAVES) #3: Sat Jun 5 23:34:15 CEST 2004 kiers@totoro:/sys/arch/i386/compile/WAVES i386
Architecture: i386
Machine: i386
>Description:
After having formatted the disk with one partition and having written
39 GB of data:
fwohci_buf_input: malformed input 1: 12                               
fwohci_buf_input: malformed input 3: 16                               
At this moment [fwohci0] is in the fwohciev state.

Then, after a reboot, during reading the data:
fwohci_buf_input: malformed input 2: 1769
fwohci_buf_input: malformed input 2: 148
Again, [fwohci0] is in the fwohciev state. The machine is usable, 
the firewire disk is not. The process using the disk is in the 
getblk state and can be killed.

NetBSD2.0F kernel on 1.6.2 userland.

>How-To-Repeat:
excercise firewire disk
>Fix:
unknown
>Release-Note:
>Audit-Trail:
>Unformatted: