[linux-cirrus] MTD redboot partition- jffs - kobject problem

  • From: NZG <ngustavson@xxxxxxxxxxx>
  • To: linux-cirrus@xxxxxxxxxxxxx
  • Date: Fri, 9 Feb 2007 10:36:38 -0600

Using 2.6.20-rc7 with discontig patch.
Anyone seen this before? :

Creating 6 MTD partitions on "physmap-flash.0":
0x00000000-0x00040000 : "RedBoot"
0x00040000-0x00a40000 : "rootfs"
0x00a40000-0x00bc0000 : "zImage"
0x00bc0000-0x00fa0000 : "unallocated"
0x00fa0000-0x00fa1000 : "RedBoot config"
mtd: partition "RedBoot config" doesn't end on an erase block -- force 
read-only
0x00fc0000-0x00fe0000 : "FIS directory"
kobject_add failed for physmap-flash.0 with -EEXIST, don't try to register 
things with the same name in the same dir.
[<c0027778>] (dump_stack+0x0/0x14) from [<c013d8e8>] (kobject_add+0x174/0x1b4)
[<c013d774>] (kobject_add+0x0/0x1b4) from [<c0158f8c>] (device_add+0x78/0x4b0)
[<c0158f14>] (device_add+0x0/0x4b0) from [<c015d2b4>] 
(platform_device_add+0x100/0x154)
[<c015d1b4>] (platform_device_add+0x0/0x154) from [<c015d32c>] 
(platform_device_register+0x24/0x28)
 r7 = 00000000  r6 = C03C8000  r5 = C001EB5C  r4 = C02EB5C0
[<c015d308>] (platform_device_register+0x0/0x28) from [<c0019384>] 
(physmap_init+0x24/0x34)
 r4 = 00000000
[<c0019360>] (physmap_init+0x0/0x34) from [<c00220c0>] (init+0x94/0x270)
 r4 = C001F0C4
[<c002202c>] (init+0x0/0x270) from [<c0040974>] (do_exit+0x0/0x7d0)
 r7 = 00000000  r6 = 00000000  r5 = 00000000  r4 = 00000000

I'm not sure what it' s complaining about with 
"don't try to register things with the same name in the same dir"
any ideas?

thx,
NZG


Other related posts:

  • » [linux-cirrus] MTD redboot partition- jffs - kobject problem