Why akmod fails on F22 for nvidia (and possible other uses)
by Barry Scott
I did some investigation as to why akmod will fail to install a
the nvidia dirver when a new kernel turns up.
The problem is that dnf-makecache.service runs at the same time
as akmods.service. DNF locks the RPM data base which prevents
akmods from installing the RPM's it built.
Here is a extract from 346.72-2.1-for-4.0.8-300.fc22.x86_64.failed.log
Running transaction
RPMDB already locked by 2285
The application with PID 2285 is: dnf
Memory : 116 M RSS (677 MB VSZ)
Started: Sat Jul 18 12:09:56 2015 - 06:20 ago
State : Sleeping
2015/07/18 12:16:16 akmods: Could not install newly built RPMs. You can
find them and the logfile 2015/07/18 12:16:16 akmods:
346.72-2.1-for-4.0.8-300.fc22.x86_64.failed.log
in /var/cache/akmods/nvidia/ Looking in the journal shows dnf-makecache
running at the time that akmods.service need RPMDB access.
I ended up working around the issue with:
systemctl disable dnf-makecache.service
systemctl disable dnf-makecache.timer
I'm not sure what the right systemd unit change will be to have a
reliable start up. How do you prevent dnf-makecache from running
until after akmods.service has run given that started off a timer?
At the next kernel release I'll know if this is successful.
Barry
9 years, 4 months
Re: Why akmod fails on F22 for nvidia (and possible other uses)
by Radek Holy
----- Original Message -----
> From: bugzilla(a)redhat.com
> Subject: Why akmod fails on F22 for nvidia (and possible other uses)
>
> I did some investigation as to why akmod will fail to install a
> the nvidia dirver when a new kernel turns up.
>
> The problem is that dnf-makecache.service runs at the same time
> as akmods.service. DNF locks the RPM data base which prevents
> akmods from installing the RPM's it built.
>
> Here is a extract from 346.72-2.1-for-4.0.8-300.fc22.x86_64.failed.log
>
> Running transaction
> RPMDB already locked by 2285
> The application with PID 2285 is: dnf
> Memory : 116 M RSS (677 MB VSZ)
> Started: Sat Jul 18 12:09:56 2015 - 06:20 ago
> State : Sleeping
> 2015/07/18 12:16:16 akmods: Could not install newly built RPMs. You can
> find them and the logfile 2015/07/18 12:16:16 akmods:
> 346.72-2.1-for-4.0.8-300.fc22.x86_64.failed.log
> in /var/cache/akmods/nvidia/ Looking in the journal shows dnf-makecache
> running at the time that akmods.service need RPMDB access.
>
> I ended up working around the issue with:
>
> systemctl disable dnf-makecache.service
> systemctl disable dnf-makecache.timer
>
> I'm not sure what the right systemd unit change will be to have a
> reliable start up. How do you prevent dnf-makecache from running
> until after akmods.service has run given that started off a timer?
>
> At the next kernel release I'll know if this is successful.
>
> Barry
Can akmods.service simply wait for the RPM lock to be released? Sorry, if the question is stupid, I am not familiar with akmod system.
--
Radek Holý
Associate Software Engineer
Software Management Team
Red Hat Czech
9 years, 4 months
Fedora update via gui
by Dave Pawson
AFAICT the kernel had an update
this morning. I don't think anything else was included?
I updated using the gui (restart + update).
Worked perfectly.
regards
--
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
http://www.dpawson.co.uk
9 years, 4 months
success?
by Dave Pawson
Last night, from the cmd line I updated using dnf.
fedora 22, 64 bit.
>From the stream running past I think I had a new kernel and akmod.
Post install. Reboot, graphics as normal.
#win.... tentative?
regards
--
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
http://www.dpawson.co.uk
9 years, 4 months
Status update for RPMFusion F22
by Sérgio Basto
Hi,
Looks like we have one more step done, please test it :).
Releases for Fedora 22 are done and now we got the updates on
rpmfusion-free-updates and rpmfusion-nonfree-updates. Please enable
those repos (if not already enabled) and please purge yum/dnf caches
for yum with:
yum clean all
for dnf :
dnf clean all
and if you got problems on updates I recommend purge the cache with :
rm -rf /var/cache/dnf/x86_64/22/rpmfusion* (or i386)
Best regards,
--
Sérgio M. B.
9 years, 5 months
Nvidia cards and Fedora 22 kernel upgrades
by Dave Pawson
Twice now after a kernel update from Fedora,
I've not been able to reboot to a GUI.
Some time (usually days) later I update
and hey presto I'm back in business.
Eduard Huguet answered in another thread,
todays date re nvidia drivers.
I have a GEForce GTX 750 card
and akmod-nvidia (346.72) installed.
I'm wondering if something is 'late' to the party
when the kernel is updated.
Any suggestions please?
regards
--
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
http://www.dpawson.co.uk
9 years, 5 months
akmods and kernel updates.
by Dave Pawson
Just updated about 40 packages.
Kernel to 4.0.8-300.fc22.x86_64
akmods now at 0.5.2 release 1.fc2
Updated via the GUI, rather than dnf on cmd line.
Same problem, the sad face.
Same fix, root, non-gui
# akmods --force
HTH
--
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
http://www.dpawson.co.uk
9 years, 5 months
New akmods package with lots of changes!
by Richard Shaw
I just wanted to give everyone a heads up. I am building a new akmods
package which includes a lot of changes/fixes.
Changelog:
* Wed Jul 15 2015 Richard Shaw <hobbes1069(a)gmail.com> - 0.5.2-2
- Add package conflicts to stop pulling in kernel-debug-devel, fixes
BZ#3386.
- Add description for the formatting of the <kernel> parameter, BZ#3580.
- Update static man pages and clean them up.
- Fixed another instance of TMPDIR causing issues.
- Added detection of dnf vs yum to akmods, fixed BZ#3481.
When this hits the testing repositories I could use some feedback to make
sure I haven't broken anything.
Thanks,
Richard
9 years, 5 months