Which package typically includes network controller drivers

Jeffrey Walton noloader at gmail.com
Fri Nov 15 18:25:53 EST 2019


On Fri, Nov 15, 2019 at 5:08 PM Connor Kuehl <connor.kuehl at outlook.com> wrote:
>
> On 11/15/19 1:18 PM, Jeffrey Walton wrote:
> >
> > My apologies if this one is off-topic.
> >
> > I recently encountered a bad apt update using Ubuntu. The 5.0.0-36
> > kernel was installed, but it was missing network card drivers. I tried
> > to modprobe the network card drivers but they were missing.
> >
> > I was able to recover by standing up a VM, copying the *.deb files
> > from /var/cache/apt/archive, sneaker netting to the wounded machine,
> > and then manually re-installing the packages.
> >
> > My question is, which package typically includes the network card
> > drivers? I believe the choices are
> > linux-modules or linux-modules-extras.
> ...
>
> Your instinct is correct though. The most common modules that aren't
> built-in to the kernel (i.e., compiled as CONFIG_BLAH=y) are in the
> linux-modules package. There's a good chance your driver (should be) in
> there. The linux-modules-extras are basically "everything else".

One last question, if you don't mind...

I'm wondering who/what creates linux-modules adn linux-modules-extras.
I would not be surprised if the kernel's scripts created a rpm by
default. (But I would be surprised to learn it created, say, Pacman
packages).

Does the kernel's build scripts perform any packaging? Or is it left
to a distro?

Jeff



More information about the Kernelnewbies mailing list