Bug 11226

Summary: netsc520 flash device Fail to ioremap_nocache
Product: Drivers Reporter: Dino Wu (linux)
Component: Flash/Memory Technology DevicesAssignee: David Woodhouse (dwmw2)
Status: REJECTED WILL_NOT_FIX    
Severity: low    
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6.26 Subsystem:
Regression: Yes Bisected commit-id:

Description Dino Wu 2008-08-01 18:36:55 UTC
Latest working kernel version: 2.6.25.7
Earliest failing kernel version: 2.6.26
Distribution: openSUSE-11.0
Hardware Environment: AMD 64 Athlon X2, MCP61
Software Environment:
Problem Description:

Booting with error message:

----- Error message BEGIN -----

<5>Could not find PAR responsible for SC520CDP Flash Bank #0
<5>Trying default address 0x8400000
<5>Could not find PAR responsible for SC520CDP Flash Bank #1
<5>Trying default address 0x8c00000
<5>Could not find PAR responsible for SC520CDP DIL Flash
<5>Trying default address 0x9400000
<5>SC520 CDP flash device: 0x800000 at 0x8400000
<4>Failed to ioremap_nocache
<5>NetSc520 flash device: 0x100000 at 0x200000
<4>------------[ cut here ]------------
<4>WARNING: at arch/x86/mm/ioremap.c:159 __ioremap_caller+0xd6/0x26e()
<4>Modules linked in:
<4>Pid: 1, comm: swapper Not tainted 2.6.26-default #22
<4> [warn_on_slowpath+64/121] warn_on_slowpath+0x40/0x79
<4> [vgacon_scroll+532/556] vgacon_scroll+0x214/0x22c
<4> [scrup+77/176] scrup+0x4d/0xb0
<4> [atomic_notifier_call_chain+12/15] atomic_notifier_call_chain+0xc/0xf
<4> [vt_console_print+618/632] vt_console_print+0x26a/0x278
<4> [write_msg+0/160] write_msg+0x0/0xa0
<4> [__call_console_drivers+79/91] __call_console_drivers+0x4f/0x5b
<4> [up+9/42] up+0x9/0x2a
<4> [release_console_sem+370/395] release_console_sem+0x172/0x18b
<4> [__ioremap_caller+214/622] __ioremap_caller+0xd6/0x26e
<4> [init_netsc520+0/218] init_netsc520+0x0/0xda
<4> [ioremap_nocache+10/13] ioremap_nocache+0xa/0xd
<4> [init_netsc520+53/218] init_netsc520+0x35/0xda
<4> [init_netsc520+53/218] init_netsc520+0x35/0xda
<4> [kernel_init+274/599] kernel_init+0x112/0x257
<4> [sys_wait4+129/148] sys_wait4+0x81/0x94
<4> [__switch_to+160/288] __switch_to+0xa0/0x120
<4> [schedule_tail+23/68] schedule_tail+0x17/0x44
<4> [ret_from_fork+6/32] ret_from_fork+0x6/0x20
<4> [kernel_init+0/599] kernel_init+0x0/0x257
<4> [kernel_init+0/599] kernel_init+0x0/0x257
<4> [kernel_thread_helper+7/16] kernel_thread_helper+0x7/0x10
<4> =======================
<4>---[ end trace c8d7ae49b85d714a ]---
<7>CFI: Found no netsc520 Flash Bank device at location zero
<5>Creating 4 MTD partitions on "netsc520 Flash Bank":
<5>0x00000000-0x000c0000 : "NetSc520 boot kernel"
<5>ftl_cs: FTL header not found.
<5>0x000c0000-0x00100000 : "NetSc520 Low BIOS"
<5>ftl_cs: FTL header not found.
<5>0x00100000-0x00f80000 : "NetSc520 file system"
<4>mtd: partition "NetSc520 file system" is out of reach -- disabled
<5>ftl_cs: FTL header not found.
<5>0x00f80000-0x01000000 : "NetSc520 High BIOS"
<4>mtd: partition "NetSc520 High BIOS" is out of reach -- disabled
<5>ftl_cs: FTL header not found.
<4>Generic platform RAM MTD, (c) 2004 Simtec Electronics
<6>No recognised DiskOnChip devices found

----- Error message END -----
Comment 1 Alan 2008-09-26 06:33:36 UTC
This is a specific driver for an embedded bosrd without autodetect possibilities, so you shouldn't be loading it on random unrelated hardware.