Bug 8646
Summary: | fw-ohci and ohci1394: panic in softirq, below smp_apic_timer_interrupt | ||
---|---|---|---|
Product: | Drivers | Reporter: | Stefan Richter (stefanr) |
Component: | IEEE1394 | Assignee: | drivers_ieee1394 |
Status: | CLOSED CODE_FIX | ||
Severity: | high | ||
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | all | Subsystem: | |
Regression: | --- | Bisected commit-id: | |
Attachments: |
screenshot
screenshot kill tasklets in fw-ohci::pci_remove screenshot firewire: fix unloading of fw-ohci while devices are attached |
Description
Stefan Richter
2007-06-17 14:04:35 UTC
Created attachment 11773 [details]
screenshot
An old Pentium MMX notebook also crashes this way but does not print out a panic message. Tested with UP PREEMPT kernel. Created attachment 12445 [details]
screenshot
panic on 2.6.23-rc3 x86-64
triggered by modprobe -r firewire-ohci shortly after modprobe firewire-ohci,
firewire-sbp2 was not loaded
Created attachment 12461 [details]
kill tasklets in fw-ohci::pci_remove
It seems this patch doesn't help. See next screenshot.
Created attachment 12462 [details]
screenshot
panic, with patch id=12461 applied, triggered by modprobe -r firewire-ohci with an SBP-2 disk attached and firewire-sbp2 loaded
The only and probably insignificant difference is that __update_rq_clock (a new function in 2.6.23-rc3) appears in the trace between __do_softirq and run_timer_softirq.
Created attachment 12463 [details]
firewire: fix unloading of fw-ohci while devices are attached
Fixes modprobe -r firewire-ohci in presence of an SBP-2 device.
Still to do: - Check if patch attachment 12469 [details] also fixed the bug per comment #3. We can't tell for sure as long as bug 8906 is unfixed. - Fix the bug for the old ieee1394 stack. (I meant attachment 12463 [details] of course.)
attachment 12463 [details] has been merged in linux 2.6.23-rc4
Re comment #7: Fixes for bug 8906 have been posted, bug per comment #3 does not happen anymore. I.e. only the old ieee1394 stack _may_ still be affected. I am closing this bug now; if anybody still encounters this bug with the ieee1394 stack, please reopen and rename this bug. |