MTD crash with kernel 2.6.13

llandre r&d2 at dave-tech.it
Fri Oct 7 09:37:19 EDT 2005


Jeff,

thanks a lot for you help. I forwarded your message to David Woodhouse. 
I hope this can help to find the bug.

-- 
llandre

DAVE Electronics System House - R&D Department
web:   http://www.dave-tech.it
email: r&d2 at dave-tech.it


> llandre,
> I had a similar problem with the 2.4.29 devfs code, the problem wasn't
> an uninitialized wait queue, although the system failure looked similiar
> to yours. The problem was actually an entry being added to the wait_queue
> call schedule(), and when rescheduled not removing itself from the
> wait_queue.
> Later when someone else called wake_up for the wait_queue, __wake_up_common
> paniced with a zero pointer.
> 
> Maybe this situation is happening with the MTD code. I don't have 2.6.13
> to look at.
> 
> Jeff Fellin
> RFL Electronics
> Jeff.Fellin at rflelect.com
> 973 334-3100, x 327
> 
> 
>                                                                                                                                    
>                       llandre                                                                                                      
>                       <r&d2 at dave-tech.it>               To:       linux-mtd at lists.infradead.org                                    
>                       Sent by:                          cc:                                                                        
>                       linux-mtd-bounces at lists.in        Subject:  MTD crash with kernel 2.6.13                                     
>                       fradead.org                                                                                                  
>                                                                                                                                    
>                                                                                                                                    
>                       10/07/2005 06:26                                                                                             
>                                                                                                                                    
>                                                                                                                                    
> 
> 
> 
> 
> Hi all,
> 
> I encountered a problem with MTD with kernel 2.6.13 on ARM architecure.
> It crashes in __wake_up_common function when I try to erase a MTD
> partition on StrataFlash. I've already talked with David Woodhouse over
> #mtd channel and it really seems it is a bug in MTD code (he suggests it
> is due to an uninitialized wait queue). I tried to patch the kernel with
> latest MTD code but the crash still occurs. Here are available the full
> dumps of the console (with and without DEBUG_WAITQ flag):
> http://www.dave-tech.it/download/misc/sw/zefeer/zelk/mtd/
> 
> Anybody experienced the same problem? Any suggestions about how to solve
> it?
> 
> 
> Thanks in advance,
> llandre
> 
> DAVE Electronics System House - R&D Department
> web:   http://www.dave-tech.it
> email: r&d2 at dave-tech.it
> 
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/
> 
> 
> 
> 
> 






More information about the linux-mtd mailing list