Bug 10317

Summary: firewire: panic in ohci_cancel_packet
Product: Drivers Reporter: Stefan Richter (stefanr)
Component: IEEE1394Assignee: Stefan Richter (stefanr)
Status: CLOSED CODE_FIX    
Severity: normal CC: jarod
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6.25-rc6 + firewire development patches Subsystem:
Regression: --- Bisected commit-id:
Attachments: panic screenshot
panic screenshot

Description Stefan Richter 2008-03-24 12:06:25 UTC
hard to reproduce panic:
 - plugged in two bus powered hubs into PC
 - got panic in ohci_cancel_packet,
   called by fw_flush_transactions,
   called by fw_core_handle_bus_reset,
   while or right after handle_ar_packet

screenshot follows
Comment 1 Stefan Richter 2008-03-24 12:07:54 UTC
Created attachment 15415 [details]
panic screenshot
Comment 2 Stefan Richter 2008-03-24 12:23:52 UTC
Created attachment 15416 [details]
panic screenshot
Comment 3 Jarod Wilson 2008-03-24 14:46:50 UTC
I've hit this panic once or twice w/my crappy jmicron controller.
Comment 4 Stefan Richter 2008-07-13 11:56:29 UTC
Maybe this is caused by the race condition described by Jay on IRC.
Patch: "firewire: fix race of bus reset with request transmission"
http://lkml.org/lkml/2008/7/12/68
belongs to patch series http://lkml.org/lkml/2008/7/12/66
Comment 5 Stefan Richter 2008-07-29 16:18:50 UTC
Mentioned patch has been merged in 2.6.27-rc1:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=792a61021c6043f6c2b24b1cdd42be5753b3e54c
I presume it fixes this bug.