Re: Old Kernel Modules Directories not Cleaned up

2015-02-01 Thread poma
On 01.02.2015 21:51, Stephen Morris wrote:

> The wifi driver has only just been used since the 3.17 kernel, all he 
> other kernels did not have that module, the pci card I was using had 
> support built in to the kernel. I have always had the binary nvidia 
> modules installed via dnf/yum, although I have also had the akmod 
> packages installed as well just in case the binary modules don't match 
> the kernel version, and the virtualbox modules are all the binary 
> modules installed by dnf/yum, so I would have expected the 
> /lib/modules/* directories to be removed when dnf/yum did the package 
> removes. If dkms was used on the odd occasion for the nvidia modules, I 
> would have expected the dkms tree to be rebuilt to remove the entries 
> relevant to the kernel being removed and the modules deleted, as used to 
> happen in the distribution I was using prior to Fedora.
> 

Do not bother with that, when you remember wipe these modules and directories 
manually, and that's it.



-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Old Kernel Modules Directories not Cleaned up

2015-02-01 Thread Stephen Morris

On 01/31/2015 06:26 AM, poma wrote:

On 30.01.2015 15:15, Tom H wrote:

On Thu, Jan 29, 2015 at 6:41 PM, poma  wrote:

On 30.01.2015 00:21, Gordon Messmer wrote:

On 01/29/2015 01:55 PM, Stephen Morris wrote:

I had to delete a dozen of these directories this morning manually,
why are these not removed when the associated kernels are removed?

Were the kernel modules in those directories built locally by dkms
rather than owned by rpm packages? That'd do it.


These modules do not belong to the official kernel packages, as well
as your hand-built Wi-Fi module.

The point is, DKMS - Dynamic Kernel Module Support is not a perfect
mechanism, therefore, it is "normal" for it to leave the old modules
behind.

https://wiki.archlinux.org/index.php/Dynamic_Kernel_Module_Support#Remove_modules

Shouldn't there be a prerm hook that runs "dkms remove ..."?!


And why do you ask me!? :)
The wifi driver has only just been used since the 3.17 kernel, all he 
other kernels did not have that module, the pci card I was using had 
support built in to the kernel. I have always had the binary nvidia 
modules installed via dnf/yum, although I have also had the akmod 
packages installed as well just in case the binary modules don't match 
the kernel version, and the virtualbox modules are all the binary 
modules installed by dnf/yum, so I would have expected the 
/lib/modules/* directories to be removed when dnf/yum did the package 
removes. If dkms was used on the odd occasion for the nvidia modules, I 
would have expected the dkms tree to be rebuilt to remove the entries 
relevant to the kernel being removed and the modules deleted, as used to 
happen in the distribution I was using prior to Fedora.






<>-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Old Kernel Modules Directories not Cleaned up

2015-01-30 Thread poma
On 30.01.2015 15:15, Tom H wrote:
> On Thu, Jan 29, 2015 at 6:41 PM, poma  wrote:
>> On 30.01.2015 00:21, Gordon Messmer wrote:
>>> On 01/29/2015 01:55 PM, Stephen Morris wrote:

 I had to delete a dozen of these directories this morning manually,
 why are these not removed when the associated kernels are removed?
>>>
>>> Were the kernel modules in those directories built locally by dkms
>>> rather than owned by rpm packages? That'd do it.
>>>
>>
>> These modules do not belong to the official kernel packages, as well
>> as your hand-built Wi-Fi module.
>>
>> The point is, DKMS - Dynamic Kernel Module Support is not a perfect
>> mechanism, therefore, it is "normal" for it to leave the old modules
>> behind.
>>
>> https://wiki.archlinux.org/index.php/Dynamic_Kernel_Module_Support#Remove_modules
> 
> Shouldn't there be a prerm hook that runs "dkms remove ..."?!
> 

And why do you ask me!? :)


-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Old Kernel Modules Directories not Cleaned up

2015-01-30 Thread Tom H
On Thu, Jan 29, 2015 at 6:41 PM, poma  wrote:
> On 30.01.2015 00:21, Gordon Messmer wrote:
>> On 01/29/2015 01:55 PM, Stephen Morris wrote:
>>>
>>> I had to delete a dozen of these directories this morning manually,
>>> why are these not removed when the associated kernels are removed?
>>
>> Were the kernel modules in those directories built locally by dkms
>> rather than owned by rpm packages? That'd do it.
>>
>
> These modules do not belong to the official kernel packages, as well
> as your hand-built Wi-Fi module.
>
> The point is, DKMS - Dynamic Kernel Module Support is not a perfect
> mechanism, therefore, it is "normal" for it to leave the old modules
> behind.
>
> https://wiki.archlinux.org/index.php/Dynamic_Kernel_Module_Support#Remove_modules

Shouldn't there be a prerm hook that runs "dkms remove ..."?!
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Old Kernel Modules Directories not Cleaned up

2015-01-29 Thread poma
On 30.01.2015 00:21, Gordon Messmer wrote:
> On 01/29/2015 01:55 PM, Stephen Morris wrote:
>> I had to delete a dozen of these directories this morning manually, why
>> are these not removed when the associated kernels are removed?
> 
> Were the kernel modules in those directories built locally by dkms 
> rather than owned by rpm packages?  That'd do it.
> 

These modules do not belong to the official kernel packages, as well as your 
hand-built Wi-Fi module.
The point is, DKMS - Dynamic Kernel Module Support is not a perfect mechanism, 
therefore, it is "normal" for it to leave the old modules behind.

https://wiki.archlinux.org/index.php/Dynamic_Kernel_Module_Support#Remove_modules

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Old Kernel Modules Directories not Cleaned up

2015-01-29 Thread Gordon Messmer

On 01/29/2015 01:55 PM, Stephen Morris wrote:

I had to delete a dozen of these directories this morning manually, why
are these not removed when the associated kernels are removed?


Were the kernel modules in those directories built locally by dkms 
rather than owned by rpm packages?  That'd do it.

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org