[Openswan Users] Kernel Panic when sending ICMP packet across Linux IPSec

EK Lee eklee_kl at hotmail.com
Fri Oct 26 06:18:40 EDT 2007


Hi,
 
I have the following setup for Linux IPSec:
 
PC1 (Windows) --- GW1 (Linux RHEL5 running Openswan) --- GW2 (Linux RHEL5 running Openswan) --- PC2 (Windows)
 
I installed Openswan 2.4.9 on both GW1 and GW2 with ocf-openswan-2.4.9-20070727 patch.
 
After completed all necessary configuration, the IPSec tunnel is started by "ipsec auto --up gw-to-gw" command. Everything looks fine. PC1 and PC2 can ping to each other.
 
But, at this moment, any keyboard input or mouse click will cause kernel panic.
 
While traffic running through tunnel, the following message captured on using the syslog:
 
Oct 26 11:08:43 localhost kernel:  =======================Oct 26 11:08:43 localhost kernel: BUG: scheduling while atomic: crypto/0x00000100/2458Oct 26 11:08:43 localhost kernel:  [<c05fa4bf>] schedule+0x43/0x9baOct 26 11:08:43 localhost kernel:  [<c042d010>] switch_uid+0x38/0x48Oct 26 11:08:43 localhost kernel:  [<c0434fad>] prepare_to_wait+0x24/0x42Oct 26 11:08:43 localhost kernel:  [<f8c009d5>] crypto_proc+0x3b7/0x4c7 [ocf]Oct 26 11:08:43 localhost kernel:  [<c0434e65>] autoremove_wake_function+0x0/0x2dOct 26 11:08:43 localhost kernel:  [<f8c0061e>] crypto_proc+0x0/0x4c7 [ocf]Oct 26 11:08:43 localhost kernel:  [<c0404c3b>] kernel_thread_helper+0x7/0x10Oct 26 11:08:43 localhost kernel:  =======================Oct 26 11:08:43 localhost kernel: BUG: scheduling while atomic: events/0/0x00000100/5Oct 26 11:08:43 localhost kernel:  [<c05fa4bf>] schedule+0x43/0x9baOct 26 11:08:43 localhost kernel:  [<c041d20d>] __wake_up+0x2a/0x3dOct 26 11:08:43 localhost kernel:  [<c043212c>] run_workqueue+0x98/0xb5Oct 26 11:08:43 localhost kernel:  [<c0432999>] worker_thread+0xb2/0x10dOct 26 11:08:43 localhost kernel:  [<c041dc4d>] default_wake_function+0x0/0xcOct 26 11:08:43 localhost kernel:  [<c04328e7>] worker_thread+0x0/0x10dOct 26 11:08:43 localhost kernel:  [<c0434d99>] kthread+0xc0/0xebOct 26 11:08:43 localhost kernel:  [<c0434cd9>] kthread+0x0/0xebOct 26 11:08:43 localhost kernel:  [<c0404c3b>] kernel_thread_helper+0x7/0x10Oct 26 11:08:43 localhost kernel:  =======================
Any idea to solve this problem?
 
Thanks.
 
 
_________________________________________________________________
Climb to the top of the charts!  Play Star Shuffle:  the word scramble challenge with star power.
http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_oct
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openswan.org/pipermail/users/attachments/20071026/cb062799/attachment.html 


More information about the Users mailing list