Analog.com Analog Dialogue Wiki 简体中文
EngineerZone
EngineerZone
  • Log In
  • Site
  • Search
  • User
  • Support

    Popular Forums

    • RF and Microwave
    • Power Management
    • Video
    • FPGA Reference Designs
    • Precision ADCs
    • Linux Software Drivers
    • SigmaDSP Processors & SigmaStudio Dev. Tool

    Product Forums

    • A2B
    • Amplifiers
    • Analog Microcontrollers
    • Clock and Timing
    • Data Converters
    • Direct Digital Synthesis (DDS)
    • Energy Monitoring and Metering
    • Interface and Isolation
    • MEMS Inertial Sensors
    • Processors and DSP
    • Switches/Multiplexers
    • Temperature Sensors
    • Voltage References
    View All

    Application Forums

    • Audio
    • Automated Test Equipment (ATE)
    • Condition-Based Monitoring
    • Depth, Perception & Ranging Technologies
    • Embedded Vision Sensing Library
    • Motor Control Hardware Platforms
    • Optical Sensing
    • Precision Technology Signal Chains Library
    • Video
    • Wireless Sensor Networks Reference Library

    Design Center Forums

    • ACE Evaluation Software
    • ADEF System Platforms
    • Design Tools and Calculators
    • FPGA Reference Designs
    • Linux Software Drivers
    • Microcontroller no-OS Drivers
    • Reference Designs
    • Signal Chain Power (SCP)
    • Software Interface Tools
    • System Demonstration Platform (SDP) Support
  • Learn

    Highlighted Webinar

    Robust Industrial Motor Encoder Signal Chain Solutions

    Recent Discussions

    • About the values of CurV1,2 displayed in the cursors frame of scopy.
    • Purpose of "Load" in Scopy signal generator configuration GUI
    • about the transient response experiment example of RL Circuit using adalm2000
    • Using ADALM1000 AIN and CHA as kelvin connection
    • I2C communication with ADALM2OOO Through Scopy

    Places

    • ADI Education Home
    • ADI Education China
    • ADI Education India
    • ADI Education Philippines
    • StudentZone (Analog Dialogue)
    • Virtual Classroom

    Latest Webinars

    • Robust Industrial Motor Encoder Signal Chain Solutions
    • Precision Low Power Measurement Solutions for Intelligent Edge
    • Advantages of Integrating Digital Power System Management (DPSM) into your Design
    • Optimizing GaN and GaAs RF Amplifier Performance Using Novel Biasing Techniques
    • Improving Switch-Mode Power Supplies Using Noise Cancelling Technology
    View All Webinars
  • Community Hub

    Challenge Yourself!

      KCC's Quizzes AQQ230 about a clock and angle puzzle
    View All

    Places

    • Community Help
    • Logic Lounge

    Resources

    • EZ Code of Conduct
    • Getting Started Guide
    • ADI: Words Matter
    • Community Help Videos
    View All
  • Blogs

    Highlighted Blogs

    Using Python To Control The Pluto Radio And Plot Data

     

    Resistance is NOT Futile

    Latest Blogs

    • What is The Continuity of Engineering?
    • Move Over Sensors: Actuators Are Entering The Smart Factory Stage
    • What To Call A Non-Compliant Item
    • How to Construct a Beamformer with the ADALM-PLUTO
    • Customize Your EZ Experience
    Read All Blogs

    ADI Blogs

    • EZ Spotlight
    • The Engineering Mind
  • Partners

    Electronic Design Services - PartnerZone

    • Boston Engineering
    • Calian, Advanced Technologies
    • Colorado Engineering Inc. (DBA CAES AT&E)
    • Clockworks Signal Processing
    • Epiq Solutions
    • Fidus
    • PalmSens
    • Richardson RFPD
    • Tri-Star Design, Inc.
    • VadaTech
    • Vanteon
    • X-Microwave
    View All
Linux Bug Archive
  • Processors and DSP
  • Software and Development Tools
  • Linux Distribution for Blackfin
  • Linux Bug Archive
  • Cancel
Linux Bug Archive
Documents FAQ: [#6614] Kernel panic frequently when test sdio mmc on bf518-ezbrd(2011)
  • Q&A
  • Documents
  • Members
  • Tags
  • More
  • Cancel
  • +Documents
  • +ad1836: FAQ
  • +ad1938: FAQ
  • +ad1939: FAQ
  • +AD5280: FAQ
  • +ad73311: FAQ
  • +adau1361: FAQ
  • +adau1371: FAQ
  • +adau1373: FAQ
  • +adau1761: FAQ
  • +adp5588-gpio: FAQ
  • +adv7393: FAQ
  • +ADXL34x: FAQ
  • +bf518-ezbrd: FAQ
  • +bf518: FAQ
  • +bf51x: FAQ
  • +bf526-ezbrd: FAQ
  • +bf527-ezkit: FAQ
  • +bf533-stamp/ezkit: FAQ
  • +bf533: FAQ
  • +bf538-ezkit: FAQ
  • +bf548-ezkit: FAQ
  • +BF54x: FAQ
  • +bf561-ezkit: FAQ
  • +bf5xx: FAQ
  • +bfin-mac driver: FAQ
  • +bfin-uclinux-gdb: FAQ
  • +bfin_can.c: FAQ
  • +Blackfin: FAQ
  • +bluetooth: FAQ
  • +Build kernel: FAQ
  • +Build: FAQ
  • +cfcard test: FAQ
  • FAQ: [#6170] section mismatches in cifs code(2010)
  • FAQ: [#6173] linphone testing problem(2010)
  • FAQ: [#6190] BF561-EZKIT SMP kernel can not wake up by uart(2010)
  • FAQ: [#6194] libxenomai.so.0 can't be found in xenomai kernel with fdpic mode(2010)
  • FAQ: [#6207] Build error in CTS/RTS testing on board BF548-EZKIT(2010)
  • FAQ: [#6251] pread/pwrite arent decoded correctly by strace(2010)
  • FAQ: [#6253] strace build failed in trunk with outdated toolchain (missing asm/cachectl.h)(2010)
  • FAQ: [#6255] Busybox inetd crashes/rsh noconnet/ssh(2010)
  • FAQ: [#6265] libpng build fails due to not finding zlib(2010)
  • FAQ: [#6271] "nand unlock" is an unsupported command in u-boot update in nand flash(2010)
  • FAQ: [#6272] After update u-boot in spi flash, BF548-EZKIT can not boot from spi flash(2010)
  • +gadget fs bulk: FAQ
  • +gadget zero bulk: FAQ
  • +gadget zero control: FAQ
  • +Kernel xip: FAQ
  • +ltp test: FAQ
  • +microwin test: FAQ
  • +MPU kernel: FAQ
  • +Sl811-hcd.c USB: FAQ
  • +SPORT channel: FAQ
  • +trunk head kernel: FAQ
  • +usb otg driver: FAQ
  • +zlib: FAQ
  • +Illegal i2c: FAQ
  • +isp1362-hcd: FAQ
  • +Kernel: FAQ
  • +KGDBOE: FAQ
  • [#4646] Varittronix LCD driver mixes blue and Red
  • +serial driver: FAQ
  • +sigma firmware: FAQ
  • +spi transaction: FAQ
  • +strace FAQ
  • [#4787] [ltp] LTP test case shmctl01 failed in trunk for ltp-full-20081130
  • +tiff-4.0.0beta4: FAQ
  • [#5264] ping packet size test will fail for gadget ethernet test with DMA mode
  • +USBHOST: FAQ
  • +USB_EP_NI7_RXINTERVAL: FAQ
  • [#5257] Build usb gadget driver with DMA mode will fail
  • [#4708] Blackfin irda build fails for bf533-stamp
  • [#4735] unaligned accesses in qt webkit
  • [#5168] build cpufrequtils into fdpic format has error
  • [#5321] modprobe i2c lcd on bf533 stamp wait long time
  • [#4922] unwanted sound comes up after g_audio module is installed on BF548 and BF527
  • [#5176] app cpufrequtils in Blackfin app programs fails to build in FDPIC
  • [#5237] musb driver is broken after linux-2.6.30 update
  • [#5255] ping target board sometimes get wrong data byte for gadget ethernet pio mode
  • FAQ: [#6614] Kernel panic frequently when test sdio mmc on bf518-ezbrd(2011)
  • [#5336] canbus and ppifcd drivers can not be built on BF538-EZKIT
  • +SPI driver: FAQ
  • [#4714] the first time to build mtd-utils will fail in trunk
  • [#5524] drivers/video/bfin_adv7393fb.c build fails in 2.6.31 due to old i2c usage
  • [#5525] drivers/video/bf537-lq035.c build fails in 2.6.31 due to old i2c usage
  • [#5399] no sound when record in board and listen in PC for linphone test of ad1836 on bf533-stamp
  • [#5458] Drivers Serial:bfin_5xx:ttyBFx fails to generate resume from standby
  • [#4647] build samba fails on trunk now for redefinition in fcntl.h
  • [#5526] ip0x board has broken UART defines after resource reorganization
  • [#5527] drivers/media/video/blackfin/blackfin_cam.c build fails in 2.6.31 due to old i2c usage
  • [#5352] bfin_sport.c setup 2D DMA
  • [#5528] fs/binfmt_elf_fdpic.c build fails when CONFIG_ELF_CORE is enabled in 2.6.31
  • [#5464] isram_write() seems to be busted
  • [#5376] mmap05 sometimes can not pass when MPU
  • [#5534] run aplay/arecord will make system panic after kernel upgraded to 2.6.31
  • [#5361] Microwin (nanox) failed on trunk using AD7897 touch screen
  • [#5544] Sport uart TX stop waiting loop is too long to block RX interrupt in PIO mode when do duplex communication
  • [#5363] spi mmc is not supported in bf533-stamp
  • [#5550] fail to flash ubifs.img to nand
  • [#5470] build xenomai fails for no switchbench
  • [#5437] mathtest fails to compile
  • [#5551] SPI message lost when bus locked
  • [#5370] alsa tool fails to work after wake up from mem in bf537-stamp with ad1836 (can't resolve symbol)
  • [#5561] [ltp ]Kernel dump info when run ltp test cases access02, chown03, fchmod06, fchown03, fchown04
  • [#5377] amixer fail to run on ad1836 audio driver on BF537-STAMP
  • [#5475] build mkfs.ubifs on trunk head fails
  • [#5562] [ltp]some ltp test case is broken for getipckey and getcwd
  • [#5487] build usb.c fail in testsuites/usbdev/ test at asm/swab.h
  • [#5489] t2/t4 failed in gadget zero bulk test with dma mode
  • [#5567] build nand for bf537 fails on trunk
  • [#5494] Run tftlcd test case in bf548-ezkit, kernel crashed at the end
  • [#4879] traps test case 21 exception 0x3f: l1_instruction_access would make kernel panic on bf533 stamp
  • [#5568] Framebuffer DMA Error!!
  • [#5515] 4 more trap cases fails on bf533
  • [#5379] run scratchpad case sometimes would fail
  • [#5519] pushing Blackfin serial resources to boards broke many boards
  • [#5389] build pictureflow fails at branch head
  • [#5531] Usb SL811 failed on uclinux2009r1-rc6 on bf532 board.
  • [#5523] Blackfin MUSB build fails after update to 2.6.31
  • [#5391] For ad1836 and ad1981b, sometimes sound shakes at the end
  • [#5404] build kernel with 0x2000 as BOOT_LOAD address sometimes would fails at build-busybox-1.13.4
  • [#5469] CPU hardly idles anymore in svn trunk
  • [#5695] Build bf537-stamp fails at ad73322 for the latest trunk
  • [#5702] build xenomai into fdpic format fails for no libnative.so
  • [#5427] ircp failed on bf533-stamp
  • [#5708] Kernel can not boot up when spimmc driver is interrupt drivern in PIO mode
  • [#5711] gfortran case default_format_1.exe fails on 09r1 kernel but pass on trunk head
  • [#5712] I2C client drivers using dev_pm_ops fail to receive suspend/resume callbacks
  • [#5715] libpcap fails to compile in trunk
  • [#5589] STLport build fails
  • [#5724] SPORT driver crash on reload
  • [#5449] bfin_sdh doesn't save and restore peripheral context upon resume
  • [#5580] GPIO pin not reserved for CTS function on SPORT-UART driver
  • [#5521] trunk head build fails at ipc/shm.c
  • [#5636] generic gpio works on bf533 in the opposite way
  • [#5637] Kernel crashed when arecord and aplay on bf537-stamp with SoC I2S audio
  • [#5647] SPI driver bus_unlock() does not schedule postponed SPI messages
  • [#5683] build nand fails for format error
  • [#5689] while two or multi spi devices use gpio cs, spi setup will fail
  • [#5558] bfin mac multi-cast sending fails to work
  • [#5816] PREEMPT_RT: cyclic test stalls in some test mode
  • [#5824] some kernel modules fail to link due to losing strcpy in trunk head
  • [#5707] error in user/procps/Makefile
  • [#5841] [ltp] ltp test case shmctl01/semctl01 can not execute
  • [#5605] Build bf537-stamp fail at bf5xx-i2s.c in latest trunk
  • [#5614] With latest toolchain in trunk, fail to build some apps and libs at fork
  • [#5625] Build microwin app fails in trunk with 4.3 toolchain
  • [#5626] Build lib mad fail at option "-fforce-mem" with gcc 4.3
  • [#5722] bfin_sport_spi broken by cs_gpio changes
  • [#5627] fail to control gpio used by led and button through /sys/class/gpio/
  • [#5927] PR bit other than RAF bit in EMAC OPMODE register should be set for promisuous mode in bfin_mac driver
  • [#5727] build e2fsprogs-1.41.12 fail sometimes because of compiling order
  • [#5631] Build lib confuse failed with gcc 4.3 toolchain
  • [#5759] fix build for pwlib
  • [#5651] Build lirc failed at missing files
  • [#5931] Trying to compile CAN4LINUX for BF537-STAMP board but compilation is failing
  • [#5656] Build iproute2 fails at trunk for dlfcn.h when built as FLAT
  • [#5743] sound/soc/blackfin/bf5xx-ad1938.c build fails after 2.6.32 upgrade
  • [#5801] No interrupt occurs when reconnect gadget device in OTG mode.
  • [#5657] [ltp] ltp test case mount03/umount03 fail with error of "No such device"
  • [#5808] mmc configuration error in make config
  • [#5804] bf531: ethernet not working when switching to 2009R1
  • [#5810] initial sp is given wrong value and INIT_TASK_DATA is not linked into data
  • [#6335] Build xip failed in fdpic format when xenomai is enabled
  • [#7224] undifined variable x25_address in ./user/net-tools/lib/x25_src.c
  • [#5598] bluez-utils has parallel build issues with parser.h
  • [#5668] Fail to build app bluez-utils
  • [#7251] Blackfin SPI driver doesn't handle repeated changes in CPOL, CPHA and LSBF correctly
  • [#5767] In 09r1.1 branch, all ltp test cases show stack overflow in bf561 SMP kernel
  • [#5684] touching keypad on bf548 will make system dead and restart
  • [#7287] Can not build usb.c with libaio
  • [#5687] SPI read/write be wrong after suspend to memory and resume
  • [#7315] [ltp] ltp test case getrusage04 from ltp-full-20120903 fails in trunk
  • [#7328] Fail to compile pthread_test after toolchain update
  • [#5876] Repeating rsh/rcp causes error "poll: protocol failure in circuit setup"
  • [#7329] Fail to compile netperf after toolchain update
  • [#7333] Test dll fails to run after toolchain update
  • [#5741] adau1371 and adau1761 fail to build after 2.6.32 upgrade
  • [#7337] [ltp] ltp test case mount02 fails in ltp-full-20120903
  • [#7338] [ltp] ltp test case mount03 fails in ltp-full-20120903
  • [#5821] Fail to build pngview on regression machines with suse 10.2
  • [#5900] hardware single stepping in userspace does not handle syscalls correctly
  • [#5659] [ltp] ltp test case eventfd01 fail
  • [#7339] [ltp] can not apply patch of lchown02 in ltp-full-20101031 to ltp-full-20120903
  • [#7343] [ltp] LTP test case chdir04 fails in ltp-full-20120903
  • [#7396] build netperf fails for undefined reference to `___CPU_ZERO'
  • [#7483] bfin_sport driver does not work well in TDM DMA mode
  • [#7506] Dropbear does not build
  • [#5757] drop USER_SQUASHFS_MKSQUASHFS7Z as squashfs 4.0 does not support 7z anymore
  • [#5758] fix build for libopenh323
  • [#5833] trap test running on the second core of bf561 has serveral fails
  • [#5755] romfs target fails for lib/pwlib
  • [#5760] fix asterisk build
  • [#5756] romfs target fails for lib/libopenh323
  • [#5877] SPI transmit cs_change flag not properly handled
  • [#5939] bfin-can fails to build after linux-2.6.33 upgrade
  • [#5879] GPIO controlled slave request may fail when bfin_spi_setup() gets executed twice
  • [#5774] [ltp]ltp test case will be killed by oom-killer on bf533-ezkit in 09r1 branch occasionally
  • [#5894] BF527 uImage Flashing issue(Copy to Flash... Flash not Erased)
  • [#5941] links fails in trunk due to using fork()
  • [#5942] build usb host fail when remove anomaly 456 for BF526-EZBRD
  • [#7250] On bfin ppi test, it fails to quit from slave when send "q" from master
  • [#7379] Fail to build alsa lib in latest trunk with upgraded toolchain
  • [#5792] enc28j60 spi net fails to ping with host on trunk head kernel
  • [#4436] BF527-EZKIT unable to receive large files over UART in DMA mode
  • [#4764] Kernel prints warning when booting from jffs2 rootfs in nor flash on bf548-ezkit
  • [#5903] Impossible to work properly with two or more SPI slave devices using spi_bfin5xx driver.
  • FAQ: [#6386] build iproute2 may fail at ifstat.c sometimes in latest trunk(2010)
  • FAQ: [#6331] There is error in adau1371 audio testing on bf527-ezkit(2010)
  • [#5933] BF561-EZKIT SMP kernel can not wake up from standby mode by uart interrupt
  • FAQ: [#6564] dmacopy test on bf561-ezkit failed at sram_alloc in L1(2011)
  • [#4713] dmacopy tries to test L2 on BF537
  • [#4997] ppitest fails for bfin_ppi driver on bf537
  • [#5940] lynx fails in trunk due to using fork()
  • [#4104] Format usbdisk failed with mke2fs in trunk
  • FAQ: [#6578] iccutils build fails at scalar.c(2011)
  • [#3883] ftp server crash after connetion or chdir with MidnightCommander4.6.1
  • [#4697] kernel crash on bf533-stamp/bf533-ezkit after config IP for ethernet port
  • [#4050] xip test case failed in BF548-EZKIT
  • [#3991] mmc_spi not working out of the box.
  • [#3996] dhcpcd not stable on BF548-EZKIT
  • [#5136] Linphone: Can't hear each other and "Data access misaligned address violation"
  • [#5214] trunk applications don't build with trunk toolchain due to missing fork()
  • [#4055] top (busybox) crashs
  • [#5162] Linphone: Data access misaligned address
  • [#4992] bfin_sdh fails to build for BF514/BF516
  • [#5570] reboot on bf527-ezkit with nand and ubifs enabled fails
  • [#4955] 548 SDH: netperf, iperf triggers libertas error
  • [#5522] Lib DirectFB-1.4.0 crashes when run DirectFB demo on SVN trunk
  • [#3882] copy file function cp, after few times consume all memory
  • [#4773] BF527 usb-ide hard disk error

FAQ: [#6614] Kernel panic frequently when test sdio mmc on bf518-ezbrd(2011)

[#6614] Kernel panic frequently when test sdio mmc on bf518-ezbrd

Submitted By: Mingquan Pan

Open Date

2011-05-27 04:01:19     Close Date

2012-06-05 03:30:54

Priority:

Medium High     Assignee:

steven miao

Sonic Zhang

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:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

5013

App binary format:

N/A     

Summary: Kernel panic frequently when test sdio mmc on bf518-ezbrd

Details:

run dd on bf518 ezkit sdiommc board would make kernel panic frequently.

## Booting kernel from Legacy Image at 02000000 ...^M

   Image Name:   bf518-0.1-2.6.39-ADI-2011R1-pre-^M

   Created:      2011-05-26   4:20:44 UTC^M

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)^M

   Data Size:    4376003 Bytes = 4.2 MiB^M

   Load Address: 00001000^M

   Entry Point:  001c3f28^M

   Verifying Checksum ... OK^M

   Uncompressing Kernel Image ... OK^M

Starting Kernel at = 001c3f28^M

Linux version 2.6.39-ADI-2011R1-pre-svn9899 (test@uclinux80-bf518f) (gcc version 4.3.5 (ADI-trunk/svn-5013) ) #48 Thu May 26 12:20:37 CST 2011^M

register early platform devices^M

bootconsole [early_shadow0] enabled^M

bootconsole [early_BFuart0] enabled^M

early printk enabled on early_BFuart0^M

Board Memory: 64MB^M

Kernel Managed Memory: 64MB^M

Memory map:^M

...

...

bfin_mac bfin_mac.0: eth0: Features changed: 0x00004800 -> 0x00004000^M

bfin_mac bfin_mac.0: eth0: Blackfin on-chip Ethernet MAC driver, Version 1.1^M

rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0^M

i2c /dev entries driver^M

bfin-wdt: initialized: timeout=20 sec (nowayout=0)^M

dma_alloc_init: dma_page @ 0x02770000 - 256 pages at 0x03f00000^M

TCP cubic registered^M

NET: Registered protocol family 17^M

rtc-bfin rtc-bfin: setting system clock to 2004-05-31 11:27:36 UTC (1086002856)^M

mmc0: host does not support reading read-only switch. assuming write-enable.^M

mmc0: new SD card at address e624^M

mmcblk0: mmc0:e624 SD02G 1.89 GiB ^M

mmcblk0: detected capacity change from 0 to 2032664576^M

mmcblk0: p1^M

IP-Config: Complete:^M

     device=eth0, addr=10.100.4.50, mask=255.255.255.0, gw=10.100.4.174,^M

     host=bf518f-ezbrd, domain=, nis-domain=(none),^M

     bootserver=10.100.4.174, rootserver=10.100.4.174, rootpath=^M

Freeing unused kernel memory: 6236k freed^M

                           _____________________________________^M

...

kernel:    Linux release 2.6.39-ADI-2011R1-pre-svn9899, build #48 Thu May 26 12:20:37 CST 2011^M

toolchain: bfin-uclinux-gcc release gcc version 4.3.5 (ADI-trunk/svn-5013) ^M

user-dist: release svn-10167, build #551 Thu May 26 12:19:39 CST 2011^M

root:/> ^[[6nsuccessful boot attempt

************** STEP 3: start TEST - Format entire MMC/SD and create DOS FS

mkdir /mnt/mmc^M

root:/> ^[[6ndmesg|grep mmc^M

mmc0: host does not support reading read-only switch. assuming write-enable.^M

mmc0: new SD card at address e624^M

mmcblk0: mmc0:e624 SD02G 1.89 GiB ^M

mmcblk0: detected capacity change from 0 to 2032664576^M

mmcblk0: p1^M

root:/> ^[[6nMMC/SD card detected, test pass

...

Case 2 ...PASS

mount -t vfat /dev/mmcblk0 /mnt/mmc^M

root:/> mount dos fs done, test pass

Case 3 ...PASS

Case 3 ...PASS

^[[6ntime dd conv=fsync if=/dev/zero of=/mnt/mmc/10.bin bs=1M count=10^M

NULL pointer access^M

Kernel OOPS in progress^M

Deferred Exception context^M

CURRENT PROCESS:^M

COMM=dd PID=185  CPU=0^M

TEXT = 0x02c80040-0x02cd1720        DATA = 0x02cd1740-0x02ce46e8^M

BSS = 0x02ce46e8-0x02ce60a0  USER-STACK = 0x02ceef38^M

^M

return address: [0x00047394]; contents of:^M

0x00047370:  40c8  a0c1  5041  5e90  a1d0  b140  5e8d  b111 ^M

0x00047380:  6c09  9369  a102  a1d8  0982  1fe6  ac41  9142 ^M

0x00047390:  3090  300b [bc51] 934a  a140  9305  b042  0c38 ^M

0x000473a0:  181e  0000  0000  0000  9162  bc50  9342  bc44 ^M

^M

ADSP-BF518-0.1 400(MHz CCLK) 80(MHz SCLK) (mpu off)^M

Linux version 2.6.39-ADI-2011R1-pre-svn9899 (test@uclinux80-bf518f) (gcc version 4.3.5 (ADI-trunk/svn-5013) ) #48 Thu May 26 12:20:37 CST 2011^M

^M

SEQUENCER STATUS:               Not tainted^M

SEQSTAT: 00002027  IPEND: 8008  IMASK: 003f  SYSCFG: 0006^M

  Peripheral interrupts masked off^M

  Kernel interrupts masked off^M

  EXCAUSE   : 0x27^M

  physical IVG3 asserted : <0xffa00734> { _trap + 0x0 }^M

  physical IVG15 asserted : <0xffa00f70> { _evt_system_call + 0x0 }^M

  logical irq   6 mapped  : <0xffa00370> { _bfin_coretmr_interrupt + 0x0 }^M

  logical irq  21 mapped  : <0x000d08bc> { _bfin_rtc_interrupt + 0x0 }^M

  logical irq  24 mapped  : <0x000dcab8> { _sdh_dma_irq + 0x0 }^M

  logical irq  27 mapped  : <0x000d3038> { _bfin_twi_interrupt_entry + 0x0 }^M

  logical irq  29 mapped  : <0x000b8d28> { _bfin_serial_dma_rx_int + 0x0 }^M

  logical irq  30 mapped  : <0x000b8aa0> { _bfin_serial_dma_tx_int + 0x0 }^M

  logical irq  35 mapped  : <0x000cdea0> { _bfin_mac_interrupt + 0x0 }^M

  logical irq  58 mapped  : <0x000dce8c> { _sdh_stat_irq + 0x0 }^M

RETE: <0x00000000> /* Maybe null pointer? */^M

RETN: <0x02077afc> /* kernel dynamic memory (maybe user-space) */^M

RETX: <0x00000480> /* Maybe fixed code section */^M

RETS: <0x0004780e> { _kmem_cache_alloc + 0x72 }^M

PC  : <0x00047394> { _cache_alloc_refill + 0xf4 }^M

DCPLB_FAULT_ADDR: <0x00000004> /* Maybe null pointer? */^M

ICPLB_FAULT_ADDR: <0x00047394> { _cache_alloc_refill + 0xf4 }^M

PROCESSOR STATE:^M

R0 : 00000048    R1 : ffffffff    R2 : 00200200    R3 : ffffffff^M

R4 : 00000000    R5 : 00100100    R6 : 00000001    R7 : 020072e8^M

P0 : 02e4f000    P1 : 020072e0    P2 : 00000000    P3 : 020035c0^M

P4 : 020072e0    P5 : 0200b600    FP : 020072f0    SP : 02077a20^M

LB0: 000a5662    LT0: 000a5662    LC0: 00000000^M

LB1: 000a1622    LT1: 000a15ec    LC1: 00000000^M

B0 : 00000000    L0 : 00000000    M0 : 0000002c    I0 : 00200200^M

B1 : 00000000    L1 : 00000000    M1 : 00000000    I1 : 00000001^M

B2 : 00000000    L2 : 00000000    M2 : 00000000    I2 : 02aeee00^M

B3 : 00000000    L3 : 00000000    M3 : 00000000    I3 : 00000000^M

A0.w: 00000000   A0.x: 00000000   A1.w: 00000000   A1.x: 00000000^M

USP : 02ceed5c  ASTAT: 02003025^M

^M

Hardware Trace:^M

   0 Target : <0x00003fd0> { _trap_c + 0x0 }^M

     Source : <0xffa006c8> { _exception_to_level5 + 0xa4 } JUMP.L^M

   1 Target : <0xffa00624> { _exception_to_level5 + 0x0 }^M

     Source : <0xffa004d8> { _bfin_return_from_exception + 0x18 } RTX^M

   2 Target : <0xffa004c0> { _bfin_return_from_exception + 0x0 }^M

     Source : <0xffa0057c> { _ex_trap_c + 0x74 } JUMP.S^M

   3 Target : <0xffa00508> { _ex_trap_c + 0x0 }^M

     Source : <0xffa0078e> { _trap + 0x5a } JUMP (P4)^M

   4 Target : <0xffa00734> { _trap + 0x0 }^M

      FAULT : <0x00047394> { _cache_alloc_refill + 0xf4 } W[P2 + 1] = P1^M

     Source : <0x00047392> { _cache_alloc_refill + 0xf2 } 0x300b^M

   5 Target : <0x0004738c> { _cache_alloc_refill + 0xec }^M

     Source : <0x0004735e> { _cache_alloc_refill + 0xbe } IF CC JUMP pcrel ^M

   6 Target : <0x00047357> { _cache_alloc_refill + 0xb7 }^M

     Source : <0x0004738a> { _cache_alloc_refill + 0xea } IF CC JUMP pcrel (BP)^M

   7 Target : <0x00047358> { _cache_alloc_refill + 0xb8 }^M

     Source : <0x00047352> { _cache_alloc_refill + 0xb2 } IF CC JUMP pcrel (BP)^M

   8 Target : <0x0004733e> { _cache_alloc_refill + 0x9e }^M

     Source : <0x000473b4> { _cache_alloc_refill + 0x114 } IF !CC JUMP pcrel (BP)^M

   9 Target : <0x000473b2> { _cache_alloc_refill + 0x112 }^M

     Source : <0x000473e6> { _cache_alloc_refill + 0x146 } JUMP.S^M

  10 Target : <0x000473dc> { _cache_alloc_refill + 0x13c }^M

     Source : <0x000473a0> { _cache_alloc_refill + 0x100 } IF CC JUMP pcrel ^M

  11 Target : <0x00047357> { _cache_alloc_refill + 0xb7 }^M

     Source : <0x0004738a> { _cache_alloc_refill + 0xea } IF CC JUMP pcrel (BP)^M

  12 Target : <0x00047358> { _cache_alloc_refill + 0xb8 }^M

     Source : <0x00047352> { _cache_alloc_refill + 0xb2 } IF CC JUMP pcrel (BP)^M

  13 Target : <0x00047322> { _cache_alloc_refill + 0x82 }^M

     Source : <0x0004730a> { _cache_alloc_refill + 0x6a } IF CC JUMP pcrel ^M

  14 Target : <0x00047306> { _cache_alloc_refill + 0x66 }^M

     Source : <0x00047302> { _cache_alloc_refill + 0x62 } IF !CC JUMP pcrel (BP)^M

  15 Target : <0x00047300> { _cache_alloc_refill + 0x60 }^M

     Source : <0x000472fc> { _cache_alloc_refill + 0x5c } IF CC JUMP pcrel (BP)^M

Kernel Stack^M

Stack info:^M

SP: [0x02077f24] <0x02077f24> /* kernel dynamic memory (maybe user-space) */^M

Memory from 0x02077f20 to 02078000^M

02077f20: 00000001 [02c83992] 00008000  00002000  00000000  02078000  02c83992  02c83992 ^M

02077f40: 02c99828  ffa00fd4  02003004  0289243f  02c8ceaf  02892434  02c8ce9c  00000000 ^M

02077f60: ffffffff  00000000  00000000  00000000  00000000  00000000  00000000  00000000 ^M

02077f80: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000 ^M

02077fa0: 00000004  00000000  02aeee00  02ae44a0  02ceef58  02ceed5c  02ceed68  02ce5670 ^M

02077fc0: 01000004  02ce5788  02ce5b88  02ce4350  00000004  00100000  01000004  00000001 ^M

02077fe0: 00000001  01000004  00100000  01000004  00000001  00000001  00000004  00000006 ^M

Return addresses in stack:^M

Modules linked in:^M

Kernel panic - not syncing: Kernel exception^M

Hardware Trace:^M

Stack info:^M

SP: [0x02077928] <0x02077928> /* kernel dynamic memory (maybe user-space) */^M

FP: (0x02077e48)^M

Memory from 0x02077920 to 02078000^M

02077920: 02077928  00000013 [001689a8] 0013428c  02077a20  001689a8  0019e4cb  0019e4cb ^M

02077940: 0019e4cb  02077970  020072f0  00004490  02077a20  ffe02014  020035c0  00008008 ^M

02077960: 0000000b  00000027  00000013  02077a20  0000003f  ffffffff  001b8928  001b892c ^M

02077980: 0003000b  00084050  00000001  00000000  000a4050  00000000  00000000  001b8928 ^M

020779a0: 00000001  00000041  001b7ed8  0006505c  00000001  02820000  029a122e  001aaf50 ^M

020779c0: 00036dba  008161a0  0006505c  00000001  000a4050  00000f3e  001b23c8  00000200 ^M

020779e0: 02077a0c  000650ec  02077ab4  02014040  0281ba00  02077a0c  000650f2  ffa006cc ^M

02077a00: 0019b000  00008008  00002027  00100100  00000000  000650f2  0006505c  00000480 ^M

02077a20: 00000480  00008008  00002027  00000000  02077afc  00000480  00047394  0004780e ^M

02077a40: 00000048  02003025  000a1622  000a5662  000a15ec  000a5662  00000000  00000000 ^M

02077a60: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000 ^M

02077a80: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  0000002c ^M

02077aa0: 00000000  02aeee00  00000001  00200200  02ceed5c  020072f0  0200b600  020072e0 ^M

02077ac0: 020035c0  00000000  020072e0  02e4f000  020072e8  00000001  00100100  00000000 ^M

02077ae0: ffffffff  00200200  ffffffff  00000048  00000048  02e4f000  00000006  01077b90 ^

....

02077ee0: 02ce5788  000482fe  00000000  02077ef0  00000000  00000000  00000000 <ffa008c6>^M

02077f00: 0004a048  00000000  ffffe000  02b2dff7  029cbd60 <029cbac0> 01000004  00000001 ^M

02077f20: 00000001  02c83992  00008000  00002000  00000000  02078000  02c83992  02c83992 ^M

02077f40: 02c99828  ffa00fd4  02003004  0289243f  02c8ceaf  02892434  02c8ce9c  00000000 ^M

02077f60: ffffffff  00000000  00000000  00000000  00000000  00000000  00000000  00000000 ^M

02077f80: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000 ^M

02077fa0: 00000004  00000000  02aeee00  02ae44a0  02ceef58  02ceed5c  02ceed68  02ce5670 ^M

02077fc0: 01000004  02ce5788  02ce5b88  02ce4350  00000004  00100000  01000004  00000001 ^M

02077fe0: 00000001  01000004  00100000  01000004  00000001  00000001  00000004  00000006 ^M

Return addresses in stack:^M

    address : <0x00036336> { _generic_file_buffered_write + 0x156 }^M

    address : <0x0004974e> { _do_sync_write + 0x8e }^M

   frame  1 : <0x029cbac0> /* kernel dynamic memory (maybe user-space) */^M

    address : <0x00049f62> { _vfs_write + 0x6a }^M

    address : <0xffa008c6> { _system_call + 0x6a }^M

    address : <0x029cbac0> /* kernel dynamic memory (maybe user-space) */^M

^M

^M

U-Boot 2010.12-svn2586 (ADI-2011R1-pre) (Jan 18 2011 - 19:07:43)^M

^M

CPU:   ADSP bf518-0.0 (Detected Rev: 0.1) (parallel flash boot)^M

Board: ADI BF518F EZ-Board board^M

       Support: http://blackfin.uclinux.org/^M

Clock: VCO: 400 MHz, Core: 400 MHz, System: 80 MHz^M

RAM:   64 MiB^M

Flash: 4 MiB^M

MMC:   Blackfin SDH: 0^M

In:    serial^M

Out:   serial^M

Err:   serial^M

KGDB:  [on serial] ready^M

...

BusyBox v1.18.4 (2011-05-26 09:23:44 CST) hush - the humble shell^M

^M

root:/> ^[[6nPHY: 0:01 - Link is Up - 100/Full^M

Generate a 10 MB file timeout, test fail

Last passed time: 2011_May_24_22_06, ucdist ver: 10175, kernel ver: 9898

Case 4 ...FAIL

Case 4 ...FAIL

Follow-ups

--- Vivi Li                                                  2011-06-03 04:06:41

In latest trunk after slob crash issue is fixed, sdio mmc test still crash.

--

Linux version 2.6.39-ADI-2011R1-pre-svn9919 (test@uclinux80-bf518f) (gcc

version 4.3.5 (ADI-trunk/svn-5013) ) #90 Thu Jun 2 15:12:49 CST 2011

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-0x00135d50

  rodata    = 0x00135d50-0x00198898

  bss       = 0x00199000-0x001a9a60

  data      = 0x001a9a60-0x001bc000

    stack   = 0x001ba000-0x001bc000

  init      = 0x001bc000-0x007d3000

  available = 0x007d3000-0x03f00000

  DMA Zone  = 0x03f00000-0x04000000

Hardware Trace active and enabled

Boot Mode: 1

Recovering from Watchdog event

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 ip=10.100.4.50

earlyprintk=serial,uart0,57600 console=ttyBF0,57600

ip=10.100.4.50:10.100.4.174:10.100.4.174:255.255.255.0:bf518f-ezbrd:eth0:off

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: Features changed: 0x00004800 -> 0x00004000

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 @ 0x02758000 - 256 pages at 0x03f00000

TCP cubic registered

NET: Registered protocol family 17

rtc-bfin rtc-bfin: setting system clock to 2004-05-31 10:58:21 UTC

(1086001101)

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: detected capacity change from 0 to 2032664576

mmcblk0:

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    - http://www.analog.com/blackfin

Have a lot of fun...

BusyBox v1.18.4 (2011-06-02 12:13:59 CST) hush - the humble shell

root:/> version

kernel:    Linux release 2.6.39-ADI-2011R1-pre-svn9919, build #90 Thu Jun 2

15:12:49 CST 2011

toolchain: bfin-uclinux-gcc release gcc version 4.3.5 (ADI-trunk/svn-5013)

user-dist: release svn-10167, build #1062 Thu Jun 2 15:11:52 CST 2011

root:/> fdisk /dev/mmcblk0

The number of cylinders for this disk is set to 62032.

There is nothing wrong with that, but this is larger than 1024,

and could in certain setups cause problems with:

1) software that runs at boot time (e.g., old versions of LILO)

2) booting and partitioning software from other OSs

   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): n

Command action

   e   extended

   p   primary partition (1-4)

p

Partition number (1-4): 1

First cylinder (1-62032, default 1):

Using default value 1

Last cylinder or +size or +sizeM or +sizeK (1-62032, default 62032): +256M

Command (m for help): n

Command action

   e   extended

   p   primary partition (1-4)

p

Partition number (1-4): 2

First cylinder (8194-62032, default 8194):

Using default value 8194

Last cylinder or +size or +sizeM or +sizeK (8194-62032, default 62032):

Using default value 62032

Command (m for help): w

The partition table has been altered!

Calling ioctl() to re-read partition table.

mmcblk0: p1 p2

mmcblk0: p1 p2

WARNING: If you have created or modified any DOS 6.x

partitions, please see the fdisk manual page for additional

information.

Syncing disks.

root:/> fdisk /dev/mmcblk0

The number of cylinders for this disk is set to 62032.

There is nothing wrong with that, but this is larger than 1024,

and could in certain setups cause problems with:

1) software that runs at boot time (e.g., old versions of LILO)

2) booting and partitioning software from other OSs

   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): t

Partition number (1-4): 2

Hex code (type L to list codes): b

Changed system type of partition 2 to b (Win95 FAT32)

Command (m for help): w

The partition table has been altered!

Calling ioctl() to re-read partition table.

mmcblk0: p1 p2

mmcblk0: p1 p2

WARNING: If you have created or modified any DOS 6.x

partitions, please see the fdisk manual page for additional

information.

Syncing disks.

root:/> ls /dev/mmcblk0*

/dev/mmcblk0    /dev/mmcblk0p1  /dev/mmcblk0p2

root:/> mke2fs /dev/mmcblk0p1

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/mmcblk0p1 is mounted.

warning: 23 blocks unused.

Filesystem label=

OS type: Linux

Block size=1024 (log=0)

Fragment size=1024 (log=0)

Stride=0 blocks, Stripe width=0 blocks

65792 inodes, 262145 blocks

13108 blocks (5.00%) reserved for the super user

First data block=1

Maximum filesystem blocks=67371008

32 block groups

8192 blocks per group, 8192 fragments per group

2056 inodes per group

Superblock backups stored on blocks:

        8193, 24577, 40961, 57345, 73729, 204801, 221185

Writing inode tables:  0/32^H^H^H^H^H 1/32^H^H^H^H^H 2/32^H^H^H^H^H

3/32^H^H^H^H^H 4/32^H^H^H^H^H 5/32^H^H^H^H^H 6/32^H^H^H^H^H 7/32^H^H^H^H^H

8/32^H^H^H^H^H

9/32^H^H^H^H^H10/32^H^H^H^H^H11/32^H^H^H^H^H12/32^H^H^H^H^H13/32^H^H^H^H^H14/32^H^H^H^H^H15/32^H^H^H^H^H16/32^H^H^H^H^H17/32^H^H^H^H^H18/32^H^H^H^H^H19/32^H^H^H^H^H20/32^H^H^H^H^H21/32^H^H^H^H^H22/32^H^H^H^H^H23/32^H^H^H^H^H24/32^H^H^H^H^H25/32^H^H^H^H^H26/32^H^H^H^H^H27/32^H^H^H^H^H28/32^H^H^H^H^H29/32^H^H^H^H^H30/32^H^H^H^H^H31/32^H^H^H^H^Hdone

        

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 -t ext2 /dev/mmcblk0p1 /mnt/mmc1

root:/> time mkdosfs -F 32 /dev/mmcblk0p2

mkdosfs 3.0.5 (27 Jul 2009)

real    0m 2.38s

user    0m 0.00s

sys     0m 0.25s

root:/> mount -t vfat /dev/mmcblk0p2 /mnt/mmc2

root:/> time dd conv=fsync if=/dev/zero of=/mnt/mmc1/10.bin bs=1M count=10

NULL pointer access

Kernel OOPS in progress

Deferred Exception context

CURRENT PROCESS:

COMM=kworker/0:1 PID=152  CPU=0

invalid mm

return address: [0x00046f5a]; contents of:

0x00046f30:  e10b  af50  4f45  4f4e  200f  304c  a128  0808

0x00046f40:  181e  0000  0000  0000  0030  ad68  0860  1822

0x00046f50:  0000  0000  0000  ac41  9142 [bc51] 934a  9305

  EXCAUSE   : 0x27

  physical IVG3 asserted : <0xffa00734> { _trap + 0x0 }

  physical IVG15 asserted : <0xffa00f70> { _evt_system_call + 0x0 }

  logical irq   6 mapped  : <0xffa00370> { _bfin_coretmr_interrupt + 0x0

}

  logical irq  21 mapped  : <0x000d08c0> { _bfin_rtc_interrupt + 0x0 }

  logical irq  24 mapped  : <0x000dcabc> { _sdh_dma_irq + 0x0 }

  logical irq  27 mapped  : <0x000d303c> { _bfin_twi_interrupt_entry +

0x0 }

  logical irq  29 mapped  : <0x000b8d2c> { _bfin_serial_dma_rx_int + 0x0

}

  logical irq  30 mapped  : <0x000b8aa4> { _bfin_serial_dma_tx_int + 0x0

}

  logical irq  35 mapped  : <0x000cdea4> { _bfin_mac_interrupt + 0x0 }

  logical irq  58 mapped  : <0x000dce90> { _sdh_stat_irq + 0x0 }

RETE: <0x00000000> /* Maybe null pointer? */

RETN: <0x02813ec4> /* kernel dynamic memory (maybe user-space) */

RETX: <0x00000480> /* Maybe fixed code section */

RETS: <0x00046eba> { _drain_array + 0x76 }

PC  : <0x00046ddc> { _free_block + 0x80 }

DCPLB_FAULT_ADDR: <0x00000004> /* Maybe null pointer? */

ICPLB_FAULT_ADDR: <0x00046ddc> { _free_block + 0x80 }

PROCESSOR STATE:

R0 : 00100100    R1 : 00000000    R2 : 02c29658    R3 : 00000000

R4 : 020033cc    R5 : 001a474c    R6 : 0000000b    R7 : 00000000

P0 : 001b7ed8    P1 : 02b93060    P2 : 00000000    P3 : 02006074

P4 : 02002d60    P5 : 02c29040    FP : 02003380    SP : 02813de8

LB0: 000a56d2    LT0: 000a56d2    LC0: 00000000

LB1: 00000001    LT1: 00000000    LC1: 00000000

B0 : 00000000    L0 : 00000000    M0 : 00000000    I0 : 00000000

B1 : 00000000    L1 : 00000000    M1 : 00000000    I1 : ffffffff

B2 : 00000000    L2 : 00000000    M2 : 00000000    I2 : 00000000

B3 : 00000000    L3 : 00000000    M3 : 00000000    I3 : 00000000

A0.w: 0000002e   A0.x: 00000000   A1.w: 0000002e   A1.x: 00000000

USP : 00000000  ASTAT: 02002000

Hardware Trace:

   0 Target : <0x00003fd0> { _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 : <0x00046ddc> { _free_block + 0x80 } W[P2 + 1] = P1

     Source : <0x00046dda> { _free_block + 0x7e } P2 = [P5]

   5 Target : <0x00046dc0> { _free_block + 0x64 }

     Source : <0x00046dbc> { _free_block + 0x60 } IF CC JUMP pcrel (BP)

   6 Target : <0x00046da8> { _free_block + 0x4c }

     Source : <0x00046d80> { _free_block + 0x24 } JUMP.S

   7 Target : <0x00046d5c> { _free_block + 0x0 }

     Source : <0x00046eb6> { _drain_array + 0x72 } CALL pcrel

   8 Target : <0x00046ea8> { _drain_array + 0x64 }

     Source : <0x00046ea2> { _drain_array + 0x5e } IF !CC JUMP pcrel

(BP)

   9 Target : <0x00046e6e> { _drain_array + 0x2a }

     Source : <0x00046e68> { _drain_array + 0x24 } IF CC JUMP pcrel (BP)

  10 Target : <0x00046e44> { _drain_array + 0x0 }

     Source : <0x0004700e> { _cache_reap + 0x66 } CALL pcrel

  11 Target : <0x00046fec> { _cache_reap + 0x44 }

     Source : <0x00134a90> { __cond_resched + 0x20 } RTS

  12 Target : <0x00134a8a> { __cond_resched + 0x1a }

     Source : <0x00134a82> { __cond_resched + 0x12 } IF CC JUMP pcrel

(BP)

  13 Target : <0x00134a70> { __cond_resched + 0x0 }

     Source : <0x00046fe8> { _cache_reap + 0x40 } CALL pcrel

  14 Target : <0x00046fe8> { _cache_reap + 0x40 }

     Source : <0x00047056> { _cache_reap + 0xae } JUMP.S

  15 Target : <0x00047056> { _cache_reap + 0xae }

     Source : <0x00046f86> { _drain_freelist + 0x92 } RTS

Kernel Stack

Stack info:

SP: [0x02813f28] <0x02813f28> /* kernel dynamic memory (maybe

user-space) */

FP: (0x02813fa0)

Memory from 0x02813f20 to 02814000

02813f20: 00000001  00000000 [00000000] 001b206c  001ad1e0 <0001f5c0>

001aaf50  001b206c

02813f40: 0275d320  0200d205  00046fa8  0200d200  00000000  00000002  02812008

02812000

02813f60: 02812000  001aaf50  0001ff5c  0275d320  001ad1e0  00000000  0275d330

0275d330

02813f80: 001ad360  001a3f40  02025f00  0001fe34  00000000  02812000  02812000

02812000

02813fa0:(00000000)<00023a74> 02025f00  0001fe34  00000000  0275d320

00000000  00000000

02813fc0: 00000000  00000000  00000000  00023a18  00000000  0275d320  00000000

02813fdc

02813fe0: 02813fdc

00000000  00000000  00000000  00000000  ffffffff  00000006

Return addresses in stack:

    address : <0x0001f5c0> { _process_one_work + 0x120 }

   frame  1 : <0x00023a74> { _kthread + 0x5c }

    address : <0x00001556> { _kernel_thread_helper + 0x6 }

Modules linked in:

Kernel panic - not syncing: Kernel exception

Hardware Trace:

Stack info:

SP: [0x02813cf0] <0x02813cf0> /* kernel dynamic memory (maybe

user-space) */

FP: (0x02813fa0)

Memory from 0x02813cf0 to 02814000

02813cf0:[001689b0] 00134288  02813de8  001689b0  0019e4cb  0019e4cb  0019e4cb

02813d38

02813d10: 02003380  00004490  02813de8  ffe02014  02006074  00008008  0000000b

00000027

02813d30: 00000013  02813de8  0000003f  ffffffff  00000006  02813d74  0003000b

02813d74

02813d50: 0000d4aa  00000006  02813d8c  0000ae02  0277dd8c  0202b820  0202b84c

02813d8c

02813d70: 0000ae12  00000000  001ab9c4  0277dd60  027674d4  001aba10  001aba10

02813db8

02813d90:<0000b734> 0202b820  0277dd60  001aba10  00000001  001aba10

00000000  00000001

02813db0: 001aba10  00000000  02813ddc  0000de82  0277dd60  ffa006cc  0019b000

00008008

02813dd0: 00002027  001a474c  020033cc  02813e04 <0000bdfa> 00000480

00000480  00008008

02813df0: 00002027  00000000  02813ec4  00000480  00046ddc  00046eba  00100100

02002000

02813e10: 00000001  000a56d2  00000000  000a56d2  00000000  00000000  0000002e

00000000

02813e30: 0000002e  00000000  00000000  00000000  00000000  00000000  00000000

00000000

02813e50: 00000000  00000000  00000000  00000000  00000000  00000000  00000000

00000000

02813e70: ffffffff  00000000  00000000  02003380  02c29040  02002d60  02006074

00000000

02813e90: 02b93060  001b7ed8  00000000  0000000b  001a474c  020033cc  00000000

02c29658

02813eb0: 00000000  00100100  00100100  001b7ed8  00000006  001aaf50  00000000

00200200

02813ed0: 00000000  001a4794  00046eba  0000000b  02006060  001acd10  02006070

00000044

02813ef0: ffffffbc  000003e8  00047056  020075a0  02003980  00000000  00047012

02002d60

02813f10: 02003380  00000000  00000000  001aba10  00000001  00000000  00000000

001b206c

02813f30: 001ad1e0 <0001f5c0> 001aaf50  001b206c  0275d320  0200d205

00046fa8  0200d200

02813f50: 00000000  00000002  02812008  02812000  02812000  001aaf50  0001ff5c

0275d320

02813f70: 001ad1e0  00000000  0275d330  0275d330  001ad360  001a3f40  02025f00

0001fe34

02813f90: 00000000  02812000  02812000  02812000 (00000000)<00023a74>

02025f00  0001fe34

02813fb0: 00000000  0275d320  00000000  00000000  00000000  00000000  00000000

00023a18

02813fd0: 00000000  0275d320  00000000  02813fdc  02813fdc

00000000  00000000

02813ff0: 00000000  00000000  ffffffff  00000006

Return addresses in stack:

    address : <0x0000b734> { _check_preempt_curr + 0x74 }

    address : <0x0000bdfa> { ___wake_up_common + 0x3a }

    address : <0x0001f5c0> { _process_one_work + 0x120 }

   frame  1 : <0x00023a74> { _kthread + 0x5c }

    address : <0x00001556> { _kernel_thread_helper + 0x6 }

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:

bfin>

--

--- steven miao                                              2011-06-16 03:33:58

Not repeatable, but it crashed once when unmount the vfat partition.

--- Vivi Li                                                  2011-09-21 04:11:39

Crashes don't only happen with dd command.

It can happen any time when operates MMC.

--- Vivi Li                                                  2011-09-21 04:44:54

I attach my configuration for your reference.

--- steven miao                                              2011-10-20 06:31:13

Not repeatable in my bf518 board, I'll try another board

--- Vivi Li                                                  2011-10-21 02:34:14

Please try to test in board on regression machine 10.99.29.80.

--- steven miao                                              2011-10-28 03:11:12

can repeatable now, probably happens when slab reap

--- Sonic Zhang                                              2011-11-03 06:28:00

The crash disappears after update to kernel 3.0.8.

Case 27 failure is fixed by limit mmc dma segment len for bf518.

Should add rootwait to mmc boot args in test suites as well.

--- Vivi Li                                                  2012-06-05 04:30:29

rootwait is added to test script.

Close this bug.

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

File Name     File Type     File Size     Posted By

config.config.sdiommc    application/octet-stream    51509    Vivi Li

config.linux.sdiommc    application/octet-stream    34925    Vivi Li

Attachments:
config.linux.sdiommc.zip
config.config.sdiommc.zip
  • Share
  • History
  • More
  • Cancel
Related
Recommended
Social
Quick Links
  • About ADI
  • ADI Signals+
  • Analog Dialogue
  • Careers
  • Contact us
  • Investor Relations
  • News Room
  • Quality & Reliability
  • Sales & Distribution
  • Incubators
Languages
  • English
  • 简体中文
  • 日本語
Newsletter

Interested in the latest news and articles about ADI products, design tools, training and events? Subscribe today!

Sign Up
Analog Logo
©1995 - 2023 Analog Devices, Inc. All Rights Reserved
沪ICP备09046653号-1
  • Sitemap
  • Legal
  • Privacy & Security
  • Privacy Settings
EngineerZone Uses cookies to ensure you get the best experience in our community. For more information on cookies, please read our Privacy & Security Statement.