You are not logged in.

#76 2013-08-23 08:35:21

Owen Tuz
Member
Registered: 2010-09-16
Posts: 12

Re: [SOLVED] Linux 3.10.6 and brcmsmac: kernel panic

First of all, I've been watching this thread for a while and want to say thanks to everyone for their work tracking this down smile Here's hoping eworm's fix gets pulled into the next kernel release.

WonderWoofy wrote:

@PedroF, the pacman package now includes a really handy tool called updpkgsums, which will simply find the mentioned files in the sources array as well as the type of checksumming that is applied (ie. md5sum, sha1sum, sha256sum, etc) and fix things up for you.

If I'm not misunderstanding, this seems like a bad idea? While > 90% of checksum mismatches are almost certainly simple mistakes, part of the point of a checksum is to check that files haven't been replaced in transit by potentially malicious alternatives - so blindly overwriting the checksums to match what you have would be bad practice.

Obviously a tool like updpkgsums is helpful for the maintainer, but I wouldn't recommend using it at the client end smile

Offline

#77 2013-08-23 09:28:23

PedroF
Member
Registered: 2012-07-23
Posts: 19

Re: [SOLVED] Linux 3.10.6 and brcmsmac: kernel panic

WonderWoofy wrote:

@PedroF, the pacman package now includes a really handy tool called updpkgsums, which will simply find the mentioned files in the sources array as well as the type of checksumming that is applied (ie. md5sum, sha1sum, sha256sum, etc) and fix things up for you.

Using that tool for downloaded packages is obviously a bad practice unless you're a maintainer.

The whole point of checksum check is to check if the file source wasn't compromised with an potencial malicious file.

Edit:

Owen Tuz wrote:

First of all, I've been watching this thread for a while and want to say thanks to everyone for their work tracking this down smile Here's hoping eworm's fix gets pulled into the next kernel release.

WonderWoofy wrote:

@PedroF, the pacman package now includes a really handy tool called updpkgsums, which will simply find the mentioned files in the sources array as well as the type of checksumming that is applied (ie. md5sum, sha1sum, sha256sum, etc) and fix things up for you.

If I'm not misunderstanding, this seems like a bad idea? While > 90% of checksum mismatches are almost certainly simple mistakes, part of the point of a checksum is to check that files haven't been replaced in transit by potentially malicious alternatives - so blindly overwriting the checksums to match what you have would be bad practice.

Obviously a tool like updpkgsums is helpful for the maintainer, but I wouldn't recommend using it at the client end smile

You have covered it all ! Great post.

Last edited by PedroF (2013-08-23 09:29:57)

Offline

#78 2013-08-23 10:45:49

maroid
Member
Registered: 2013-05-11
Posts: 14

Re: [SOLVED] Linux 3.10.6 and brcmsmac: kernel panic

Thank you for uploading the patched kernel! Works well so far.

Offline

#79 2013-08-23 12:46:00

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED] Linux 3.10.6 and brcmsmac: kernel panic

Yes indeed it would be bad practice to use updpkgsums blindly.  But like many tools they can be used well or abused.  I'm not advocating for simple getting a mismatch and then running updpkgsums without looking things over.  But once you do and confirm that nothing has gone awry (you download it multiple times from a trusted source and get the same checksum for example), then updpkgsums can serve as a fantastic convenience over having to hand edit the file… not that that is much work either.

Offline

#80 2013-08-23 13:40:49

sardina
Member
Registered: 2013-02-23
Posts: 152

Re: [SOLVED] Linux 3.10.6 and brcmsmac: kernel panic

I've got a BCM4313, so my official alternatives were downgrading or switching to broadcom-wl (eww).

Therefore I decided to test eworm's patch for 3.10.9.

Since this morning everything is fine.

Last edited by sardina (2013-08-23 13:42:22)

Offline

#81 2013-08-23 13:50:38

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,964
Website

Re: [SOLVED] Linux 3.10.6 and brcmsmac: kernel panic

I tested broadcom-wl; now I got kernel panics quite often during boot.

Offline

#82 2013-08-23 14:07:46

W4RH4WK
Member
Registered: 2012-08-03
Posts: 27

Re: [SOLVED] Linux 3.10.6 and brcmsmac: kernel panic

Asus 1215n here, reinstalling broadcom-wl seems to fix the problem for me.. no panics at boot, yet

Offline

#83 2013-08-23 15:09:15

Awebb
Member
Registered: 2010-05-06
Posts: 6,602

Re: [SOLVED] Linux 3.10.6 and brcmsmac: kernel panic

eworm wrote:
Awebb wrote:
eworm wrote:
Awebb wrote:

I would test this, but my netbook runs on 32bit. Would you mind providing your PKGBUILD/tarball, so I can test it?

smile

Did you receive my mail?

However, here is the updated tarball with PKGBUILD and file for anybody who wants to build:
http://www.eworm.de/tmp/linux.tar.gz

:-O

Thank you. For some reason, IMAP refused to do its job. Carry on!

Online

#84 2013-08-23 22:08:07

anti-destin
Member
Registered: 2009-02-14
Posts: 234

Re: [SOLVED] Linux 3.10.6 and brcmsmac: kernel panic

thanks, eworm. working nicely here.

Offline

#85 2013-08-24 15:55:14

marcelokalib
Member
Registered: 2013-03-01
Posts: 13

Re: [SOLVED] Linux 3.10.6 and brcmsmac: kernel panic

So, does anyone knows if the last kernel released on [core] (linux 3.10.9-1) is already patched? I got the same problem and downgraded to kernel 3.10.5 (still there).

If I update it now to 3.10.9-1, will get it working? Or still crashing and resulting on kernel panic?

Offline

#86 2013-08-24 16:09:14

eworm
Package Maintainer (PM)
From: Oberhausen, Germany
Registered: 2010-01-30
Posts: 106
Website

Re: [SOLVED] Linux 3.10.6 and brcmsmac: kernel panic

marcelokalib wrote:

So, does anyone knows if the last kernel released on [core] (linux 3.10.9-1) is already patched? I got the same problem and downgraded to kernel 3.10.5 (still there).

If I update it now to 3.10.9-1, will get it working? Or still crashing and resulting on kernel panic?

It will still panic. Use my patched kernel if you want to update to 3.10.9.


ArchLinux - make it simple & lightweight

Offline

#87 2013-08-24 16:19:05

nierro
Member
From: Milan, Italy
Registered: 2011-09-02
Posts: 849

Re: [SOLVED] Linux 3.10.6 and brcmsmac: kernel panic

@eworm: just to say thanks! Your kernel works fine here. Thank you very much.

Offline

#88 2013-08-24 16:30:38

marcelokalib
Member
Registered: 2013-03-01
Posts: 13

Re: [SOLVED] Linux 3.10.6 and brcmsmac: kernel panic

eworm wrote:

It will still panic. Use my patched kernel if you want to update to 3.10.9.

So, You mean I can just install your linux package, put linux on my ignorepkg and run -Syu? It will work fine?

Offline

#89 2013-08-24 16:36:15

mrueegg
Member
Registered: 2013-08-24
Posts: 13

Re: [SOLVED] Linux 3.10.6 and brcmsmac: kernel panic

I have problems getting my wifi (broadcom 14e4:43a0 / MacBook Air 2013) to work with the package broadcom-wl-dkms. After the installation, I was not able to see the interface with "ip link". "modprobe wl" yields "FATAL: Module wl not found". I also tried to enable the systemd service DKMS as was suggested in one of the comments of the AUR package, but this did not help either.

Any suggestions would be highly appreciated. Thanks.

Offline

#90 2013-08-24 17:49:59

Awebb
Member
Registered: 2010-05-06
Posts: 6,602

Re: [SOLVED] Linux 3.10.6 and brcmsmac: kernel panic

mrueegg wrote:

I have problems getting my wifi (broadcom 14e4:43a0 / MacBook Air 2013) to work with the package broadcom-wl-dkms. After the installation, I was not able to see the interface with "ip link". "modprobe wl" yields "FATAL: Module wl not found". I also tried to enable the systemd service DKMS as was suggested in one of the comments of the AUR package, but this did not help either.

Any suggestions would be highly appreciated. Thanks.

A seperate thread would make     sense. This one is about a very specific problem.

Online

#91 2013-08-24 18:19:33

eworm
Package Maintainer (PM)
From: Oberhausen, Germany
Registered: 2010-01-30
Posts: 106
Website

Re: [SOLVED] Linux 3.10.6 and brcmsmac: kernel panic

marcelokalib wrote:
eworm wrote:

It will still panic. Use my patched kernel if you want to update to 3.10.9.

So, You mean I can just install your linux package, put linux on my ignorepkg and run -Syu? It will work fine?

It's the same package name and version, so you do not even nedd to ignore. wink


ArchLinux - make it simple & lightweight

Offline

#92 2013-08-24 18:20:38

weston
Member
Registered: 2013-08-16
Posts: 2

Re: [SOLVED] Linux 3.10.6 and brcmsmac: kernel panic

@eworn. Thanks for your work with this. If not for you, I would still be a little lost. I had moved over to the broadcom-wl driver to get around this. Your kernel patches are definitely the way to go for the time being. Helped my poor little netbook.

Offline

#93 2013-08-24 18:21:38

weston
Member
Registered: 2013-08-16
Posts: 2

Re: [SOLVED] Linux 3.10.6 and brcmsmac: kernel panic

marcelokalib wrote:
eworm wrote:

It will still panic. Use my patched kernel if you want to update to 3.10.9.

So, You mean I can just install your linux package, put linux on my ignorepkg and run -Syu? It will work fine?

Use 'sudo pacman -U /path/to/kernel/patch.pkg.tar.xz' to install.

Offline

#94 2013-08-25 04:00:03

r0b0t
Member
From: /tmp
Registered: 2009-05-24
Posts: 505

Re: [SOLVED] Linux 3.10.6 and brcmsmac: kernel panic

Due to THIS other problem ; https://bbs.archlinux.org/viewtopic.php?pid=1316568 I had to clear my pkg so basically I don't have any old kernel in the cache and http://arm.konnichi.com/ seems to be a parked domain. looked for out-of-synch mirrors but cannot find the 3.10.5 , where I can find the kernel to downgrade?

Offline

#95 2013-08-25 12:33:07

mrueegg
Member
Registered: 2013-08-24
Posts: 13

Re: [SOLVED] Linux 3.10.6 and brcmsmac: kernel panic

Awebb wrote:
mrueegg wrote:

I have problems getting my wifi (broadcom 14e4:43a0 / MacBook Air 2013) to work with the package broadcom-wl-dkms. After the installation, I was not able to see the interface with "ip link". "modprobe wl" yields "FATAL: Module wl not found". I also tried to enable the systemd service DKMS as was suggested in one of the comments of the AUR package, but this did not help either.

Any suggestions would be highly appreciated. Thanks.

A seperate thread would make     sense. This one is about a very specific problem.

Done. See https://bbs.archlinux.org/viewtopic.php … 3#p1316663

Offline

#96 2013-08-26 11:08:56

nullstring
Member
Registered: 2011-07-23
Posts: 14

Re: [SOLVED] Linux 3.10.6 and brcmsmac: kernel panic

r0b0t wrote:

Due to THIS other problem ; https://bbs.archlinux.org/viewtopic.php?pid=1316568 I had to clear my pkg so basically I don't have any old kernel in the cache and http://arm.konnichi.com/ seems to be a parked domain. looked for out-of-synch mirrors but cannot find the 3.10.5 , where I can find the kernel to downgrade?

This thread appears to have some useful information: https://bbs.archlinux.org/viewtopic.php?id=53665&p=10
Perhaps try this?: http://repo-arm.archlinuxcn.org/

If all else fails you could:
1. install linux-lts which is kernel version 3.0.93-1 and use that.
2. build your own kernel (Not all that hard, just can take a while to build.)

EDIT: Apparently you were unlucky as the guy running ARM has bowed out and the individual looking to replace him does not have packages that go far as back as the version we're interested. You'll have to choose one of the two options above unfortunately.

Last edited by nullstring (2013-08-26 11:42:13)

Offline

#97 2013-08-26 12:43:46

marcelokalib
Member
Registered: 2013-03-01
Posts: 13

Re: [SOLVED] Linux 3.10.6 and brcmsmac: kernel panic

eworm wrote:
marcelokalib wrote:
eworm wrote:

It will still panic. Use my patched kernel if you want to update to 3.10.9.

So, You mean I can just install your linux package, put linux on my ignorepkg and run -Syu? It will work fine?

It's the same package name and version, so you do not even nedd to ignore. wink

Thanks, worked just fine.. Let's hope that I won't have thie kernel panic problem again when 3.11 comes to [core]. ;]

Offline

#98 2013-08-27 00:57:42

thechancellor
Member
From: Los Angeles, CA
Registered: 2013-07-28
Posts: 6

Re: [SOLVED] Linux 3.10.6 and brcmsmac: kernel panic

Thanks eworm, your patch works perfectly. I tried hard to stick with the official kernel upgrade with broadcom-wl, the b43 and b43legacy modules, etc., but none were able to pick up my wireless card. In the end I wound up downloading eworm's patch and trying it, and no issues so far.

Edit: I'm on a Dell Latitude E6510 with a Broadcom 4313, for anyone else with this issue.

Last edited by thechancellor (2013-08-27 00:58:39)

Offline

#99 2013-08-30 06:31:58

eworm
Package Maintainer (PM)
From: Oberhausen, Germany
Registered: 2010-01-30
Posts: 106
Website

Re: [SOLVED] Linux 3.10.6 and brcmsmac: kernel panic


ArchLinux - make it simple & lightweight

Offline

#100 2013-08-30 07:00:22

GourdCaptain
Member
Registered: 2009-04-18
Posts: 121

Re: [SOLVED] Linux 3.10.6 and brcmsmac: kernel panic

Thanks - I was using the LTS kernel to work around this on my i686 netbook (mostly on the grounds that trying to compile on it would be hilariously slow and the LTS one works with that hardware decently). Does anyone know about the progress on getting this fixed in the mainline kernel? My googling indicates it might be fixed in 3.11...

Offline

Board footer

Powered by FluxBB