All of lore.kernel.org
 help / color / mirror / Atom feed
* BUG at dcache.h:276! Causing oops when I rmmod a nand module having mulitple partitions
@ 2004-11-22  1:41 Brad Beveridge
  2004-11-22  3:17 ` Brad Beveridge
  0 siblings, 1 reply; 3+ messages in thread
From: Brad Beveridge @ 2004-11-22  1:41 UTC (permalink / raw)
  To: linux-mtd

Hi all.  Here is the basic problem, I have a nand module that I want to 
insmod & rmmod.  It has multiple partitions that look like
static struct mtd_partition partition_info1[] = {   
        { name: "part1",                   
          offset: 0,                                                     
          size: 4 * 1024 * 1024 },                                     
        { name: "part2",                      
          offset: 4 * 1024 * 
1024,                                          
          size: 4 * 1024 * 1024 
},                                          
        { name: "part3",                             
                  offset: 8 * 1024 * 
1024,                                  
                  size: MTDPART_SIZ_FULL }
};

I call nand_scan on my device, and then add_mtd_partitions.
When I rmmod the module I simply call nand_release, because it 
automatically calls del_mtd_partitions.

However, this causes a BUG in dcache.h:276.
There is no oops if I only use a single partition.

Any thoughts on what might be going on?

Cheers
Brad

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-11-24 19:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-22  1:41 BUG at dcache.h:276! Causing oops when I rmmod a nand module having mulitple partitions Brad Beveridge
2004-11-22  3:17 ` Brad Beveridge
2004-11-24 19:24   ` BUG at dcache.h:276! Causing oops when I rmmod a nand module having mulitple partitions (fix) Brad Beveridge

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.