[#5572] kernel with usb isp1761 crash in trunk

Document created by Aaronwu Employee on Sep 4, 2013
Version 1Show Document
  • View in full screen mode

[#5572] kernel with usb isp1761 crash in trunk

Submitted By: Vivi Li

Open Date

2009-09-28 05:48:23     Close Date

2009-10-15 05:31:30

Priority:

Medium     Assignee:

Michael Hennerich

Status:

Closed     Fixed In Release:

N/A

Found In Release:

2010R1     Release:

Category:

N/A     Board:

N/A

Processor:

BF537     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Out of Date

Uboot version or rev.:

    Toolchain version or rev.:

gcc4.1-09r1-rc9

App binary format:

N/A     

Summary: kernel with usb isp1761 crash in trunk

Details:

 

Kernel with usb isp1761 will crash in trunk. config file is attached.

 

--

Linux version 2.6.31.1-ADI-2010R1-pre-svn7475 (test@uclinux57-usb176x) (gcc version 4.1.2 (ADI svn)) #68 Mon Sep 28 06:49:29 GMT 2009^M

register early platform devices^M

bootconsole [early_shadow0] enabled^M

bootconsole [early_BFuart0] enabled^M

early printk enabled on early_BFuart0^M

Limiting kernel memory to 56MB due to anomaly 05000263^M

Board Memory: 64MB^M

Kernel Managed Memory: 64MB^M

Memory map:^M

  fixedcode = 0x00000400-0x00000490^M

  text      = 0x00001000-0x0013d4c0^M

  rodata    = 0x0013d4c0-0x001aa7c4^M

  bss       = 0x001ab000-0x001bc3b4^M

  data      = 0x001bc3b4-0x001d2000^M

    stack   = 0x001d0000-0x001d2000^M

  init      = 0x001d2000-0x00954000^M

  available = 0x00954000-0x037ff000^M

  DMA Zone  = 0x03f00000-0x04000000^M

Hardware Trace Active and Enabled^M

Boot Mode: 0^M

Reset caused by Software reset^M

Blackfin support (C) 2004-2009 Analog Devices, Inc.^M

Compiled for ADSP-BF537 Rev 0.2^M

Blackfin Linux support by http://blackfin.uclinux.org/^M

Processor Speed: 500 MHz core clock and 125 MHz System Clock^M

NOMPU: setting up cplb tables^M

Instruction Cache Enabled for CPU0^M

  External memory: cacheable in instruction cache^M

Data Cache Enabled for CPU0^M

  External memory: cacheable (write-back) in data cache^M

Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 14223^M

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:bf537-stamp:eth0:off^M

PID hash table entries: 256 (order: 8, 1024 bytes)^M

Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)^M

Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)^M

Memory available: 47220k/65536k RAM, (7688k init code, 1265k kernel code, 595k data, 1024k dma, 7744k reserved)^M

NR_IRQS:98^M

Configuring Blackfin Priority Driven Interrupts^M

bfin-rtc: invalid date; resetting^M

console [ttyBF0] enabled, bootconsole disabled^M

console [ttyBF0] enabled, bootconsole disabled^M

Calibrating delay loop... 997.37 BogoMIPS (lpj=1994752)^M

Security Framework initialized^M

Mount-cache hash table entries: 512^M

Blackfin Scratchpad data SRAM: 4 KB^M

Blackfin L1 Data A SRAM: 16 KB (16 KB free)^M

Blackfin L1 Data B SRAM: 16 KB (16 KB free)^M

Blackfin L1 Instruction SRAM: 48 KB (36 KB free)^M

NET: Registered protocol family 16^M

Blackfin DMA Controller^M

stamp_init(): registering device resources^M

physmap-flash.0: failed to claim resource 0^M

------------[ cut here ]------------^M

WARNING: at drivers/base/core.c:124 _device_release+0x5a/0x5c()^M

Device 'simple-gpio' does not have a release() function, it is broken and must be fixed.^M

Modules linked in:^M

Hardware Trace:^M

   0 Target : <0x00004f1c> { _dump_stack + 0x0 }^M

     Source : <0x00010a4c> { _warn_slowpath_common + 0x44 } CALL pcrel^M

   1 Target : <0x00010a4c> { _warn_slowpath_common + 0x44 }^M

     Source : <0x0002b582> { _print_modules + 0x7a } RTS^M

   2 Target : <0x0002b57c> { _print_modules + 0x74 }^M

     Source : <0x0001181e> { _printk + 0x16 } RTS^M

   3 Target : <0x0001181a> { _printk + 0x12 }^M

     Source : <0x00011682> { _vprintk + 0x136 } RTS^M

   4 Target : <0x00011660> { _vprintk + 0x114 }^M

     Source : <0x000117a8> { _vprintk + 0x25c } JUMP.S^M

   5 Target : <0x000117a8> { _vprintk + 0x25c }^M

     Source : <0x00010f4a> { _wake_up_klogd + 0x1a } RTS^M

   6 Target : <0x00010f4a> { _wake_up_klogd + 0x1a }^M

     Source : <0x00010f3c> { _wake_up_klogd + 0xc } IF !CC JUMP^M

   7 Target : <0x00010f30> { _wake_up_klogd + 0x0 }^M

     Source : <0x000112d0> { _release_console_sem + 0xb4 } JUMP.L^M

   8 Target : <0x000112ca> { _release_console_sem + 0xae }^M

     Source : <0x000112b0> { _release_console_sem + 0x94 } IF !CC JUMP^M

   9 Target : <0x000112a6> { _release_console_sem + 0x8a }^M

     Source : <0x00023c92> { _up + 0x3e } RTS^M

  10 Target : <0x00023c8c> { _up + 0x38 }^M

     Source : <0x00023c7e> { _up + 0x2a } IF !CC JUMP^M

  11 Target : <0x00023c54> { _up + 0x0 }^M

     Source : <0x000112a2> { _release_console_sem + 0x86 } CALL pcrel^M

  12 Target : <0x0001128e> { _release_console_sem + 0x72 }^M

     Source : <0x00011268> { _release_console_sem + 0x4c } IF !CC JUMP^M

  13 Target : <0x00011256> { _release_console_sem + 0x3a }^M

     Source : <0x0001127e> { _release_console_sem + 0x62 } IF CC JUMP^M

  14 Target : <0x00011278> { _release_console_sem + 0x5c }^M

     Source : <0x00010e2a> { __call_console_drivers + 0x7a } RTS^M

  15 Target : <0x00010e24> { __call_console_drivers + 0x74 }^M

     Source : <0x00010de6> { __call_console_drivers + 0x36 } IF !CC JUMP^M

Stack info:^M

SP: [0x0201bec8] <0x0201bec8> /* kernel dynamic memory */^M

FP: (0x0201bf64)^M

Memory from 0x0201bec0 to 0201c000^M

0201bec0: 0201bec8  001ab00c [00010a4c]<00010a50> 0201bf0c  00186a6c  020544b0  00186a6c ^M

0201bee0: 0000007c <000b63fe><00010a8a> 001be218  02037740  0000000b  fffffff0  001be218 ^M

0201bf00: 001c5acc <000b5f02> 0201bf0c <00186a80> 0201bf24 <000b63fe><000b8fbe> 001be208 ^M

0201bf20: 001ab148  02046f80 <0009df78> 02046f80  0201bf3c <000b90d6><000b9328><0009ea18>^M

0201bf40: 001eb9d8  001ab148  00000001  001eb9e0  001ab148 <000b937a><000b937a> 00000000 ^M

0201bf60: 00000000 (00000000)<001ddc6e> 001ecfd4  00000000  00000000  00000000  00000000 ^M

0201bf80: 001ab148  0013dc44  00000000 <0000102e> 00000000  02037ce0  00003739  00000000 ^M

0201bfa0: 00000000  00000000 <001d2296> 001ecfd4  001ed1cc  00000000  00000000  00000000 ^M

0201bfc0: 00000000  00000000  001ddc48  00000000  00001490 <001d249e> 001ab018  00000000 ^M

0201bfe0: 00000000  00000000  00000000 <00001496> 00000000  00000000  ffffffff  00000006 ^M

Return addresses in stack:^M

    address : <0x00010a4c> { _warn_slowpath_common + 0x44 }^M

    address : <0x00010a50> { _warn_slowpath_common + 0x48 }^M

    address : <0x000b63fe> { _device_release + 0x5a }^M

    address : <0x00010a8a> { _warn_slowpath_fmt + 0x16 }^M

    address : <0x000b5f02> { _device_del + 0x10e }^M

    address : <0x00186a80> /* kernel dynamic memory */^M

    address : <0x000b63fe> { _device_release + 0x5a }^M

    address : <0x000b8fbe> { _platform_device_del + 0x12 }^M

    address : <0x0009df78> { _kobject_cleanup + 0x2c }^M

    address : <0x000b90d6> { _platform_device_add + 0xbe }^M

    address : <0x000b9328> { _platform_device_unregister + 0xc }^M

    address : <0x0009ea18> { _kref_put + 0x4c }^M

    address : <0x000b937a> { _platform_add_devices + 0x46 }^M

    address : <0x000b937a> { _platform_add_devices + 0x46 }^M

   frame  1 : <0x001ddc6e> { _stamp_init + 0x26 }^M

    address : <0x0000102e> { _do_one_initcall + 0x2e }^M

    address : <0x001d2296> { _do_initcalls + 0x2a }^M

    address : <0x001d249e> { _kernel_init + 0x3e }^M

    address : <0x00001496> { _kernel_thread_helper + 0x6 }^M

---[ end trace 4eaa2a86a8e2da22 ]---^M

--

 

Follow-ups

 

--- Michael Hennerich                                        2009-09-28 07:22:38

Sorry that doesn't make much sense:

physmap-flash.0: failed to claim resource 0^M

------------[ cut here ]------------^M

WARNING: at drivers/base/core.c:124 _device_release+0x5a/0x5c()^M

Device 'simple-gpio' does not have a release() function, it is broken and must

be fixed.^M

 

This bug has nothing todo with the isp1760 driver, except that the ISP1760

resources might overlop with physmap.

 

I guess it's more an bug we imported with the recent 2.6.31 update.

 

BTW simple-gpio is not even in our svn anymore.

 

-Michael

 

--- Vivi Li                                                  2009-10-15 05:31:30

This bug has gone. It can boot now.

Close this bug.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

config.usbhost_176x    application/octet-stream    40497    Vivi Li

 

 

 

 

Save changes

Attachments

Outcomes