Bug 8301 - b2c2-flexcop-pci causes hard lock
Summary: b2c2-flexcop-pci causes hard lock
Status: CLOSED CODE_FIX
Alias: None
Product: v4l-dvb
Classification: Unclassified
Component: dvb-other (show other bugs)
Hardware: i386 Linux
: P2 high
Assignee: Mauro Carvalho Chehab
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-04 07:17 UTC by Hendrik Borghorst
Modified: 2007-06-22 13:43 UTC (History)
2 users (show)

See Also:
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 (1.01 KB, patch)
2007-04-04 07:17 UTC, Hendrik Borghorst
Details | Diff

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

Note You need to log in before you can comment on or make changes to this bug.