You are not logged in.
Pages: 1
Hi all,
I did a kernel update yesterday and ever since I restarted after the upgrade the broadcom wireless driver stopped working. I would appreciate if any one could tell me how to fix/debug this issue ?
Has any one else faced this issue ?
Offline
Which driver? I use the broadcom-wl package from AUR and it requires a recompile after a kernel upgrade if you don't have the dkms set up.
Offline
Which driver? I use the broadcom-wl package from AUR and it requires a recompile after a kernel upgrade if you don't have the dkms set up.
Which you can't do right now unless you're using the testing repo.
Offline
Offline
jackwild wrote:Which driver? I use the broadcom-wl package from AUR and it requires a recompile after a kernel upgrade if you don't have the dkms set up.
Which you can't do right now unless you're using the testing repo.
yes Broadbcom-wl package.
Last edited by pyarch (2014-05-02 02:22:12)
Offline
I updated and wl works fine without dkms. Go ahead and connect via ethernet (or compile on another archbox of the same architecture), redownload and install broadcom-wl. If you don't use dkms, try to keep a copy of broadcom-wl cached someone on your machine so when you do perform kernel upgrades that break your wireless, you can just reinstall the wireless driver without the connection.
Last edited by allonsy (2014-05-02 03:54:41)
Offline
I updated and wl works fine without dkms. Go ahead and connect via ethernet (or compile on another archbox of the same architecture), redownload and install broadcom-wl. If you don't use dkms, try to keep a copy of broadcom-wl cached someone on your machine so when you do perform kernel upgrades that break your wireless, you can just reinstall the wireless driver without the connection.
I downloaded broadcom-wl from https://aur.archlinux.org/packages/broadcom-wl/
and got the following error
Using CFG80211 API
LD /home/pyarch/Downloads/broadcom-wl/src/built-in.o
CC [M] /home/pyarch/Downloads/broadcom-wl/src/src/shared/linux_osl.o
gcc: error: unrecognized command line option ‘-fstack-protector-strong’
scripts/Makefile.build:308: recipe for target '/home/pyarch/Downloads/broadcom-wl/src/src/shared/linux_osl.o' failed
make[1]: *** [/home/pyarch/Downloads/broadcom-wl/src/src/shared/linux_osl.o] Error 1
Makefile:1274: recipe for target '_module_/home/pyarch/Downloads/broadcom-wl/src' failed
make: *** [_module_/home/pyarch=/Downloads/broadcom-wl/src] Error 2
make: Leaving directory '/usr/lib/modules/3.14.2-1-ARCH/build'
==> ERROR: A failure occurred in build().
Aborting...Offline
It's the damndest thing but the kernel upgrade didn't require me to rebuild wl this time. I have no idea why it does or doesn't. However, I already installed the new gcc and libtool packages from testing and downlaoded and extracted the new sources so I remade the package anyway using the new kenel. It required using the patch provided by the package maintainer in the broadcom-wl AUR comments but I can confirm that it builds and installs using the new gcc and manually applying the patch.
Offline
It's the damndest thing but the kernel upgrade didn't require me to rebuild wl this time. I have no idea why it does or doesn't. However, I already installed the new gcc and libtool packages from testing and downlaoded and extracted the new sources so I remade the package anyway using the new kenel. It required using the patch provided by the package maintainer in the broadcom-wl AUR comments but I can confirm that it builds and installs using the new gcc and manually applying the patch.
might be a dumb question but can you tell me how to apply the patch mentioned in the comment ?
Offline
jackwild wrote:It's the damndest thing but the kernel upgrade didn't require me to rebuild wl this time. I have no idea why it does or doesn't. However, I already installed the new gcc and libtool packages from testing and downlaoded and extracted the new sources so I remade the package anyway using the new kenel. It required using the patch provided by the package maintainer in the broadcom-wl AUR comments but I can confirm that it builds and installs using the new gcc and manually applying the patch.
might be a dumb question but can you tell me how to apply the patch mentioned in the comment ?
Have you read https://wiki.archlinux.org/index.php/Patching_in_ABS ?
Offline
might be a dumb question but can you tell me how to apply the patch mentioned in the comment ?
It's pretty easy to do manually if you're having trouble, all the info is in the patch text:
--- a/src/wl/sys/wl_linux.c 2014-05-01 17:00:42.882111597 +0200
+++ b/src/wl/sys/wl_linux.c 2014-05-01 16:59:01.866015434 +0200
@@ -2042,8 +2042,11 @@
void
wl_dump_ver(wl_info_t *wl, struct bcmstrbuf *b)
{
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wdate-time"
bcm_bprintf(b, "wl%d: %s %s version %s\n", wl->pub->unit,
__DATE__, __TIME__, EPI_VERSION_STR);
+#pragma GCC diagnostic pop
}
#if defined(BCMDBG)The first lines tells you which file to amend (src/wl/sys/wl_linux.c). The third line gives you a line number (2042) which is changing from 8 lines to 11 lines. Just add in the lines starting with a + and remove any starting with a -(minus). So add in the three pragma lines without their +. The code ends up like this:
void
wl_dump_ver(wl_info_t *wl, struct bcmstrbuf *b)
{
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdate-time"
bcm_bprintf(b, "wl%d: %s %s version %s\n", wl->pub->unit,
__DATE__, __TIME__, EPI_VERSION_STR);
#pragma GCC diagnostic pop
}
#if defined(BCMDBG)For larger patches it's easier to learn the patch tool.
Offline
pyarch wrote:might be a dumb question but can you tell me how to apply the patch mentioned in the comment ?
It's pretty easy to do manually if you're having trouble, all the info is in the patch text:
--- a/src/wl/sys/wl_linux.c 2014-05-01 17:00:42.882111597 +0200 +++ b/src/wl/sys/wl_linux.c 2014-05-01 16:59:01.866015434 +0200 @@ -2042,8 +2042,11 @@ void wl_dump_ver(wl_info_t *wl, struct bcmstrbuf *b) { +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wdate-time" bcm_bprintf(b, "wl%d: %s %s version %s\n", wl->pub->unit, __DATE__, __TIME__, EPI_VERSION_STR); +#pragma GCC diagnostic pop } #if defined(BCMDBG)The first lines tells you which file to amend (src/wl/sys/wl_linux.c). The third line gives you a line number (2042) which is changing from 8 lines to 11 lines. Just add in the lines starting with a + and remove any starting with a -(minus). So add in the three pragma lines without their +. The code ends up like this:
void wl_dump_ver(wl_info_t *wl, struct bcmstrbuf *b) { #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wdate-time" bcm_bprintf(b, "wl%d: %s %s version %s\n", wl->pub->unit, __DATE__, __TIME__, EPI_VERSION_STR); #pragma GCC diagnostic pop } #if defined(BCMDBG)For larger patches it's easier to learn the patch tool.
Thanks alot jackwild. I will try that and let you know how it goes
Offline
Pages: 1