自编WRTnode1固件启动Kernel panic,求助

编译固件是选择了VPN服务strongswan-default 。编译完成后,烧写到WRTnode1,启动提示Kernel panic,然后就循环重启。请问下各位,应该怎么去解决?内核信息如下:
 
Initialize RF Central Registers for E2 !!!
[   20.440000] Initialize RF Central Registers for E3 !!!
[   20.440000] Initialize RF Channel Registers for E2 !!!
[   20.450000] Initialize RF Channel Registers for E3 !!!
[   20.450000] Initialize RF DCCal Registers for E2 !!!
[   20.460000] Initialize RF DCCal Registers for E3 !!!
[   20.460000] D1 = -2, D2 = 9, CalCode = 26 !!!
[   20.470000] RT6352_Temperature_Init : BBPR49 = 0xfffffffd
[   20.480000] RT6352_Temperature_Init : TemperatureRef25C = 0xfffffff3
[   20.480000] Current Temperature from BBP_R49=0xfffffff4
[   20.490000]  TX BW Filter Calibration !!!
[   20.600000]  RX BW Filter Calibration !!!
[   20.810000] LOFT Calibration Done!
[   20.810000] IQCalibration Start!
[   20.830000] IQCalibration Done! CH = 0, (gain= 1, phase= 2)
[   20.830000] IQCalibration Start!
[   20.850000] IQCalibration Done! CH = 1, (gain= 0, phase=3c)
[   20.850000] TX IQ Calibration Done!
[   20.890000] MCS Set = ff ff 00 00 00
[   20.930000] SYNC - BBP R4 to 20MHz.l
[   21.240000] br-lan: port 1(eth0.1) entered forwarding state
[   26.100000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   26.120000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   26.120000] jffs2_build_filesystem(): erasing all blocks after the end marker... 
[   26.690000]  ch1 bssid=64:09:80:1c:68:31
[   26.690000]  ch3 bssid=d4:ee:07:2d:20:6a
[   26.690000]  ch3 bssid=d4:ee:07:29:b8:ca
[   26.700000]  ch5 bssid=a4:56:02:34:23:29
[   26.700000]  ch6 bssid=e4:77:23:3e:f0:e0
[   26.710000]  ch6 bssid=cc:34:29:f9:96:fe
[   26.710000]  ch9 bssid=00:15:6d:ff:3a:f4
[   26.710000]  ch11 bssid=64:51:06:e9:97:38
[   26.720000]  ch11 bssid=f0:b4:29:69:bd:d5
[   26.720000]  ch11 bssid=d4:ee:07:37:cb:ec
[   26.730000]  ch11 bssid=78:eb:14:03:bb:60
[   26.730000]  ch11 bssid=9c:21:6a:ca:21:b4
[   26.730000] =====================================================
[   26.740000] Channel 1 : Dirty = 146, False CCA = 80, Busy Time = 0, Skip Channel = FALSE
[   26.750000] Channel 2 : Dirty = 160, False CCA = 910, Busy Time = 0, Skip Channel = FALSE
[   26.760000] Channel 3 : Dirty = 244, False CCA = 101, Busy Time = 0, Skip Channel = FALSE
[   26.770000] Channel 4 : Dirty = 176, False CCA = 425, Busy Time = 0, Skip Channel = FALSE
[   26.770000] Channel 5 : Dirty = 230, False CCA = 115, Busy Time = 0, Skip Channel = FALSE
[   26.780000] Channel 6 : Dirty = 244, False CCA = 561, Busy Time = 0, Skip Channel = FALSE
[   26.790000] Channel 7 : Dirty = 260, False CCA = 86, Busy Time = 0, Skip Channel = FALSE
[   26.800000] Channel 8 : Dirty = 232, False CCA = 54, Busy Time = 0, Skip Channel = FALSE
[   26.810000] Channel 9 : Dirty = 278, False CCA = 396, Busy Time = 0, Skip Channel = FALSE
[   26.820000] Channel 10 : Dirty = 232, False CCA = 104, Busy Time = 0, Skip Channel = FALSE
[   26.820000] Channel 11 : Dirty = 378, False CCA = 114, Busy Time = 0, Skip Channel = FALSE
[   26.830000] =====================================================
[   26.840000] Rule 1 CCA value : Min Dirtiness ==> Select Channel 1 
[   26.850000] Min Dirty = 146
[   26.850000] ExChannel = 0 , 0
[   26.850000] BW        = 20
[   26.890000] Main bssid = 64:51:7e:80:31:ee
[   26.900000] <==== rt28xx_init, Status=0
[   28.330000] Kernel bug detected[#1]:
[   28.330000] CPU: 0 PID: 1317 Comm: dnsmasq Tainted: P               3.18.23 #2
[   28.330000] task: 829bc4d8 ti: 829a8000 task.ti: 829a8000
[   28.330000] $ 0   : 00000000 0041cde4 00000001 80000000
[   28.330000] $ 4   : 829de000 00000000 00000000 00000001
[   28.330000] $ 8   : 00000001 829de014 00000000 00000000
[   28.330000] $12   : 07dd0101 00000000 00000000 00430c00
[   28.330000] $16   : 00000000 81053bc0 ffffffc0 00000000
[   28.330000] $20   : 829de000 83254780 ffffffec 00000050
[   28.330000] $24   : 00000000 8001fdbc                  
[   28.330000] $28   : 829a8000 829a9950 00000050 833740c8
[   28.330000] Hi    : 00000000
[   28.330000] Lo    : 00000070
[   28.330000] epc   : 8001fdc8 r4k_dma_cache_wback_inv+0xc/0xc8
[   28.330000]     Tainted: P              
[   28.330000] ra    : 833740c8 linux_pci_map_single+0x68/0x94 [rt2860v2_ap]
[   28.330000] Status: 1100e403    KERNEL EXL IE 
[   28.330000] Cause : 50800034
[   28.330000] PrId  : 00019650 (MIPS 24KEc)
[   28.330000] Modules linked in: pppoe ppp_async iptable_nat pppox ppp_generic nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 ipt_REJECT ipt_MASQUERADE xt_time xt_tcpudp xt_state xt_policy xt_nat xt_multiport xt_mark xt_mac xt_limit xt_id xt_esp xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT slhc nf_reject_ipv4 nf_nat_masquerade_ipv4 nf_nat_ftp nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack_ftp nf_conntrack iptable_raw iptable_mangle iptable_filter ipt_ah ip_tables crc_ccitt rt2860v2_ap(P) ralink_eeprom_api ledtrig_usbdev ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_raw ip6table_mangle ip6table_filter ip6_tables x_tables ipcomp6 xfrm6_tunnel xfrm6_mode_tunnel xfrm6_mode_transport xfrm6_mode_beet esp6 ah6 ipcomp xfrm4_tunnel xfrm4_mode_tunnel xfrm4_mode_transport xfrm4_mode_beet esp4 ah4 tunnel6 tunnel4 af_key xfrm_user xfrm_ipcomp xfrm_algo ipv6 chainiv eseqiv crypto_wq sha1_generic krng rng md5 hmac des_generic deflate zlib_inflate zlib_deflate cbc authenc crypto_blkcipher leds_gpio ohci_platform ohci_hcd ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common aead crypto_hash
[   28.330000] Process dnsmasq (pid: 1317, threadinfo=829a8000, task=829bc4d8, tls=778df440)
[   28.330000] Stack : 00000000 00000000 00000000 00000000 00000308 833740c8 00000000 00000000
      00000000 00000000 00000000 a3013000 c03cb000 83346ffc 00000003 00000000
      c03cb000 829de014 0000ff00 00000000 829de000 c03cb000 829de014 00000000
      00000000 83314a78 00000000 00000000 00000000 00000000 00000000 00000000
      00000000 00000000 00000000 000000ff ffffffec 00000005 00000000 00000000
      ...
[   28.330000] Call Trace:
[   28.330000] [<8001fdc8>] r4k_dma_cache_wback_inv+0xc/0xc8
[   28.330000] [<833740c8>] linux_pci_map_single+0x68/0x94 [rt2860v2_ap]
[   28.330000] [<83346ffc>] RtmpPCIMgmtKickOut+0x78/0x110 [rt2860v2_ap]
[   28.330000] [<83314a78>] MlmeHardTransmitMgmtRing+0x314/0x358 [rt2860v2_ap]
[   28.330000] [<833154f4>] MlmeHardTransmit+0x1e4/0x214 [rt2860v2_ap]
[   28.330000] [<83315744>] MiniportMMRequest+0x220/0x32c [rt2860v2_ap]
[   28.330000] 
[   28.330000] 
Code: 27bdffe8  2ca20001  afbf0014 <00020336> 3c028031  2442ac60  8c430008  7c630440  10600013 
[   28.630000] ---[ end trace acbac1bb2d586e81 ]---
[   28.640000] Kernel panic - not syncing: Fatal exception in interrupt
[   28.640000] Rebooting in 3 seconds..
 
已邀请:

xzmu - 10w

赞同来自: noel

个人认为与strongswan高度相关,可能是打开了某些编译头文件的宏定义,造成了指针没对齐

manfeel

赞同来自:

从内核信息来看,问题出在wifi驱动初始化的时刻,请重点检查factory分区(包含wifi调校数据,AR系列称为ART)中的数据是否完好。

大茶园丁 - 如:80后IT男...

赞同来自:

看不出具体原因,建议把dnsmasq去掉 编译不带dnsmasq的固件测试一下还会不会panic.
折腾吧.

要回复问题请先登录注册