public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] broadcom-sta for my wireless card
@ 2017-05-24 18:10 allan gottlieb
  2017-05-24 18:19 ` Daniel Frey
  0 siblings, 1 reply; 7+ messages in thread
From: allan gottlieb @ 2017-05-24 18:10 UTC (permalink / raw
  To: gentoo-user

My older laptop needs broadcom-sta.  Back when I bought and setup the
laptop (kernel 3.18.12), I emerged broadcom-sta and wireless worked.

Now I am upgrading to kernel 4.9.16.  The kernel boots but no wireless.
In /lib/modules/3.18.12-gentoo-3 I have net/wireless/wl.ko.
In /lib/modules/4.9.16-gentoo-3 there is no net.

Am I supposed to remerge broadcom-sta?  If so how do I indicate the
kernel version for /lib/modules?
   Do I set the the /usr/src/linux symlink?
   Do I run 4.9.16 during the emerge?
   Something else?

thanks,
allan


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] broadcom-sta for my wireless card
  2017-05-24 18:10 [gentoo-user] broadcom-sta for my wireless card allan gottlieb
@ 2017-05-24 18:19 ` Daniel Frey
  2017-05-24 18:46   ` allan gottlieb
  0 siblings, 1 reply; 7+ messages in thread
From: Daniel Frey @ 2017-05-24 18:19 UTC (permalink / raw
  To: gentoo-user

On 05/24/2017 11:10 AM, allan gottlieb wrote:
> My older laptop needs broadcom-sta.  Back when I bought and setup the
> laptop (kernel 3.18.12), I emerged broadcom-sta and wireless worked.
> 
> Now I am upgrading to kernel 4.9.16.  The kernel boots but no wireless.
> In /lib/modules/3.18.12-gentoo-3 I have net/wireless/wl.ko.
> In /lib/modules/4.9.16-gentoo-3 there is no net.
> 
> Am I supposed to remerge broadcom-sta?  If so how do I indicate the
> kernel version for /lib/modules?
>    Do I set the the /usr/src/linux symlink?
>    Do I run 4.9.16 during the emerge?
>    Something else?
> 
> thanks,
> allan
> 

Sounds like it installs kernel modules, so yes, after a new kernel build
you need to re-emerge all packages that install modules. Easiest way to
emerge all packages that install kernel modules is:

`emerge -a @module-rebuild`

Dan


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] broadcom-sta for my wireless card
  2017-05-24 18:19 ` Daniel Frey
@ 2017-05-24 18:46   ` allan gottlieb
  2017-05-24 19:11     ` Alan McKinnon
  2017-05-24 19:38     ` Daniel Frey
  0 siblings, 2 replies; 7+ messages in thread
From: allan gottlieb @ 2017-05-24 18:46 UTC (permalink / raw
  To: gentoo-user

On Wed, May 24 2017, Daniel Frey wrote:

> On 05/24/2017 11:10 AM, allan gottlieb wrote:
>> My older laptop needs broadcom-sta.  Back when I bought and setup the
>> laptop (kernel 3.18.12), I emerged broadcom-sta and wireless worked.
>> 
>> Now I am upgrading to kernel 4.9.16.  The kernel boots but no wireless.
>> In /lib/modules/3.18.12-gentoo-3 I have net/wireless/wl.ko.
>> In /lib/modules/4.9.16-gentoo-3 there is no net.
>> 
>> Am I supposed to remerge broadcom-sta?  If so how do I indicate the
>> kernel version for /lib/modules?
>>    Do I set the the /usr/src/linux symlink?
>>    Do I run 4.9.16 during the emerge?
>>    Something else?
>> 
>> thanks,
>> allan
>> 
>
> Sounds like it installs kernel modules, so yes, after a new kernel build
> you need to re-emerge all packages that install modules. Easiest way to
> emerge all packages that install kernel modules is:
>
> `emerge -a @module-rebuild`
>
> Dan

Thank you dan, but how do I tell the build which /lib/modules/* to use.
I gave two guesses above.

allan


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] broadcom-sta for my wireless card
  2017-05-24 18:46   ` allan gottlieb
@ 2017-05-24 19:11     ` Alan McKinnon
  2017-05-24 19:38     ` Daniel Frey
  1 sibling, 0 replies; 7+ messages in thread
From: Alan McKinnon @ 2017-05-24 19:11 UTC (permalink / raw
  To: gentoo-user

On 24/05/2017 20:46, allan gottlieb wrote:
> On Wed, May 24 2017, Daniel Frey wrote:
> 
>> On 05/24/2017 11:10 AM, allan gottlieb wrote:
>>> My older laptop needs broadcom-sta.  Back when I bought and setup the
>>> laptop (kernel 3.18.12), I emerged broadcom-sta and wireless worked.
>>>
>>> Now I am upgrading to kernel 4.9.16.  The kernel boots but no wireless.
>>> In /lib/modules/3.18.12-gentoo-3 I have net/wireless/wl.ko.
>>> In /lib/modules/4.9.16-gentoo-3 there is no net.
>>>
>>> Am I supposed to remerge broadcom-sta?  If so how do I indicate the
>>> kernel version for /lib/modules?
>>>    Do I set the the /usr/src/linux symlink?
>>>    Do I run 4.9.16 during the emerge?
>>>    Something else?
>>>
>>> thanks,
>>> allan
>>>
>>
>> Sounds like it installs kernel modules, so yes, after a new kernel build
>> you need to re-emerge all packages that install modules. Easiest way to
>> emerge all packages that install kernel modules is:
>>
>> `emerge -a @module-rebuild`
>>
>> Dan
> 
> Thank you dan, but how do I tell the build which /lib/modules/* to use.
> I gave two guesses above.
> 
> allan
> 


it installs according to the /usr/src/linux symlink



-- 
Alan McKinnon
alan.mckinnon@gmail.com



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] broadcom-sta for my wireless card
  2017-05-24 18:46   ` allan gottlieb
  2017-05-24 19:11     ` Alan McKinnon
@ 2017-05-24 19:38     ` Daniel Frey
  2017-05-24 19:48       ` Neil Bothwick
  1 sibling, 1 reply; 7+ messages in thread
From: Daniel Frey @ 2017-05-24 19:38 UTC (permalink / raw
  To: gentoo-user

On 05/24/2017 11:46 AM, allan gottlieb wrote:
> On Wed, May 24 2017, Daniel Frey wrote:
> 
>> On 05/24/2017 11:10 AM, allan gottlieb wrote:
>>> My older laptop needs broadcom-sta.  Back when I bought and setup the
>>> laptop (kernel 3.18.12), I emerged broadcom-sta and wireless worked.
>>>
>>> Now I am upgrading to kernel 4.9.16.  The kernel boots but no wireless.
>>> In /lib/modules/3.18.12-gentoo-3 I have net/wireless/wl.ko.
>>> In /lib/modules/4.9.16-gentoo-3 there is no net.
>>>
>>> Am I supposed to remerge broadcom-sta?  If so how do I indicate the
>>> kernel version for /lib/modules?
>>>    Do I set the the /usr/src/linux symlink?
>>>    Do I run 4.9.16 during the emerge?
>>>    Something else?
>>>
>>> thanks,
>>> allan
>>>
>>
>> Sounds like it installs kernel modules, so yes, after a new kernel build
>> you need to re-emerge all packages that install modules. Easiest way to
>> emerge all packages that install kernel modules is:
>>
>> `emerge -a @module-rebuild`
>>
>> Dan
> 
> Thank you dan, but how do I tell the build which /lib/modules/* to use.
> I gave two guesses above.
> 
> allan
> 

Use `eselect kernel list` : it will show which /lib/modules it will go
to (as an example here's mine):

$ eselect kernel list
Available kernel symlink targets:
  [1]   linux-4.1.37-gentoo *
  [2]   linux-4.9.16-gentoo

If I merge a package with kernel modules, it will currently go to
lib/modules/4.1.37-gentoo, which is what my kernel symlink is set to.
You can use `eselect kernel set` to change this symlink. In my case,
using `eselect kernel set 2` will change it to 4.9.16. In your case,
list the installed kernels and set it to the new kernel and `emerge -a
@module-rebuild` and you'll be good to go.

Dan


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] broadcom-sta for my wireless card
  2017-05-24 19:38     ` Daniel Frey
@ 2017-05-24 19:48       ` Neil Bothwick
  2017-05-24 23:00         ` allan gottlieb
  0 siblings, 1 reply; 7+ messages in thread
From: Neil Bothwick @ 2017-05-24 19:48 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 561 bytes --]

On Wed, 24 May 2017 12:38:29 -0700, Daniel Frey wrote:

> You can use `eselect kernel set` to change this symlink. In my case,
> using `eselect kernel set 2` will change it to 4.9.16. In your case,
> list the installed kernels and set it to the new kernel and `emerge -a
> @module-rebuild` and you'll be good to go.

Or you can set the symlink USE flag for your kernel package and it will
automatically set the symlink to the most recently installed kernel.


-- 
Neil Bothwick

The careful application of terror is also a form of communication.

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] broadcom-sta for my wireless card
  2017-05-24 19:48       ` Neil Bothwick
@ 2017-05-24 23:00         ` allan gottlieb
  0 siblings, 0 replies; 7+ messages in thread
From: allan gottlieb @ 2017-05-24 23:00 UTC (permalink / raw
  To: gentoo-user

On Wed, May 24 2017, Neil Bothwick wrote:

> On Wed, 24 May 2017 12:38:29 -0700, Daniel Frey wrote:
>
>> You can use `eselect kernel set` to change this symlink. In my case,
>> using `eselect kernel set 2` will change it to 4.9.16. In your case,
>> list the installed kernels and set it to the new kernel and `emerge -a
>> @module-rebuild` and you'll be good to go.
>
> Or you can set the symlink USE flag for your kernel package and it will
> automatically set the symlink to the most recently installed kernel.

Thank you all.
allan


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-05-24 23:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-24 18:10 [gentoo-user] broadcom-sta for my wireless card allan gottlieb
2017-05-24 18:19 ` Daniel Frey
2017-05-24 18:46   ` allan gottlieb
2017-05-24 19:11     ` Alan McKinnon
2017-05-24 19:38     ` Daniel Frey
2017-05-24 19:48       ` Neil Bothwick
2017-05-24 23:00         ` allan gottlieb

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox