it seems to be a problem with ocf - when i start a program that uses dev 
crypto i get a kernel dump ....

i tried it with openssl 0.9.8 and 1.0.0c

the module loads normal ...

b44 ssb0:0: eth0: Link is up at 100 Mbps, full duplex
b44 ssb0:0: eth0: Flow control is off for TX and off for RX
ocf: module license 'BSD' taints kernel.
Disabling lock debugging due to kernel taint
Sentry5(tm) ROBOGateway(tm) IPSec Core at IRQ 2
ubsec_ssb: DES 3DES AES128 AES192 AES256 MD5_HMAC SHA1_HMAC
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
Installing knfsd (copyright (C) 1996 o...@monad.swb.de).
ip_tables: (C) 2000-2006 Netfilter Core Team
nf_conntrack version 0.5.0 (464 buckets, 1856 max)
xt_time: kernel timezone is -0000
nf_conntrack_rtsp v0.6.21 loading
nf_nat_rtsp v0.6.21 loading

but when a prog uses the crypto dev:

cryptodev: Private data already exists !
Unhandled kernel unaligned access[#1]:
Cpu 0
$ 0   : 00000000 80005104 00000000 80000000
$ 4   : c01c0000 819b0cc0 80046366 7f993470
$ 8   : 00000000 819b0cc0 800a39b0 fffffff8
$12   : 00000000 00000050 ca62c1d6 8193f9d0
$16   : 00000046 81bce5f4 7f993470 7f993470
$20   : 80046366 ffffffff 81bce5d0 80046366
$24   : 00000000 2b083780                  
$28   : 8193e000 8193fd18 7f993470 800a3958
Hi    : 00000000
Lo    : 00000000
epc   : 81bccea0 0x81bccea0
    Tainted: P           
ra    : 800a3958 0x800a3958
Status: 1000dc03    KERNEL EXL IE 
Cause : 00800010
BadVA : 00000046
PrId  : 00029006 (Broadcom BCM3302)
Modules linked in: ipt_ULOG nf_nat_snmp_basic nf_nat_sip nf_conntrack_sip 
nf_nat_rtsp nf_conntrack_rtsp nf_nat_pptp nf_conntrack_pptp nf_nat_h323 
nf_conntrack_h323 nf_nat_proto_gre nf_conntrack_proto_gre nf_nat_amanda 
nf_conntrack_amanda nf_nat_tftp nf_conntrack_tftp nf_nat_irc nf_conntrack_irc 
nf_nat_ftp nf_conntrack_ftp xt_iprange xt_HL xt_hl ipt_ECN xt_CLASSIFY xt_time 
xt_tcpmss xt_statistic xt_mark xt_length ipt_ecn xt_DSCP xt_dscp xt_string 
xt_layer7 xt_quota xt_pkttype xt_owner ipt_MASQUERADE iptable_nat nf_nat 
xt_NOTRACK iptable_raw xt_state nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack 
ipt_REJECT xt_TCPMSS ipt_LOG xt_comment xt_multiport xt_mac xt_limit 
iptable_mangle iptable_filter ip_tables xt_tcpudp x_tables nfsd nfs ext3 jbd 
lockd sunrpc nls_utf8 nls_iso8859_15 ts_fsm ts_bm ts_kmp exportfs ubsec_ssb(P) 
cryptosoft cryptodev(P) ocf(P) deflate ecb cbc ext4 jbd2 mbcache crc16 
usb_storage sd_mod scsi_mod uhci_hcd ehci_hcd usbcore nls_base switch_robo 
switch_core diag
Process irssi (pid: 2520, threadinfo=8193e000, task=81be36b8, tls=00000000)
Stack : 00000026 00000003 00000000 800096c4 2afdd260 81843300 00000000 
8009738c
        00000000 01000001 00080008 00000008 00000000 819b0cc0 81842780 
8023cdb0
        80245154 801627fc 81a5d124 819b0cc0 00000000 81a5d124 819b0cc0 
00000000
        00000000 00000000 00000000 00000000 00000000 00000000 00000000 
00000000
        00000000 00000000 00000001 00000040 00000000 81942e80 00000000 
00000000
        ...
Call Trace:[<800096c4>] 0x800096c4
[<8009738c>] 0x8009738c
[<801627fc>] 0x801627fc
[<8007af0c>] 0x8007af0c
[<80092444>] 0x80092444
[<8007d61c>] 0x8007d61c
[<8009e12c>] 0x8009e12c
[<800a209c>] 0x800a209c
[<80016e44>] 0x80016e44
[<80046366>] 0x80046366
[<800a3958>] 0x800a3958
[<8001ce64>] 0x8001ce64
[<8001cf6c>] 0x8001cf6c
[<8001d268>] 0x8001d268
[<80046366>] 0x80046366
[<800a3a00>] 0x800a3a00
[<800a2f98>] 0x800a2f98
[<80003630>] 0x80003630
[<80005104>] 0x80005104
[<80046366>] 0x80046366


Code: 10510007  00000000  00608021 <8e030000> 1616fffa  cc600000  086f33af  
3c0281bd  16000007 
Unhandled kernel unaligned access[#2]:
Cpu 0
$ 0   : 00000000 00000001 00200000 819b0d2c
$ 4   : 81a5d124 00000046 0000001b 00010000
$ 8   : 802bc640 802bc640 00000001 245c0100
$12   : 00000000 00000000 00000005 00000000
$16   : 819b0cc0 819b0cc0 81bce5d0 00200200
$20   : 00100100 00010000 802bc640 80046366
$24   : 00000000 801972c4                  
$28   : 8193e000 8193fb38 7f993470 80095448
Hi    : f0145d58
Lo    : 3952f303
epc   : 81bcc138 0x81bcc138
    Tainted: P      D    
ra    : 80095448 0x80095448
Status: 1000dc03    KERNEL EXL IE 
Cause : 80800010
BadVA : 00000046
PrId  : 00029006 (Broadcom BCM3302)
Modules linked in: ipt_ULOG nf_nat_snmp_basic nf_nat_sip nf_conntrack_sip 
nf_nat_rtsp nf_conntrack_rtsp nf_nat_pptp nf_conntrack_pptp nf_nat_h323 
nf_conntrack_h323 nf_nat_proto_gre nf_conntrack_proto_gre nf_nat_amanda 
nf_conntrack_amanda nf_nat_tftp nf_conntrack_tftp nf_nat_irc nf_conntrack_irc 
nf_nat_ftp nf_conntrack_ftp xt_iprange xt_HL xt_hl ipt_ECN xt_CLASSIFY xt_time 
xt_tcpmss xt_statistic xt_mark xt_length ipt_ecn xt_DSCP xt_dscp xt_string 
xt_layer7 xt_quota xt_pkttype xt_owner ipt_MASQUERADE iptable_nat nf_nat 
xt_NOTRACK iptable_raw xt_state nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack 
ipt_REJECT xt_TCPMSS ipt_LOG xt_comment xt_multiport xt_mac xt_limit 
iptable_mangle iptable_filter ip_tables xt_tcpudp x_tables nfsd nfs ext3 jbd 
lockd sunrpc nls_utf8 nls_iso8859_15 ts_fsm ts_bm ts_kmp exportfs ubsec_ssb(P) 
cryptosoft cryptodev(P) ocf(P) deflate ecb cbc ext4 jbd2 mbcache crc16 
usb_storage sd_mod scsi_mod uhci_hcd ehci_hcd usbcore nls_base switch_robo 
switch_core diag
Process irssi (pid: 2520, threadinfo=8193e000, task=81be36b8, tls=00000000)
Stack : 802bc640 81aec160 814d6ea0 80199898 819b0cc0 81a5d124 8180c0a0 
814372b4
        8192dee8 80095448 8193fb78 80001844 10000000 0000003f 00000000 
00000000
        819b0cc0 8192dee0 00000014 80091dc8 7f993470 8000a458 00010000 
802c2b8c
        8192dee0 00000001 00000000 800256e0 00000001 6174202c 0000000b 
8193fc68
        0000000b 8193fc68 81be36b8 80000000 80046366 ffffffff 00000001 
8002757c
        ...
Call Trace:[<80199898>] 0x80199898
[<80095448>] 0x80095448
[<80001844>] 0x80001844
[<80091dc8>] 0x80091dc8
[<8000a458>] 0x8000a458
[<800256e0>] 0x800256e0
[<80046366>] 0x80046366
[<8002757c>] 0x8002757c
[<80046366>] 0x80046366
[<80167864>] 0x80167864
[<80046366>] 0x80046366
[<80046366>] 0x80046366
[<80046366>] 0x80046366
[<800132dc>] 0x800132dc
[<80014640>] 0x80014640
[<80001820>] 0x80001820
[<80167864>] 0x80167864
[<80005104>] 0x80005104
[<80046366>] 0x80046366
[<800a39b0>] 0x800a39b0
[<80046366>] 0x80046366
[<80046366>] 0x80046366
[<800a3958>] 0x800a3958
[<81bccea0>] 0x81bccea0
[<800096c4>] 0x800096c4
[<8009738c>] 0x8009738c
[<801627fc>] 0x801627fc
[<8007af0c>] 0x8007af0c
[<80092444>] 0x80092444
[<8007d61c>] 0x8007d61c
[<8009e12c>] 0x8009e12c
[<800a209c>] 0x800a209c
[<80016e44>] 0x80016e44
[<80046366>] 0x80046366
[<800a3958>] 0x800a3958
[<8001ce64>] 0x8001ce64
[<8001cf6c>] 0x8001cf6c
[<8001d268>] 0x8001d268
[<80046366>] 0x80046366
[<800a3a00>] 0x800a3a00
[<800a2f98>] 0x800a2f98
[<80003630>] 0x80003630
[<80005104>] 0x80005104
[<80046366>] 0x80046366


Code: 34540100  3c020020  34530200 <086f3059> 8cb00000  8ca30004  8ca20000  
ac620000  ac430004 
Fixing recursive fault but reboot is needed!


Am Montag, 6. Dezember 2010, 03:42:30 schrieb Peter Wagner:
> Hi,
> 
> for me the kernel doesnt work correctly.
> it seems to be a problem with ubsec...
> 
> cryptodev: Private data already exists !
> Unhandled kernel unaligned access[#1]:
> Cpu 0
> $ 0   : 00000000 80005104 00000000 80000000
> $ 4   : c01c0000 81a11740 80046366 7f9ae278
> $ 8   : 00000000 81a11740 800a39b0 fffffff8
> $12   : 40000000 00000050 ca62c1d6 81be59d0
> $16   : 00000046 81a265f4 7f9ae278 7f9ae278
> $20   : 80046366 ffffffff 81a265d0 80046366
> $24   : 00000000 2b19f780
> $28   : 81be4000 81be5d18 7f9ae278 800a3958
> Hi    : 00000000
> Lo    : 00000000
> epc   : 81a24ea0 0x81a24ea0
>     Tainted: P
> ra    : 800a3958 0x800a3958
> Status: 1000dc03    KERNEL EXL IE
> Cause : 00800010
> BadVA : 00000046
> PrId  : 00029006 (Broadcom BCM3302)
> Modules linked in: usb_storage uhci_hcd ipt_ULOG nf_nat_snmp_basic
> nf_nat_sip nf_conntrack_sip nf_nat_rtsp nf_conntrack_rtsp nf_nat_pptp
> nf_conntrack_pptp nf_nat_h323 nf_conntrack_h323 nf_nat_proto_gre
> nf_conntrack_proto_gre nf_nat_amanda nf_conntrack_amanda nf_nat_tftp
> nf_conntrack_tftp nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp
> xt_iprange xt_HL xt_hl ipt_ECN xt_CLASSIFY xt_time xt_tcpmss xt_statistic
> xt_mark xt_length ipt_ecn xt_DSCP xt_dscp xt_string xt_layer7 xt_quota
> xt_pkttype xt_owner ipt_MASQUERADE iptable_nat nf_nat xt_NOTRACK
> iptable_raw xt_state nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack
> ehci_hcd sd_mod ipt_REJECT xt_TCPMSS ipt_LOG xt_comment xt_multiport
> xt_mac xt_limit iptable_mangle iptable_filter ip_tables xt_tcpudp x_tables
> nfsd nfs ext3 jbd lockd sunrpc ext4 jbd2 nls_utf8 nls_iso8859_15 usbcore
> ts_fsm ts_bm ts_kmp scsi_mod nls_base mbcache exportfs crc16 ubsec_ssb(P)
> cryptosoft cryptodev(P) ocf(P) deflate ecb cbc switch_robo switch_core
> diag
> Process ssh-keygen (pid: 953, threadinfo=81be4000, task=81a01108,
> tls=00000000)
> Stack : 00001800 81be62b0 00000041 81b39494 8028a6e0 8028ac98 00000000
> 00000001
>         00000000 01000001 00080008 00000008 00000000 00000000 00000000
> 00000018
>         000200da 000200da 81b3be20 81ab622c 00000001 81be67f8 00000000
> 8028ac98
>         80000000 00000000 00000000 00000000 00000000 00000000 00000000
> 00000000
>         00000000 00000000 00000001 00000040 00000000 80e5ac80 00000000
> 00000000
>         ...
> Call Trace:[<8007bbd4>] 0x8007bbd4
> [<8007da34>] 0x8007da34
> [<8009e12c>] 0x8009e12c
> [<800a209c>] 0x800a209c
> [<80016e44>] 0x80016e44
> [<80046366>] 0x80046366
> [<800a3958>] 0x800a3958
> [<80082b64>] 0x80082b64
> [<8001ce64>] 0x8001ce64
> [<8001cf6c>] 0x8001cf6c
> [<8001d268>] 0x8001d268
> [<80046366>] 0x80046366
> [<800a3a00>] 0x800a3a00
> [<800a2f98>] 0x800a2f98
> [<80003630>] 0x80003630
> [<80046366>] 0x80046366
> 
> 
> Code: 10510007  00000000  00608021 <8e030000> 1616fffa  cc600000  086893af
> 3c0281a2  16000007
> Unhandled kernel unaligned access[#2]:
> Cpu 0
> $ 0   : 00000000 00000001 00200000 81a117ac
> $ 4   : 818732bc 00000046 00000014 00010000
> $ 8   : 802bc640 802bc640 00000001 80e74000
> $12   : c4653600 0000003c 00000031 3b9aca00
> $16   : 81a11740 81a11740 81a265d0 00200200
> $20   : 00100100 00010000 802bc640 80046366
> $24   : 00000000 80200aa0
> $28   : 81be4000 81be5b38 7f9ae278 80095448
> Hi    : 0000000b
> Lo    : 9812a900
> epc   : 81a24138 0x81a24138
>     Tainted: P      D
> ra    : 80095448 0x80095448
> Status: 1000dc03    KERNEL EXL IE
> Cause : 80800010
> BadVA : 00000046
> PrId  : 00029006 (Broadcom BCM3302)
> Modules linked in: usb_storage uhci_hcd ipt_ULOG nf_nat_snmp_basic
> nf_nat_sip nf_conntrack_sip nf_nat_rtsp nf_conntrack_rtsp nf_nat_pptp
> nf_conntrack_pptp nf_nat_h323 nf_conntrack_h323 nf_nat_proto_gre
> nf_conntrack_proto_gre nf_nat_amanda nf_conntrack_amanda nf_nat_tftp
> nf_conntrack_tftp nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp
> xt_iprange xt_HL xt_hl ipt_ECN xt_CLASSIFY xt_time xt_tcpmss xt_statistic
> xt_mark xt_length ipt_ecn xt_DSCP xt_dscp xt_string xt_layer7 xt_quota
> xt_pkttype xt_owner ipt_MASQUERADE iptable_nat nf_nat xt_NOTRACK
> iptable_raw xt_state nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack
> ehci_hcd sd_mod ipt_REJECT xt_TCPMSS ipt_LOG xt_comment xt_multiport
> xt_mac xt_limit iptable_mangle iptable_filter ip_tables xt_tcpudp x_tables
> nfsd nfs ext3 jbd lockd sunrpc ext4 jbd2 nls_utf8 nls_iso8859_15 usbcore
> ts_fsm ts_bm ts_kmp scsi_mod nls_base mbcache exportfs crc16 ubsec_ssb(P)
> cryptosoft cryptodev(P) ocf(P) deflate ecb cbc switch_robo switch_core
> diag
> Process ssh-keygen (pid: 953, threadinfo=81be4000, task=81a01108,
> tls=00000000)
> Stack : 802bc640 8001d268 81b3be20 8009753c 81a11740 818732bc 8180ce20
> 81482554
>         81818c88 80095448 81be5b78 80001844 10000000 0000001f 00000000
> 00000000
>         81a11740 81818c80 00000010 80091dc8 7f9ae278 8000a458 00010000
> 802c2b8c
>         81818c80 00000001 00000000 800256e0 00000001 6174202c 0000000b
> 81be5c68
>         0000000b 81be5c68 81a01108 80000000 80046366 ffffffff 00000001
> 8002757c
>         ...
> Call Trace:[<8001d268>] 0x8001d268
> [<8009753c>] 0x8009753c
> [<80095448>] 0x80095448
> [<80001844>] 0x80001844
> [<80091dc8>] 0x80091dc8
> [<8000a458>] 0x8000a458
> [<800256e0>] 0x800256e0
> [<80046366>] 0x80046366
> [<8002757c>] 0x8002757c
> [<80046366>] 0x80046366
> [<80167864>] 0x80167864
> [<80046366>] 0x80046366
> [<80046366>] 0x80046366
> [<80046366>] 0x80046366
> [<800132dc>] 0x800132dc
> [<80014640>] 0x80014640
> [<8005f098>] 0x8005f098
> [<80001820>] 0x80001820
> [<8005f478>] 0x8005f478
> [<80005104>] 0x80005104
> [<80046366>] 0x80046366
> [<800a39b0>] 0x800a39b0
> [<80046366>] 0x80046366
> [<80046366>] 0x80046366
> [<800a3958>] 0x800a3958
> [<81a24ea0>] 0x81a24ea0
> [<8007bbd4>] 0x8007bbd4
> [<8007da34>] 0x8007da34
> [<8009e12c>] 0x8009e12c
> [<800a209c>] 0x800a209c
> [<80016e44>] 0x80016e44
> [<80046366>] 0x80046366
> [<800a3958>] 0x800a3958
> [<80082b64>] 0x80082b64
> [<8001ce64>] 0x8001ce64
> [<8001cf6c>] 0x8001cf6c
> [<8001d268>] 0x8001d268
> [<80046366>] 0x80046366
> [<800a3a00>] 0x800a3a00
> [<800a2f98>] 0x800a2f98
> [<80003630>] 0x80003630
> [<80046366>] 0x80046366
> 
> 
> Code: 34540100  3c020020  34530200 <08689059> 8cb00000  8ca30004  8ca20000
> ac620000  ac430004
> Fixing recursive fault but reboot is needed!
> 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: /overlay
> Unhandled kernel unaligned access[#3]:
> Cpu 0
> $ 0   : 00000000 00000001 00000002 81a265f5
> $ 4   : 0081a266 81a265d0 80e8d3a0 8023cdb0
> $ 8   : 00010000 00000001 00000001 fffffff8
> $12   : 009b4848 009b4c98 009b4ef0 2afbceac
> $16   : 80280000 00000046 80e8d3a0 818732bc
> $20   : 80e8d3a0 81482554 00000026 00000003
> $24   : 00000d30 00000000
> $28   : 80eb6000 80eb7d60 00000000 801626b4
> Hi    : 00000000
> Lo    : bb529c30
> epc   : 801626e8 0x801626e8
>     Tainted: P      D
> ra    : 801626b4 0x801626b4
> Status: 1000dc03    KERNEL EXL IE
> Cause : 00800010
> BadVA : 0081a266
> PrId  : 00029006 (Broadcom BCM3302)
> Modules linked in: usb_storage uhci_hcd ipt_ULOG nf_nat_snmp_basic
> nf_nat_sip nf_conntrack_sip nf_nat_rtsp nf_conntrack_rtsp nf_nat_pptp
> nf_conntrack_pptp nf_nat_h323 nf_conntrack_h323 nf_nat_proto_gre
> nf_conntrack_proto_gre nf_nat_amanda nf_conntrack_amanda nf_nat_tftp
> nf_conntrack_tftp nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp
> xt_iprange xt_HL xt_hl ipt_ECN xt_CLASSIFY xt_time xt_tcpmss xt_statistic
> xt_mark xt_length ipt_ecn xt_DSCP xt_dscp xt_string xt_layer7 xt_quota
> xt_pkttype xt_owner ipt_MASQUERADE iptable_nat nf_nat xt_NOTRACK
> iptable_raw xt_state nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack
> ehci_hcd sd_mod ipt_REJECT xt_TCPMSS ipt_LOG xt_comment xt_multiport
> xt_mac xt_limit iptable_mangle iptable_filter ip_tables xt_tcpudp x_tables
> nfsd nfs ext3 jbd lockd sunrpc ext4 jbd2 nls_utf8 nls_iso8859_15 usbcore
> ts_fsm ts_bm ts_kmp scsi_mod nls_base mbcache exportfs crc16 ubsec_ssb(P)
> cryptosoft cryptodev(P) ocf(P) deflate ecb cbc switch_robo switch_core
> diag
> Process ssh-keygen (pid: 1178, threadinfo=80eb6000, task=81b1e268,
> tls=00000000)
> Stack : 818732bc 80097354 81b1e268 80016e44 81b3b520 00000000 00000000
> 81842780
>         818732bc 80097688 80eb7e00 00010000 802bc640 8009dec8 00000003
> 800ef954
>         818732bc 80e8d3a0 00000000 80097560 8180ce20 8009219c fffffff3
> 00000026
>         818732bc 8009d950 80eb7e68 80e8d3a0 00000000 80eb7e68 80eb7e58
> 00000000
>         00000002 80092444 ffffffe9 81418594 00000000 81418594 80e89540
> 00000000
>         ...
> Call Trace:[<80097354>] 0x80097354
> [<80016e44>] 0x80016e44
> [<80097688>] 0x80097688
> [<8009dec8>] 0x8009dec8
> [<800ef954>] 0x800ef954
> [<80097560>] 0x80097560
> [<8009219c>] 0x8009219c
> [<8009d950>] 0x8009d950
> [<80092444>] 0x80092444
> [<8009fa00>] 0x8009fa00
> [<800955d8>] 0x800955d8
> [<800a1cb4>] 0x800a1cb4
> [<80091f34>] 0x80091f34
> [<80003630>] 0x80003630
> 
> 
> Code: 8c640000  10800009  24020002 <8c830000> 10620010  00000000  8c830118
> 8c620000  24420001
> nfsd: peername failed (err 134)!
> lockd: peername failed (err 134)!
> 
> Am Sonntag, 5. Dezember 2010, 21:31:36 schrieb Steve Brown:
> > On Sun, 2010-12-05 at 20:37 +0100, Hauke Mehrtens wrote:
> > > Hi Steve,
> > > 
> > > Thank you for reporting and finding the problem. This should be fixed
> > > in trunk for kernel 2.6.36 and 2.6.37 now.
> > > 
> > > Hauke
> > 
> > The current trunk, r24267, w/ either 2.6.36.1 or 2.6.37-rc4 kernels
> > build and boot on a BCM5354.
> > 
> > Thanks,
> > Steve
> > 
> > 
> > 
> > _______________________________________________
> > openwrt-devel mailing list
> > openwrt-devel@lists.openwrt.org
> > https://lists.openwrt.org/mailman/listinfo/openwrt-devel
> 
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to