Hello,
I am using am OMAPL137 and Angstrom filesystem in SD card. When booting the kernel, the error happens from time to time. Sometimes it can successfully boot with the error, sometimes it hangs there. I try to rebuild the kernel and fresh the filesystem. But it didn't work.
Can anyone help me?
Thank you!
Zhe
U-Boot 1.3.3 (Dec 2 2010 - 23:17:15)
I2C: ready
DRAM: 64 MB
In: serial
Out: serial
Err: serial
ARM Clock : 300000000 Hz
More than one PHY detected.
Hit any key to stop autoboot: 0
TFTP from server 172.16.3.203; our IP address is 172.16.3.100
Filename 'uImage'.
Load address: 0xc0700000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#####
done
Bytes transferred = 2020152 (1ed338 hex)
## Booting kernel from Legacy Image at c0700000 ...
Image Name: Linux-2.6.33-rc4
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2020088 Bytes = 1.9 MB
Load Address: c0008000
Entry Point: c0008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
Linux version 2.6.33-rc4 (root@debian) (gcc version 4.3.3 (GCC) ) #2 PREEMPT Tue Aug 13 20:16:19 CDT 2013
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: DaVinci DA830/OMAP-L137/AM17xx EVM
Memory policy: ECC disabled, Data cache writethrough
DaVinci da830/omap-l137 rev2.0 variant 0x9
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128
Kernel command line: console=ttyS2,115200n8 noinitrd rw ip=none root=/dev/mmcblk0p1 rootwait rootfstype=ext3 mem=32M
PID hash table entries: 128 (order: -3, 512 bytes)
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
BUG: Bad page state in process swapper pfn:c0569
page:c0438d20 flags:(null) count:0 mapcount:15728705 mapping:(null) index:0
Backtrace:
[<c00306c4>] (dump_backtrace+0x0/0x10c) from [<c02fd3fc>] (dump_stack+0x18/0x1c)
r7:00000000 r6:00000009 r5:c0438d20 r4:00000000
[<c02fd3e4>] (dump_stack+0x0/0x1c) from [<c007855c>] (bad_page+0x114/0x150)
[<c0078448>] (bad_page+0x0/0x150) from [<c0078da8>] (__free_pages_ok+0x7c/0x18c)
r5:c0438c00 r4:c0438d20
[<c0078d2c>] (__free_pages_ok+0x0/0x18c) from [<c00791b4>] (__free_pages+0x4c/0x50)
[<c0079168>] (__free_pages+0x0/0x50) from [<c0024520>] (__free_pages_bootmem+0x84/0x88)
r4:ffffffff
[<c002449c>] (__free_pages_bootmem+0x0/0x88) from [<c0012b98>] (free_all_bootmem_core+0x104/0x220)
[<c0012a94>] (free_all_bootmem_core+0x0/0x220) from [<c0012ce8>] (free_all_bootmem_node+0x14/0x18)
[<c0012cd4>] (free_all_bootmem_node+0x0/0x18) from [<c000c690>] (mem_init+0xf0/0x210)
[<c000c5a0>] (mem_init+0x0/0x210) from [<c00088c0>] (start_kernel+0x130/0x2f8)
r7:c03e63d8 r6:c0026010 r5:c040dff0 r4:c040dfe4
[<c0008790>] (start_kernel+0x0/0x2f8) from [<c0008034>] (__enable_mmu+0x0/0x2c)
r6:c0026414 r5:c040e298 r4:00053175
Disabling lock debugging due to kernel taint
Memory: 32MB = 32MB total
Memory: 28076KB available (3796K code, 299K data, 144K init, 0K highmem)
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Hierarchical RCU implementation.
NR_IRQS:245
Console: colour dummy device 80x30
Calibrating delay loop... 149.50 BogoMIPS (lpj=747520)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
DaVinci: 128 gpio irqs
NET: Registered protocol family 16
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
pcf857x: probe of 1-003f failed with error -121
Switching to clocksource timer0_0
musb_hdrc: version 6.0, cppi4.1-dma, host, debug=0
Waiting for USB PHY clock good...
musb_hdrc: USB Host mode controller at fee00000 using DMA, IRQ 58
musb_hdrc musb_hdrc: MUSB HDRC host driver
musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
JFFS2 version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.
msgmni has been set to 55
io scheduler noop registered (default)
Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x1c42000 (irq = 25) is a 16550A
serial8250.0: ttyS1 at MMIO 0x1d0c000 (irq = 53) is a 16550A
serial8250.0: ttyS2 at MMIO 0x1d0d000 (irq = 61) is a 16550A
console [ttyS2] enabled
brd: module loaded
at24 1-0050: 32768 byte 24c256 EEPROM (writable)
Read MAC addr from EEPROM: 00:0e:99:02:ff:2b
spi_davinci spi_davinci.0: DaVinci SPI driver in EDMA mode
Using RX channel = 14 , TX channel = 15 and event queue = 1
m25p80 spi0.0: w25x32 (4096 Kbytes)
Creating 3 MTD partitions on "m25p80":
0x000000000000-0x000000040000 : "U-Boot"
0x000000040000-0x000000044000 : "U-Boot Environment"
0x000000044000-0x000000400000 : "Linux"
spi_davinci spi_davinci.0: Controller at 0xfec41000
console [netcon0] enabled
netconsole: network logging started
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ohci ohci.0: DA8xx OHCI
ohci ohci.0: new USB bus registered, assigned bus number 2
ohci ohci.0: irq 59, io mem 0x01e25000
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
tsc2004: probe of 1-0049 failed with error -121
omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0
omap_rtc: RTC power up reset detected
omap_rtc: already running
i2c /dev entries driver
Linux video capture interface: v2.00
usbcore: registered new interface driver uvcvideo
USB Video Class driver (v0.1.0)
watchdog watchdog: heartbeat 60 sec
davinci_mmc davinci_mmc.0: Using DMA, 4-bit mode
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
Advanced Linux Sound Architecture Driver Version 1.0.21.
usbcore: registered new interface driver snd-usb-audio
No device for DAI tlv320aic3x
asoc: tlv320aic3x <-> davinci-i2s mapping ok
ALSA device list:
#0: DA830/OMAP-L137 EVM (tlv320aic3x)
TCP cubic registered
NET: Registered protocol family 17
Clocks: disable unused aemif
Clocks: disable unused emac
emac-mii: probed
omap_rtc omap_rtc: setting system clock to 2013-08-14 00:53:27 UTC (1376441607)
Waiting for root device /dev/mmcblk0p1...
mmc0: new high speed SD card at address fb8f
mmcblk0: mmc0:fb8f SD02G 1.83 GiB
mmcblk0: p1
kjournald starting. Commit interval 5 seconds
EXT3-fs (mmcblk0p1): using internal journal
EXT3-fs (mmcblk0p1): recovery complete
EXT3-fs (mmcblk0p1): mounted filesystem with writeback data mode
VFS: Mounted root (ext3 filesystem) on device 179:1.
Freeing init memory: 144K
INIT: version 2.86 booting
Please wait: booting...
Starting udev
Remounting root file system...
Unable to handle kernel paging request at virtual address 400008a8
pgd = c1f4c000
[400008a8] *pgd=c1f50031, *pte=00000000, *ppte=00000000
Internal error: Oops: 80000005 [#1] PREEMPT
last sysfs file: /sys/kernel/uevent_seqnum
Modules linked in:
CPU: 0 Tainted: G B (2.6.33-rc4 #2)
PC is at 0x400008a8
LR is at 0x4000e940
pc : [<400008a8>] lr : [<4000e940>] psr: 60000010
sp : bec0d510 ip : 0000000f fp : bec0d574
r10: 00000000 r9 : 40024da8 r8 : 00035ae0
r7 : bec0d628 r6 : 4014b000 r5 : 00000000 r4 : 00000000
r3 : 40025050 r2 : 40025050 r1 : 40025290 r0 : 40025290
Flags: nZCv IRQs on FIQs on Mode USER_32 ISA ARM Segment user
Control: 0005317f Table: c1f4c000 DAC: 00000015
Process udevd (pid: 520, stack limit = 0xc1f4a270)
---[ end trace 2e58d7bcff0be2ff ]---
note: udevd[520] exited with preempt_count 1
BUG: scheduling while atomic: udevd/520/0x40000002
Modules linked in:
Backtrace:
[<c00306c4>] (dump_backtrace+0x0/0x10c) from [<c02fd3fc>] (dump_stack+0x18/0x1c)
r7:c1f4a000 r6:c1c94640 r5:00010000 r4:00000000
[<c02fd3e4>] (dump_stack+0x0/0x1c) from [<c0039b78>] (__schedule_bug+0x54/0x60)
[<c0039b24>] (__schedule_bug+0x0/0x60) from [<c02fd6ec>] (schedule+0x78/0x3b8)
r4:c1f4a000
[<c02fd674>] (schedule+0x0/0x3b8) from [<c02fdb64>] (_cond_resched+0x3c/0x58)
[<c02fdb28>] (_cond_resched+0x0/0x58) from [<c008b73c>] (unmap_vmas+0x5b4/0x678)
r4:c043cfa0
[<c008b188>] (unmap_vmas+0x0/0x678) from [<c008e414>] (exit_mmap+0xc0/0x1e8)
[<c008e354>] (exit_mmap+0x0/0x1e8) from [<c003de08>] (mmput+0x40/0x114)
r7:c1e76334 r6:c1c94640 r5:00000000 r4:c1e76300
[<c003ddc8>] (mmput+0x0/0x114) from [<c00421f4>] (exit_mm+0x12c/0x138)
r5:c1e76300 r4:c1f4a000
[<c00420c8>] (exit_mm+0x0/0x138) from [<c0043cc0>] (do_exit+0x190/0x68c)
r7:c0388a4a r6:c1c94640 r5:c1f4a000 r4:0000000b
[<c0043b30>] (do_exit+0x0/0x68c) from [<c0030a50>] (die+0x280/0x2b4)
[<c00307d0>] (die+0x0/0x2b4) from [<c00322c4>] (__do_kernel_fault+0x6c/0x7c)
[<c0032258>] (__do_kernel_fault+0x0/0x7c) from [<c00324b8>] (do_page_fault+0x1e4/0x1fc)
r7:c1e76300 r6:400008a8 r5:c1c94640 r4:c03e667c
[<c00322d4>] (do_page_fault+0x0/0x1fc) from [<c003258c>] (do_translation_fault+0x18/0x7c)
[<c0032574>] (do_translation_fault+0x0/0x7c) from [<c002c23c>] (do_PrefetchAbort+0x3c/0x9c)
r7:c1f4bfb0 r6:00000005 r5:00000000 r4:c03e667c
[<c002c200>] (do_PrefetchAbort+0x0/0x9c) from [<c002cee4>] (ret_from_exception+0x0/0x10)
Exception stack(0xc1f4bfb0 to 0xc1f4bff8)
bfa0: 40025290 40025290 40025050 40025050
bfc0: 00000000 00000000 4014b000 bec0d628 00035ae0 40024da8 00000000 bec0d574
bfe0: 0000000f bec0d510 4000e940 400008a8 60000010 ffffffff
r8:00035ae0 r7:bec0d628 r6:4014b000 r5:00000000 r4:ffffffff
udevd[469]: worker [520] unexpectedly returned with status 0x000b
Caching udev devnodes
Populating dev cache
Cannot create link over existing -/etc/resolv.conf-.
Configuring update-modules.
Configuring kernel-image-2.6.33-rc4.
Configuring kernel-module-smbfs.
Configuring ppp.
Configuring ppp-dialin.
Configuring kernel-module-nls-utf8.
Configuring dbus.
Adding system startup for /etc/init.d/dbus-1.
Configuring angstrom-libc-fixup-hack.
Configuring libnss-mdns.
Configuring avahi-daemon.
Adding system startup for /etc/init.d/avahi-daemon.
Configuring avahi-autoipd.
BUG: Bad page state in process sed pfn:c1749
page:c045c920 flags:(null) count:0 mapcount:14680257 mapping:(null) index:4001d
Backtrace:
[<c00306c4>] (dump_backtrace+0x0/0x10c) from [<c02fd3fc>] (dump_stack+0x18/0x1c)
r7:c045c920 r6:c040d5a0 r5:c045c920 r4:0004001d
[<c02fd3e4>] (dump_stack+0x0/0x1c) from [<c007855c>] (bad_page+0x114/0x150)
[<c0078448>] (bad_page+0x0/0x150) from [<c0079c10>] (get_page_from_freelist+0x3bc/0x504)
r5:c1e58000 r4:c045c920
[<c0079854>] (get_page_from_freelist+0x0/0x504) from [<c0079e48>] (__alloc_pages_nodemask+0xf0/0x534)
[<c0079d58>] (__alloc_pages_nodemask+0x0/0x534) from [<c0089d9c>] (handle_mm_fault+0x1a4/0x6f4)
[<c0089bf8>] (handle_mm_fault+0x0/0x6f4) from [<c00323c4>] (do_page_fault+0xf0/0x1fc)
[<c00322d4>] (do_page_fault+0x0/0x1fc) from [<c002c2d8>] (do_DataAbort+0x3c/0x9c)
[<c002c29c>] (do_DataAbort+0x0/0x9c) from [<c002cee4>] (ret_from_exception+0x0/0x10)
Exception stack(0xc1e59fb0 to 0xc1e59ff8)
9fa0: bec76888 bec78970 ffffff80 ffffffff
9fc0: fffffffe ffffffff ffffffff ffffffff ffffffff 00000000 00000000 bec789cc
9fe0: ffffffff bec75c6c ffffffff 4013d850 a0000010 ffffffff
r8:ffffffff r7:ffffffff r6:ffffffff r5:ffffffff r4:ffffffff
Configuring network interfaces... udhcpc (v1.13.2) started
run-parts: /etc/udhcpc.d/00avahi-autoipd exited with code 1
Sending discover...
Sending select for 192.17.52.249...
Lease of 192.17.52.249 obtained, lease time 86400
run-parts: /etc/udhcpc.d/00avahi-autoipd exited with code 1
adding dns 130.126.2.131
done.
Starting portmap daemon: portmap.
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.all.rp_filter = 1
INIT: Entering runlevel: 5
Starting system message bus: dbus.
Creating Dropbear SSH server RSA host key.
Will output 1024 bit rsa secret key to '/etc/dropbear/dropbear_rsa_host_key'
Generating key, this may take a while...
Public key portion is:
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgmwM4/4bI/IzsYUBXMlBNYn3eAqnjWQubDP4jh+14HLKwtGwygXjJwqbm+syrLZAYqN1PdsLtxV/KjzfHd8ZxGxhGdBkRyBnqH02Pw9UtbvPRy5R1mzdXzPKm
Fingerprint: md5 c7:53:10:f1:a5:02:1c:9c:4e:96:7b:64:a9:ba:ed:95
Starting Dropbear SSH server: dropbear.
Starting syslogd/klogd: done
[ ok ]rting Avahi mDNS/DNS-SD Daemon: avahi-daemon
.-------.
| | .-.
| | |-----.-----.-----.| | .----..-----.-----.
| | | __ | ---'| '--.| .-'| | |
| | | | | |--- || --'| | | ' | | | |
'---'---'--'--'--. |-----''----''--' '-----'-'-'-'
-' |
'---'
The Angstrom Distribution da830-omapl137-evm ttyS2
Angstrom 2010.7-test-20110311 da830-omapl137-evm ttyS2
da830-omapl137-evm login: root
-sh: syntax error: "if" unexpected
root@da830-omapl137-evm:~#