2009-04-28 00:07:16 |
afried |
description |
Last night I just did a bare metal install of Ubuntu 9.04 (amd64) then brought up Asterisk 1.4.24.1. The configs for Asterisk had been used on the same box prior to the upgrade. The box also contains a Digium TDM card.
A short time later, I discovered that the box suddenly was running at 80% utilization and that Asterisk had ceased working. Looking at the process list, I found two programs consuming almost all available CPU resourses - DD and klog. My syslog, messages and kern.log files were megs in size and contained essentially garbage. Just prior to the race condition starting, however, were references to DAHDI:
Apr 25 17:17:57 ASTERISK kernel: [ 8020.982920] TDM PCI Master abort
Subsequent logs from kern.log looked like the following:
Apr 25 17:17:57 ASTERISK kernel: 221.21221.2121.2121.2121.2121.2121.2121.2121.21.21.21212121.212121212121.21.2121.21.21.02121.021.21.2121.21.21.21.212121.21.21.2122121.21.21.2121.2121.21.21.2121.21.2121
.21.21.21.2121.21.21.21.2121.21.21.212121.21.2121.21.2121.21.21.2121.21.2121.2121.21.21.21.2121.212121.21.21.21.21.21.21.212121.21.2121.21.212121.2121.21.2121.21.2121.21.21.21.21.2121.2121.21.21.21.21.2
1.21.21.21.2121.21.21.2121.21.21.212121.21.21.2121.21.21.2121.21.21.21.21.2121.2121.21.21.212121.21.21.21.2121.21.21.21.21.2121.21.21.2121.2121.2121.2121.21.2121.21.212121.2121.2121.21.2121.21.21.21.21.
2121.212121.21.212121.21.21.21.21.21.21.2121.21.21.212121.21.21.21.21.2121.21.021.21.21.2122121212121.21.21.2121.2121.21.2121212121.21212121212121221.2121212121212212122121221212122121212121212122121221
212121.2212121.2122121221.21212221212212122121221.2121212122121.2212121221212212121221212122121221212122121221.2122121212121221212212122121221212122121212121212212122121.22212121212122121221.038212121.2
122121.22121212212
This server had been running Asterisk with the same PCI cards without issues under 8.10 and 8.04.
I rebuilt and reconfigured both DAHDI and Asterisk, but the issue remains. It appears that Ubuntu's handling of the PCI bus might be the issue.
The issue occurs intermittently - sometimes minutes after being rebooted, sometimes hours. But the only solution to the problem once it surfaces is a complete reboot. |
Last night I just did a bare metal install of Ubuntu 9.04 (amd64) then brought up Asterisk 1.4.24.1. The configs for Asterisk had been used on the same box prior to the upgrade. The box also contains a Digium TDM card.
A short time later, I discovered that the box suddenly was running at 80% utilization and that Asterisk had ceased working. Looking at the process list, I found two programs consuming almost all available CPU resourses - DD and klog. My syslog, messages and kern.log files were megs in size and contained essentially garbage. Just prior to the race condition starting, however, were references to DAHDI:
Apr 25 17:17:57 ASTERISK kernel: [ 8020.982920] TDM PCI Master abort
Subsequent logs from kern.log looked like the following:
Apr 25 17:17:57 ASTERISK kernel: 221.21221.2121.2121.2121.2121.2121.2121.2121.21.21.21212121.212121212121.21.2121.21.21.02121.021.21.2121.21.21.21.212121.21.21.2122121.21.21.2121.2121.21.21.2121.21.2121
.21.21.21.2121.21.21.21.2121.21.21.212121.21.2121.21.2121.21.21.2121.21.2121.2121.21.21.21.2121.212121.21.21.21.21.21.21.212121.21.2121.21.212121.2121.21.2121.21.2121.21.21.21.21.2121.2121.21.21.21.21.2
1.21.21.21.2121.21.21.2121.21.21.212121.21.21.2121.21.21.2121.21.21.21.21.2121.2121.21.21.212121.21.21.21.2121.21.21.21.21.2121.21.21.2121.2121.2121.2121.21.2121.21.212121.2121.2121.21.2121.21.21.21.21.
2121.212121.21.212121.21.21.21.21.21.21.2121.21.21.212121.21.21.21.21.2121.21.021.21.21.2122121212121.21.21.2121.2121.21.2121212121.21212121212121221.2121212121212212122121221212122121212121212122121221
212121.2212121.2122121221.21212221212212122121221.2121212122121.2212121221212212121221212122121221212122121221.2122121212121221212212122121221212122121212121212212122121.22212121212122121221.038212121.2
122121.22121212212
This server had been running Asterisk with the same PCI cards without issues under 8.10 and 8.04.
I rebuilt and reconfigured both DAHDI and Asterisk, but the issue remains. It appears that Ubuntu's handling of the PCI bus might be the issue.
The issue occurs intermittently - sometimes minutes after being rebooted, sometimes hours. But the only solution to the problem once it surfaces is a complete reboot.
I deactivated the DAHDI drivers and the system ran without any further problems. |
|