2008-12-26 01:04:42     blackfin-cam module can't be probed twice just like #bug3899

Document created by Aaronwu Employee on Aug 9, 2013
Version 1Show Document
  • View in full screen mode

2008-12-26 01:04:42     blackfin-cam module can't be probed twice just like #bug3899

Wei Jiang (CHINA)

Message: 67103   

 

Dear all and Michael:

 

my kernel is 08r1.5, hardware: bf561

 

root:/> modprobe blackfin-cam

OV9655: detecting client on address 0x60

OV9655: V4L driver Blackfin CMOS Camera now ready

OV9655: i2c driver ready

root:/> rmmod blackfin-cam

root:/> BUG: failure at mm/slab.c:2980/cache_alloc_refill()!

Kernel panic - not syncing: BUG!

 

 

 

And Michael Hennerich resolved the twi_keypad BUG#3899 just like this?? Maybe this is the same bug:

 

https://blackfin.uclinux.org/gf/project/uclinux-dist/tracker/?action=TrackerItemEdit&tracker_item_id=3899

 

Please give me some helpful information of this BUG,

 

Thanks a lot..

 

Wei Jiang

QuoteReplyEditDelete

 

 

2008-12-26 03:13:48     Re: blackfin-cam module can't be probed twice just like #bug3899

Wei Jiang (CHINA)

Message: 67108   

 

It seems the problem is that we can't free the videodev,  Module can be probed repeat if I annotate this line of function "sensor_detach_client":

 

   //                kfree(data->bcap_dev->videodev);

 

But why?  I tried to drop the sysfs and also failed.

QuoteReplyEditDelete

 

 

2008-12-26 03:50:01     Re: blackfin-cam module can't be probed twice just like #bug3899

Mike Frysinger (UNITED STATES)

Message: 67111   

 

all the fixes are in public svn for you to browse

Attachments

    Outcomes