netsc520 remapping RAM

From: Alexey Dobriyan
Date: Fri May 30 2008 - 19:42:58 EST


Steps to reproduce:

modprobe netsc520

NetSc520 flash device: 0x100000 at 0x200000
------------[ cut here ]------------
WARNING: at arch/x86/mm/ioremap.c:159 __ioremap_caller+0x15e/0x2c0()
Modules linked in: netsc520(+) [many]
Pid: 13101, comm: modprobe Not tainted 2.6.26-rc4-fat #6

Call Trace:
[<ffffffff80238042>] warn_on_slowpath+0x58/0x88
[<ffffffff80238c7e>] ? printk+0x67/0x69
[<ffffffff80222adc>] __ioremap_caller+0x15e/0x2c0
[<ffffffffa1fab033>] ? :netsc520:init_netsc520+0x33/0xf4
[<ffffffff80222c61>] ioremap_nocache+0x12/0x14
[<ffffffffa1fab033>] :netsc520:init_netsc520+0x33/0xf4
[<ffffffff80261e35>] sys_init_module+0x9e/0x1b2
[<ffffffff8020c15a>] system_call_after_swapgs+0x8a/0x8f

---[ end trace dd7999c17a89437b ]---
CFI: Found no netsc520 Flash Bank device at location zero
Creating 4 MTD partitions on "netsc520 Flash Bank":
0x00000000-0x000c0000 : "NetSc520 boot kernel"
mtd: Giving out device 2 to NetSc520 boot kernel
ftl_cs: FTL header not found.
0x000c0000-0x00100000 : "NetSc520 Low BIOS"
mtd: Giving out device 3 to NetSc520 Low BIOS
ftl_cs: FTL header not found.
0x00100000-0x00f80000 : "NetSc520 file system"
mtd: partition "NetSc520 file system" is out of reach -- disabled
mtd: Giving out device 4 to NetSc520 file system
ftl_cs: FTL header not found.
0x00f80000-0x01000000 : "NetSc520 High BIOS"
mtd: partition "NetSc520 High BIOS" is out of reach -- disabled
mtd: Giving out device 5 to NetSc520 High BIOS
ftl_cs: FTL header not found.


Should it depend on something so it won't be selected on usual
i386/x86_64 allmodconfig crash test?

--
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/