TIPS Kernel Panic assistance

simonmason

Member
Joined
Jun 13, 2009
Messages
45
Reaction score
0
Hi, I am a relative UNIX neophyte. I have had PIAF running for ages with no problem. Recently I experience two system shutdowns - "Kernel Panic - not syncing". I have been googling everything I see on the shutdown screen trying to figure out how to go about diagnosing this. I am assuming there is a log somewhere that will provide some pointers but I haven't been able to figure this out. So, any pointers in going about diagnosing this would be great. Thanks.
 

randy7376

Guru
Joined
Sep 29, 2010
Messages
808
Reaction score
92
Location
Fort Worth, Texas
First place to look would be /var/log/messages. You might also look at /var/log/boot.log to see what it says about the filesystem at boot-up. The output of status would be nice, too.
 

simonmason

Member
Joined
Jun 13, 2009
Messages
45
Reaction score
0
The machine continued to crash in startup this morning - stopping at the following lines:

Netjet PCI Driver Rev 2.0
Netjet...
NJ_probe(mISDN): found adaptor at 000:01:08.0

When I hard booted the system it went through this and loaded normally - although I am anticipating a crash again. I think this is the network card? Perhaps that is my issue?

I got the messages log below - I went back two days, over some of the crashes, but I can't see anything that immediately jumps out as an error or anything? I also included the boot.log. I cannot find a status file? Thanks for the help.

Code:
%G%G        Welcome to CentOS
Starting udev: %G[  OK  ]
 
Setting hostname pbx.local:  [  OK  ]
 
Setting up Logical Volume Management:  No volume groups found
[  OK  ]
 
Checking filesystems
/dev/sda2: clean, 161662/2392064 files, 1306324/9549824 blocks
/dev/sda1: recovering journal
/dev/sda1: clean, 38/25688 files, 27998/102400 blocks
[  OK  ]
 
Remounting root filesystem in read-write mode:  [  OK  ]
 
Mounting local filesystems:  [  OK  ]
 
Enabling local filesystem quotas:  [  OK  ]
 
Enabling /etc/fstab swaps:  [  OK  ]
 
Entering non-interactive startup
ip6tables: Applying firewall rules: [  OK  ]
 
iptables: Applying firewall rules: [  OK  ]
 
Bringing up loopback interface:  [  OK  ]
 
Bringing up interface eth0:  [  OK  ]
 
Starting pppoe-server: [  OK  ]
 
Starting auditd: [  OK  ]
 
Starting portreserve: [  OK  ]
 
Starting system logger: [  OK  ]
 
Loading DAHDI hardware modules:
  wct4xxp:  [  OK  ]
 
  wcte12xp:  [  OK  ]
 
  wct1xxp:  [  OK  ]
 
  wcte11xp:  [  OK  ]
 
  wctdm24xxp:  [  OK  ]
 
  wcfxo:  [  OK  ]
 
  wctdm:  [  OK  ]
 
  wcb4xxp:  [  OK  ]
 
  wctc4xxp:  [  OK  ]
 
  xpp_usb:  [  OK  ]
 
 
Running dahdi_cfg:  [  OK  ]
 
Starting irqbalance: [  OK  ]
 
Starting rpcbind: [  OK  ]
 
Starting system message bus: [  OK  ]
 
Starting NFS statd: [  OK  ]
 
Mounting other filesystems:  [  OK  ]
 
Starting acpi daemon: [  OK  ]
 
Starting HAL daemon: [  OK  ]
 
Retrigger failed udev events[  OK  ]
 
Loading autofs4: [  OK  ]
 
Starting automount: [  OK  ]
 
Starting sshd: [  OK  ]
 
Starting xinetd: [  OK  ]
 
Starting ntpd: [  OK  ]
 
Starting mysqld:  [  OK  ]
 
Starting sendmail: [  OK  ]
 
Starting sm-client: [  OK  ]
 
Starting httpd: [  OK  ]
 
Starting crond: [  OK  ]
 
Starting fail2ban: [  OK  ]
 
Starting atd: [  OK  ]
 
 
No Google Voice DIDs configured. Disabling Gtalk and Jabber...
Fetching FreePBX settings with gen_amp_conf.php..
 
SETTING FILE PERMISSIONS
chmod: cannot operate on dangling symlink `/var/lib/asterisk/bin/fax-process.pl'
Permissions OK
 
STARTING ASTERISK
Asterisk Started
 
STARTING FOP SERVER
FOP Server Started
Code:
Jun 20 10:51:40 pbx kernel: dahdi_echocan_mg2: Registered echo canceler 'MG2'
Jun 20 10:51:42 pbx rpc.statd[1084]: Version 1.2.3 starting
Jun 20 10:51:42 pbx sm-notify[1085]: Version 1.2.3 starting
Jun 20 10:51:42 pbx acpid: starting up
Jun 20 10:51:42 pbx acpid: 1 rule loaded
Jun 20 10:51:42 pbx acpid: waiting for events: event logging is off
Jun 20 10:51:44 pbx acpid: client connected from 1162[68:68]
Jun 20 10:51:44 pbx acpid: 1 client rule loaded
Jun 20 10:51:46 pbx automount[1182]: lookup_read_master: lookup(nisplus): couldn't locate nis+ table auto.master
Jun 20 10:51:47 pbx xinetd[1210]: xinetd Version 2.3.14 started with libwrap loadavg labeled-networking options compiled in.
Jun 20 10:51:47 pbx xinetd[1210]: Started working: 1 available service
Jun 20 10:51:47 pbx ntpd[1217]: ntpd [email protected] Tue Nov 29 00:06:28 UTC 2011 (1)
Jun 20 10:51:47 pbx ntpd[1218]: precision = 1.209 usec
Jun 20 10:51:47 pbx ntpd[1218]: Listening on interface #0 wildcard, 0.0.0.0#123 Disabled
Jun 20 10:51:47 pbx ntpd[1218]: Listening on interface #1 wildcard, ::#123 Disabled
Jun 20 10:51:47 pbx ntpd[1218]: Listening on interface #2 lo, ::1#123 Enabled
Jun 20 10:51:47 pbx ntpd[1218]: Listening on interface #3 eth0, fe80::20c:41ff:fe1d:b2d0#123 Enabled
Jun 20 10:51:47 pbx ntpd[1218]: Listening on interface #4 lo, 127.0.0.1#123 Enabled
Jun 20 10:51:47 pbx ntpd[1218]: Listening on interface #5 eth0, 192.168.1.170#123 Enabled
Jun 20 10:51:47 pbx ntpd[1218]: Listening on routing socket on fd #22 for interface updates
Jun 20 10:51:47 pbx ntpd[1218]: kernel time sync status 2040
Jun 20 10:51:47 pbx ntpd[1218]: frequency initialized 2.834 PPM from /var/lib/ntp/drift
Jun 20 10:55:04 pbx ntpd[1218]: synchronized to 69.25.207.21, stratum 2
Jun 20 12:47:44 pbx ntpd[1218]: synchronized to 74.120.8.2, stratum 2
Jun 20 13:07:41 pbx ntpd[1218]: synchronized to 69.25.207.21, stratum 2
Jun 21 03:03:01 pbx init: tty (/dev/tty1) main process (1697) killed by TERM signal
Jun 21 03:03:01 pbx init: tty (/dev/tty2) main process (1699) killed by TERM signal
Jun 21 03:03:01 pbx init: tty (/dev/tty3) main process (1701) killed by TERM signal
Jun 21 03:03:01 pbx init: tty (/dev/tty4) main process (1703) killed by TERM signal
Jun 21 03:03:01 pbx init: tty (/dev/tty5) main process (1705) killed by TERM signal
Jun 21 03:03:01 pbx init: tty (/dev/tty6) main process (1707) killed by TERM signal
Jun 21 03:03:26 pbx xinetd[1210]: Exiting...
Jun 21 03:03:30 pbx acpid: exiting
 

simonmason

Member
Joined
Jun 13, 2009
Messages
45
Reaction score
0
Thanks. I do have an FXO/FXS card in the machine. I am not using it as I disconnected my POTS a while back. I was keeping it in the computer to eventually setup a fax line in house but I never got around to it and that seems to be a waste of time these days. I will just remove the card and see if things improve. Is it possible that something has gone bad on the card that is causing this issue?
 

simonmason

Member
Joined
Jun 13, 2009
Messages
45
Reaction score
0
Bump. I am still having crashes every week or so. I have not been able to pin down the root cause of this - but I am a bit of a neophyte in both linux and PIAF so any pointers for helping to resolve this would be great. It might be that I am loading a driver that I don't need to support the analog lines in the system that I am not using?
 

Porch

Guru
Joined
Jul 5, 2013
Messages
135
Reaction score
15
I would run a memory test and a hard drive test on the computer. Both can cause strange crashes.
 

simonmason

Member
Joined
Jun 13, 2009
Messages
45
Reaction score
0
I did - but when I did this I got dahdi errors - it looks like something is still installed related to this card. I then put the card back in the machine although these errors did not seem to interfere with the operation of the PBX. Based on your suggestion I have removed the card again. Is there an easy way to remove the dahdhi configuration? Also, are there standard hard drive and memory tests I can run? Thanks.
 

Members online

PIAF 5 - Powered by 3CX

Forum statistics

Threads
22,577
Messages
138,962
Members
14,675
Latest member
profjake