Imx6q fec dump

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Imx6q fec dump

966 Views
Jacky_Song
Contributor III

Hi,everyone:

      I am working on a imx6q board with linux-3.0.35,and i have issue. In kernel source there is no fec.c but a fec.module instead in /driver/net/ .and the kernel  stoped  after fec_enet_mii_bus: probed 

[ 2.276373] Fixed MDIO Bus: probed
[ 2.280383] vcan: Virtual CAN interface driver
[ 2.284832] CAN device driver interface
[ 2.288672] flexcan netdevice driver
[ 2.292398] FEC Ethernet Driver
[ 2.297699] fec_enet_mii_bus: probed
[ 2.301323] Unable to handle kernel NULL pointer dereference at virtual address 00000000
[ 2.309422] pgd = 80004000
[ 2.312151] [00000000] *pgd=00000000
[ 2.315745] Internal error: Oops: 5 [#1] PREEMPT SMP
[ 2.320713] Modules linked in:
[ 2.323785] CPU: 0 Not tainted (3.0.35-2508-g54750ff #106)
[ 2.329635] PC is at register_netdevice+0x5c/0x37c
[ 2.334431] LR is at 0x30687465
[ 2.337576] pc : [<80345190>] lr : [<30687465>] psr: 60000013
[ 2.337581] sp : e9fddeb0 ip : 0000001c fp : fffffffa
[ 2.349070] r10: e4405400 r9 : e9e91808 r8 : e9e88e60
[ 2.354297] r7 : e4455460 r6 : e9afc000 r5 : 00000000 r4 : e9afc000
[ 2.360827] r3 : 00000000 r2 : 00000000 r1 : e9fdde80 r0 : 00000000
[ 2.367359] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel
[ 2.374672] Control: 10c53c7d Table: 1000404a DAC: 00000015
[ 2.380419] Process swapper (pid: 1, stack limit = 0xe9fdc2f0)
[ 2.386256] Stack: (0xe9fddeb0 to 0xe9fde000)
[ 2.390620] dea0: e9afc000 e9e91800 e9afc000 e4455460
[ 2.398803] dec0: e9e88e60 803454c4 e9afc000 803fd268 e9e91968 e9afc000 e9fcbed8 805a9c90
[ 2.406986] dee0: e9e8f398 00000000 e9e91808 e9e91808 805f2b28 e9e9183c 00000000 805a9b7c
[ 2.415169] df00: 00000000 8001e2fc 00000000 8027e2f4 8027e2dc 8027d128 e9e91808 805a9b7c
[ 2.423351] df20: e9e9183c 00000000 00000000 8027d2c0 805a9b7c 00000000 8027d234 8027c364
[ 2.431534] df40: e9f06c00 e9e8bb38 805a9b7c 805a75c8 e44496c0 8027cb04 804d6668 805a9b7c
[ 2.439716] df60: e9fdc000 805a9b7c e9fdc000 80038ad8 00000000 00000000 8001e2fc 8027d76c
[ 2.447899] df80: 805bc540 e9fdc000 80038ad8 00000000 00000000 8003253c 800a9014 8057d080
[ 2.456082] dfa0: 000001df 8001e2fc 000001df 00000013 00000000 3734ea08 00000039 00000000
[ 2.464264] dfc0: 80592aa8 80029238 80029370 80038ad8 00000013 00000000 00000000 00000000
[ 2.472446] dfe0: 00000000 800089ac 00000000 00000000 80008914 80038ad8 fdd7fabe fffbdf5e
[ 2.480642] [<80345190>] (register_netdevice+0x5c/0x37c) from [<803454c4>] (register_netdev+0x14/0x24)
[ 2.489963] [<803454c4>] (register_netdev+0x14/0x24) from [<803fd268>] (fec_probe+0x6f0/0x748)
[ 2.498595] [<803fd268>] (fec_probe+0x6f0/0x748) from [<8027e2f4>] (platform_drv_probe+0x18/0x1c)
[ 2.507481] [<8027e2f4>] (platform_drv_probe+0x18/0x1c) from [<8027d128>] (driver_probe_device+0x90/0x19c)
[ 2.517144] [<8027d128>] (driver_probe_device+0x90/0x19c) from [<8027d2c0>] (__driver_attach+0x8c/0x90)
[ 2.526547] [<8027d2c0>] (__driver_attach+0x8c/0x90) from [<8027c364>] (bus_for_each_dev+0x5c/0x88)
[ 2.535602] [<8027c364>] (bus_for_each_dev+0x5c/0x88) from [<8027cb04>] (bus_add_driver+0x178/0x238)
[ 2.544743] [<8027cb04>] (bus_add_driver+0x178/0x238) from [<8027d76c>] (driver_register+0x78/0x13c)
[ 2.553896] [<8027d76c>] (driver_register+0x78/0x13c) from [<8003253c>] (do_one_initcall+0x34/0x174)
[ 2.563041] [<8003253c>] (do_one_initcall+0x34/0x174) from [<800089ac>] (kernel_init+0x98/0x13c)
[ 2.571842] [<800089ac>] (kernel_init+0x98/0x13c) from [<80038ad8>] (kernel_thread_exit+0x0/0x8)
[ 2.580635] Code: e1a06004 e2505000 ba000042 e59430d8 (e5933000)
[ 2.586762] ---[ end trace 99a6ae3ba28139d5 ]---

how could i solv this problem? thanks very much! 

Labels (1)
Tags (1)
0 Kudos
2 Replies

677 Views
igorpadykov
NXP Employee
NXP Employee

Hi Jacky

please check fec configuration using Chapter 37
Fast Ethernet Controller (FEC) Driver attached Linux Manual.

Also exception can be caused by ddr errors, may be recommended to run

ddr test and rebuild image with new calibration coefficients.

https://community.freescale.com/docs/DOC-105652 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

677 Views
Jacky_Song
Contributor III

hi,i'm sorry for no reply

the fec is ok now. the configure has problem,when i choose ppp driver and wireless hostapd the kernel goes well.and i dont kown why. anyway it's ok now.

0 Kudos