[#7462] module operation in fdpic kernel has error info

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

[#7462] module operation in fdpic kernel has error info

Submitted By: Mingquan Pan

Open Date

2012-10-18 05:34:15    

Priority:

Medium     Assignee:

Bob Liu

Status:

Open     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

N/A     Board:

N/A

Processor:

BF537     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Assigned (Not Start)

Uboot version or rev.:

    Toolchain version or rev.:

trunk head

App binary format:

N/A     

Summary: module operation in fdpic kernel has error info

Details:

 

module operation in fdpic kernel has error info .

 

root:/> version

kernel:    Linux release 3.5.0-ADI-2012R1-pre-00845-g04c6763, build #181 Tue Oct 16 00:05:46 CST 2012

toolchain: bfin-linux-uclibc-gcc release gcc version 4.3.5 (ADI-trunk/svn-5865)

user-dist: release svn-10803, build #2440 Tue Oct 16 00:02:58 CST 2012

root:/> successful boot attempt

************** STEP 3: Starting test.

 

modprobe bfin_mac

ELF FDPIC interpreter with invalid DYNAMIC section (inode=177)

Unable to load interpreter

bfin_mii_bus: probed

bfin_mac: attached PHY driver [Generic PHY] (mii_bus:phy_addr=bfin_mii_bus-0:01, irq=-1, mdc_clk=2500000Hz(mdc_div=24)@sclk=125MHz)

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

root:/>

Case 1 ...PASS

 

Case 1 ...PASS

lsmod

Module                  Size  Used by

bfin_mac                8381  0

root:/>

Case 2 ...PASS

 

Case 2 ...PASS

ifconfig eth0 10.100.4.50 up

root:/> PHY: bfin_mii_bus-0:01 - Link is Up - 100/Full

ifconfig

eth0      Link encap:Ethernet  HWaddr 00:E0:FE:67:73:0B 

          inet addr:10.100.4.50  Bcast:10.255.255.255  Mask:255.0.0.0

          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

 

lo        Link encap:Local Loopback 

          inet addr:127.0.0.1  Mask:255.0.0.0

          UP LOOPBACK RUNNING  MTU:16436  Metric:1

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:0

          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

 

root:/>

Case 3 ...PASS

 

Case 3 ...PASS

ping -c 5 10.100.4.174

PING 10.100.4.174 (10.100.4.174): 56 data bytes

64 bytes from 10.100.4.174: seq=0 ttl=64 time=0.494 ms

64 bytes from 10.100.4.174: seq=1 ttl=64 time=0.273 ms

64 bytes from 10.100.4.174: seq=2 ttl=64 time=0.277 ms

64 bytes from 10.100.4.174: seq=3 ttl=64 time=0.287 ms

64 bytes from 10.100.4.174: seq=4 ttl=64 time=0.243 ms

 

--- 10.100.4.174 ping statistics ---

5 packets transmitted, 5 packets received, 0% packet loss

round-trip min/avg/max = 0.243/0.314/0.494 ms

root:/>

Case 4 ...PASS

 

Case 4 ...PASS

rmmod bfin_mac

Illegal use of supervisor resource

<5> - Attempted to use a Supervisor register or instruction from User mode.

<5>   Supervisor resources are registers and instructions that are reserved

<5>   for Supervisor use: Supervisor only registers, all MMRs, and Supervisor

<5>   only instructions.

Kernel OOPS in progress

Deferred Exception context

CURRENT PROCESS:

COMM=rmmod PID=175  CPU=0

TEXT = 0x02980000-0x029d6ea0        DATA = 0x02bd0ea0-0x02bd4b18

BSS = 0x02bd4b18-0x02b20000  USER-STACK = 0x02b3fea0

 

return address: [0x000b9ef6]; contents of:

0x000b9ed0:  3211  6fc2  e511  0010  0c41  1803  9108  0010

0x000b9ee0:  e512  002f  0c42  1803  9110  0010  6000  0010

0x000b9ef0:  0000  3210  ae52 [a310] 0010  0000  0000  0000

0x000b9f00:  0000  0000  0010  0000  3210  3209  e411  0027

 

ADSP-BF537-0.2 500(MHz CCLK) 125(MHz SCLK) (mpu off)

Linux version 3.5.0-ADI-2012R1-pre-00845-g04c6763 (test@uclinux72-kernel-elf-ad1938) (gcc version 4.3.5 (ADI-trunk/svn-5865) ) #181 Tue Oct 16 00:05:46 CST 2012

 

SEQUENCER STATUS:        Not tainted

SEQSTAT: 0000202e  IPEND: 8008  IMASK: ffff  SYSCFG: 0006

  EXCAUSE   : 0x2e

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

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

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

  logical irq  10 mapped  : <0x000d2ea8> { _bfin_rtc_interrupt + 0x0 }

  logical irq  18 mapped  : <0x000b841c> { _bfin_serial_dma_rx_int + 0x0 }

  logical irq  19 mapped  : <0x000b820c> { _bfin_serial_dma_tx_int + 0x0 }

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

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

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

RETS: <0x0009ebe6> { _kobject_uevent_env + 0x2a2 }

PC  : <0x000b9ef6> { _class_dir_child_ns_type + 0x6 }

DCPLB_FAULT_ADDR: <0xffffffe0> /* core mmrs */

ICPLB_FAULT_ADDR: <0x000b9ef6> { _class_dir_child_ns_type + 0x6 }

PROCESSOR STATE:

R0 : 0282c860    R1 : ffffffc0    R2 : 00000001    R3 : 0000001f

R4 : 0017a8cc    R5 : 00177694    R6 : 00000000    R7 : 00000000

P0 : 00000000    P1 : 0282c860    P2 : ffffffb0    P3 : 02073644

P4 : 001bbb84    P5 : 02007be0    FP : 001bbcac    SP : 02c1bcc4

LB0: ffa01770    LT0: ffa0176e    LC0: 00000000

LB1: 000a204e    LT1: 000a2044    LC1: 00000000

B0 : 00000000    L0 : 00000000    M0 : 00000020    I0 : 001b2b8c

B1 : 00000000    L1 : 00000000    M1 : 00000000    I1 : 024f80b4

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 : 02b3fc2c  ASTAT: 02003004

 

Hardware Trace:

   0 Target : <0x00004004> { _trap_c + 0x0 }

     Source : <0xffa00734> { _exception_to_level5 + 0xa4 } JUMP.L

   1 Target : <0xffa00690> { _exception_to_level5 + 0x0 }

     Source : <0xffa00548> { _bfin_return_from_exception + 0x20 } RTX

   2 Target : <0xffa00528> { _bfin_return_from_exception + 0x0 }

     Source : <0xffa005ea> { _ex_trap_c + 0x72 } JUMP.S

   3 Target : <0xffa00578> { _ex_trap_c + 0x0 }

     Source : <0xffa00808> { _trap + 0x68 } JUMP (P4)

   4 Target : <0xffa007be> { _trap + 0x1e }

     Source : <0xffa007ba> { _trap + 0x1a } IF CC JUMP pcrel

   5 Target : <0xffa007a0> { _trap + 0x0 }

      FAULT : <0x000b9ef6> { _class_dir_child_ns_type + 0x6 } P0 = W[P2 + 12]

     Source : <0x000b9ef4> { _class_dir_child_ns_type + 0x4 } R2 = W[P2 + 9](X)

   6 Target : <0x000b9ef0> { _class_dir_child_ns_type + 0x0 }

     Source : <0x0009dd74> { _kobj_child_ns_ops + 0x14 } JUMP (P2)

   7 Target : <0x0009dd6a> { _kobj_child_ns_ops + 0xa }

     Source : <0x0009dd64> { _kobj_child_ns_ops + 0x4 } IF !CC JUMP pcrel

   8 Target : <0x0009dd60> { _kobj_child_ns_ops + 0x0 }

     Source : <0x0009dd7c> { _kobj_ns_ops + 0x4 } CALL pcrel

   9 Target : <0x0009dd78> { _kobj_ns_ops + 0x0 }

     Source : <0x0009ebe2> { _kobject_uevent_env + 0x29e } JUMP.L

  10 Target : <0x0009ebe0> { _kobject_uevent_env + 0x29c }

     Source : <0x0009ebda> { _kobject_uevent_env + 0x296 } IF !CC JUMP pcrel

  11 Target : <0x0009ebd2> { _kobject_uevent_env + 0x28e }

     Source : <0xffa01f42> { _mutex_unlock + 0x26 } RTS

  12 Target : <0xffa01f1c> { _mutex_unlock + 0x0 }

     Source : <0x0009ebce> { _kobject_uevent_env + 0x28a } CALL pcrel

  13 Target : <0x0009ebc2> { _kobject_uevent_env + 0x27e }

     Source : <0x0009eb02> { _kobject_uevent_env + 0x1be } IF CC JUMP pcrel

  14 Target : <0x0009eaf6> { _kobject_uevent_env + 0x1b2 }

     Source : <0x0009eb14> { _kobject_uevent_env + 0x1d0 } IF CC JUMP pcrel (BP)

  15 Target : <0x0009eb12> { _kobject_uevent_env + 0x1ce }

     Source : <0x000f97d8> { _netlink_has_listeners + 0x50 } RTS

Kernel Stack

Stack info:

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

FP: (0x02c1bd78)

Memory from 0x02c1bcd0 to 02c1c000

02c1bcd0: 00000000  02c1bda0  00000480 [000b9ef6] 0009ebe6  0282c860  02003004  000a204e

02c1bcf0: ffa01770  000a2044  ffa0176e  00000000  00000000  00000000  00000000  00000000

02c1bd10: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

02c1bd30: 00000000  00000000  00000000  00000000  00000020  00000000  00000000  024f80b4

02c1bd50: 001b2b8c  02b3fc2c  001bbcac  02007be0  001bbb84  02073644  ffffffb0  0282c860

02c1bd70: 00000000  00000000 (00000000)<00177694> 0017a8cc  0000001f  00000001  ffffffc0

02c1bd90: 0282c860  0282c860  00000000  00000006  02830388  02c1bdc0  00000083  00000000

02c1bdb0: 02073600  0207363c  001bc5bc  0282c960  028e0000  02037a00  02057e54  0207363c

02c1bdd0: 001bc5bc  02b3fc38  000baf6c  02057e54  0207363c  001bc5bc  02073644  001b3060

02c1bdf0: 02b3fea4  02b43f20  02c1bdf8  02c1bdf8  02b3fc38  000cd336  02073600  001b36f8

02c1be10: 001b3060  00000000  02c1be34  00000000  00175524 <02b49180> 02073600  001b3060

02c1be30: 00000000  02b3fea4  00000000  000bca48 <000bca72> 001b3060  02b49edc  001b3094

02c1be50: ffa0221c  02b49f18  0000ffc0  000bcb1a  001b3060  02b49edc  00200200  02831694

02c1be70: 02b54040  000bbf60  02b49f18  02b49edc  0000ffc0 <02b49134> 000bdf6c  00000000

02c1be90:<0003843c> 02b49f18  00000081  02b41798  00000000 <000124a8> 000124b4  6e696662

02c1beb0: 63616d5f  00000000  00000000  00000000  00000000  00000000  00000000  00000000

02c1bed0: 00000000  00000000  00000000  00000000  00000000  00000000  02b49f18  00000880

02c1bef0: 02c1bef4  00000000 <ffa00942> 00038270  00000081  00000000  ffffe000  ffc00014

02c1bf10: 00000002  00000070  02907628  02b43f20  02b3fea4  0290d824  00008000  00002000

02c1bf30: 00000000  02c1c000  0290d824  0290d824  02987db8  ffa010e8  02003004  028438d5

02c1bf50: 0284523f  028438d4  0284523e  00000000  00000000  0000147a  00000000  0000147a

02c1bf70: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

02c1bf90: 00000000  00000000  00000000  00000000  00000000  02b40000  02b40000  02b41798

02c1bfb0: 02b3ffeb  02b3fc2c  02b3fc38  02b42258  02b3fea8  02b41798  02b5515c  0290d818

02c1bfd0: 00000081  00000880 <029cbfe2> 02b3fea4  02b43f20  02907628  00000000  00000880

02c1bff0: 02b3fc64  02b3fc64  00000081  00000006

Return addresses in stack:

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

    address : <0x02b49180> { :bfin_mac:_cleanup_module + 0x64 }

    address : <0x000bca72> { ___device_release_driver + 0x56 }

    address : <0x02b49134> { :bfin_mac:_cleanup_module + 0x18 }

    address : <0x0003843c> { _sys_delete_module + 0x1cc }

    address : <0x000124a8> { ___do_softirq + 0x7c }

    address : <0xffa00942> { _system_call + 0x6a }

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

Modules linked in: bfin_mac(-)

Kernel panic - not syncing: Kernel exception

 

Last passed time: 2012_Oct_14_01_10.

Uclinux-dist version: 10811.

Kernel verion: , Git-id is not found!

 

Case 5 ...FAIL

 

Case 5 ...FAIL

 

Follow-ups

No Messages Were Found

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes