linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Mpc8315erdb openvpn segmentation fault
@ 2011-03-07 11:09 Vasanth Ragavendran
  2011-03-07 20:22 ` Scott Wood
  0 siblings, 1 reply; 7+ messages in thread
From: Vasanth Ragavendran @ 2011-03-07 11:09 UTC (permalink / raw)
  To: linuxppc-dev


i'm facing a problem. i've installed openvpn on mpc8315erdb board and when i
give the command

openvpn --mktun --dev tap0 i get the error

 

[root@mpc8315erdb /]# openvpn --mktun --dev tap0
Sat Jan  1 01:04:21 2000 OpenVPNUnable to handle kernel paging request for
data
at address 0x00000000
 2.0.9 ppc-rpm-lFaulting instruction address: 0xc90a208c
inux-gnu [SSL] [Oops: Kernel access of bad area, sig: 11 [#1]
MPC831x RDB
Modules linked in: tun
**bleep**: c90a208c LR: c90a2068 CTR: c0288e58
REGS: c294fd80 TRAP: 0300   Not tainted  (2.6.29.6)
MSR: 00009032 <EE,ME,IR,DR>  CR: 24002424  XER: 20000000
DAR: 00000000, DSISR: 20000000
TASK = c70b6440[1635] 'openvpn' THREAD: c294e000
GPR00: 00000001 c294fe30 c70b6440 c03ebcf4 bfafa0d4 0000001c c294fe58
0fd8dc58
GPR08: 00000000 00000001 ffffffe7 00000000 84002428 100787e0 07ff9000
00000004
GPR16: 00000000 00000000 bfafa930 00010000 00010000 ffffffff 00000005
3b9aca00
GPR24: c7023d20 c294fe3c bfafa0b8 c653e6e0 00000000 c040baf4 bfafa0b8
800454ca
Call Trace:
[c294fe30] [c90a2068] 0xc90a2068 (unreliable)
[c294fe90] [c008054c] 0xc008054c
[c294fea0] [c00809c4] 0xc00809c4
[c294ff10] [c0080c9c] 0xc0080c9c
[c294ff40] [c001141c] 0xc001141c
--- Exception: c01 at 0xfce8268
    LR = 0xfd6bdec
Instruction dump:
4bfffecc 9b81001b 480008ed 3d20c90a 38000001 8129306c 81620308 2f890000
830201a4 83ab0014 817d0124 419e0014 <800b0000> 7c090010 7c000110 7c0000d0
LZO] [EPOLL] bui---[ end trace 54eee2a93ccf53d1 ]---
lt on Mar  2 2011
Sat Jan  1 01:04:21 2000 IMPORTANT: OpenVPN's default port number is now
1194, b
ased on an official port number assignment by IANA.  OpenVPN 2.0-beta16 and
earl
ier used 5000 as the default port.
Sat Jan  1 01:04:21 2000 ******* WARNING *******: all encryption and
authenticat
ion features disabled -- all data will be tunnelled as cleartext
Segmentation fault

 

Some one plz help me out! wat does this mean? Coz with the same kernel image
and the same settings  i'm able to successfully run the above command on
another mpc8315erdb board. but it fails on one of the board! any ideas would
be of great help to me!! plz!
-- 
View this message in context: http://old.nabble.com/Mpc8315erdb-openvpn-segmentation-fault-tp31086738p31086738.html
Sent from the linuxppc-dev mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Mpc8315erdb openvpn segmentation fault
  2011-03-07 11:09 Mpc8315erdb openvpn segmentation fault Vasanth Ragavendran
@ 2011-03-07 20:22 ` Scott Wood
  2011-03-08  4:28   ` Vasanth Ragavendran
  0 siblings, 1 reply; 7+ messages in thread
From: Scott Wood @ 2011-03-07 20:22 UTC (permalink / raw)
  To: Vasanth Ragavendran; +Cc: linuxppc-dev

On Mon, 7 Mar 2011 03:09:27 -0800
Vasanth Ragavendran <ragavendrapec@yahoo.co.in> wrote:

> 
> i'm facing a problem. i've installed openvpn on mpc8315erdb board and when i
> give the command
> 
> openvpn --mktun --dev tap0 i get the error
> 
>  
> 
> [root@mpc8315erdb /]# openvpn --mktun --dev tap0
> Sat Jan  1 01:04:21 2000 OpenVPNUnable to handle kernel paging request for
> data
> at address 0x00000000
>  2.0.9 ppc-rpm-lFaulting instruction address: 0xc90a208c
> inux-gnu [SSL] [Oops: Kernel access of bad area, sig: 11 [#1]
> MPC831x RDB
> Modules linked in: tun
> **bleep**: c90a208c LR: c90a2068 CTR: c0288e58
> REGS: c294fd80 TRAP: 0300   Not tainted  (2.6.29.6)
> MSR: 00009032 <EE,ME,IR,DR>  CR: 24002424  XER: 20000000
> DAR: 00000000, DSISR: 20000000
> TASK = c70b6440[1635] 'openvpn' THREAD: c294e000
> GPR00: 00000001 c294fe30 c70b6440 c03ebcf4 bfafa0d4 0000001c c294fe58
> 0fd8dc58
> GPR08: 00000000 00000001 ffffffe7 00000000 84002428 100787e0 07ff9000
> 00000004
> GPR16: 00000000 00000000 bfafa930 00010000 00010000 ffffffff 00000005
> 3b9aca00
> GPR24: c7023d20 c294fe3c bfafa0b8 c653e6e0 00000000 c040baf4 bfafa0b8
> 800454ca
> Call Trace:
> [c294fe30] [c90a2068] 0xc90a2068 (unreliable)
> [c294fe90] [c008054c] 0xc008054c
> [c294fea0] [c00809c4] 0xc00809c4
> [c294ff10] [c0080c9c] 0xc0080c9c
> [c294ff40] [c001141c] 0xc001141c
> --- Exception: c01 at 0xfce8268
>     LR = 0xfd6bdec
> Instruction dump:
> 4bfffecc 9b81001b 480008ed 3d20c90a 38000001 8129306c 81620308 2f890000
> 830201a4 83ab0014 817d0124 419e0014 <800b0000> 7c090010 7c000110 7c0000d0
> LZO] [EPOLL] bui---[ end trace 54eee2a93ccf53d1 ]---
> lt on Mar  2 2011
> Sat Jan  1 01:04:21 2000 IMPORTANT: OpenVPN's default port number is now
> 1194, b
> ased on an official port number assignment by IANA.  OpenVPN 2.0-beta16 and
> earl
> ier used 5000 as the default port.
> Sat Jan  1 01:04:21 2000 ******* WARNING *******: all encryption and
> authenticat
> ion features disabled -- all data will be tunnelled as cleartext
> Segmentation fault
> 
>  
> 
> Some one plz help me out! wat does this mean? Coz with the same kernel image
> and the same settings  i'm able to successfully run the above command on
> another mpc8315erdb board. but it fails on one of the board! any ideas would
> be of great help to me!! plz!

Please turn on CONFIG_KALLSYMS, so that symbols will be reported in the
crash dump, and let us know which kernel you're using.

Are the other boards where it does not fail running the same kernel?  Same
userspace?  Same U-Boot?  Anything else different?

-Scott

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Mpc8315erdb openvpn segmentation fault
  2011-03-07 20:22 ` Scott Wood
@ 2011-03-08  4:28   ` Vasanth Ragavendran
  2011-03-08 18:52     ` Scott Wood
  0 siblings, 1 reply; 7+ messages in thread
From: Vasanth Ragavendran @ 2011-03-08  4:28 UTC (permalink / raw)
  To: linuxppc-dev


Thanks a ton Scott. Actually i was working with the same version of the
kernel on both the boards.
it was 2.6.29.6. neither i changed the u-boot. it was the same in both.
however i recompiled the kernel and i installed on both the boards and it
worked fine! :) thanks again for responding. however i've another question.
my filesystem in the board is non-persistent i.e. the files i create are
erased after i reboot i know the files are getting stored in RAM and i wish
to make them persistent. what do i need to do for this? should i create a
separate partition in the flash and load certain files into that partition?
or how should i make it persistent so that files stay beyond reboot! thanks
again! eagerly awaiting your response.


Scott Wood-2 wrote:
> 
> On Mon, 7 Mar 2011 03:09:27 -0800
> Vasanth Ragavendran <ragavendrapec@yahoo.co.in> wrote:
> 
>> 
>> i'm facing a problem. i've installed openvpn on mpc8315erdb board and
>> when i
>> give the command
>> 
>> openvpn --mktun --dev tap0 i get the error
>> 
>>  
>> 
>> [root@mpc8315erdb /]# openvpn --mktun --dev tap0
>> Sat Jan  1 01:04:21 2000 OpenVPNUnable to handle kernel paging request
>> for
>> data
>> at address 0x00000000
>>  2.0.9 ppc-rpm-lFaulting instruction address: 0xc90a208c
>> inux-gnu [SSL] [Oops: Kernel access of bad area, sig: 11 [#1]
>> MPC831x RDB
>> Modules linked in: tun
>> **bleep**: c90a208c LR: c90a2068 CTR: c0288e58
>> REGS: c294fd80 TRAP: 0300   Not tainted  (2.6.29.6)
>> MSR: 00009032 <EE,ME,IR,DR>  CR: 24002424  XER: 20000000
>> DAR: 00000000, DSISR: 20000000
>> TASK = c70b6440[1635] 'openvpn' THREAD: c294e000
>> GPR00: 00000001 c294fe30 c70b6440 c03ebcf4 bfafa0d4 0000001c c294fe58
>> 0fd8dc58
>> GPR08: 00000000 00000001 ffffffe7 00000000 84002428 100787e0 07ff9000
>> 00000004
>> GPR16: 00000000 00000000 bfafa930 00010000 00010000 ffffffff 00000005
>> 3b9aca00
>> GPR24: c7023d20 c294fe3c bfafa0b8 c653e6e0 00000000 c040baf4 bfafa0b8
>> 800454ca
>> Call Trace:
>> [c294fe30] [c90a2068] 0xc90a2068 (unreliable)
>> [c294fe90] [c008054c] 0xc008054c
>> [c294fea0] [c00809c4] 0xc00809c4
>> [c294ff10] [c0080c9c] 0xc0080c9c
>> [c294ff40] [c001141c] 0xc001141c
>> --- Exception: c01 at 0xfce8268
>>     LR = 0xfd6bdec
>> Instruction dump:
>> 4bfffecc 9b81001b 480008ed 3d20c90a 38000001 8129306c 81620308 2f890000
>> 830201a4 83ab0014 817d0124 419e0014 <800b0000> 7c090010 7c000110 7c0000d0
>> LZO] [EPOLL] bui---[ end trace 54eee2a93ccf53d1 ]---
>> lt on Mar  2 2011
>> Sat Jan  1 01:04:21 2000 IMPORTANT: OpenVPN's default port number is now
>> 1194, b
>> ased on an official port number assignment by IANA.  OpenVPN 2.0-beta16
>> and
>> earl
>> ier used 5000 as the default port.
>> Sat Jan  1 01:04:21 2000 ******* WARNING *******: all encryption and
>> authenticat
>> ion features disabled -- all data will be tunnelled as cleartext
>> Segmentation fault
>> 
>>  
>> 
>> Some one plz help me out! wat does this mean? Coz with the same kernel
>> image
>> and the same settings  i'm able to successfully run the above command on
>> another mpc8315erdb board. but it fails on one of the board! any ideas
>> would
>> be of great help to me!! plz!
> 
> Please turn on CONFIG_KALLSYMS, so that symbols will be reported in the
> crash dump, and let us know which kernel you're using.
> 
> Are the other boards where it does not fail running the same kernel?  Same
> userspace?  Same U-Boot?  Anything else different?
> 
> -Scott
> 
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev@lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/linuxppc-dev
> 
> 

-- 
View this message in context: http://old.nabble.com/Mpc8315erdb-openvpn-segmentation-fault-tp31086738p31094242.html
Sent from the linuxppc-dev mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Mpc8315erdb openvpn segmentation fault
  2011-03-08  4:28   ` Vasanth Ragavendran
@ 2011-03-08 18:52     ` Scott Wood
  2011-03-09  1:43       ` Vasanth Ragavendran
  2011-03-09  7:24       ` Vasanth Ragavendran
  0 siblings, 2 replies; 7+ messages in thread
From: Scott Wood @ 2011-03-08 18:52 UTC (permalink / raw)
  To: Vasanth Ragavendran; +Cc: linuxppc-dev

On Mon, 7 Mar 2011 20:28:32 -0800
Vasanth Ragavendran <ragavendrapec@yahoo.co.in> wrote:

> 
> Thanks a ton Scott. Actually i was working with the same version of the
> kernel on both the boards.
> it was 2.6.29.6. neither i changed the u-boot. it was the same in both.
> however i recompiled the kernel and i installed on both the boards and it
> worked fine! :) thanks again for responding. however i've another question.
> my filesystem in the board is non-persistent i.e. the files i create are
> erased after i reboot i know the files are getting stored in RAM and i wish
> to make them persistent. what do i need to do for this? should i create a
> separate partition in the flash and load certain files into that partition?
> or how should i make it persistent so that files stay beyond reboot! thanks
> again! eagerly awaiting your response.

Yes, you should create a filesystem (e.g. jffs2) on a flash partition.

-Scott

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Mpc8315erdb openvpn segmentation fault
  2011-03-08 18:52     ` Scott Wood
@ 2011-03-09  1:43       ` Vasanth Ragavendran
  2011-03-09  7:24       ` Vasanth Ragavendran
  1 sibling, 0 replies; 7+ messages in thread
From: Vasanth Ragavendran @ 2011-03-09  1:43 UTC (permalink / raw)
  To: linuxppc-dev


Thanks again Scott. That was really helpful. Actually i forgot to mention
that i had created an ext2 ramdisk file system and it was non-persistent.
and then i changed the file system to jffs2 and it is persistent. so my
question is why is that the ext2 ramdisk is non-persistent? and what needs
to be changed in order to make it persistent. thanks again for prompt
response..


Scott Wood-2 wrote:
> 
> On Mon, 7 Mar 2011 20:28:32 -0800
> Vasanth Ragavendran <ragavendrapec@yahoo.co.in> wrote:
> 
>> 
>> Thanks a ton Scott. Actually i was working with the same version of the
>> kernel on both the boards.
>> it was 2.6.29.6. neither i changed the u-boot. it was the same in both.
>> however i recompiled the kernel and i installed on both the boards and it
>> worked fine! :) thanks again for responding. however i've another
>> question.
>> my filesystem in the board is non-persistent i.e. the files i create are
>> erased after i reboot i know the files are getting stored in RAM and i
>> wish
>> to make them persistent. what do i need to do for this? should i create a
>> separate partition in the flash and load certain files into that
>> partition?
>> or how should i make it persistent so that files stay beyond reboot!
>> thanks
>> again! eagerly awaiting your response.
> 
> Yes, you should create a filesystem (e.g. jffs2) on a flash partition.
> 
> -Scott
> 
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev@lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/linuxppc-dev
> 
> 

-- 
View this message in context: http://old.nabble.com/Mpc8315erdb-openvpn-segmentation-fault-tp31086738p31102807.html
Sent from the linuxppc-dev mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Mpc8315erdb openvpn segmentation fault
  2011-03-08 18:52     ` Scott Wood
  2011-03-09  1:43       ` Vasanth Ragavendran
@ 2011-03-09  7:24       ` Vasanth Ragavendran
  2011-03-14  2:46         ` Vasanth Ragavendran
  1 sibling, 1 reply; 7+ messages in thread
From: Vasanth Ragavendran @ 2011-03-09  7:24 UTC (permalink / raw)
  To: linuxppc-dev


Thanks again Scott. That was really helpful. Actually i forgot to mention
that i had created an ext2 ramdisk file system and it was non-persistent
(the mount point was /dev/ram for this ext2 ramdisk filesystem). and then i
changed the file system to jffs2 and it is persistent (and the mount point
was /dev/mtdblock1 for jffs2 file system). so my question is why is that the
ext2 ramdisk is non-persistent? is it because of the mount point /dev/ram
and what needs to be changed in order to make it persistent. thanks again
for prompt response.. 


Scott Wood-2 wrote:
> 
> On Mon, 7 Mar 2011 20:28:32 -0800
> Vasanth Ragavendran <ragavendrapec@yahoo.co.in> wrote:
> 
>> 
>> Thanks a ton Scott. Actually i was working with the same version of the
>> kernel on both the boards.
>> it was 2.6.29.6. neither i changed the u-boot. it was the same in both.
>> however i recompiled the kernel and i installed on both the boards and it
>> worked fine! :) thanks again for responding. however i've another
>> question.
>> my filesystem in the board is non-persistent i.e. the files i create are
>> erased after i reboot i know the files are getting stored in RAM and i
>> wish
>> to make them persistent. what do i need to do for this? should i create a
>> separate partition in the flash and load certain files into that
>> partition?
>> or how should i make it persistent so that files stay beyond reboot!
>> thanks
>> again! eagerly awaiting your response.
> 
> Yes, you should create a filesystem (e.g. jffs2) on a flash partition.
> 
> -Scott
> 
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev@lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/linuxppc-dev
> 
> 

-- 
View this message in context: http://old.nabble.com/Mpc8315erdb-openvpn-segmentation-fault-tp31086738p31103965.html
Sent from the linuxppc-dev mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Mpc8315erdb openvpn segmentation fault
  2011-03-09  7:24       ` Vasanth Ragavendran
@ 2011-03-14  2:46         ` Vasanth Ragavendran
  0 siblings, 0 replies; 7+ messages in thread
From: Vasanth Ragavendran @ 2011-03-14  2:46 UTC (permalink / raw)
  To: linuxppc-dev


Thanks scott! my question must have been very silly to u! thanks for replying
to it patiently!!!

Vasanth Ragavendran wrote:
> 
> Thanks again Scott. That was really helpful. Actually i forgot to mention
> that i had created an ext2 ramdisk file system and it was non-persistent
> (the mount point was /dev/ram for this ext2 ramdisk filesystem). and then
> i changed the file system to jffs2 and it is persistent (and the mount
> point was /dev/mtdblock1 for jffs2 file system). so my question is why is
> that the ext2 ramdisk is non-persistent? is it because of the mount point
> /dev/ram and what needs to be changed in order to make it persistent.
> thanks again for prompt response.. 
> 
> 
> Scott Wood-2 wrote:
>> 
>> On Mon, 7 Mar 2011 20:28:32 -0800
>> Vasanth Ragavendran <ragavendrapec@yahoo.co.in> wrote:
>> 
>>> 
>>> Thanks a ton Scott. Actually i was working with the same version of the
>>> kernel on both the boards.
>>> it was 2.6.29.6. neither i changed the u-boot. it was the same in both.
>>> however i recompiled the kernel and i installed on both the boards and
>>> it
>>> worked fine! :) thanks again for responding. however i've another
>>> question.
>>> my filesystem in the board is non-persistent i.e. the files i create are
>>> erased after i reboot i know the files are getting stored in RAM and i
>>> wish
>>> to make them persistent. what do i need to do for this? should i create
>>> a
>>> separate partition in the flash and load certain files into that
>>> partition?
>>> or how should i make it persistent so that files stay beyond reboot!
>>> thanks
>>> again! eagerly awaiting your response.
>> 
>> Yes, you should create a filesystem (e.g. jffs2) on a flash partition.
>> 
>> -Scott
>> 
>> _______________________________________________
>> Linuxppc-dev mailing list
>> Linuxppc-dev@lists.ozlabs.org
>> https://lists.ozlabs.org/listinfo/linuxppc-dev
>> 
>> 
> 
> 

-- 
View this message in context: http://old.nabble.com/Mpc8315erdb-openvpn-segmentation-fault-tp31086738p31140838.html
Sent from the linuxppc-dev mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-03-14  2:46 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-07 11:09 Mpc8315erdb openvpn segmentation fault Vasanth Ragavendran
2011-03-07 20:22 ` Scott Wood
2011-03-08  4:28   ` Vasanth Ragavendran
2011-03-08 18:52     ` Scott Wood
2011-03-09  1:43       ` Vasanth Ragavendran
2011-03-09  7:24       ` Vasanth Ragavendran
2011-03-14  2:46         ` Vasanth Ragavendran

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).