public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* UBI error on 64bit Machine
@ 2006-12-15 13:59 Shiner Chen
  2006-12-15 14:07 ` Artem Bityutskiy
  2007-01-03 17:18 ` Artem Bityutskiy
  0 siblings, 2 replies; 4+ messages in thread
From: Shiner Chen @ 2006-12-15 13:59 UTC (permalink / raw)
  To: linux-mtd

Dear all,

Recently, I get the source code on the ubi-2.6.git tree. I compiled
the kernel on x86-32 arch and erverything is ok,but on x86-64,I met
some problems as follows
Environment
operation system:Red hat Enterprise Server 4.3(kernel 2.6.19 including
the UBI,gcc 3.5)
hardware:x86-64

Command
[linux-ubi$] modprobe nandsim second_id_byte=0x36
[linux-ubi$] modprobe ubi mtd=0

the result in the /var/log/messages
Dec 15 04:45:33 localhost kernel:flash size:64 MiB
Dec 15 04:45:33 localhost kernel:page size:512 bytes
Dec 15 04:45:33 localhost kernel:OOB area size:16 bytes
Dec 15 04:45:33 localhost kernel:sector size:16 KiB
Dec 15 04:45:33 localhost kernel:pages number:131072
Dec 15 04:45:33 localhost kernel:pages per sector:32
Dec 15 04:45:33 localhost kernel:bus width:8
Dec 15 04:45:33 localhost kernel:bits in sector size:14
Dec 15 04:45:33 localhost kernel:bits in page size:9
Dec 15 04:45:33 localhost kernel:bits in OOB size:4
Dec 15 04:45:33 localhost kernel:flash size with OOB:67584 KiB
Dec 15 04:45:33 localhost kernel:page address bytes:4
Dec 15 04:45:33 localhost kernel:sector address bytes:3
Dec 15 04:45:33 localhost kernel:options:0x62
Dec 15 04:45:33 localhost kernel:Scanning device for bad blocks
Dec 15 04:45:33 localhost kernel:Creating 1 MTD partitions on "NAND 64
MiB 1,8V 8-bit":
Dec 15 04:45:33 localhost kernel:0x00000000-0x04000000:"NAND simulator
partition"
Dec 15 04:45:33 localhost kernel:UBI:background thread "ubi_bgt0d"
started,PID 431
Dec 15 04:45:33 localhost kernel:UBI:empty MTD device detected
Dec 15 04:45:33 localhost kernel:UBI:create volume table(copy #1)
Dec 15 04:45:33 localhost kernel:UBI:create volume table(copy #2)
Dec 15 04:45:33 localhost kernel:UBI:create volume table(copy #2)
Dec 15 04:45:33 localhost kernel:UBI:error:ubi_scan_add_volume:two
LEBs with same version 0

I think it's not the problem of the source code . I am not sure if it
is caused by the gcc version or the setting of configure options of
kernel on the x86-64 or something else?

Is anyone who met this kind of problem? Please could you tell me how
to deal with it,thanks a lot!

Your quick reply will be highly appreciated.

Best regards,
shiner

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

end of thread, other threads:[~2007-01-03 17:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-15 13:59 UBI error on 64bit Machine Shiner Chen
2006-12-15 14:07 ` Artem Bityutskiy
     [not found]   ` <f9fe74a60612150616h4b423eabr2678eb78d8bdfb35@mail.gmail.com>
2006-12-15 14:26     ` Artem Bityutskiy
2007-01-03 17:18 ` Artem Bityutskiy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox