On Thu, Jul 21, 2011 at 05:22:53PM -0000, Andreas Moog wrote:
> Oh, I see now:
>
> (from the make.log):
>
> DKMS make.log for dahdi-2.2.1+dfsg-1ubuntu2 for kernel 2.6.32-33-server (x86_64)
> [So dkms thinks it builds for 2.6.32-33-server]
> make -C /lib/modules/2.6.32-31-server/build SUBDIRS=/var/lib/dkms/dahdi/2.2.1+dfsg-1ubuntu2/build/drivers/dahdi
> make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-31-server'
>
> but it actually builds with the 2.6.32-31-server headers - resulting in
> the symbol mismatch.
>
> If you remove all headers except for the currently running kernel you
> should get a working kernel module.
>
> ** Changed in: dahdi-linux (Ubuntu)
> Importance: Undecided => High
>
> ** Changed in: dahdi-linux (Ubuntu)
> Status: Incomplete => Triaged
>
> ** Summary changed:
>
> - dahdi kernel module fails to load in 2.6.32-32-server
> + dahdi kernel module built for wrong kernel version
Earlier headers removed:
1 root@whale:/var/lib/dkms/dahdi/2.2.1+dfsg-1ubuntu2/2.6.32-33-server/x86_64/log#aptitude reinstall dahdi-dkms &>/tmp/log
log attached (see error for echo.ko)
The dmesg symbol errors seem to be gone though.
The system is in production so I cannot test the PCI card now.
Hi
On Thu, Jul 21, 2011 at 05:22:53PM -0000, Andreas Moog wrote: 2.1+dfsg- 1ubuntu2 for kernel 2.6.32-33-server (x86_64) 2.6.32- 31-server/ build SUBDIRS= /var/lib/ dkms/dahdi/ 2.2.1+dfsg- 1ubuntu2/ build/drivers/ dahdi linux-headers- 2.6.32- 31-server'
> Oh, I see now:
>
> (from the make.log):
>
> DKMS make.log for dahdi-2.
> [So dkms thinks it builds for 2.6.32-33-server]
> make -C /lib/modules/
> make[1]: Leaving directory `/usr/src/
>
> but it actually builds with the 2.6.32-31-server headers - resulting in
> the symbol mismatch.
>
> If you remove all headers except for the currently running kernel you
> should get a working kernel module.
>
> ** Changed in: dahdi-linux (Ubuntu)
> Importance: Undecided => High
>
> ** Changed in: dahdi-linux (Ubuntu)
> Status: Incomplete => Triaged
>
> ** Summary changed:
>
> - dahdi kernel module fails to load in 2.6.32-32-server
> + dahdi kernel module built for wrong kernel version
Earlier headers removed: /var/lib/ dkms/dahdi/ 2.2.1+dfsg- 1ubuntu2/ 2.6.32- 33-server/ x86_64/ log#aptitude reinstall dahdi-dkms &>/tmp/log
1 root@whale:
log attached (see error for echo.ko)
The dmesg symbol errors seem to be gone though.
The system is in production so I cannot test the PCI card now.