Linux.com

kernel error problem

Link to this post 03 Mar 12

hi all,
I am using leopard board dm355,when i compiling the following error will occured,

Welcome to minicom 2.5

OPTIONS: I18n
Compiled on May 2 2011, 00:39:27.
Port /dev/ttyS0

Press CTRL-A Z for help on special keys

Chip initialization passed!
TI UBL Version: 1.30
Booting Catalog Boot Loader
BootMode = NAND
Starting NAND Copy...
Valid MagicNum found.
DONE
Jumping to entry point at 0x81080000.


U-Boot 1.2.0 (Feb 24 2010 - 11:46:45)LEOPARD-1.0.0

DRAM: 128 MB
NAND: NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron NAND 256MiB 3,)
Bad block table found at page 131008, version 0x01
Bad block table found at page 130944, version 0x01
nand_read_bbt: Bad block at 0x00ae0000
256 MiB
In: serial
Out: serial
Err: serial
ARM Clock :- 216MHz
DDR Clock :- 171MHz
Hit any key to stop autoboot: 0

NAND read: device 0 offset 0x1000000, size 0x800000
8388608 bytes read: OK

Loading from NAND 256MiB 3,3V 8-bit, offset 0x400000
Image Name: Linux-2.6.10_mvl401_IPNC-1.1.0
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1490704 Bytes = 1.4 MB
Load Address: 80008000
Entry Point: 80008000
## Booting image at 80700000 ...
Image Name: Linux-2.6.10_mvl401_IPNC-1.1.0
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1490704 Bytes = 1.4 MB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
OK

Starting kernel ...

Linux version 2.6.10_mvl401_IPNC-1.1.0 (leon@localhost.localdomain) (gcc versio9
CPU: ARM926EJ-Sid(wb) [41069265] revision 5 (ARMv5TEJ)
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
Machine: DaVinci DM355 IPNetCam
Memory policy: ECC disabled, Data cache writeback
DM0350
Built 1 zonelists
Kernel command line: mem=80M console=ttyS0,115200n8 root=/dev/ram0 rw initrd=0x1
PID hash table entries: 512 (order: 9, 8192 bytes)
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: 80MB = 80MB total
Memory: 69504KB available (2596K code, 589K data, 160K init)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: Testing write buffer coherency: ok
spawn_desched_task(00000000)
desched cpu_callback 3/00000000
ksoftirqd started up.
desched cpu_callback 2/00000000
checking if image is initramfs...desched thread 0 started up.
it isn't (no cpio magic); looks like an initrd
Freeing initrd memory: 8192K
NET: Registered protocol family 16
Registering platform device 'serial8250.0'. Parent at platform
Registering platform device 'nand_davinci.0'. Parent at platform
Registering platform device 'dm9000.0'. Parent at platform
Registering platform device 'mmc.0'. Parent at platform
DaVinci I2C DEBUG: 20:20:50 Mar 9 2009
Registering platform device 'i2c'. Parent at platform
SCSI subsystem initialized
Registering platform device 'dm_spi.0'. Parent at platform
NetWinder Floating Point Emulator V0.97 (double precision)
JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
yaffs Mar 9 2009 20:20:27 Installing.
Initializing Cryptographic API
Registering platform device 'dm355fb.0'. Parent at platform
Console: switching to colour frame buffer device 90x30
watchdog: TI DaVinci Watchdog Timer: timer margin 64 sec
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: RAR detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: RAR detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: RAR detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: RAR detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: RAR detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: RAR detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: RAR detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: RAR detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: RAR detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: RAR detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: RAR detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: RAR detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: RAR detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: RAR detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: RAR detected
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
Registering platform device 'serial8250'. Parent at platform
ttyS0 at MMIO 0x1c20000 (irq = 40) is a 16550A
ttyS1 at MMIO 0x1c20400 (irq = 41) is a 16550A
ttyS2 at MMIO 0x1e06000 (irq = 14) is a 16550A
io scheduler noop registered
io scheduler anticipatory registered
RAMDISK driver initialized: 1 RAM disks of 32768K size 1024 blocksize
loop: loaded (max 8 devices)
dm9000 Ethernet Driver
dm9000: read chip_revision 0x00000019
Getting MAC from env var 'ethaddr'..
eth0: dm9000 at c5860000,c5862010 IRQ 53 MAC: 00:0c:0c:a0:00:89
i2c /dev entries driver
Linux video capture interface: v1.00
Registering platform device 'vpfe.1'. Parent at platform
vpfe vpfe.1: DaVinci v4l2 capture driver V1.0 loaded
ipipe major#: 254, minor# 0
Registering platform device 'dm355_ipipe.2'. Parent at platform
ipipe driver registered
aew major#: 253, minor# 0
Registering platform device 'dm355_aew.2'. Parent at platform
elevator: using anticipatory as default io scheduler
nand_davinci nand_davinci.0: Using 4-bit hardware ECC
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron NAND 256MiB 3,3V 8-bi)
Creating 5 MTD partitions on "nand_davinci.0":
0x00000000-0x00060000 : "bootloader"
0x00060000-0x00200000 : "params"
0x00200000-0x00400000 : "kernel"
0x00400000-0x01800000 : "filesystem"
0x01800000-0x10000000 : "data"
nand_davinci nand_davinci.0: hardware revision: 2.3
drivers/spi/spi.c:scan_boardinfo:304
modias AIC26 irq 0 max_speed 2000000 bus_num 65535 chip_select 0 mode 0
dm_spi.0: dm355 SPI Controller driver at 0xc5864000 (irq = 42)
mmc mmc.0: Supporting 4-bit mode
mmc mmc.0: Using DMA mode
Registering platform device 'davinci-audio.0'. Parent at platform
MMC cmd.resp[0] = aa orc=0
MMC cmd.resp[0] = aa orc=300000
MMC: selected 50.000MHz transfer rate
MMC: selected 50.000MHz transfer rate
mmcblk0: mmc0:b368 LEXAR 3914752KiB
NET: Registered protocol family 2
mmcblk0: p1
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 8192 bind 16384)
Initializing XFRM netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 10
IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
i=409 Speed=100
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
Sending DHCP requests ., OK
IP-Config: Got DHCP answer from 0.0.0.0, my address is 192.168.1.20
IP-Config: Complete:
device=eth0, addr=192.168.1.20, mask=255.255.255.0, gw=192.168.1.1,
host=192.168.1.20, domain=, nis-domain=(none),
bootserver=0.0.0.0, rootserver=0.0.0.0, rootpath=
RAMDISK: Compressed image found at block 0
VFS: Mounted root (ext2 filesystem).
Freeing init memory: 160K
INIT: version 2.85 booting
0
mknod: /dev/ptmx: File exists
Mounting a tmpfs over /dev...done.
Creating initial device nodes...done.
0
Mounting local filesystems: mount none on /dev/shm type tmpfs (rw,size=5M)
none on /var/run type tmpfs (rw)
none on /tmp type tmpfs (rw,sync)
Starting hotplug subsystem:
pci
pci [success]
usb
usb [success]
isapnp
isapnp [success]
ide
ide [success]
input
input [success]
scsi
scsi [success]
done.
Starting portmap daemon: portmap/etc/rc.d/rcS.d/S41portmap: 156: nice: not found
pidof: invalid option -- x
BusyBox v1.01 (2005.12.18-04:57+0000) multi-call binary

No help available.

.
ioremap_nocache(0x85000000, 50331648)=0xc5880000
allocated heap buffer 0xc5880000 of size 0x26c000
cmem initialized 13 pools between 0x85000000 and 0x88000000
sbulla: unknown partition table
musb_hdrc: version 2.2a/db-0.4.8 [cppi-dma] [peripheral] [debug=0]
Registering platform device 'musb_hdrc'. Parent at platform
musb_hdrc: USB Peripheral mode controller at c5866000 using DMA, IRQ 12
mkdosfs 2.11 (12 Mar 2005)
/dev/sbulla has 4 heads and 16 sectors per track,
logical sector size is 512,
using 0xf8 media descriptor, with 1024 sectors;
file system has 2 12-bit FATs and 4 sectors per cluster.
FAT size is 1 sector, and provides 247 clusters.
Root directory contains 512 slots.
Volume ID is 32c7064e, no volume label.
ECC_STATE_TOO_MANY_ERRS
mtd->read(0x400 bytes from 0xdba0000) returned ECC error
ECC_STATE_TOO_MANY_ERRS
mtd->read(0x44 bytes from 0xdba077c) returned ECC error
jffs2_get_inode_nodes(): Data CRC failed on node at 0x0dba077c: Read 0xf1a4b34dd
ECC_STATE_TOO_MANY_ERRS
mtd->read(0x44 bytes from 0xdba0738) returned ECC error
ECC_STATE_TOO_MANY_ERRS
mtd->read(0x44 bytes from 0xdba0684) returned ECC error
Creat queue id:0
queue id:0
Creat queue id:32769
queue id:32769
IPNC-1.1.0 (leon@localhost.localdomain) (gcc version 3.4.3 (MontaVista
Creat queue id:65538
queue id:65538
queue id:32769
Error: Invalid Semaphore handler
Error: Invalid Semaphore handler
queue id:65538
ApproDrvInit: 3
Creat queue id:98307
queue id:98307
umount: /mnt/mmc: Invalid argument
FAT: bogus number of reserved sectors
VFS: Can't find a valid FAT filesystem on dev mmcblk0.
FAT: bogus number of reserved sectors
VFS: Can't find a valid FAT filesystem on dev mmcblk0.
yaffs: dev is 266338304 name is "mmcblk0"
yaffs: Attempting MTD mount on 254.0, "mmcblk0"
yaffs: dev is 266338304 name is "mmcblk0"
yaffs: Attempting MTD mount on 254.0, "mmcblk0"
mount: you must specify the filesystem type
Error: Invalid Semaphore handler
Error: Invalid Semaphore handler
killall: dhcpcd: no process killed
rm: cannot remove `/var/run/dhcpcd-eth0.pid': No such file or directory
net_search_gateway:eth0, 1A8C0, 0, 1
dns=192.168.1.1

nVideocodecmode = 0

nVideocodecres = 0
./encode_stream -u 4 -q 50 -d -r 1280x720 -e 352x192 -w 640x352 -b 4000000 -m 1&
SendAlarmResetTrigger
CVBR
Encode demo started.
720P MODE
fixInfo.line_length = 1440
varInfo.yres_virtual = 1728
queue id:98307
vpfe vpfe.1:
Validation pass
queue id:65538
queue id:32769
CPU MIPS = 107.720001
CPU is 216Mhz
bit_rate_ctrl = 1
CPU CurrentStatus is = 0
CPU CurrentStatus is = 0
bit_rate_ctrl = 1
CPU CurrentStatus is = 0
IPNC-1.1.0 (leon@locdavinci-McBSP: McBSP2 io_base: 0xe1204000
alhost.localdomain) (gcc version 3.4.3 (MontaVista
Blocksize: 2048
encode_buffer size= 16384
queue id:0
queue id:32769
IPNC-1.1.0 (leon@localhost.localdomain) (gcc version 3.4.3 (MontaVista
Check_AutoIris: 1
Appro XDM
Aew_Cal_read_parameter !!
MOTION_STREAM1
IsMotionOn = 0
CPU CurrentStatus is = 0
SendAlarmResetTrigger
APPRO AEW TRIAL VERSION !!!
APPRO AEW DATE LINE 2009/6


MOTION_STREAM2
IsMotionOn = 0

CPU CurrentStatus is = 0
ApproDrvInit: 7
queue id:98307
net_search_gateway:eth0, 1A8C0, 0, 1
net_search_gateway:eth0, 0, FE01A8C0, 3
dns=192.168.1.1
SendAlarmResetTrigger
rmmod: g_file_storage.ko: No such file or directory
g_file_storage gadget: File-backed Storage Gadget, version: 20 October 2004
g_file_storage gadget: Number of LUNs=1
g_file_storage gadget-lun0: ro=0, file: /dev/sbulla
usb connect
SendAlarmResetTrigger
g_file_storage gadget: high speed config #1
SendAlarmResetTrigger
SendAlarmResetTrigger
ApproDrvInit: 6
queue id:98307
ApproDrvInit: 2
queue id:98307
Initializing...
...done initializing
Play this stream using the URL:
rtsp://192.168.1.168/mpeg4
Initializing...
...done initializing
Play this stream using the URL:
rtsp://192.168.1.168:8554/mpeg4
SendAlarmResetTrigger
Audio disabled!
Audio disabled!
[30/Dec/1996:00:01:23 +0000] boa: server version Boa/0.94.13
[30/Dec/1996:00:01:23 +0000] boa: server built Feb 10 2009 at 00:06:03.
[30/Dec/1996:00:01:23 +0000] boa: starting server pid=1010, port 80
INIT: Entering runlevel: 3
SendAlarmResetTrigger
queue id:0
UDPString=uuid:Upnp-TVEmulator-1_0-00_0040771948</UDN>

Upnp port is 0
UPnP Initialized OK ip=192.168.1.168, port=49152
desc_doc_url = http://192.168.1.168/tvdevicedesc.xml
error code = 0
Starting internet superserver: inetd.
SendAlarmResetTrigger
device advertisement succeed.
SendAlarmResetTrigger

MontaVista(R) Linux(R) Professional Edition 4.0.1 (0502020)

192.168.1.20 login: SendAlarmResetTrigger
SendAlarmResetTrigger
SendAlarmResetTrigger
SendAlarmResetTrigger
SendAlarmResetTrigger
SendAlarmResetTrigger
SendAlarmResetTrigger
SendAlarmResetTrigger
SendAlarmResetTrigger

kindly please give me the reply...what happens on here.....:(

Link to this post 03 Mar 12

What actually you are trying to compile? Kernel ? In the board itself?

In embedded systems mostly, Cross-Development is better than Native development.

The root problem might be, "Bad block table found at page 131008, version 0x01 "
Due the invalid entry [ the entries not expected by this kernel] ,everything may go down.

The best solution is , approach your board supplier.Is the operation you are trying to do is supported by the board?

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board