Re: [asterisk-users] Cannot install dahdi-linux on (old) PAE kernel.

2011-05-09 Thread stephen.hindmarch

 -Original Message-
 From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-
 boun...@lists.digium.com] On Behalf Of Jason Parker
 Sent: 06 May 2011 20:01
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 Subject: Re: [asterisk-users] Cannot install dahdi-linux on (old) PAE kernel.
 
 On 05/06/2011 01:30 PM, Bob Beers wrote:
  Not sure if this will work, but I'd try adding, before line 86:
 
  #Workaround for PAE
  %if %{paevar} == PAE
  Provides: kmod-dahdi-linux
  %endif
 
  Can't actually test it myself, sorry.
 
  - Bob
 
 
 You'd probably want to modify the kmodtool that comes with it, to just always
 provide kmod-dahdi-linux.
 

Jason,

I solved by editing dahdi-linux.spec to change the Requires to expect the PAE 
variant, but I think Bob's idea is better.

I'm not sure what the kmodtool is. Can you enlighten?

Steve Hindmarch

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
 
 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] Cannot install dahdi-linux on (old) PAE kernel.

2011-05-06 Thread stephen.hindmarch
I am trying to install dahdi-linux from packages onto an OEL5u3 server which 
has an old kernel (5.2.6.18_128) and is a PAE variant. As there are no kmod 
packages now available for this kernel I am having to build them from source 
packages.

I have installed the dahdi-firmware-2.0.0-1_centos5 RPM directly.

I have downloaded the following SRPMS

dahdi-linux-2.4.1.2-1_centos5.src.rpm
dahdi-linux-kmod-2.4.1.2-1_centos5.2.6.18_238.9.1.el5.src.rpm

I have installed them and built them to create these RPMS

dahdi-linux-2.4.1.2-1_centos5.i686.rpm
dahdi-linux-devel-2.4.1.2-1_centos5.i686.rpm
kmod-dahdi-linux-PAE-2.4.1.2-1_centos5.2.6.18_128.el5.i686.rpm

Now if I try to installed the packages I get the following dependency error.

$ sudo rpm -ivh kmod-dahdi-linux-PAE-2.4.1.2-1_centos5.2.6.18_128.el5.i686.rpm 
dahdi-linux-2.4.1.2-1_centos5.i686.rpm
error: Failed dependencies:
kmod-dahdi-linux is needed by dahdi-linux-2.4.1.2-1_centos5.i686

An inspection of the kmod-dahdi-linux RPM shows that is provides 
kmod-dahdi-linux-PAE, not kmod-dahdi-linux.

How do I get the dahdi-linux package to recognise the kmod PAE package as the 
right one for this kernel?

Steve Hindmarch


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Cannot install dahdi-linux on (old) PAE kernel.

2011-05-06 Thread Bob Beers
On Fri, May 6, 2011 at 11:58 AM,  stephen.hindma...@bt.com wrote:
 I am trying to install dahdi-linux from packages onto an OEL5u3 server which
 has an old kernel (5.2.6.18_128) and is a PAE variant. As there are no kmod
 packages now available for this kernel I am having to build them from source
 packages.


[snip]
     kmod-dahdi-linux is needed by
 dahdi-linux-2.4.1.2-1_centos5.i686



 An inspection of the kmod-dahdi-linux RPM shows that is provides
 “kmod-dahdi-linux-PAE”, not “kmod-dahdi-linux”.



 How do I get the dahdi-linux package to recognise the kmod PAE package as
 the right one for this kernel?

Hi Steven,

Can you put the .spec file from dahdi-linux-kmod package up?
I can get the srpm, but I'm stuck on a weak machine at the moment.
Maybe I can help you to modify it to also provide non-PAE requirement?

- Bob Beers

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Cannot install dahdi-linux on (old) PAE kernel.

2011-05-06 Thread Bob Beers
On Fri, May 6, 2011 at 1:27 PM, Bob Beers bob.be...@gmail.com wrote:
 Hi Steven,

 Can you put the .spec file from dahdi-linux-kmod package up?

 Nevermind, I got it. :-)

Looking at it now.
Did you CC [Packager: Jason Parker jpar...@digium.com]?

- Bob

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Cannot install dahdi-linux on (old) PAE kernel.

2011-05-06 Thread Bob Beers
On Fri, May 6, 2011 at 2:12 PM, Bob Beers bob.be...@gmail.com wrote:
 On Fri, May 6, 2011 at 1:27 PM, Bob Beers bob.be...@gmail.com wrote:
 Hi Steven,

 Can you put the .spec file from dahdi-linux-kmod package up?

  Nevermind, I got it. :-)

 Looking at it now.

Not sure if this will work, but I'd try adding, before line 86:

#Workaround for PAE
%if %{paevar} == PAE
Provides: kmod-dahdi-linux
%endif

Can't actually test it myself, sorry.

- Bob

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Cannot install dahdi-linux on (old) PAE kernel.

2011-05-06 Thread Jason Parker

On 05/06/2011 01:30 PM, Bob Beers wrote:

Not sure if this will work, but I'd try adding, before line 86:

#Workaround for PAE
%if %{paevar} == PAE
Provides: kmod-dahdi-linux
%endif

Can't actually test it myself, sorry.

- Bob



You'd probably want to modify the kmodtool that comes with it, to just always 
provide kmod-dahdi-linux.


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users