You are not logged in.

#1 2017-03-20 03:28:16

guanzd
Member
Registered: 2017-03-20
Posts: 7

Have problem on installing drivers for Broadcom 4360

Hi,
   I have a MacBook Pro. I was installing archlinux on it. everything is Ok, except the driver installation.
   The terminal echo the information that indicate that it cannot find '4.9.11-1-ARCH' in '/lib/modules'.
   Then I checked the version of kernel module, it is the 4.9. However, when I cd to /lib/modules, something goes wrong. There is no '4.9.11-1-ARCH' exists as I expected.
   They are for 4.10.3-2-ARCH.
    So I mv them to 4.9, but it gave me the same echo.
what is the problem?
Many thanks!

Offline

#2 2017-03-20 03:54:37

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,963
Website

Re: Have problem on installing drivers for Broadcom 4360

guanzd wrote:

There is no '4.9.11-1-ARCH' exists as I expected.
   They are for 4.10.3-2-ARCH.
    So I mv them to 4.9, but it gave me the same echo.
what is the problem?

You probably upgraded the kernel without restarting the system. The loaded kernel is still 4.9 but the installed kernel is 4.10. You should restart, but you have to restore the files that you moved first or your system will probably be unbootable.

In general, if you find system files in what you think is the wrong place, you should make sure that you know exactly what you are doing before you start moving them around.


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#3 2017-03-20 10:36:51

guanzd
Member
Registered: 2017-03-20
Posts: 7

Re: Have problem on installing drivers for Broadcom 4360

Xyne wrote:
guanzd wrote:

There is no '4.9.11-1-ARCH' exists as I expected.
   They are for 4.10.3-2-ARCH.
    So I mv them to 4.9, but it gave me the same echo.
what is the problem?


You probably upgraded the kernel without restarting the system. The loaded kernel is still 4.9 but the installed kernel is 4.10. You should restart, but you have to restore the files that you moved first or your system will probably be unbootable.

In general, if you find system files in what you think is the wrong place, you should make sure that you know exactly what you are doing before you start moving them around.


Thank you for your reply!
It is the first time that I install Arch  on Mac. However, I restarted several times, I even restore the system, but it is the initial status that I cannot install driver on the system.
BTW, I did not do anything on upgrading the kernel. That is kind weird.
Thank you!

Last edited by guanzd (2017-03-20 10:37:26)

Offline

#4 2017-03-20 10:41:41

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,530
Website

Re: Have problem on installing drivers for Broadcom 4360

To be sure we're on the same page, can you post the output of the following commands after a reboot:

uname -a
pacman -Q linux

What do you mean when you say you "restored the system".  Please be precise: post the exact commands you have been using and the exact error messages returned.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Online

#5 2017-03-20 10:49:19

guanzd
Member
Registered: 2017-03-20
Posts: 7

Re: Have problem on installing drivers for Broadcom 4360

Trilby wrote:

To be sure we're on the same page, can you post the output of the following commands after a reboot:

uname -a
pacman -Q linux

What do you mean when you say you "restored the system".  Please be precise: post the exact commands you have been using and the exact error messages returned.

Sorry about vague, "restored the system" means install it again.   I guessed it could be something wrong in my first installation, so I performed the installation again.

Offline

#6 2017-03-20 11:17:21

guanzd
Member
Registered: 2017-03-20
Posts: 7

Re: Have problem on installing drivers for Broadcom 4360

Trilby wrote:

To be sure we're on the same page, can you post the output of the following commands after a reboot:

uname -a
pacman -Q linux

What do you mean when you say you "restored the system".  Please be precise: post the exact commands you have been using and the exact error messages returned.

for kernel verison:
Linux archiso 4.9.11-1-ARCH #1 SMP PREEMPT Sun Feb 19 13:45:52 UTC 2017 x86_64 GNU/Linux
for pacman -Q Linux:
linux 4.10.3-1

How can I solve it?

Offline

#7 2017-03-20 11:19:13

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,530
Website

Re: Have problem on installing drivers for Broadcom 4360

OK, after the reinstallation, what are the results of the commands I just gave?  Also, what command(s) are you using to build/install the driver that led to the initial error?  Finally, what error(s) are you getting now when you try to build the driver(s) - I'm quite sure they are not the same.

EDIT: you can edit your posts to add new information.  There is no need to post multiple times in a row.

Why does your hostname say "archiso"?  Are you in the live system still?  You need to boot into your installed system.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Online

#8 2017-03-20 11:26:12

guanzd
Member
Registered: 2017-03-20
Posts: 7

Re: Have problem on installing drivers for Broadcom 4360

I downloaded the source pack of the firmware (broadcom-wl-dkms) from the official site. 'Make' in the folder contained the source, it made the initial error which gave the below information:
make[1]: *** /lib/modules/4.9.11-1-ARCH/build No such file or directory.
Then I cd to  '/lib/modules' and find there are no folders for 4.9, both of them for 4.10.3.
BTW, before doing this, I used yaourt to install dkms, but the last piece of echo indicates the PKGBUILD can not be found. So I decided to compile the source by myself.

Last edited by guanzd (2017-03-20 11:30:36)

Offline

#9 2017-03-20 11:34:02

guanzd
Member
Registered: 2017-03-20
Posts: 7

Re: Have problem on installing drivers for Broadcom 4360

I used live system and then used arch-chroot. To change to the new root system

OK, I will contact you if I have any further problem on this after finishing the booting configuration.

Last edited by guanzd (2017-03-20 11:35:48)

Offline

#10 2017-03-20 11:50:12

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,530
Website

Re: Have problem on installing drivers for Broadcom 4360

1) Again, use the edit funtion.  Do not make multiple posts in a row.

2) Do not try to build drivers manually with `make`.  Use packages in the repos or the AUR and makepkg.

3) Again, post exact commands and error messages.  The following are not exact commands nor error messages:

I used yaourt to install dkms, but the last piece of echo indicates the PKGBUILD can not be found.

4) Stop working within the iso chroot.  Reboot into your installed system.

How did you install archlinux, and why/how do you have yaourt if you've not even booted your system yet?

Mod note: I'm not sure why this was ever in the Networking Server & Protection subforum.  Moved to Newbie Corner.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Online

Board footer

Powered by FluxBB