UBI error on 64bit Machine

Shiner Chen shiner.chen at gmail.com
Fri Dec 15 08:59:47 EST 2006


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




More information about the linux-mtd mailing list