Posts: 23
pasuuna
Joined: 19 Apr 2012
#1
Hi!

I thought I'd give upgrading the kernel a try since it was mentioned on antix website that an udev upgrade might otherwise be a problem.

I got the following error:

Code: Select all

dkms.conf: Error! No 'BUILT_MODULE_NAME' directive specified for record #0.
Error! Bad conf file.
File: 
does not represent a valid dkms.conf file.
What do I do?

PS. I had some trouble finding out the address of the new antix repository. Maybe it could be listed on the antix Main Page? It's mentioned there, but not listed, and searching the forum doesn't give an easy hit either. Thanks!
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#2
Try reinstalling dkms.

Which version of antiX are you using?
If it is pre-12 series, you may need to remove ndiswrapper


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://techpatterns.com/forums/about1998.html"
linktext was:"http://techpatterns.com/forums/about1998.html"
====================================


may help.
Posts: 23
pasuuna
Joined: 19 Apr 2012
#3
I'm using antiX 11. I tried reinstalling the dkms package and removed ndiswrapper, but I'm still getting that same error. The script from your link produced this:

Code: Select all

-e 

***/usr/src/ndiswrapper-1.57/dkms.conf:
PACKAGE_NAME="ndiswrapper"
PACKAGE_VERSION="1.57"
DEST_MODULE_LOCATION[0]="/updates"
AUTOINSTALL="yes"
I tried booting with the new kernel and it seems to work, but I wouldn't know too much about that. The earlier kernel would hang the computer when I'd try to reboot whereas a full shutdown and a new startup would work fine nine times out of ten or more. This new kernel rebooted ok.
Posts: 279
afab4
Joined: 17 Oct 2009
#4
pasuuna wrote:I'm using antiX 11. I tried reinstalling the dkms package and removed ndiswrapper, but I'm still getting that same error.
When I upgraded my M11 kernel from the stock Mepis to Liquorix, I had to remove dkms before kernel upgrade to stop the error.
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#5
pasuuna - remove ndiswrapper-dkms and rebuild the initramfs

update-initramfs -k all -u -t
Posts: 23
pasuuna
Joined: 19 Apr 2012
#6
Ok, I removed ndiswrapper-dkms and ran the update-initramfs command. The only warnings were:

Code: Select all

update-initramfs: Generating /boot/initrd.img-3.5.0-antix.2-486-smp
update-initramfs: Generating /boot/initrd.img-2.6.36-1-mepis-smp
WARNING: could not open /var/tmp/mkinitramfs_eqXKz5/lib/modules/2.6.36-1-mepis-smp/modules.order: No such file or directory
WARNING: could not open /var/tmp/mkinitramfs_eqXKz5/lib/modules/2.6.36-1-mepis-smp/modules.builtin: No such file or directory
Do I do something else? I fell off the cart so to speak, so even if it's something obvious don't count on me figuring it out! ^_ ^ Thank you!
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#7
pasuuna - that is what I got. Seems fine and if you are happy with the 3.5.0 kernel, you can always remove the older 2.6.36 one.
Posts: 23
pasuuna
Joined: 19 Apr 2012
#8
Thanks!