Modify

Opened 3 years ago

#18092 new defect

jffs2_lzma segfault when installing package

Reported by: mk-openwrt@… Owned by: developers
Priority: high Milestone:
Component: base system Version: Barrier Breaker 14.07
Keywords: lantiq, jffs2, lzma, segfault Cc:

Description

I tried to setup extroot on a vanilla barrier breaker flashed device (ARV752DPW22).
Installing kmod-fs-ext4 reproducibly segfaults:

root@OpenWrt:/tmp# opkg install kmod-fs-ext4_3.10.49-1_lantiq.ipk
Installing kmod-fs-ext4 (3.10.49-1) to root...
Segmentation fault
[  235.256000] CPU 0 Unable to handle kernel paging request at virtual address 1d6ad566, epc == 80010004, ra == 80014044
[  235.264000] Oops[#1]:
[  235.264000] CPU: 0 PID: 1504 Comm: opkg Not tainted 3.10.49 #5
[  235.264000] task: 82ef2548 ti: 82fc8000 task.ti: 82fc8000
[  235.264000] $ 0   : 00000000 0089d908 000192a4 00000010
[  235.264000] $ 4   : c0002000 00000000 c003454a 1d6ad566
[  235.264000] $ 8   : 82957934 82957934 82957358 c0ec6a58
[  235.264000] $12   : 00000001 00000111 00000000 0000000d
[  235.264000] $16   : 0000000d 000005cf 0000002b 0000002b
[  235.264000] $20   : 0000000d 0000001e c0002000 00000000
[  235.264000] $24   : 0000000d 00000933                  
[  235.264000] $28   : 82fc8000 82fc9ad0 8295734b 80014044
[  235.264000] Hi    : 00010633
[  235.264000] Lo    : 333418a0
[  235.264000] epc   : 80010004 GetPureRepPrice+0x34/0x114
[  235.264000]     Not tainted
[  235.264000] ra    : 80014044 LzmaEnc_MemEncode+0x1c0c/0x2cfc
[  235.264000] Status: 1100fc03 KERNEL EXL IE 
[  235.264000] Cause : 00800008
[  235.264000] BadVA : 1d6ad566
[  235.264000] PrId  : 00019641 (MIPS 24KEc)
[  235.264000] Modules linked in: rt2800pci rt2800mmio rt2800lib iptable_nat rt2x00pci rt2x00mmio rt2x00lib pppoe nf_nat_ipv4 nf_conntrack_ipv4 mac80211 ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_id xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT usb_storage pppox ppp_async nf_nat_irc nf_nat_ftp nf_nat nf_defrag_ipv4 nf_conntrack_irc nf_conntrack_ftp ltq_atm_danube iptable_raw iptable_mangle iptable_filter ipt_REJECT ip_tables drv_vmmc crc_itu_t crc_ccitt compat drv_dsl_cpe_api ltq_mei_danube ledtrig_usbdev ip6t_REJECT ip6table_raw ip6table_mangle ip6table_filter ip6_tables x_tables nf_conntrack_ipv6 nf_conntrack nf_defrag_ipv6 sd_mod scsi_mod pppoatm ppp_generic slhc br2684 atm drv_tapi ipv6 eeprom_93cx6 drv_ifxos arc4 crypto_blkcipher ltq_hcd_danube uhci_hcd ehci_pci ehci_platform ehci_hcd gpio_button_hotplug
[  235.264000] Process opkg (pid: 1504, threadinfo=82fc8000, task=82ef2548, tls=772ac440)
[  235.264000] Stack : 82c7c952 00000000 00709ada 83a0ec00 00000001 c0032ca0 00000000 00000000
[  235.264000]    00000000 00000000 000005e7 000005ef 0000009b 00000093 8001594c 82c7c000
[  235.264000]    00001000 00000000 00000004 00000002 82fc9b08 0000000d 00000111 82957934
[  235.264000]    c0032ea0 00000002 0000001e 00000000 000006cd 00000000 c0002002 000004ea
[  235.264000]    c0002570 82957933 000004fd 00000004 00000915 c0032ca0 803704e8 00000932
[  235.264000]    ...
[  235.264000] Call Trace:
[  235.264000] [<80010004>] GetPureRepPrice+0x34/0x114
[  235.264000] [<80014044>] LzmaEnc_MemEncode+0x1c0c/0x2cfc
[  235.264000] [<8016b75c>] jffs2_lzma_compress+0x78/0xbc
[  235.264000] [<8016fd20>] jffs2_selected_compress+0xd8/0x17c
[  235.264000] [<80162888>] jffs2_compress+0x220/0x2b0
[  235.264000] [<801730d0>] jffs2_write_inode_range+0xcc/0x318
[  235.264000] [<80172e54>] jffs2_write_end+0x160/0x310
[  235.264000] [<8011bb18>] generic_file_buffered_write+0x1cc/0x310
[  235.264000] [<8003d420>] __generic_file_aio_write+0x3e0/0x478
[  235.264000] [<8011b8b8>] generic_file_aio_write+0x80/0x114
[  235.264000] [<800e9f5c>] do_sync_write+0x88/0xc0
[  235.264000] [<802f6814>] vfs_write+0xd0/0x1a8
[  235.264000] [<80028d10>] SyS_write+0x58/0xa4
[  235.264000] [<800081b0>] stack_done+0x20/0x44
[  235.264000] 
[  235.264000] 
[  235.264000] Code: 00873821  00063040  00863021 <94e30000> 94c50000  3402c328  386307ff  00052902  00031902 
[  235.548000] ---[ end trace 836aff4f593b3225 ]---

root@OpenWrt:/tmp# uname -a
Linux OpenWrt 3.10.49 #5 Wed Oct 1 15:41:21 CEST 2014 mips GNU/Linux
root@OpenWrt:/tmp# df -h
Filesystem                Size      Used Available Use% Mounted on
rootfs                    3.3M    476.0K      2.8M  14% /
/dev/root                 3.0M      3.0M         0 100% /rom
tmpfs                    29.6M    348.0K     29.3M   1% /tmp
/dev/mtdblock5            3.3M    476.0K      2.8M  14% /overlay
overlayfs:/overlay        3.3M    476.0K      2.8M  14% /
tmpfs  

Attachments (0)

Change History (0)

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.