Cromarty
Posts: 64
Joined: Thu Jan 03, 2013 5:03 pm
Location: Godalming, South-east UK
Contact: Website

Preventing upgrade of individual kernel modules

Fri Jul 12, 2013 7:23 pm

Hello,

I am trying to upgrade Arch Linux to incorporate the file-system merges which have recently taken place.

But I need to prevent the upgrade of the snd-bcm2835.ko.gz sound-driver module because the changes made at the end of April to add MMAP have broken it for text-to-speech. A fact that seems to be being ignored.

I thought adding this line to the file in /etc/pacman.conf might work:

NoUpgrade = /usr/lib/modules/3.6.11-9-ARCH+/kernel/sound/arm/snd-bcm2835.ko.gz

But of course the kernel version suffix has changed and the new path refelcts this and the new and broken sound driver is downloaded and used.

So...how can I prevent a particular kernel module from being changed between kernel versions?

Mike
--
Michael Ray
Analyst/Programmer
Surrey, UK
4xB, 1xB+,
Creator and admin of:
raspberry-vi@freelists.org
Ham radio call: G4XBF
'Suddenly I am become death, destroyer of SD cards'

sdjf
Posts: 1395
Joined: Fri Mar 16, 2012 5:20 am
Location: California
Contact: Website

Re: Preventing upgrade of individual kernel modules

Fri Jul 12, 2013 8:11 pm

You can also specify parameters on the command line. Check the man page, I am not positive, but I think --ignore PACKAGENAME is what you would enter, but you also have to remove the copy that is now in pacman's cache. Sorry not able to check the man page at the moment, but I think something like that is it.
FORUM TIP: To view someone's posting history, sign in, click on their user name, then on "Search User's Posts." || Running ArchLinuxArm on Model 2B and 512MB Model B

User avatar
jackokring
Posts: 816
Joined: Tue Jul 31, 2012 8:27 am
Location: London, UK
Contact: ICQ

Re: Preventing upgrade of individual kernel modules

Fri Jul 12, 2013 8:18 pm

Make an unmanaged copy of the latest, put the old module there, rename the library linked object, use the new headers, hope there has been no change in the library call interface, maybe add any unresolved symbols (by editing the old code), make a new kernel and module set without clean.

Worse things have been done. :D
Pi[NFA]=B256R0USB CL4SD8GB Raspbian Stock.
Pi[Work]=A+256 CL4SD8GB Raspbian Stock.
My favourite constant 1.65056745028

pepedog
Posts: 1043
Joined: Fri Oct 07, 2011 9:55 am

Re: Preventing upgrade of individual kernel modules

Fri Jul 12, 2013 10:42 pm

I would avoid kernel and firmware upgrades.
Where is the source, Mike, for the tts thingy?

sdjf
Posts: 1395
Joined: Fri Mar 16, 2012 5:20 am
Location: California
Contact: Website

Re: Preventing upgrade of individual kernel modules

Sat Jul 13, 2013 1:47 am

I just tested text-to-speech on the May image 3.6.11-11, and it works fine for me to echo speech to flite. What software are you using, are you sure it isn't a problem with your tts package vs. the driver? It works for me!

Maybe it is the tts package that needs fixing, but if you need it now, ugh.

I would test with a June image but do not have any that are working for me at this point, stuck back in May.
FORUM TIP: To view someone's posting history, sign in, click on their user name, then on "Search User's Posts." || Running ArchLinuxArm on Model 2B and 512MB Model B

Return to “Arch”