Page 1 of 2

Kernel panic :(

Posted: 15 Apr 2016, 17:07
by hugleo
It just happened a kernel panic.
I had to restart the server :(

/var/log/kern.log file contents:
http://

Re: Kernel panic :(

Posted: 15 Apr 2016, 17:21
by Dmitry
try to upgrade kernel

Re: Kernel panic :(

Posted: 15 Apr 2016, 17:26
by hugleo
This server is using the current debian default.
Upgrade to like this one for example?
Linux 4.4 for 64-bit PCs:
https://packages.debian.org/jessie-back ... mage-amd64

Re: Kernel panic :(

Posted: 15 Apr 2016, 17:38
by Dmitry
yes

Re: Kernel panic :(

Posted: 15 Apr 2016, 19:13
by hugleo
Thanks, I'll try.

Just for note, the last accel-ppp.log before kernel panic:

[2016-04-15 13:20:10]: info: : send [RADIUS(1) Access-Request id=1 <User-Name "useraaaaaaaaaa"> <NAS-Identifier "accel-ppp"> <NAS-IP-Address hh.hh.hh.hh> <NAS-Port-Type Virtual> <Service-Type Framed-User> <Framed-Protocol PPP> <Calling-Station-Id "mm:mm:mm:mm:mm:mm"> <Called-Station-Id "mm:mm:mm:mm:mm:mm"><Microsoft MS-CHAP-Challenge ><Microsoft MS-CHAP2-Response >]
[2016-04-15 13:20:10]: warn: : radius:packet: vendor 26 not found
[2016-04-15 13:20:10]: info: : recv [RADIUS(1) Access-Accept id=1 <Framed-Compression Van-Jacobson-TCP-IP> <Framed-MTU 1500> <Acct-Interim-Interval 600> <Vendor-Specific > <Accel-Rate-Limit "3072/512"><Microsoft MS-CHAP2-Success ><Microsoft MS-MPPE-Recv-Key ><Microsoft MS-MPPE-Send-Key ><Microsoft MS-MPPE-Encryption-Policy 1><Microsoft MS-MPPE-Encryption-Type 6>]
[2016-04-15 13:20:10]: info: ppp1428: connect: ppp1428 <--> pppoe(mm:mm:mm:mm:mm:mm)
[2016-04-15 13:20:10]: info: ppp1428: useraaaaaaaaaa: authentication succeeded
[2016-04-15 13:20:10]: info: ppp1428: send [RADIUS(1) Accounting-Request id=1 <User-Name "useraaaaaaaaaa"> <NAS-Identifier "accel-ppp"> <NAS-IP-Address hh.hh.hh.hh> <NAS-Port-Type Virtual> <Service-Type Framed-User> <Framed-Protocol PPP> <Calling-Station-Id "mm:mm:mm:mm:mm:mm"> <Called-Station-Id "mm:mm:mm:mm:mm:mm"> <Acct-Session-Time 0> <Acct-Input-Octets 0> <Acct-Output-Octets 0> <Acct-Input-Packets 0> <Acct-Output-Packets 0> <Acct-Input-Gigawords 0> <Acct-Output-Gigawords 0> <Framed-IP-Address hh.hh.hh.hh>]
[2016-04-15 13:20:10]: info: ppp1428: recv [RADIUS(1) Accounting-Response id=1]
[2016-04-15 13:20:14]: info: : send [RADIUS(1) Access-Request id=1 <User-Name "uservvvvvvv"> <NAS-Identifier "accel-ppp"> <NAS-IP-Address hh.hh.hh.hh> <NAS-Port-Type Virtual> <Service-Type Framed-User> <Framed-Protocol PPP> <Calling-Station-Id "mm:mm:mm:mm:mm:mm"> <Called-Station-Id "mm:mm:mm:mm:mm:mm"><Microsoft MS-CHAP-Challenge ><Microsoft MS-CHAP2-Response >]
[2016-04-15 13:20:15]: info: : recv [RADIUS(1) Access-Reject id=1]
[2016-04-15 13:20:15]: info: : uservvvvvvv: authentication failed
[2016-04-15 13:20:15]: info: uservvvvvvv: authentication failed
[2016-04-15 13:20:15]: info: : disconnected
[2016-04-15 13:20:25]: info: ppp1096: send [RADIUS(1) Accounting-Request id=b <User-Name "useryyyyyyyy"> <NAS-Identifier "accel-ppp"> <NAS-IP-Address hh.hh.hh.hh> <NAS-Port-Type Virtual> <Service-Type Framed-User> <Framed-Protocol PPP> <Calling-Station-Id "mm:mm:mm:mm:mm:mm"> <Called-Station-Id "mm:mm:mm:mm:mm:mm"> <Acct-Session-Time 6540> <Acct-Input-Octets 50551732> <Acct-Output-Octets 268911726> <Acct-Input-Packets 172731> <Acct-Output-Packets 257033> <Acct-Input-Gigawords 0> <Acct-Output-Gigawords 0> <Framed-IP-Address hh.hh.hh.hh> <Acct-Terminate-Cause User-Request>]
[2016-04-15 13:20:25]: info: ppp1096: recv [RADIUS(1) Accounting-Response id=b]
[2016-04-15 13:20:28]: info: ppp1096: disconnected
[2016-04-15 13:20:45]: info: : send [RADIUS(1) Access-Request id=1 <User-Name "uservvvvvvv"> <NAS-Identifier "accel-ppp"> <NAS-IP-Address hh.hh.hh.hh> <NAS-Port-Type Virtual> <Service-Type Framed-User> <Framed-Protocol PPP> <Calling-Station-Id "mm:mm:mm:mm:mm:mm"> <Called-Station-Id "mm:mm:mm:mm:mm:mm"><Microsoft MS-CHAP-Challenge ><Microsoft MS-CHAP2-Response >]
[2016-04-15 13:20:46]: info: : recv [RADIUS(1) Access-Reject id=1]
[2016-04-15 13:20:46]: info: : uservvvvvvv: authentication failed
[2016-04-15 13:20:46]: info: uservvvvvvv: authentication failed
[2016-04-15 13:20:46]: info: : disconnected
[2016-04-15 13:20:50]: warn: ppp829: lcp: no echo reply
[2016-04-15 13:20:50]: info: ppp829: send [RADIUS(1) Accounting-Request id=ae <User-Name "userrrrrrrrr"> <NAS-Identifier "accel-ppp"> <NAS-IP-Address hh.hh.hh.hh> <NAS-Port-Type Virtual> <Service-Type Framed-User> <Framed-Protocol PPP> <Calling-Station-Id "mm:mm:mm:mm:mm:mm"> <Called-Station-Id "mm:mm:mm:mm:mm:mm"> <Acct-Session-Time 104065> <Acct-Input-Octets 133010573> <Acct-Output-Octets 1553357316> <Acct-Input-Packets 1044430> <Acct-Output-Packets 1366306> <Acct-Input-Gigawords 0> <Acct-Output-Gigawords 0> <Framed-IP-Address hh.hh.hh.hh> <Acct-Terminate-Cause Lost-Carrier>]
[2016-04-15 13:20:50]: info: ppp829: disconnected
[2016-04-15 13:20:50]: info: recv [RADIUS(1) Accounting-Response id=ae]
[2016-04-15 13:20:58]: info: ppp2034: send [RADIUS(1) Accounting-Request id=d9 <User-Name "userjjjjjjjjjj"> <NAS-Identifier "accel-ppp"> <NAS-IP-Address hh.hh.hh.hh> <NAS-Port-Type Virtual> <Service-Type Framed-User> <Framed-Protocol PPP> <Calling-Station-Id "mm:mm:mm:mm:mm:mm"> <Called-Station-Id "mm:mm:mm:mm:mm:mm"> <Acct-Session-Time 436992> <Acct-Input-Octets 104101100> <Acct-Output-Octets 889911386> <Acct-Input-Packets 717744> <Acct-Output-Packets 954423> <Acct-Input-Gigawords 0> <Acct-Output-Gigawords 0> <Framed-IP-Address hh.hh.hh.hh> <Acct-Terminate-Cause User-Request>]
[2016-04-15 13:20:58]: info: ppp2034: recv [RADIUS(1) Accounting-Response id=d9]
[2016-04-15 13:20:59]: info: ppp2480: send [RADIUS(1) Accounting-Request id=89 <User-Name "userggggggg"> <NAS-Identifier "accel-ppp"> <NAS-IP-Address hh.hh.hh.hh> <NAS-Port-Type Virtual> <Service-Type Framed-User> <Framed-Protocol PPP> <Calling-Station-Id "mm:mm:mm:mm:mm:mm"> <Called-Station-Id "mm:mm:mm:mm:mm:mm"> <Acct-Session-Time 81608> <Acct-Input-Octets 174601412> <Acct-Output-Octets 1014852132> <Acct-Input-Packets 578563> <Acct-Output-Packets 823878> <Acct-Input-Gigawords 0> <Acct-Output-Gigawords 0> <Framed-IP-Address hh.hh.hh.hh> <Acct-Terminate-Cause User-Request>]
[2016-04-15 13:20:59]: info: ppp2480: recv [RADIUS(1) Accounting-Response id=89]
[2016-04-15 13:20:59]: info: ppp1378: send [RADIUS(1) Accounting-Request id=89 <User-Name "userssssssssssss"> <NAS-Identifier "accel-ppp"> <NAS-IP-Address hh.hh.hh.hh> <NAS-Port-Type Virtual> <Service-Type Framed-User> <Framed-Protocol PPP> <Calling-Station-Id "mm:mm:mm:mm:mm:mm"> <Called-Station-Id "mm:mm:mm:mm:mm:mm"> <Acct-Session-Time 81610> <Acct-Input-Octets 43821752> <Acct-Output-Octets 873158882> <Acct-Input-Packets 477701> <Acct-Output-Packets 651639> <Acct-Input-Gigawords 0> <Acct-Output-Gigawords 0> <Framed-IP-Address hh.hh.hh.hh> <Acct-Terminate-Cause User-Request>]
[2016-04-15 13:20:59]: info: ppp1378: recv [RADIUS(1) Accounting-Response id=89]
[2016-04-15 13:21:00]: info: ppp2737: send [RADIUS(1) Accounting-Request id=89 <User-Name "userswwwwwwww"> <NAS-Identifier "accel-ppp"> <NAS-IP-Address hh.hh.hh.hh> <NAS-Port-Type Virtual> <Service-Type Framed-User> <Framed-Protocol PPP> <Calling-Station-Id "mm:mm:mm:mm:mm:mm"> <Called-Station-Id "mm:mm:mm:mm:mm:mm"> <Acct-Session-Time 81603> <Acct-Input-Octets 50582373> <Acct-Output-Octets 1014452252> <Acct-Input-Packets 519481> <Acct-Output-Packets 773645> <Acct-Input-Gigawords 0> <Acct-Output-Gigawords 0> <Framed-IP-Address hh.hh.hh.hh> <Acct-Terminate-Cause User-Request>]
[2016-04-15 13:21:00]: info: ppp2737: recv [RADIUS(1) Accounting-Response id=89]
[2016-04-15 13:21:01]: info: ppp2034: disconnected
[2016-04-15 13:21:02]: info: ppp2196: send [RADIUS(1) Accounting-Request id=89 <User-Name "usermmmmmmm"> <NAS-Identifier "accel-ppp"> <NAS-IP-Address hh.hh.hh.hh> <NAS-Port-Type Virtual> <Service-Type Framed-User> <Framed-Protocol PPP> <Calling-Station-Id "mm:mm:mm:mm:mm:mm"> <Called-Station-Id "mm:mm:mm:mm:mm:mm"> <Acct-Session-Time 81611> <Acct-Input-Octets 16508447> <Acct-Output-Octets 223935516> <Acct-Input-Packets 124463> <Acct-Output-Packets 190719> <Acct-Input-Gigawords 0> <Acct-Output-Gigawords 0> <Framed-IP-Address hh.hh.hh.hh> <Acct-Terminate-Cause User-Request>]
[2016-04-15 13:21:02]: info: ppp2196: recv [RADIUS(1) Accounting-Response id=89]
[2016-04-15 13:21:02]: info: ppp2480: disconnected
[2016-04-15 13:21:02]: info: ppp1378: disconnected
[2016-04-15 13:21:03]: info: ppp2737: disconnected

Re: Kernel panic :(

Posted: 16 Apr 2016, 00:28
by nik247
hugleo wrote:It just happened a kernel panic.
I had to restart the server :(

/var/log/kern.log file contents:
http://www.sametext.com/view/raw/95feb66a
What version accel-ppp?

Re: Kernel panic :(

Posted: 16 Apr 2016, 01:18
by hugleo
accel-ppp-1.10.1

Re: Kernel panic :(

Posted: 16 Apr 2016, 11:14
by nik247
hugleo wrote:accel-ppp-1.10.1
Can you try last git version accel-ppp?

Re: Kernel panic :(

Posted: 16 Apr 2016, 12:35
by hugleo
Sure. I'll try.
I'll try the 1.10.2 version first and upgrade the kernel version.
I did not upgrade yet. I'll upgrade soon. Until now things look stable but I'll look close to random crashs and let you know.

Following the logs the crash could be happened after try to disconnect ppp2196 or another interface.
call trace:
Apr 15 13:21:03 xxx-xxx-xxx-xxx-xxx kernel: [892321.010345] [<ffffffff8121691b>] ? __kernfs_remove+0xfb/0x220
Apr 15 13:21:03 xxx-xxx-xxx-xxx-xxx kernel: [892321.010348] [<ffffffff81217944>] ? kernfs_remove_by_name_ns+0x64/0xa0
Apr 15 13:21:03 xxx-xxx-xxx-xxx-xxx kernel: [892321.010350] [<ffffffff8121776d>] ? kernfs_remove+0x1d/0x30
....
Apr 15 13:21:03 xxx-xxx-xxx-xxx-xxx kernel: [892321.010373] [<ffffffffa016b91e>] ? ppp_shutdown_interface+0xee/0x110 [ppp_generic]
Apr 15 13:21:03 xxx-xxx-xxx-xxx-xxx kernel: [892321.010377] [<ffffffffa016b99e>] ? ppp_release+0x5e/0x70 [ppp_generic]

Re: Kernel panic :(

Posted: 18 Apr 2016, 11:43
by hugleo
Yesterday I got 3 kernel panics, in the same day.
Coincidence or not the panics starts one day after I add the following iptables line:

iptables -A FORWARD -p tcp -m tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu

Today I've upgraded the kernel and accel-ppp. I hope that will solve the problem.
If not I'll try to remove the iptables TCPMSS line too.