Opened 8 years ago

Closed 7 years ago

Last modified 7 years ago

#7456 closed defect (worksforme)

kmod_gre on OpenWrt Backfire on AR71xx platform is broken.

Reported by: kvjajoo@… Owned by: developers
Priority: high Milestone: Backfire 10.03.1
Component: kernel Version: Backfire 10.03
Keywords: Cc:



I am using openwrt backfire on Mikrotik RB433UAH. When i am trying to load kmod-gre module i get the following error.

root@OpenWrt:/lib/modules/ insmod ip_gre.ko
GRE over IPv4 tunneling driver
CPU 0 Unable to handle kernel paging request at virtual address 00000000, epc == 87b60d4c, ra == 87b60d28
Cpu 0
$ 0 : 00000000 00000000 00000001 00000004
$ 4 : 00000000 00000024 87bbec00 801e3188
$ 8 : 00000001 00000000 00000000 00000000
$12 : 00000000 00000052 00000400 00000000
$16 : fffffff4 87a0aa00 80304f30 87b60000
$20 : 87b62af0 00403998 004082bc 00000002
$24 : 00000000 8019b43c
$28 : 87b66000 87b67e58 7fe5e678 87b60d28
Hi : 00000004
Lo : 00000000
epc : 87b60d4c 0x87b60d4c

Tainted: P

ra : 87b60d28 0x87b60d28
Status: 1000f403 KERNEL EXL IE
Cause : 00800008
BadVA : 00000000
PrId : 00019374 (MIPS 24Kc)
Modules linked in: ip_gre(+) ath_pci ath_hal(P) nf_nat_tftp nf_conntrack_tftp nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp ipt_MASQUERADE iptable_nat nf_nat xt_NOTRACK iptable_raw xt_state nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack pppoe pppox ipt_REJECT xt_TCPMSS ipt_LOG xt_comment xt_multiport xt_mac xt_limit iptable_mangle iptable_filter ip_tables xt_tcpudp x_tables ppp_async ppp_generic slhc crc_ccitt leds_gpio button_hotplug gpio_buttons input_polldev input_core
Process insmod (pid: 919, threadinfo=87b66000, task=879be440, tls=00000000)
Stack : 00000001 80305244 fffffff5 87b62c20 87b62af0 00000000 80305244 fffffff5

87b62c20 801e0a68 00000000 8020a2c8 87b62c20 87b67e90 00000001 87b62b00
87b63000 00000000 00498028 87b63058 00000000 00000001 87b62b00 ffffffff
8026aa30 00000001 87b62b00 8006a748 87b62b00 fffffffc 00498018 00498028
00403998 80096d78 fffffffc 00498018 00498028 00000001 87b62b00 fffffffc

Call Trace:[<801e0a68>] 0x801e0a68
[<8020a2c8>] 0x8020a2c8
[<87b63000>] 0x87b63000
[<87b63058>] 0x87b63058
[<8006a748>] 0x8006a748
[<80096d78>] 0x80096d78
[<800a64cc>] 0x800a64cc
[<800c882c>] 0x800c882c
[<800d4edc>] 0x800d4edc
[<80062544>] 0x80062544

Code: 8c44536c 10600003 24020001 <8c820000> 0043102b 00028036 24620001 00021080 00821021
Segmentation fault

Please provide the solution.

Attachments (0)

Change History (3)

comment:1 Changed 7 years ago by Tim Miller Dyck <tim@…>

Hi all, I'm not seeing the ip_gre.ko module at all in OpenWrt 10.03.1-rc3 on an AR71xx device (a TP-LINK TL-WR1043ND router).

# uname -a
Linux #1 Wed Aug 25 15:20:15 PDT 2010 mips GNU/Linux

# ls /lib/modules/*gre*
ls: /lib/modules/*gre*: No such file or directory

I'm looking for this module in order to set up GRE tunnels with OpenWrt. It's inclusion would be much appreciated!

Tim Miller Dyck
Waterloo, Ontario, Canada

comment:2 Changed 7 years ago by jow

  • Resolution set to worksforme
  • Status changed from new to closed

Most likely an ABI mismatch. RC5 contains kmod-gre now. Please try and file a separate ticket if the issue persists.

comment:3 Changed 7 years ago by Tim Miller Dyck <tim@…>

Thanks for the update, jow!

I can install the gre module fine on RC5. Here are instructions for anyone else:

Download and install the module; load the module:

opkg install kmod-gre
insmod ip_gre

Confirm that it is loaded:

lsmod | grep gre
ip_gre                 11312  0

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.