Dear Sirs,
My platform is the DM365. The version of LSP is the DVSDK_2_10_01_18-MontaVista(R) Linux(R) Professional Edition 5.0.0 (0801921).
There is the nandflash wirting issue with the "yaffs" of file system. The Nandflash-Samsung-K9F1208U0C-64MB was only use the yaffs's file system.
It's the small block device. Please help us take a look at this log. There are about thousand error message with "yaffs tragedy:attempt to put data chunk into a non-file"
and "page xxx in gc has no object: ". We can not write the file system correctlt on nandflash-mtdblock3. Could you please help us solve it?
Best Regards,
YJCheng
Jumping to entry point at 0x81080000.
LSP 2.10 BETA RELEASE
VERSION: 2.10.008.02
U-Boot 1.3.4 (Oct 6 2010 - 16:40:17)
I2C: ready
DRAM: 128 MB
NAND: NAND device: Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3V 8-bit)
Bad block table found at page 131040, version 0x00
Bad block table found at page 131008, version 0x00
NAND device: Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3V 8-bit)
Bad block table found at page 131040, version 0x00
Bad block table found at page 131008, version 0x00
128 MiB
In: serial
Out: serial
Err: serial
EEPROM @ 0x50 read FAILED!!!
Ethernet PHY: GENERIC @ 0x00
Hit any key to stop autoboot: 0
TFTP from server 192.168.100.1; our IP address is 192.168.100.101
Filename 'uImage'.
Load address: 0x80700000
Loading: #################################################################
#################################################################
############
done
Bytes transferred = 2078240 (1fb620 hex)
## Booting kernel from Legacy Image at 80700000 ...
Image Name: Linux-2.6.18_pro500-davinci_evm-
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2078176 Bytes = 2 MB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux...................................................................................................
....................................... done, booting the kernel.
Linux version 2.6.18_pro500-davinci_evm-arm_v5t_le (sawame@nakajima) (gcc version 4.2.0 (MontaVista 4.2.0-16.0.32.0801
914 2008-08-30)) #1 PREEMPT Tue Nov 2 17:01:56 JST 2010
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
Machine: DaVinci DM365 EVM
Memory policy: ECC disabled, Data cache writeback
DaVinci DM0365 variant 0x8
PLL0: fixedrate: 24000000, commonrate: 121500000, vpssrate: 243000000
PLL0: vencrate_sd: 27000000, ddrrate: 243000000 mmcsdrate: 121500000
PLL1: armrate: 297000000, voicerate: 99000000, vencrate_hd: 74250000
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
CPU0: D cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets
Built 1 zonelists. Total pages: 19456
Kernel command line: console=ttyS0,115200n8 noinitrd ip=192.168.100.101:255.255.255.0::eth0 root=/dev/nfs rw nfsroot=1
92.168.100.1:/home/sawame/work/dm365filesys,nolock mem=76M video=davincifb:vid0=OFF:vid1=OFF:osd0=720x576x16,4050K dm3
65_imp.oper_mode=0 davinci_capture.device_type=4
PID hash table entries: 512 (order: 9, 2048 bytes)
Clock event device timer0_0 configured with caps set: 07
Console: colour dummy device 80x30
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 76MB = 76MB total
Memory: 72472KB available (3569K code, 736K data, 200K init)
Security Framework v1.0.0 initialized
Capability LSM initialized
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
MUX: initialized SPI0_SCLK
MUX: initialized SPI0_SDO)
MUX: initialized SPI0_SDI
MUX: initialized SPI0_SDENA0
DaVinci: 104 gpio irqs
MUX: initialized GPIO20
MUX: initialized I2C_SCL
DM365 IPIPE initialized in Continuous mode
Generic PHY: Registered new driver
ch0 default output "COMPOSITE", mode "NTSC"
VPBE Encoder Initialized
LogicPD encoder initialized
Avnetlcd encoder initialized
dm365_afew_hw_init
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 4096 bind 2048)
TCP reno registered
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
squashfs: version 3.1 (2006/08/19) Phillip Lougher
JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.
yaffs Nov 2 2010 17:07:40 Installing.
SGI XFS with no debug enabled
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered (default)
LTT : ltt-facilities init
LTT : ltt-facility-core init in kernel
davincifb davincifb.0: dm_osd0_fb: Initial window configuration is invalid.
davincifb davincifb.0: dm_osd0_fb: 720x576x16@0,0 with framebuffer size 4050KB
davincifb davincifb.0: dm_vid0_fb: 0x0x16@0,0 with framebuffer size 1020KB
davincifb davincifb.0: dm_osd1_fb: 720x480x4@0,0 with framebuffer size 675KB
davincifb davincifb.0: dm_vid1_fb: 0x0x16@0,0 with framebuffer size 1020KB
DAVINCI-WDT: DaVinci Watchdog Timer: heartbeat 60 sec
facedetect major#: 253, minor# 0
facedetect driver registered
imp serializer initialized
davinci_previewer initialized
davinci_resizer initialized
Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO map 0x1c20000 mem 0xfbc20000 (irq = 40) is a 16550A
serial8250.0: ttyS1 at MMIO map 0x1d06000 mem 0xfbd06000 (irq = 41) is a 16550A
RAMDISK driver initialized: 1 RAM disks of 32768K size 1024 blocksize
Davinci EMAC MII Bus: probed
MAC address is 02:00:10:00:00:00
TI DaVinci EMAC Linux version updated 4.0
netconsole: not configured, aborting
Linux video capture interface: v2.00
vpfe_init
starting ccdc_reset...<7>
End of ccdc_reset...<5>vpfe_probe
vpfe ccdc capture vpfe ccdc capture.1: vpif_register_decoder: decoder = MT9T001
vpfe ccdc capture vpfe ccdc capture.1: vpif_register_decoder: decoder = MT9P031
TVP514X : nummber of channels = 1
vpfe ccdc capture vpfe ccdc capture.1: vpif_register_decoder: decoder = TVP514X
Trying to register davinci display video device.
layer=c0664600,layer->video_dev=c0664760
Trying to register davinci display video device.
layer=c0664400,layer->video_dev=c0664560
davinci_init:DaVinci V4L2 Display Driver V1.0 loaded
vpfe ccdc capture vpfe ccdc capture.1: vpif_register_decoder: decoder = TVP7002
af major#: 250, minor# 0
AF Driver initialized
aew major#: 249, minor# 0
AEW Driver initialized
i2c /dev entries driver
nand_davinci nand_davinci.0: Using 4-bit hardware ECC
NAND device: Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3V 8-bit)
2 NAND chips detected
Creating 5 MTD partitions on "nand_davinci.0":
0x00000000-0x003c0000 : "bootloader"
0x003c0000-0x00400000 : "params"
0x00400000-0x00800000 : "kernel"
0x00800000-0x03e00000 : "filesystem1"
0x03e00000-0x08000000 : "filesystem2"
nand_davinci nand_davinci.0: hardware revision: 2.3
dm_spi.0: davinci SPI Controller driver at 0xc501e000 (irq = 42) use_dma=0
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
musb_hdrc: version 6.0, cppi-dma, host, debug=0
MUSB Staging Tree Back Port
MUX: initialized GPIO33
musb_hdrc: USB Host mode controller at c5074000 using DMA, IRQ 12
musb_hdrc musb_hdrc: MUSB HDRC host driver
musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 1
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
mice: PS/2 mouse device common for all mice
davinci-mmc davinci-mmc.0: Supporting 4-bit mode
davinci-mmc davinci-mmc.0: Using DMA mode
Advanced Linux Sound Architecture Driver Version 1.0.12rc1 (Thu Jun 22 13:55:50 2006 UTC).
ASoC version 0.13.1
AIC3X Audio Codec 0.2
asoc: aic3x <-> davinci-i2s mapping ok
ALSA device list:
#0: DaVinci DM365 EVM (aic3x)
IPv4 over IPv4 tunneling driver
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
Time: timer0_1 clocksource has been installed.
Clock event device timer0_0 configured with caps set: 08
Switched to high resolution mode on CPU 0
usb 1-1: new high speed USB device using musb_hdrc and address 2
usb 1-1: configuration #1 chosen from 1 choice
IP-Config: Unable to set interface netmask (-22).
Looking up port of RPC 100003/2 on 192.168.100.1
Looking up port of RPC 100005/1 on 192.168.100.1
VFS: Mounted root (nfs filesystem).
Freeing init memory: 200K
Warning: unable to open an initial console.
NET: Registered protocol family 10
6WIND/LSIIT IPv6 multicast forwarding 0.1 plus PIM-SM/SSM with *BSD API
lo: Disabled Privacy Extensions
IPv6 over IPv4 tunneling driver
Mobile IPv6
MontaVista(R) Linux(R) Professional Edition 5.0.0 (0801921)
192.168.100.101 login: root
Last login: Thu Jan 1 00:00:48 1970 on console
Linux 192.168.100.101 2.6.18_pro500-davinci_evm-arm_v5t_le #1 PREEMPT Tue Nov 2 17:01:56 JST 2010 armv5tejl GNU/Linux
Welcome to MontaVista(R) Linux(R) Professional Edition 5.0.0 (0801921).
root@192.168.100.101:~# cd /
root@192.168.100.101:/# flash_eraseall /dev/mtd3
Erasing 16 Kibyte @ 35fc000 -- 99 % complete.
root@192.168.100.101:/# mount -t yaffs /dev/mtdblock3 /mnt/nand/
yaffs: dev is 32505859 name is "mtdblock3"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.3, "mtdblock3"
yaffs_read_super: isCheckpointed 0
root@192.168.100.101:/# cd /mnt/nand
root@192.168.100.101:/mnt/nand# tar xf ../../WiFiTV_NAND_Filesystem_20101005.tar
yaffs tragedy:attempt to put data chunk into a non-fileD_Filesystem_20101005.tar
==>> yaffs bug: fs/yaffs2/yaffs_guts.c 3444
yaffs tragedy:attempt to put data chunk into a non-file
==>> yaffs bug: fs/yaffs2/yaffs_guts.c 3444
page 177 in gc has no object: 256 79 0
tar: ./bin/umounpage 179 in gc has no object: 65535 1032191 1023
t: time stamp 20page 180 in gc has no object: 65535 1032191 1023
08-08-30 10:29:0page 181 in gc has no object: 65535 1032191 1023
5 is 1220092060 page 182 in gc has no object: 65535 1032191 1023
page 183 in gc has no object: 65535 1032191 1023
page 184 in gc has no object: 65535 1032191 1023
page 185 in gc has no object: 65535 1032191 1023
page 186 in gc has no object: 65535 1032191 1023
page 187 in gc has no object: 65535 1032191 1023
page 188 in gc has no object: 65535 1032191 1023
page 189 in gc has no object: 65535 1032191 1023
page 190 in gc has no object: 65535 1032191 1023
page 191 in gc has no object: 65535 1032191 1023
page 192 in gc has no object: 65535 1032191 1023
page 193 in gc has no object: 65535 1032191 1023
page 194 in gc has no object: 65535 1032191 1023
page 195 in gc has no object: 65535 1032191 1023
page 196 in gc has no object: 65535 1032191 1023
page 197 in gc has no object: 65535 1032191 1023
page 198 in gc has no object: 65535 1032191 1023
page 199 in gc has no object: 65535 1032191 1023
page 200 in gc has no object: 65535 1032191 1023
page 201 in gc has no object: 65535 1032191 1023
page 202 in gc has no object: 65535 1032191 1023
page 203 in gc has no object: 65535 1032191 1023
page 204 in gc has no object: 65535 1032191 1023
page 205 in gc has no object: 65535 1032191 1023
page 206 in gc has no object: 65535 1032191 1023
page 207 in gc has no object: 65535 1032191 1023
page 208 in gc has no object: 65535 1032191 1023
page 210 in gc has no object: 65535 1032191 1023
page 211 in gc has no object: 65535 1032191 1023
page 212 in gc has no object: 65535 1032191 1023
page 213 in gc has no object: 65535 1032191 1023
page 214 in gc has no object: 65535 1032191 1023
page 215 in gc has no object: 65535 1032191 1023
page 216 in gc has no object: 65535 1032191 1023
page 217 in gc has no object: 65535 1032191 1023
page 218 in gc has no object: 65535 1032191 1023
page 219 in gc has no object: 65535 1032191 1023
page 220 in gc has no object: 65535 1032191 1023
page 221 in gc has no object: 65535 1032191 1023
page 222 in gc has no object: 65535 1032191 1023
page 223 in gc has no object: 65535 1032191 1023
page 224 in gc has no object: 65535 1032191 1023
page 225 in gc has no object: 65535 1032191 1023
page 226 in gc has no object: 65535 1032191 1023
page 288 in gc has no object: 256 0 0
yaffs tragedy:attempt to put data chunk into a non-file
==>> yaffs bug: fs/yaffs2/yaffs_guts.c 3444
yaffs tragedy:attempt to put data chunk into a non-file
==>> yaffs bug: fs/yaffs2/yaffs_guts.c 3444
page 384 in gc has no object: 331 0 0
yaffs tragedy:attempt to put data chunk into a non-file
==>> yaffs bug: fs/yaffs2/yaffs_guts.c 3444
page 448 in gc has no object: 301 0 0
page 480 in gc has no object: 286 0 0
page 482 in gc has no object: 303 1 512
page 483 in gc has no object: 287 2 512
yaffs tragedy:attempt to put data chunk into a non-file
==>> yaffs bug: fs/yaffs2/yaffs_guts.c 3444
yaffs tragedy:attempt to put data chunk into a non-file
==>> yaffs bug: fs/yaffs2/yaffs_guts.c 3444
page 486 in gc has no object: 287 5 512
page 487 in gc has no object: 303 6 512
page 488 in gc has no object: 335 7 512
yaffs tragedy:attempt to put data chunk into a non-file
==>> yaffs bug: fs/yaffs2/yaffs_guts.c 3444
yaffs tragedy:attempt to put data chunk into a non-file
==>> yaffs bug: fs/yaffs2/yaffs_guts.c 3444
yaffs tragedy:attempt to put data chunk into a non-file
==>> yaffs bug: fs/yaffs2/yaffs_guts.c 3444
yaffs tragedy:attempt to put data chunk into a non-file
==>> yaffs bug: fs/yaffs2/yaffs_guts.c 3444
yaffs tragedy:attempt to put data chunk into a non-file
==>> yaffs bug: fs/yaffs2/yaffs_guts.c 3444
yaffs tragedy:attempt to put data chunk into a non-file
==>> yaffs bug: fs/yaffs2/yaffs_guts.c 3444
yaffs tragedy:attempt to put data chunk into a non-file
==>> yaffs bug: fs/yaffs2/yaffs_guts.c 3444
yaffs tragedy:attempt to put data chunk into a non-file
==>> yaffs bug: fs/yaffs2/yaffs_guts.c 3444
yaffs tragedy:attempt to put data chunk into a non-file
==>> yaffs bug: fs/yaffs2/yaffs_guts.c 3444
yaffs tragedy:attempt to put data chunk into a non-file
==>> yaffs bug: fs/yaffs2/yaffs_guts.c 3444
page 518 in gc has no object: 65535 1032191 1023
tar: ./bin/pidofpage 519 in gc has no object: 65535 1032191 1023
: time stamp 200page 525 in gc has no object: 65535 1032191 1023
8-08-30 07:53:17page 528 in gc has no object: 65535 1032191 1023
is 1220082711 s in the future
page 608 in gc has no object: 256 0 0
page 609 in gc has no object: 65535 1032191 1023
yaffs tragedy:attempt to put data chunk into a non-file
==>> yaffs bug: fs/yaffs2/yaffs_guts.c 3444
yaffs tragedy:attempt to put data chunk into a non-file
==>> yaffs bug: fs/yaffs2/yaffs_guts.c 3444
page 704 in gc has no object: 307 0 0
yaffs tragedy:attempt to put data chunk into a non-file
==>> yaffs bug: fs/yaffs2/yaffs_guts.c 3444
page 768 in gc has no object: 341 0 0
page 800 in gc has no object: 286 0 0
yaffs tragedy:attempt to put data chunk into a non-file
==>> yaffs bug: fs/yaffs2/yaffs_guts.c 3444
yaffs tragedy:attempt to put data chunk into a non-file
==>> yaffs bug: fs/yaffs2/yaffs_guts.c 3444
page 928 in gc has no object: 286 0 0
page 929 in gc has no object: 65535 1032191 1023
yaffs tragedy:attempt to put data chunk into a non-file
==>> yaffs bug: fs/yaffs2/yaffs_guts.c 3444
yaffs tragedy:attempt to put data chunk into a non-file
==>> yaffs bug: fs/yaffs2/yaffs_guts.c 3444
page 1025 in gc has no object: 65535 1032191 1023
page 1057 in gc has no object: 65535 1032191 1023
page 1088 in gc has no object: 256 0 0
page 1089 in gc has no object: 65535 1032191 1023
yaffs tragedy:attempt to put data chunk into a non-file
==>> yaffs bug: fs/yaffs2/yaffs_guts.c 3444
yaffs tragedy:attempt to put data chunk into a non-file
==>> yaffs bug: fs/yaffs2/yaffs_guts.c 3444
page 1184 in gc has no object: 307 0 0
yaffs tragedy:attempt to put data chunk into a non-file
==>> yaffs bug: fs/yaffs2/yaffs_guts.c 3444
page 1248 in gc has no object: 301 0 0
page 1280 in gc has no object: 358 0 0
yaffs tragedy:attempt to put data chunk into a non-file
==>> yaffs bug: fs/yaffs2/yaffs_guts.c 3444
yaffs tragedy:attempt to put data chunk into a non-file
==>> yaffs bug: fs/yaffs2/yaffs_guts.c 3444
page 1376 in gc has no object: 301 0 0
yaffs tragedy:attempt to put data chunk into a non-file
==>> yaffs bug: fs/yaffs2/yaffs_guts.c 3444
page 1441 in gc has no object: 65535 1032191 1023
page 1505 in gc has no object: 65535 1032191 1023
yaffs tragedy:attempt to put data chunk into a non-file
==>> yaffs bug: fs/yaffs2/yaffs_guts.c 3444
page 1622 in gc has no object: 65535 1032191 1023
tar: ./bin/mountpage 1624 in gc has no object: 65535 1032191 1023
: time stamp 200page 1625 in gc has no object: 65535 1032191 1023
8-08-30 10:29:05page 1626 in gc has no object: 65535 1032191 1023
is 1220092059 spage 1627 in gc has no object: 65535 1032191 1023
in the future
page 1628 in gc has no object: 65535 1032191 1023
page 1629 in gc has no object: 65535 1032191 1023
page 1630 in gc has no object: 65535 1032191 1023
page 1631 in gc has no object: 65535 1032191 1023
page 1632 in gc has no object: 65535 1032191 1023
page 1633 in gc has no object: 65535 1032191 1023
page 1634 in gc has no object: 65535 1032191 1023
page 1635 in gc has no object: 65535 1032191 1023
....
....
....
page 103937 in gc has no object: 65535 1032191 1023
page 104001 in gc has no object: 65535 1032191 1023
tar: ./etc/rc.d/rc6.d: time stamp 2008-08-30 22:42:36 is 1220135952 s in the future
tar: ./etc/rc.d/rc1.d: time stamp 2008-08-30 22:42:36 is 1220135952 s in the future
page 104065 in gc has no object: 65535 1032191 1023
page 104129 in gc has no object: 65535 1032191 1023
tar: ./etc/rc.d/rc4.d: time stamp 2008-08-30 22:42:36 is 1220135952 s in the future
tar: ./etc/rc.d/rcS.d: time stamp 2008-08-30 22:42:36 is 1220135952 s in the future
page 104193 in gc has no object: 65535 1032191 1023
page 104257 in gc has no object: 65535 1032191 1023
tar: ./etc/rc.d/rc5.d: time stamp 2008-08-30 22:42:36 is 1220135952 s in the future
tar: ./etc/rc.d/rc2.d: time stamp 2008-08-3page 104288 in gc has no object: 131595 0 0
0 22:42:36 is 1220135952 s in the future
page 104385 in gc has no object: 65535 1032191 1023
tar: ./etc/rc.d/rc0.d: time stamp 2008-08-30 22:42:36 is 1220135952 s in the future
tar: ./etc/rc.d/rc3.d: time stamp 2009-07-15 22:22:17 is 1247696333 s in the future
page 104449 in gc has no object: 65535 1032191 1023
page 104513 in gc has no object: 65535 1032191 1023
tar: ./etc/rc.d: time stamp 2010-10-06 09:58:37 is 1286358913 s in the future
tar: ./etc: time stamp 2010-10-06 09:58:37 is 1286358913 s in the future
page 104577 in gc has no object: 65535 1032191 1023
tar: ./dev: time stamp 2008-08-30 22:42:36 is 1220135952 s in the future
tar: Error exit delayed from previous errors