LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Kernel 2.6.35.4 for Lucid problems (https://www.linuxquestions.org/questions/linux-software-2/kernel-2-6-35-4-for-lucid-problems-831342/)

snif123 09-10-2010 05:33 AM

Kernel 2.6.35.4 for Lucid problems
 
3 Attachment(s)
HI all,
I have installed the newer kernel 2.6.35.4 and everything seems fine.To compile it,I followed this tut,http://www.cyberciti.biz/tips/compil...kernel-26.html
The problem I have is everytime I try to install anything,I get an error "bcmwl-kernel-source failed to install or upgrade".
The installation completes for the default 2.6.32.24 generic kernel but fails for this newer kernel.
Any software I try to install now fails for the .35 with the same error.
I have attached 3 screenshots showing the error message in more details hopefully.
I had installed the .34 kernel and had the exact problem(screenshot.jpg)
Error message is shown very clearly in third attachment,sorry I couldn't manage to copy the error and paste it.
Cheers

robertjinx 09-10-2010 06:13 AM

Hello, try to go to directory: /etc/kernel and you should have 1 or more subdirectories in which are some post processing scripts.
When you find some script called or named dkms try to do sudo chmod 644 dkms.

You installation or uninstallation fails because of dkms.

If you make sure that dkms is not called when you install or uninstall the kernel then it wont fail.

snif123 09-10-2010 07:59 AM

HI
I have run the command you suggested,it runs fine here
/etc/kernel/postinst.d# sudo chmod 644 dkms
however,i still get the same error as before.I have tracked the error report and here are the contents
-------------------------------------------------------------------------------------
DKMS make.log for bcmwl-5.60.48.36+bdcom for kernel 2.6.35.4 (i686)
Fri Sep 10 12:37:10 BST 2010
make: Entering directory `/usr/src/linux-2.6.35.4'
LD /var/lib/dkms/bcmwl/5.60.48.36+bdcom/build/built-in.o
CC [M] /var/lib/dkms/bcmwl/5.60.48.36+bdcom/build/src/shared/linux_osl.o
In file included from /var/lib/dkms/bcmwl/5.60.48.36+bdcom/build/src/shared/linux_osl.c:19:
/var/lib/dkms/bcmwl/5.60.48.36+bdcom/build/src/include/linuxver.h:23:28: error: linux/autoconf.h: No such file or directory
make[1]: *** [/var/lib/dkms/bcmwl/5.60.48.36+bdcom/build/src/shared/linux_osl.o] Error 1
make: *** [_module_/var/lib/dkms/bcmwl/5.60.48.36+bdcom/build] Error 2
make: Leaving directory `/usr/src/linux-2.6.35.4'

Am searching the web on the error linux/autoconf.h: No such file or directory

robertjinx 09-10-2010 12:11 PM

Well ok then, try to move those scripts from /etc/kernel someplace else temporarily.
Put them someplace then try again.


All times are GMT -5. The time now is 01:38 AM.