[#6596] Error info will show up during mmc test in trunk
Submitted By: Vivi Li
Open Date
2011-05-12 23:37:30 Close Date
2011-06-02 05:55:40
Priority:
Medium Assignee:
steven miao
Status:
Closed Fixed In Release:
N/A
Found In Release:
2011R1 Release:
Category:
N/A Board:
N/A
Processor:
BF518 Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Not reproducible
Uboot version or rev.:
Toolchain version or rev.:
gcc4.3-2010_Dec_09
App binary format:
N/A
Summary: Error info will show up during mmc test in trunk
Details:
Error info will show up during mmc test in trunk.
Last passed version:
--
kernel: Linux release 2.6.37-ADI-2011R1-pre-svn9600, build #30 Fri Feb 11 17:48:07 CST 2011
toolchain: bfin-uclinux-gcc release gcc version 4.3.5 (ADI-trunk/svn-5013)
user-dist: release svn-10076, build #327 Fri Feb 11 17:45:14 CST 2011
--
Bellow is the error log:
--
U-Boot 2010.12-svn2586 (ADI-2011R1-pre) (Jan 18 2011 - 19:07:43)
CPU: ADSP bf518-0.0 (Detected Rev: 0.1) (parallel flash boot)
Board: ADI BF518F EZ-Board board
Support: http://blackfin.uclinux.org/
Clock: VCO: 400 MHz, Core: 400 MHz, System: 80 MHz
RAM: 64 MiB
Flash: 4 MiB
MMC: Blackfin SDH: 0
In: serial
Out: serial
Err: serial
KGDB: [on serial] ready
Net: bfin_mac
Hit any key to stop autoboot: 0
bfin>
bfin> run ramboot
Using bfin_mac device
TFTP from server 10.100.4.174; our IP address is 10.100.4.50
Filename 'uImage'.
Load address: 0x1000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#######################################
done
Bytes transferred = 4377003 (42c9ab hex)
## Booting kernel from Legacy Image at 01000000 ...
Image Name: bf518-0.1-2.6.39-rc7-ADI-2011R1-
Created: 2011-05-12 17:58:41 UTC
Image Type: Blackfin Linux Kernel Image (gzip compressed)
Data Size: 4376939 Bytes = 4.2 MiB
Load Address: 00001000
Entry Point: 001c3f2c
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting Kernel at = 001c3f2c
Linux version 2.6.39-rc7-ADI-2011R1-pre-svn9880 (test@uclinux80-bf518f) (gcc version 4.3.5 (ADI-trunk/svn-5013) ) #6 Fri May 13 1
register early platform devices
bootconsole [early_shadow0] enabled
bootconsole [early_BFuart0] enabled
early printk enabled on early_BFuart0
Board Memory: 64MB
Kernel Managed Memory: 64MB
Memory map:
fixedcode = 0x00000400-0x00000490
text = 0x00001000-0x00135d68
rodata = 0x00135d68-0x0019886c
bss = 0x00199000-0x001a9a5c
data = 0x001a9a5c-0x001bc000
stack = 0x001ba000-0x001bc000
init = 0x001bc000-0x007d3000
available = 0x007d3000-0x03f00000
DMA Zone = 0x03f00000-0x04000000
Hardware Trace active and enabled
Boot Mode: 1
Reset caused by Software reset
Blackfin support (C) 2004-2010 Analog Devices, Inc.
Compiled for ADSP-BF518 Rev 0.1
Blackfin Linux support by http://blackfin.uclinux.org/
Processor Speed: 400 MHz core clock and 80 MHz System Clock
NOMPU: setting up cplb tables
Instruction Cache Enabled for CPU0
External memory: cacheable in instruction cache
Data Cache Enabled for CPU0
External memory: cacheable (write-back) in data cache
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 16002
Kernel command line: root=/dev/mtdblock0 rw clkin_hz=25000000 earlyprintk=serial,uart0,57600 console=ttyBF0,57600 ip=10.100.4.50f
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory available: 55892k/65536k RAM, (6236k init code, 1235k kernel code, 537k data, 1024k dma, 612k reserved)
NR_IRQS:159
Configuring Blackfin Priority Driven Interrupts
console [ttyBF0] enabled, bootconsole disabled
console [ttyBF0] enabled, bootconsole disabled
Calibrating delay loop... 792.57 BogoMIPS (lpj=1585152)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
Blackfin Scratchpad data SRAM: 4 KB
Blackfin L1 Data A SRAM: 16 KB (16 KB free)
Blackfin L1 Data B SRAM: 16 KB (16 KB free)
Blackfin L1 Instruction SRAM: 32 KB (25 KB free)
NET: Registered protocol family 16
Blackfin DMA Controller
ezbrd_init(): registering device resources
bio: create slab <bio-0> at 0
bfin-spi bfin-spi.0: Blackfin on-chip SPI Controller Driver, Version 1.0, regs_base@ffc00500, dma channel@7
bfin-spi bfin-spi.1: Blackfin on-chip SPI Controller Driver, Version 1.0, regs_base@ffc03400, dma channel@5
i2c-bfin-twi i2c-bfin-twi.0: Blackfin BF5xx on-chip I2C TWI Contoller, regs_base@ffc01400
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
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
debug-mmrs: setting up Blackfin MMR debugfs
msgmni has been set to 109
io scheduler noop registered (default)
bfin-uart: Blackfin serial driver
bfin-uart.0: ttyBF0 at MMIO 0xffc00400 (irq = 29) is a BFIN-UART
bfin-otp: initialized
brd: module loaded
bfin_mii_bus: probed
bfin_mac: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:01, irq=-1, mdc_clk=2500000Hz(mdc_div=15)@sclk=80MHz)
bfin_mac bfin_mac.0: eth0: Blackfin on-chip Ethernet MAC driver, Version 1.1
rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0
i2c /dev entries driver
bfin-wdt: initialized: timeout=20 sec (nowayout=0)
dma_alloc_init: dma_page @ 0x02775000 - 256 pages at 0x03f00000
TCP cubic registered
NET: Registered protocol family 17
rtc-bfin rtc-bfin: setting system clock to 2004-05-31 21:03:17 UTC (1086037397)
mmc0: host does not support reading read-only switch. assuming write-enable.
mmc0: new SD card at address e624
mmcblk0: mmc0:e624 SD02G 1.89 GiB
mmcblk0: p1 p2
IP-Config: Complete:
device=eth0, addr=10.100.4.50, mask=255.255.255.0, gw=10.100.4.174,
host=bf518f-ezbrd, domain=, nis-domain=(none),
bootserver=10.100.4.174, rootserver=10.100.4.174, rootpath=
Freeing unused kernel memory: 6236k freed
_____________________________________
a8888b. / Welcome to the uClinux distribution \
d888888b. / _ _ \
8P"YP"Y88 / | | |_| __ __ (TM) |
8|o||o|88 _____/ | | _ ____ _ _ \ \/ / |
8' .88 \ | | | | _ \| | | | \ / |
8`._.' Y8. \ | |__ | | | | | |_| | / \ |
d/ `8b. \ \____||_|_| |_|\____|/_/\_\ |
dP . Y8b. \ For embedded processors including |
d8:' " `::88b \ the Analog Devices Blackfin /
d8" 'Y88b \___________________________________/
:8P ' :888
8a. : _a88P For further information, check out:
._/"Yaa_: .| 88P| - http://blackfin.uclinux.org/
\ YP" `| 8P `. - http://docs.blackfin.uclinux.org/
/ \.___.d| .' - http://www.uclinux.org/
`--..__)8888P`._.' jgs/a:f - https://www.analog.com/blackfin
Have a lot of fun...
BusyBox v1.18.4 (2011-05-12 23:01:18 CST) hush - the humble shell
root:/> PHY: 0:01 - Link is Up - 100/Full
root:/>
root:/> mke2fs /dev/mmcblk0p2
mke2fs 1.41.12 (17-May-2010)
ext2fs_check_if_mount: Can't check if filesystem is mounted due to missing mtab file while determining whether /dev/mmcblk0p2 is.
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
62080 inodes, 248256 blocks
12412 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=255852544
8 block groups
32768 blocks per group, 32768 fragments per group
7760 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376
Writing inode tables: done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 34 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
root:/> mount /dev/mmcblk0p2 /mnt/
root:/> cd /mnt/
root:/mnt> ls
lost+found
root:/mnt> time dd conv=fsync if=/dev/zero of=/mnt/10.bin bs=1M count=10
10+0 records in
10+0 records out
real 0m 5.16s
user 0m 0.00s
sys 0m 0.93s
root:/mnt> ls
10.bin lost+found
root:/mnt> cat 10.bin >/dev/null
root:/mnt> ls
10.bin lost+found
root:/mnt> cd
root:/> umount /mnt/
root:/>
root:/> mkdosfs -F 32 /dev/mmcblk0p1
mkdosfs 3.0.5 (27 Jul 2009)
root:/> mount /dev/mmcblk0p1 /mnt/
root:/> NULL pointer access
Deferred Exception context
CURRENT PROCESS:
COMM=inetd PID=174 CPU=0
TEXT = 0x029a0040-0x029a6520 DATA = 0x029a6540-0x029a7ca8
BSS = 0x029a7ca8-0x029a83a0 USER-STACK = 0x029a9f9c
return address: [0x029a09ce]; contents of:
0x029a09a0: 6082 e300 1383 0c38 1561 e5a8 0080 4808
0x029a09b0: 11ae 3005 e300 0318 0000 916d 0c45 1842
0x029a09c0: 0000 0000 0000 a0a8 0c00 17f7 aeea [9950]
0x029a09d0: 0c00 1ff3 e5a8 0080 4c00 e6a8 0080 304c
ADSP-BF518-0.1 400(MHz CCLK) 80(MHz SCLK) (mpu off)
Linux version 2.6.39-rc7-ADI-2011R1-pre-svn9880 (test@uclinux80-bf518f) (gcc version 4.3.5 (ADI-trunk/svn-5013) ) #6 Fri May 13 1
SEQUENCER STATUS: Not tainted
SEQSTAT: 00002027 IPEND: 0008 IMASK: ffff SYSCFG: 0006
EXCAUSE : 0x27
physical IVG3 asserted : <0xffa00734> { _trap + 0x0 }
RETE: <0x00000000> /* Maybe null pointer? */
RETN: <0x02820000> [ init + 0x0 ]
RETX: <0x00000480> /* Maybe fixed code section */
RETS: <0x029a08fe> [ inetd + 0x8be ]
PC : <0x029a09ce> [ inetd + 0x98e ]
DCPLB_FAULT_ADDR: <0x00000000> /* Maybe null pointer? */
ICPLB_FAULT_ADDR: <0x029a09ce> [ inetd + 0x98e ]
PROCESSOR STATE:
R0 : 00000000 R1 : ffffffff R2 : 00000001 R3 : 00000000
R4 : 00000000 R5 : 00000006 R6 : 0000001f R7 : 00000001
P0 : 00000072 P1 : 029a9f0c P2 : 00000000 P3 : 029a9eec
P4 : 00000004 P5 : 029b729c FP : 029a9f18 SP : 0281ff24
LB0: 029a26d3 LT0: 029a26d2 LC0: 00000000
LB1: 029a01fd LT1: 029a01f6 LC1: 00000013
B0 : 00000000 L0 : 00000000 M0 : 00000000 I0 : 029a6578
B1 : 00000000 L1 : 00000000 M1 : 00000000 I1 : 02826300
B2 : 00000000 L2 : 00000000 M2 : 00000000 I2 : 00000000
B3 : 00000000 L3 : 00000000 M3 : 00000000 I3 : 00000000
A0.w: 00000000 A0.x: 00000000 A1.w: 00000000 A1.x: 00000000
USP : 029a9dd0 ASTAT: 02001025
Hardware Trace:
0 Target : <0x00003fbc> { _trap_c + 0x0 }
Source : <0xffa006c8> { _exception_to_level5 + 0xa4 } JUMP.L
1 Target : <0xffa00624> { _exception_to_level5 + 0x0 }
Source : <0xffa004d8> { _bfin_return_from_exception + 0x18 } RTX
2 Target : <0xffa004c0> { _bfin_return_from_exception + 0x0 }
Source : <0xffa0057c> { _ex_trap_c + 0x74 } JUMP.S
3 Target : <0xffa00508> { _ex_trap_c + 0x0 }
Source : <0xffa0078e> { _trap + 0x5a } JUMP (P4)
4 Target : <0xffa00734> { _trap + 0x0 }
FAULT : <0x029a09ce> [ inetd + 0x98e ] R0 = B[P2] (X)
Source : <0x029a09cc> [ inetd + 0x98c ] R2 = W[P5 + 11](X)
5 Target : <0x029a09b8> [ inetd + 0x978 ]
Source : <0x029a09ca> [ inetd + 0x98a ] IF !CC JUMP pcrel (BP)
6 Target : <0x029a09c4> [ inetd + 0x984 ]
Source : <0x029a094c> [ inetd + 0x90c ] JUMP.S
7 Target : <0x029a093c> [ inetd + 0x8fc ]
Source : <0x029a0902> [ inetd + 0x8c2 ] IF CC JUMP pcrel
8 Target : <0x029a08fe> [ inetd + 0x8be ]
Source : <0x029a12a0> [ inetd + 0x1260 ] RTS
9 Target : <0x029a129c> [ inetd + 0x125c ]
Source : <0x029a3e1c> [ inetd + 0x3ddc ] RTS
10 Target : <0x029a3e0c> [ inetd + 0x3dcc ]
Source : <0x029a12b4> [ inetd + 0x1274 ] RTS
11 Target : <0x029a12a4> [ inetd + 0x1264 ]
Source : <0x029a3e08> [ inetd + 0x3dc8 ] JUMP.L
12 Target : <0x029a3dfe> [ inetd + 0x3dbe ]
Source : <0xffa00c7c> { __common_int_entry + 0xcc } RTI
13 Target : <0xffa00c1a> { __common_int_entry + 0x6a }
Source : <0xffa00fd4> { _evt_system_call + 0x64 } JUMP.S
14 Target : <0xffa00fd4> { _evt_system_call + 0x64 }
Source : <0xffa0091a> { _system_call + 0xbe } RTS
15 Target : <0xffa00916> { _system_call + 0xba }
Source : <0xffa00906> { _system_call + 0xaa } IF !CC JUMP pcrel
Userspace Stack
Stack info:
SP: [0x029a9dd0] <0x029a9dd0> [ inetd + 0x9dd0 ]
FP: (0x029a9f48)
Memory from 0x029a9dd0 to 029aa000
029a9dd0:[029a9e04] 0000000a 00000001 00000000 029a9f0c 029a13d8 029a9e6c 00000000
029a9df0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
029a9e10: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
029a9e30: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
029a9e50: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
029a9e70: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
029a9e90: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
029a9eb0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
029a9ed0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 029a9fa0
029a9ef0: 029a64ec 029a0810 00000000 17000002 00000000 029a9f18 029a0824 00000001
029a9f10: 00000000 00000001 029a9f48 029a0dea 00000000 00000001 029a7b68 00000000
029a9f30: 029a9fa0 029a64ec 029a0d64 029a9fa0 029a9f5c 00000000 (029a9f5c)<029a3c1c>
029a9f50: 00000000 00000000 00000000 (00000000) 02820a8a 029a6540 02837b68 02837b6c
029a9f70: 00000000 40bb9d9d 00000005 00000048 00000000 00000000 00000000 029a64ec
029a9f90: 029a64fe 00000000 0281ca56 00000001 029a9fb4 00000000 <029a9fc0> 029a9fcd
029a9fb0: 00000000 6962732f 6e692f6e 00647465 4d524554 6b6e753d 6e776f6e 54415000
029a9fd0: 622f3d48 2f3a6e69 2f727375 3a6e6962 6962732f 752f3a6e 732f7273 006e6962
029a9ff0: 6962732f 6e692f6e 00647465 00000000
Return addresses in stack:
frame 1 : <0x029a3c1c> [ inetd + 0x3bdc ]
address : <0x029a9fc0> [ inetd + 0x9fc0 ]
root:/> ls /mnt/
root:/> time dd conv=fsync if=/dev/zero of=/mnt/10.bin bs=1M count=10
10+0 records in
10+0 records out
real 0m 6.31s
user 0m 0.00s
sys 0m 1.16s
root:/> ls /mnt/
10.bin
root:/>
--
Follow-ups
--- steven miao 2011-05-24 04:56:59
tested on bf518, but not reproducible
--- Vivi Li 2011-06-02 04:48:40
I can still see it crash on bf518.
--- Vivi Li 2011-06-02 06:03:25
Sorry, I see kernel crash, not the same problem as I addressed before.
Close this bug and open a new one.
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
config.linux.sdiommc application/octet-stream 34389 Vivi Li