[asterisk-users] AsteriskNow updated to Centos 5.6 and DAHDI doesn't work

2011-04-10 Thread Frank Tarczynski
My AsteriskNow box was updated to Centos 5.6 (2.6.18-238.5.1.el5) and DAHDI doesn't want to load. I've tried building it from the sources, but get this error message: CC [M] /root/Desktop/dahdi-linux-complete-2.4.1.1+2.4.1/linux/drivers/dahdi/xpp/card_bri.o In file included from

Re: [asterisk-users] AsteriskNow updated to Centos 5.6 and DAHDI doesn't work

2011-04-10 Thread asterisk asterisk
same here. Something seriously wrong after upgrade Don't upgrade now. On Sun, Apr 10, 2011 at 9:32 PM, Frank Tarczynski ft...@mindspring.comwrote: My AsteriskNow box was updated to Centos 5.6 (2.6.18-238.5.1.el5) and DAHDI doesn't want to load. I've tried building it from the sources, but get

Re: [asterisk-users] AsteriskNow updated to Centos 5.6 and DAHDI doesn't work

2011-04-10 Thread bakko
Hi, this diff solve the problem: --- include/dahdi/kernel.h 2010-08-19 20:03:25.0 +0200 +++ include/dahdi/kernel.h 2011-03-18 11:32:32.0 +0100 @@ -86,7 +86,9 @@ #endif #if LINUX_VERSION_CODE KERNEL_VERSION(2,6,26) -#define dev_name(dev) (dev)-bus_id +#if RHEL_RELEASE_CODE

Re: [asterisk-users] AsteriskNow updated to Centos 5.6 and DAHDI doesn't work

2011-04-10 Thread Shaun Ruffell
On Sun, Apr 10, 2011 at 05:32:51PM +0200, bakko wrote: this diff solve the problem: --- include/dahdi/kernel.h 2010-08-19 20:03:25.0 +0200 +++ include/dahdi/kernel.h 2011-03-18 11:32:32.0 +0100 @@ -86,7 +86,9 @@ #endif #if LINUX_VERSION_CODE KERNEL_VERSION(2,6,26)

Re: [asterisk-users] AsteriskNow updated to Centos 5.6 and DAHDI doesn't work

2011-04-10 Thread Shaun Ruffell
On Sun, Apr 10, 2011 at 10:52:27AM -0500, Shaun Ruffell wrote: There is a patch for this attached on issue 18992 [1] that should work regardless of which distribution may have back ported the dev_name definition. It will apply cleanly to both 2.4 and the current trunk. For example, to apply

Re: [asterisk-users] AsteriskNow updated to Centos 5.6 and DAHDI doesn't work

2011-04-10 Thread me
On Sun, 10 Apr 2011, Shaun Ruffell wrote: On Sun, Apr 10, 2011 at 05:32:51PM +0200, bakko wrote: this diff solve the problem: --- include/dahdi/kernel.h 2010-08-19 20:03:25.0 +0200 +++ include/dahdi/kernel.h 2011-03-18 11:32:32.0 +0100 @@ -86,7 +86,9 @@ #endif #if

Re: [asterisk-users] AsteriskNow updated to Centos 5.6 and DAHDI doesn't work

2011-04-10 Thread Shaun Ruffell
On Sun, Apr 10, 2011 at 01:29:16PM -0400, m...@tdiehl.org wrote: On Sun, 10 Apr 2011, Shaun Ruffell wrote: There is a patch for this attached on issue 18992 [1] that should work regardless of which distribution may have back ported the dev_name definition. It will apply cleanly to both 2.4