kowr / compcache

Automatically exported from code.google.com/p/compcache
0 stars 0 forks source link

zram crash during restart on kernel 3.8.3 #111

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. zram restart
2. crash

What version of the product are you using? On what operating system?
kernel 3.8.3 - OpenWrt on ar71xx.
What wonders me: the box has enough free RAM and is does
not happen everything i restart zram.

Please provide any additional information below.

Time: 1363777834.211768
Modules:    sch_teql@808ba000+e40   sch_tbf@808b9000+d70    sch_sfq@808ae000+1f60   sch_re
d@808b2000+1090 sch_prio@808ac000+c80   sch_htb@808b4000+30b0   sch_gred@808a8000+18
30  sch_dsmark@808a1000+da0 em_text@808a5000+530    em_nbyte@80893000+2c0   em_meta@80
8a2000+11a0 em_cmp@8089d000+2e0 cls_basic@8089f000+bd0  act_police@80892000+d40 a
ct_ipt@8089a000+9c0 sch_esfq@80898000+1af0  act_connmark@80861000+350   act_skbedit
@8088b000+6d0   act_mirred@8088f000+9b0 em_u32@8083e000+240 cls_u32@80888000+16f0   
cls_tcindex@80886000+ef0    cls_flow@8087a000+1320  cls_route@80884000+1390 cls_fw@8
087d000+ca0 sch_hfsc@80880000+3320  sch_fq_codel@8086c000+1780  sch_codel@80869000
+fb0    sch_ingress@80876000+3b0    ath79_wdt@80875000+a60  ohci_hcd@80870000+4090  ledt
rig_usbdev@80866000+790 ledtrig_netdev@80860000+c20 ipt_ULOG@80839000+ee0   nf_nat
_irc@80831000+350   nf_nat_ftp@80805000+460 nf_conntrack_irc@80836000+a90   nf_connt
rack_ftp@80834000+1330  xt_HL@80821000+510  xt_hl@8082d000+320  xt_ecn@8082a000+4e0
    ipt_ECN@80822000+540    xt_CLASSIFY@80825000+240    xt_time@8081d000+680    xt_tcpmss@80
81c000+3e0  xt_statistic@8081e000+300   xt_mark@8081b000+2a0    xt_length@80818000+2a0
    xt_DSCP@80810000+580    xt_dscp@80816000+3e0    xt_REDIRECT@80814000+3f0    xt_NETMAP@80
80d000+470  ipt_MASQUERADE@80807000+450 iptable_nat@8080e000+680    xt_nat@80fef000+
440 nf_nat_ipv4@80fc9000+9ce    nf_nat@80808000+268f    xt_recent@80800000+18a0 xt_hel
per@80fea000+360    xt_connmark@80fda000+410    xt_connbytes@80fdc000+5d0   pppoe@80fe80
00+1d90 xt_conntrack@80fd9000+880   xt_CT@80fc7000+970  iptable_raw@80fff000+280    xt
_state@80fcd000+2b0 nf_conntrack_ipv4@80ffc000+11f4 nf_defrag_ipv4@80fc3000+2e6 
nf_conntrack@80ff0000+a601  ehci_platform@80fb5000+6a0  ehci_hcd@80fd0000+758c  ppp
ox@80fab000+52a ipt_REJECT@80fb4000+710 xt_TCPMSS@80fb7000+770  xt_LOG@80fba000+1
850 xt_comment@80fb1000+1e0 xt_multiport@80fa7000+4a0   xt_mac@80fb2000+260 xt_lim
it@80f91000+3f0 iptable_mangle@80dfa000+390 iptable_filter@80fa5000+2a0 ip_table
s@80fa8000+238d xt_tcpudp@80f9e000+690  x_tables@80fa0000+2af5  tun@80f94000+377f   
ppp_async@80f8a000+17b0 ppp_generic@80f98000+4ce2   slhc@80f8c000+10cb  ath9k@80de0
000+164a3   ath9k_common@80c28000+5f9   ath9k_hw@80d80000+5716e ath@80c58000+3aa9   ma
c80211@80d00000+4a45f   zram@80c1e000+1c5c  zsmalloc@80c5c000+1233  usbcore@80c60000
+19f49  usb_common@80c18000+232 nls_base@80c4e000+136e  lzo_decompress@80c43000+76
7   lzo_compress@80c1a000+6c2   crc_ccitt@80c44000+3fb  cfg80211@80c80000+29d26 compa
t@81bf7000+399  arc4@81bfc000+520   crypto_blkcipher@80c10000+2857  aead@80c0a000+10
a0  ledtrig_timer@81b04000+430  ledtrig_default_on@81b77000+1f0 leds_gpio@81acb000
+640    gpio_button_hotplug@81b6c000+db0
<4>[ 1418.550000] mkswap: page allocation failure: order:4, mode:0x10c0d0
<4>[ 1418.550000] Call Trace:
<4>[ 1418.560000] [<8006ddcc>] dump_stack+0x8/0x34
<4>[ 1418.560000] [<800b7ffc>] warn_alloc_failed+0xe8/0x10c
<4>[ 1418.560000] [<800ba4f0>] __alloc_pages_nodemask+0x5c4/0x624
<4>[ 1418.570000] [<800ba568>] __get_free_pages+0x18/0x4c
<4>[ 1418.580000] [<80c1e9c8>] zram_init_device+0xc8/0x4b8 [zram]
<4>[ 1418.580000] [<80c1eb44>] zram_init_device+0x244/0x4b8 [zram]
<4>[ 1418.590000] 
<4>[ 1418.590000] Mem-Info:
<4>[ 1418.590000] Normal per-cpu:
<4>[ 1418.590000] CPU    0: hi:    0, btch:   1 usd:   0
<4>[ 1418.600000] active_anon:1146 inactive_anon:1740 isolated_anon:0
<4>[ 1418.600000]  active_file:151 inactive_file:142 isolated_file:0
<4>[ 1418.600000]  unevictable:0 dirty:0 writeback:0 unstable:0
<4>[ 1418.600000]  free:711 slab_reclaimable:292 slab_unreclaimable:1300
<4>[ 1418.600000]  mapped:188 shmem:2266 pagetables:70 bounce:0
<4>[ 1418.600000]  free_cma:0
<4>[ 1418.630000] Normal free:2844kB min:720kB low:900kB high:1080kB 
active_anon:4584kB inactive_anon:6960kB active_file:604kB inactive_file:568kB 
unevictable:0kB isolated(anon):0kB isolated(file):0kB present:32512kB 
managed:28860kB mlocked:0kB dirty:0kB writeback:0kB mapped:752kB shmem:9064kB 
slab_reclaimable:1168kB slab_unreclaimable:5200kB kernel_stack:320kB 
pagetables:280kB unstable:0kB bounce:0kB free_cma:0kB writeback_tmp:0kB 
pages_scanned:14 all_unreclaimable? no
<4>[ 1418.670000] lowmem_reserve[]: 0 0
<4>[ 1418.670000] Normal: 259*4kB (UEMR) 174*8kB (UEMR) 20*16kB (EMR) 1*32kB 
(R) 1*64kB (R) 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 2844kB
<4>[ 1418.690000] 2559 total pagecache pages
<4>[ 1418.690000] 0 pages in swap cache
<4>[ 1418.690000] Swap cache stats: add 0, delete 0, find 0/0
<4>[ 1418.700000] Free swap  = 0kB
<4>[ 1418.700000] Total swap = 0kB
<4>[ 1418.710000] 8192 pages RAM
<4>[ 1418.710000] 912 pages reserved
<4>[ 1418.710000] 263180 pages shared
<4>[ 1418.720000] 5858 pages non-shared
<3>[ 1418.720000] zram: Error allocating compressor working memory!
<1>[ 1418.730000] CPU 0 Unable to handle kernel paging request at virtual 
address 00000018, epc == 80c5c530, ra == 80c1e888
<4>[ 1418.740000] Oops[#1]:
<4>[ 1418.740000] Cpu 0
<4>[ 1418.740000] $ 0   : 00000000 00000000 00000000 00000000
<4>[ 1418.740000] $ 4   : 00000000 00000001 00000000 801a8370
<4>[ 1418.740000] $ 8   : 20776f72 6b696e67 206d656d 6f727921
<4>[ 1418.740000] $12   : 00000000 00000000 00000000 74696e67
<4>[ 1418.740000] $16   : 00000000 00000000 00000000 80c5cf08
<4>[ 1418.740000] $20   : 000000ff 80109854 80109bb4 00001000
<4>[ 1418.740000] $24   : 00000000 801a605c                  
<4>[ 1418.740000] $28   : 81aaa000 81aabac8 00000000 80c1e888
<4>[ 1418.740000] Hi    : 00000000
<4>[ 1418.740000] Lo    : b61f0000
<4>[ 1418.740000] epc   : 80c5c530 zs_destroy_pool+0x38/0xa0 [zsmalloc]
<4>[ 1418.740000]     Tainted: G         C O
<4>[ 1418.740000] ra    : 80c1e888 __zram_reset_device+0x9c/0xd4 [zram]
<4>[ 1418.740000] Status: 1000dc03    KERNEL EXL IE 
<4>[ 1418.740000] Cause : 00800008
<4>[ 1418.740000] BadVA : 00000018
<4>[ 1418.740000] PrId  : 00019374 (MIPS 24Kc)
<4>[ 1418.740000] Modules linked in: sch_teql sch_tbf sch_sfq sch_red sch_prio 
sch_htb sch_gred sch_dsmark em_text em_nbyte em_meta em_cmp cls_basic 
act_police act_ipt sch_esfq act_connmark act_skbedit act_mirred em_u32 cls_u32 
cls_tcindex cls_flow cls_route cls_fw sch_hfsc sch_fq_codel sch_codel 
sch_ingress ath79_wdt ohci_hcd ledtrig_usbdev ledtrig_netdev ipt_ULOG 
nf_nat_irc nf_nat_ftp nf_conntrack_irc nf_conntrack_ftp xt_HL xt_hl xt_ecn 
ipt_ECN xt_CLASSIFY xt_time xt_tcpmss xt_statistic xt_mark xt_length xt_DSCP 
xt_dscp xt_REDIRECT xt_NETMAP ipt_MASQUERADE iptable_nat xt_nat nf_nat_ipv4 
nf_nat xt_recent xt_helper xt_connmark xt_connbytes pppoe xt_conntrack xt_CT 
iptable_raw xt_state nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack 
ehci_platform ehci_hcd pppox ipt_REJECT xt_TCPMSS xt_LOG xt_comment 
xt_multiport xt_mac xt_limit iptable_mangle iptable_filter ip_tables xt_tcpudp 
x_tables tun ppp_async ppp_generic slhc ath9k(O) ath9k_common(O) ath9k_hw(O) 
ath(O) mac80211(O) zram(C) zsmalloc(C) usbcore usb_common nls_base 
lzo_decompress lzo_compress crc_ccitt cfg80211(O) compat(O) arc4 
crypto_blkcipher aead ledtrig_timer ledtrig_default_on leds_gpio 
gpio_button_hotplug(O)
<4>[ 1418.740000] Process mkswap (pid: 14629, threadinfo=81aaa000, 
task=81b1edb8, tls=77a94440)
<4>[ 1418.740000] Stack : 01c70000 00000001 00000004 80109854 81b45500 00000000 
01c70000 00000001
<4>[ 1418.740000]         00000004 80c1e888 00000000 00000000 80c1f61c 81aabb14 
81aabb14 81b45500
<4>[ 1418.740000]         81b45528 80c1eacc 0047a15f 00000000 00000005 801a8370 
81b45500 81e4ba80
<4>[ 1418.740000]         00000008 80c1eb44 00030002 800cf1c8 80a687e8 00000001 
ffffffff 8015c360
<4>[ 1418.740000]         81a99004 00000028 81c3ca80 0047a15f 81c3cab8 81b1edb8 
81e4ba80 81e4ba80
<4>[ 1418.740000]         ...
<4>[ 1418.740000] Call Trace:
<4>[ 1418.740000] [<80c5c530>] zs_destroy_pool+0x38/0xa0 [zsmalloc]
<4>[ 1418.740000] [<80c1e888>] __zram_reset_device+0x9c/0xd4 [zram]
<4>[ 1418.740000] [<80c1eacc>] zram_init_device+0x1cc/0x4b8 [zram]
<4>[ 1418.740000] [<80c1eb44>] zram_init_device+0x244/0x4b8 [zram]
<4>[ 1418.740000] 
<4>[ 1418.740000] 
<4>[ 1418.740000] Code: 0831715b  2673cf08  02508021 <8e020018> 10400004  
02602021  8e050000  0c01e2a0  00003021 
<4>[ 1419.010000] ---[ end trace ecb46c489260a5e2 ]---

===================================
Time: 1363777839.230872
<4>[ 1418.550000] mkswap: page allocation failure: order:4, mode:0x10c0d0
<4>[ 1418.550000] Call Trace:
<4>[ 1418.560000] [<8006ddcc>] dump_stack+0x8/0x34
<4>[ 1418.560000] [<800b7ffc>] warn_alloc_failed+0xe8/0x10c
<4>[ 1418.560000] [<800ba4f0>] __alloc_pages_nodemask+0x5c4/0x624
<4>[ 1418.570000] [<800ba568>] __get_free_pages+0x18/0x4c
<4>[ 1418.580000] [<80c1e9c8>] zram_init_device+0xc8/0x4b8 [zram]
<4>[ 1418.580000] [<80c1eb44>] zram_init_device+0x244/0x4b8 [zram]
<4>[ 1418.590000] 
<4>[ 1418.590000] Mem-Info:
<4>[ 1418.590000] Normal per-cpu:
<4>[ 1418.590000] CPU    0: hi:    0, btch:   1 usd:   0
<4>[ 1418.600000] active_anon:1146 inactive_anon:1740 isolated_anon:0
<4>[ 1418.600000]  active_file:151 inactive_file:142 isolated_file:0
<4>[ 1418.600000]  unevictable:0 dirty:0 writeback:0 unstable:0
<4>[ 1418.600000]  free:711 slab_reclaimable:292 slab_unreclaimable:1300
<4>[ 1418.600000]  mapped:188 shmem:2266 pagetables:70 bounce:0
<4>[ 1418.600000]  free_cma:0
<4>[ 1418.630000] Normal free:2844kB min:720kB low:900kB high:1080kB 
active_anon:4584kB inactive_anon:6960kB active_file:604kB inactive_file:568kB 
unevictable:0kB isolated(anon):0kB isolated(file):0kB present:32512kB 
managed:28860kB mlocked:0kB dirty:0kB writeback:0kB mapped:752kB shmem:9064kB 
slab_reclaimable:1168kB slab_unreclaimable:5200kB kernel_stack:320kB 
pagetables:280kB unstable:0kB bounce:0kB free_cma:0kB writeback_tmp:0kB 
pages_scanned:14 all_unreclaimable? no
<4>[ 1418.670000] lowmem_reserve[]: 0 0
<4>[ 1418.670000] Normal: 259*4kB (UEMR) 174*8kB (UEMR) 20*16kB (EMR) 1*32kB 
(R) 1*64kB (R) 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 2844kB
<4>[ 1418.690000] 2559 total pagecache pages
<4>[ 1418.690000] 0 pages in swap cache
<4>[ 1418.690000] Swap cache stats: add 0, delete 0, find 0/0
<4>[ 1418.700000] Free swap  = 0kB
<4>[ 1418.700000] Total swap = 0kB
<4>[ 1418.710000] 8192 pages RAM
<4>[ 1418.710000] 912 pages reserved
<4>[ 1418.710000] 263180 pages shared
<4>[ 1418.720000] 5858 pages non-shared
<3>[ 1418.720000] zram: Error allocating compressor working memory!
<1>[ 1418.730000] CPU 0 Unable to handle kernel paging request at virtual 
address 00000018, epc == 80c5c530, ra == 80c1e888
<4>[ 1418.740000] Oops[#1]:
<4>[ 1418.740000] Cpu 0
<4>[ 1418.740000] $ 0   : 00000000 00000000 00000000 00000000
<4>[ 1418.740000] $ 4   : 00000000 00000001 00000000 801a8370
<4>[ 1418.740000] $ 8   : 20776f72 6b696e67 206d656d 6f727921
<4>[ 1418.740000] $12   : 00000000 00000000 00000000 74696e67
<4>[ 1418.740000] $16   : 00000000 00000000 00000000 80c5cf08
<4>[ 1418.740000] $20   : 000000ff 80109854 80109bb4 00001000
<4>[ 1418.740000] $24   : 00000000 801a605c                  
<4>[ 1418.740000] $28   : 81aaa000 81aabac8 00000000 80c1e888
<4>[ 1418.740000] Hi    : 00000000
<4>[ 1418.740000] Lo    : b61f0000
<4>[ 1418.740000] epc   : 80c5c530 zs_destroy_pool+0x38/0xa0 [zsmalloc]
<4>[ 1418.740000]     Tainted: G         C O
<4>[ 1418.740000] ra    : 80c1e888 __zram_reset_device+0x9c/0xd4 [zram]
<4>[ 1418.740000] Status: 1000dc03    KERNEL EXL IE 
<4>[ 1418.740000] Cause : 00800008
<4>[ 1418.740000] BadVA : 00000018
<4>[ 1418.740000] PrId  : 00019374 (MIPS 24Kc)
<4>[ 1418.740000] Modules linked in: sch_teql sch_tbf sch_sfq sch_red sch_prio 
sch_htb sch_gred sch_dsmark em_text em_nbyte em_meta em_cmp cls_basic 
act_police act_ipt sch_esfq act_connmark act_skbedit act_mirred em_u32 cls_u32 
cls_tcindex cls_flow cls_route cls_fw sch_hfsc sch_fq_codel sch_codel 
sch_ingress ath79_wdt ohci_hcd ledtrig_usbdev ledtrig_netdev ipt_ULOG 
nf_nat_irc nf_nat_ftp nf_conntrack_irc nf_conntrack_ftp xt_HL xt_hl xt_ecn 
ipt_ECN xt_CLASSIFY xt_time xt_tcpmss xt_statistic xt_mark xt_length xt_DSCP 
xt_dscp xt_REDIRECT xt_NETMAP ipt_MASQUERADE iptable_nat xt_nat nf_nat_ipv4 
nf_nat xt_recent xt_helper xt_connmark xt_connbytes pppoe xt_conntrack xt_CT 
iptable_raw xt_state nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack 
ehci_platform ehci_hcd pppox ipt_REJECT xt_TCPMSS xt_LOG xt_comment 
xt_multiport xt_mac xt_limit iptable_mangle iptable_filter ip_tables xt_tcpudp 
x_tables tun ppp_async ppp_generic slhc ath9k(O) ath9k_common(O) ath9k_hw(O) 
ath(O) mac80211(O) zram(C) zsmalloc(C) usbcore usb_common nls_base 
lzo_decompress lzo_compress crc_ccitt cfg80211(O) compat(O) arc4 
crypto_blkcipher aead ledtrig_timer ledtrig_default_on leds_gpio 
gpio_button_hotplug(O)
<4>[ 1418.740000] Process mkswap (pid: 14629, threadinfo=81aaa000, 
task=81b1edb8, tls=77a94440)
<4>[ 1418.740000] Stack : 01c70000 00000001 00000004 80109854 81b45500 00000000 
01c70000 00000001
<4>[ 1418.740000]         00000004 80c1e888 00000000 00000000 80c1f61c 81aabb14 
81aabb14 81b45500
<4>[ 1418.740000]         81b45528 80c1eacc 0047a15f 00000000 00000005 801a8370 
81b45500 81e4ba80
<4>[ 1418.740000]         00000008 80c1eb44 00030002 800cf1c8 80a687e8 00000001 
ffffffff 8015c360
<4>[ 1418.740000]         81a99004 00000028 81c3ca80 0047a15f 81c3cab8 81b1edb8 
81e4ba80 81e4ba80
<4>[ 1418.740000]         ...
<4>[ 1418.740000] Call Trace:
<4>[ 1418.740000] [<80c5c530>] zs_destroy_pool+0x38/0xa0 [zsmalloc]
<4>[ 1418.740000] [<80c1e888>] __zram_reset_device+0x9c/0xd4 [zram]
<4>[ 1418.740000] [<80c1eacc>] zram_init_device+0x1cc/0x4b8 [zram]
<4>[ 1418.740000] [<80c1eb44>] zram_init_device+0x244/0x4b8 [zram]
<4>[ 1418.740000] 
<4>[ 1418.740000] 
<4>[ 1418.740000] Code: 0831715b  2673cf08  02508021 <8e020018> 10400004  
02602021  8e050000  0c01e2a0  00003021 
<4>[ 1419.010000] ---[ end trace ecb46c489260a5e2 ]---
<0>[ 1419.010000] Fatal exception: panic in 5 seconds
<0>[ 1424.030000] Kernel panic - not syncing: Fatal exception

Original issue reported on code.google.com by BBitt...@googlemail.com on 20 Mar 2013 at 11:17