Kernel panic :(

Bug reports
hugleo
Posts: 59
Joined: 13 Apr 2016, 14:28

Kernel panic :(

Post by hugleo »

It just happened a kernel panic.
I had to restart the server :(

/var/log/kern.log file contents:
http://
Last edited by hugleo on 18 Jul 2016, 12:19, edited 1 time in total.
Dmitry
Администратор
Posts: 954
Joined: 09 Oct 2014, 10:06

Re: Kernel panic :(

Post by Dmitry »

try to upgrade kernel
hugleo
Posts: 59
Joined: 13 Apr 2016, 14:28

Re: Kernel panic :(

Post 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
Dmitry
Администратор
Posts: 954
Joined: 09 Oct 2014, 10:06

Re: Kernel panic :(

Post by Dmitry »

yes
hugleo
Posts: 59
Joined: 13 Apr 2016, 14:28

Re: Kernel panic :(

Post 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
nik247
Posts: 108
Joined: 11 Oct 2014, 15:57

Re: Kernel panic :(

Post 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?
hugleo
Posts: 59
Joined: 13 Apr 2016, 14:28

Re: Kernel panic :(

Post by hugleo »

accel-ppp-1.10.1
nik247
Posts: 108
Joined: 11 Oct 2014, 15:57

Re: Kernel panic :(

Post by nik247 »

hugleo wrote:accel-ppp-1.10.1
Can you try last git version accel-ppp?
hugleo
Posts: 59
Joined: 13 Apr 2016, 14:28

Re: Kernel panic :(

Post 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]
hugleo
Posts: 59
Joined: 13 Apr 2016, 14:28

Re: Kernel panic :(

Post 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.
Post Reply