Re: [BUG] re-modprobe a nand controller driver module will cause system crash.

From: Mike Frysinger
Date: Wed Oct 22 2008 - 10:59:31 EST


On Tue, Oct 21, 2008 at 23:24, Bryan Wu wrote:
> Did anyone meet this issue before?

actually i think we can see the same issue with the m25p80 driver ?
if i build it as a module and load/unload it, it crashes with same
name errors ...

root:/> rmmod m25p80
root:/> modprobe m25p80
m25p80 spi0.2: w25x10 (128 Kbytes)
Creating 3 MTD partitions on "m25p80":
0x00000000-0x00040000 : "bootloader(spi)"
mtd: partition "bootloader(spi)" extends beyond the end of device
"m25p80" -- size truncated to 0x20000
kobject_add_internal failed for 31:0 with -EEXIST, don't try to
register things with the same name in the same directory.
<crash message>
-mike
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/