Modify

Opened 4 years ago

Last modified 4 years ago

#14868 new defect

odhcpd generates instruction traps

Reported by: dtaht Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:

Description

During the comcast reload from hell thing I was getting thousands of instruction traps.
Now I'm not getting anywhere near as many, so I can safely turn on (with a "2")
/sys/kernel/debug/mips/unaligned_action

...

Looks like they are coming from odhcpd.

Mon Jan 27 21:20:32 2014 kern.warn kernel: [ 9585.617187] Code: 8c8c0008 158effb1 00000000 <8c8c000c> 158fffae 00000000 8c8c0010 240f0001 02aca826
Mon Jan 27 21:20:32 2014 kern.warn kernel: [ 9585.636718] CPU: 0 PID: 938 Comm: odhcpd Not tainted 3.10.28 #1
Mon Jan 27 21:20:32 2014 kern.warn kernel: [ 9585.640625] task: 87b2af18 ti: 867f8000 task.ti: 867f8000
Mon Jan 27 21:20:32 2014 kern.warn kernel: [ 9585.648437] $ 0 : 00000000 7fa5eb90 00002570 0000002c
Mon Jan 27 21:20:32 2014 kern.warn kernel: [ 9585.652343] $ 4 : 7fa6163a 005496c0 00000000 00000005
Mon Jan 27 21:20:32 2014 kern.warn kernel: [ 9585.656250] $ 8 : 00000001 7fa61656 00000708 00000b40
Mon Jan 27 21:20:32 2014 kern.warn kernel: [ 9585.664062] $12 : 00000000 0000001a 66c00042 00000000
Mon Jan 27 21:20:32 2014 kern.warn kernel: [ 9585.667968] $16 : 7fa6119c 7fa6162a 005482d8 00000001
Mon Jan 27 21:20:32 2014 kern.warn kernel: [ 9585.671875] $20 : 26010009 00000ed3 00000003 00000005
Mon Jan 27 21:20:32 2014 kern.warn kernel: [ 9585.679687] $24 : 00000003 00000000
Mon Jan 27 21:20:32 2014 kern.warn kernel: [ 9585.683593] $28 : 77ede3b0 7fa60bd8 00000019 00407d74
Mon Jan 27 21:20:32 2014 kern.warn kernel: [ 9585.691406] Hi : 00005a00
Mon Jan 27 21:20:32 2014 kern.warn kernel: [ 9585.691406] Lo : 00000200
Mon Jan 27 21:20:32 2014 kern.warn kernel: [ 9585.695312] epc : 0040831c 0x40831c
Mon Jan 27 21:20:32 2014 kern.warn kernel: [ 9585.699218] Not tainted
Mon Jan 27 21:20:32 2014 kern.warn kernel: [ 9585.703125] ra : 00407d74 0x407d74
Mon Jan 27 21:20:32 2014 kern.warn kernel: [ 9585.707031] Status: 0000fc13 USER EXL IE
Mon Jan 27 21:20:32 2014 kern.warn kernel: [ 9585.710937] Cause : 00800010
Mon Jan 27 21:20:32 2014 kern.warn kernel: [ 9585.710937] BadVA : 7fa6164a
Mon Jan 27 21:20:32 2014 kern.warn kernel: [ 9585.714843] PrId : 00019374 (MIPS 24Kc)
Mon Jan 27 21:20:32 2014 kern.warn kernel: [ 9585.718750] Modules linked in: ath9k ath9k_common iptable_nat ath9k_hw ath pppoe nf_nat_ipv4 nf_conntrack_ipv4 mac80211 cfg80211 xt_time xt_tcpudp xt_tcpmss xt_string xt_statistic xt_state xt_recent xt_quota xt_policy xt_pkttype xt_physdev xt_owner xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_hashlimit xt_esp xt_ecn xt_dscp xt_conntrack xt_connmark xt_connbytes xt_comment xt_addrtype xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_DSCP xt_CT xt_CLASSIFY ts_kmp ts_fsm ts_bm pptp pppox ppp_async nf_nat_irc nf_nat_ftp nf_defrag_ipv4 nf_conntrack_irc nf_conntrack_ftp libcrc32c iptable_raw iptable_mangle iptable_filter ipt_ah ipt_REJECT ipt_MASQUERADE ipt_ECN ip_tables crc_ccitt compat sch_teql sch_tbf sch_sfq sch_red sch_qfq sch_prio sch_pie sch_ns2_codel sch_nfq_codel sch_netem sch_htb sch_gred sch_efq_codel sch_dsmark sch_codel em_text em_nbyte em_meta em_cmp cls_basic act_police act_ipt act_connmark act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_hfsc sch_ingress xt_set ip_set_list_set ip_set_hash_netport ip_set_hash_netiface ip_set_hash_net ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6t_NPT ip6t_MASQUERADE ip6table_nat nf_nat_ipv6 nf_nat ip6t_REJECT ip6t_rt ip6t_hbh ip6t_mh ip6t_ipv6header ip6t_frag ip6t_eui64 ip6t_ah ip6table_raw ip6table_mangle ip6table_filter ip6_tables x_tables nf_conntrack_ipv6 nf_conntrack nf_defrag_ipv6 pppoatm ppp_generic slhc ip_gre gre ifb sit ipcomp xfrm4_tunnel xfrm4_mode_tunnel xfrm4_mode_transport xfrm4_mode_beet esp4 ah4 ip6_tunnel tunnel6 tunnel4 ip_tunnel tun tcp_ledbat af_key xfrm_user xfrm_ipcomp xfrm_algo vfat fat autofs4 br2684 atm nls_utf8 nls_iso8859_2 nls_iso8859_15 nls_iso8859_13 nls_iso8859_1 nls_cp437 ipv6 chainiv eseqiv crypto_wq sha1_generic krng rng md5 hmac des_generic deflate zlib_inflate zlib_deflate cbc authenc aead arc4 crypto_blkcipher usb_storage input_polldev leds_gpio ohci_hcd ledtrig_timer ledtrig_default_on ehci_platform ehci_hcd sd_mod scsi_mod gpio_button_hotplug ext4 crc16 jbd2 mbcache button_hotplug input_core usbcore nls_base usb_common crc32c crypto_hash
Mon Jan 27 21:20:32 2014 kern.warn kernel: [ 9585.921875] Process odhcpd (pid: 938, threadinfo=867f8000, task=87b2af18, tls=77f62440)
Mon Jan 27 21:20:32 2014 kern.warn kernel: [ 9585.929687] Stack : 77ede3b0 00000025 26010009 66c00042 00000000 00000000 26010009 66c00042
Mon Jan 27 21:20:32 2014 kern.warn kernel: [ 9585.929687] 00000000 00000000 00000000 00000000 00000000 00000000 77ede3b0 00000000
Mon Jan 27 21:20:32 2014 kern.warn kernel: [ 9585.929687] 77ebe40c 77ed6290 26010009 66c00042 00000000 00000000 00000000 00000000
Mon Jan 27 21:20:32 2014 kern.warn kernel: [ 9585.929687] 7fa6162a 00549704 00000000 00ffff00 7fa615f4 00000001 7fa60cf0 77eb56d4
Mon Jan 27 21:20:32 2014 kern.warn kernel: [ 9585.929687] 00000000 00000000 00000000 00000000 77ede3b0 00000000 00000000 00000000
Mon Jan 27 21:20:32 2014 kern.warn kernel: [ 9585.929687] ...
Mon Jan 27 21:20:32 2014 kern.warn kernel: [ 9585.964843] Call Trace:
Mon Jan 27 21:20:32 2014 kern.warn kernel: [ 9585.968750]
Mon Jan 27 21:20:32 2014 kern.warn kernel: [ 9585.968750]
Mon Jan 27 21:20:32 2014 kern.warn kernel: [ 9585.968750] Code: 8c8c000c 158fffae 00000000 <8c8c0010> 240f0001 02aca826 08102074 01f5c80a 00005021

Attachments (0)

Change History (4)

comment:1 Changed 4 years ago by cyrus

It would be nice to know the function that does the unaligned access. Could you please provide the same trace with an unstripped version of odhcpd (make package/odhcpd/{clean,compile} STRIP=/bin/true) or resolve the function with gdb or so?

Last edited 4 years ago by cyrus (previous) (diff)

comment:2 Changed 4 years ago by dtaht

trap occurs during SyS_prlimit64

I HAD pasted a trap from that here, but it looks like it vanished.

comment:3 Changed 4 years ago by anonymous

latest build, trap still exists.

Tue Feb 18 16:58:07 2014 kern.warn kernel: [ 9622.203125] Process odhcpd (pid: 1442, threadinfo=867b0000, task=86c12fc8, tls=77dc1440)
Tue Feb 18 16:58:07 2014 kern.warn kernel: [ 9622.210937] Stack : 00002595 12a99417 7fa837b0 00407f60 77d403b0 7fa836a8 26010009 66c00235
Tue Feb 18 16:58:07 2014 kern.warn kernel: [ 9622.210937] 00000000 00000000 00000000 77d07a24 26010009 66c00235 00000000 00000000
Tue Feb 18 16:58:07 2014 kern.warn kernel: [ 9622.210937] 40000000 ffffffff 26010009 66c00235 00000000 00000000 00000000 00000000
Tue Feb 18 16:58:07 2014 kern.warn kernel: [ 9622.210937] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Tue Feb 18 16:58:07 2014 kern.warn kernel: [ 9622.210937] 77d403b0 00000000 77d2096c 77d38290 00000000 00000000 009f94e0 77d17bd0
Tue Feb 18 16:58:07 2014 kern.warn kernel: [ 9622.210937] ...
Tue Feb 18 16:58:07 2014 kern.warn kernel: [ 9622.250000] Call Trace:
Tue Feb 18 16:58:07 2014 kern.warn kernel: [ 9622.253906]
Tue Feb 18 16:58:07 2014 kern.warn kernel: [ 9622.253906]
Tue Feb 18 16:58:07 2014 kern.warn kernel: [ 9622.253906] Code: 8fa3001c 14830008 8fa30020 <8e04000c> 14830005 24040001 8e030010 00621026 0082b00a
Tue Feb 18 16:58:07 2014 kern.warn kernel: [ 9622.269531] CPU: 0 PID: 1442 Comm: odhcpd Not tainted 3.10.28 #2
Tue Feb 18 16:58:07 2014 kern.warn kernel: [ 9622.273437] task: 86c12fc8 ti: 867b0000 task.ti: 867b0000
Tue Feb 18 16:58:07 2014 kern.warn kernel: [ 9622.281250] $ 0 : 00000000 7fa81660 000003ce 00000000
Tue Feb 18 16:58:07 2014 kern.warn kernel: [ 9622.285156] $ 4 : 00000001 00000000 00000000 009fa8bc
Tue Feb 18 16:58:07 2014 kern.warn kernel: [ 9622.289062] $ 8 : 00000000 00000000 00000000 00000001
Tue Feb 18 16:58:07 2014 kern.warn kernel: [ 9622.296875] $12 : 0014002b 86710014 00000000 00420000
Tue Feb 18 16:58:07 2014 kern.warn kernel: [ 9622.300781] $16 : 7fa840e6 7fa83c5c 0000002c 7fa840d6
Tue Feb 18 16:58:07 2014 kern.warn kernel: [ 9622.308593] $20 : 009fbb48 009fa860 00000000 00000005
Tue Feb 18 16:58:07 2014 kern.warn kernel: [ 9622.312500] $24 : 0041c380 77d081a0
Tue Feb 18 16:58:07 2014 kern.warn kernel: [ 9622.316406] $28 : 77d403b0 7fa83678 009fa860 0040750c
Tue Feb 18 16:58:07 2014 kern.warn kernel: [ 9622.324218] Hi : 00000000
Tue Feb 18 16:58:07 2014 kern.warn kernel: [ 9622.324218] Lo : 00000b40
Tue Feb 18 16:58:07 2014 kern.warn kernel: [ 9622.328125] epc : 004075a4 0x4075a4
Tue Feb 18 16:58:07 2014 kern.warn kernel: [ 9622.332031] Not tainted
Tue Feb 18 16:58:07 2014 kern.warn kernel: [ 9622.335937] ra : 0040750c 0x40750c
Tue Feb 18 16:58:07 2014 kern.warn kernel: [ 9622.339843] Status: 0000fc13 USER EXL IE
Tue Feb 18 16:58:07 2014 kern.warn kernel: [ 9622.343750] Cause : 00800010
Tue Feb 18 16:58:07 2014 kern.warn kernel: [ 9622.347656] BadVA : 7fa840f6
Tue Feb 18 16:58:07 2014 kern.warn kernel: [ 9622.347656] PrId : 00019374 (MIPS 24Kc)

comment:4 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.