Bug 8301

Summary: b2c2-flexcop-pci causes hard lock
Product: v4l-dvb Reporter: Hendrik Borghorst (hendrik)
Component: dvb-otherAssignee: Mauro Carvalho Chehab (mchehab)
Status: CLOSED CODE_FIX    
Severity: high CC: mrechberger, protasnb
Priority: P2    
Hardware: i386   
OS: Linux   
Kernel Version: 2.6.21-rc5-git9 Subsystem:
Regression: --- Bisected commit-id:
Attachments: Patch flexcop-pci.c to call spin_lock_init before spin_lock_irq

Description Hendrik Borghorst 2007-04-04 07:17:01 UTC
Most recent kernel where this bug did *NOT* occur:
Distribution: Fedora 7 Rawhide
Hardware Environment: I386 Compatible
Software Environment: 
Problem Description:
If you modprobe the b2c2-flexcop-pci module you got a hardlock of your system. I
think it is because you use spin_lock_irq before spin_lock_init is called. I
created a patch which fixes the problem. Perhaps you could have a look at it.

Steps to reproduce:
1.modprobe b2c2-flexcop-pci with a b2c2 pci card inserted.
Comment 1 Hendrik Borghorst 2007-04-04 07:17:53 UTC
Created attachment 11048 [details]
Patch flexcop-pci.c to call spin_lock_init before spin_lock_irq
Comment 2 Natalie Protasevich 2007-06-21 23:18:58 UTC
The patch needs a review.
Thanks.
Comment 3 Mauro Carvalho Chehab 2007-06-22 13:43:08 UTC
This patch were already applied at kernel:
http://git.kernel.org/?p=linux/kernel/git/mchehab/v4l-dvb.git;a=commit;h=4f210e072235c3c123b068d348a1a02e624ff5be