OpenWrt Forum Archive

Topic: Unhandled kernel unaligned access[#1]

The content of this topic has been archived on 24 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

After compiling the latest svn (10857) (openwrt-brcm47xx-squashfs.trx) and transfering it to my WL-500gp, I get the following message in the dmesg log:

jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
jffs2_build_filesystem(): unlocking the mtd device... done.
jffs2_build_filesystem(): erasing all blocks after the end marker... done.
mini_fo: using base directory: /
mini_fo: using storage directory: /jffs
Unhandled kernel unaligned access[#1]:
Cpu 0
$ 0   : 00000000 1000dc00 fffffffe 1000dc01
$ 4   : 81b851d0 00000001 00024000 00000000
$ 8   : 72733200 81b85147 00000008 746b3933
$12   : 4808a2f9 00000000 4808a2f9 00000000
$16   : 80210000 81b851d0 00000000 80237800
$20   : 8132b3c0 81d02000 fffffffe 81b1bea4
$24   : 00000018 00000000
$28   : 81baa000 81babc80 7ffe89a0 800cd810
Hi    : ed3f3fb2
Lo    : 0d3d4a83
epc   : 800cd814     Not tainted
ra    : 800cd810 Status: 1000dc03    KERNEL EXL IE
Cause : 00000010
BadVA : 00000006
PrId  : 00029006
Modules linked in: k8055d usb_storage usblp ehci_hcd uhci_hcd ohci_hcd sd_mod nf_nat_tftp nf_conntrack_tftp nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp ext3 jbd ext2 b43 nls_cp850 usbcore scsi_mod nls_base mac80211 cfg80211 arc4 aes deflate ecb cbc blkcipher crypto_hash cryptomgr crypto_algapi switch_robo switch_core diag
Process mount (pid: 841, threadinfo=81baa000, task=812be148)
Stack : 812b3200 800d2c78 00000000 801ff484 8008f738 00000003 81b1bea4 81d96400
        00000000 80237800 8132b3c0 81d02000 81b44000 81babd88 7ffe89a0 800d3060
        80084fc0 80084fac 81b44000 fffffff4 00000000 800d2e84 81d96400 81d96400
        00000000 800d2e84 80288920 8007b9b4 00000001 00000000 00000001 00000000
        80288920 fffffff4 80238600 00000000 81b44000 8007b27c 81d02000 00000000
        ...
Call Trace:[<800d2c78>][<8008f738>][<800d3060>][<80084fc0>][<80084fac>][<800d2e84>][<800d2e84>][<8007b9b4>][<8007b27c>][<8009332c>][<8007b348>][<8000e6e4>][<80095a6c>][<80084fc0>][<80084fac>][<8005236c>][<80055560>][<80003ea0>][<8008633c>][<80093ca8>][<801f8608>][<80095b90>][<80095b38>][<800346c8>][<8000c7b0>][<8000c7b0>]

Code: 0c020c95  02202821  0040b021 <8c420008> 14400005  00000000  0c02389b  02c02021  080336b8
root@OpenWrt:

Any ideas what this is?
/Peter

(Last edited by pfugl on 18 Apr 2008, 15:05)

asus WL-500GPV2 R1.51
kamikaze svn r10910

jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
jffs2_build_filesystem(): unlocking the mtd device... done.
jffs2_build_filesystem(): erasing all blocks after the end marker... done.
mini_fo: using base directory: /
mini_fo: using storage directory: /jffs
Unhandled kernel unaligned access in unaligned.c::emulate_load_store_insn, line 481:
$0 : 00000000 1000fc00 fffffffe 00000002 00000018 8105bf20 816ea040 8105bf18
$8 : 8105bf28 1000fc01 00000008 746b3933 480dbd0c 00000000 0000000a 00000000
$16: 816eaee0 81445400 81d332c0 00000000 00000000 fffffffe 8105e520 816eaee0
$24: 00000018 00000000                   81498000 81499d68 8145e000 80060c04
Hi : 00000000
Lo : 0000001a
epc   : 80060c08    Tainted: P 
Status: 1000fc03
Cause : 00000010
PrId  : 00029029
Process mount (pid: 545, stackpage=81498000)
Stack:    8145e000 800669e4 8145e000 81445400 8004e9c0 00000001 816eaee0
 81445400 81d332c0 00000000 00000000 8019c660 8105e520 00000000 8145e000
 80067110 fffffff4 8145f000 81499e50 8003e444 00000000 00000000 80154a24
 00000001 00000000 8145f000 81445400 8145f000 81499e50 8145f000 8003e95c
 8003e930 811f2001 00000003 00271d65 81498000 816552a0 816553a0 811f2000
 81499e50 ...
Call Trace:   [<800669e4>] [<8004e9c0>] [<80067110>] [<8003e444>] [<80154a24>]
 [<8003e95c>] [<8003e930>] [<80053abc>] [<800305f0>] [<800534d4>] [<80137824>]
 [<80053fc4>] [<80008a60>] [<8000f034>] [<8005bb0c>]

Code: 0c011224  24060017  0040a821 <8c420008> 14400005  00000000  0c01381c  02a02021  080183a2

edit: this happens on the first boot only

(Last edited by lgvienna on 23 Apr 2008, 10:40)

Trunk really needs some stabilizing instead of adding more crap for some time now...

ok this seems to be config-related.
it does not occur with an unchanged (broadcom-2.4/generic-broadcom-default-)config.
even with kernel-modules for usb-storage and filesystems everything is ok.
i will try to find out which package/option is causing this ...

(used r10926 now)

mount-utils is causing this.
rechecked with r10934 now.

"pfugl": can you confirm you had mount-utils enabled?

edit: opened ticket, https://dev.openwrt.org/ticket/3374

(Last edited by lgvienna on 24 Apr 2008, 16:22)

lgvienna wrote:

mount-utils is causing this.
rechecked with r10934 now.

"pfugl": can you confirm you had mount-utils enabled?

edit: opened ticket, https://dev.openwrt.org/ticket/3374

Yes, I did have mount-utils enabled. Thanks.

The discussion might have continued from here.