kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #74970
[Bug 1341275] Re: 10ec:8821 [Gigabyte GB-BXi7-4470R] Kernel panic in rtl8821ae
TJ, regarding your comments:
>"The latest kernel 3.16 driver doesn't Panic but it still has driver failures that render the driver and device unable to scan and find networks."
As noted in
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1341275/comments/11
what you are finding with your/someone else's hardware is in direct
contradiction with this report.
>"No need for a bisect since this driver is in staging, and is a work-
in-progress."
The fact it's in staging has nothing to do with if a bisect is required
or not.
>"Christopher. I was triaging the bug as it affects other users,"
Ok, but creating a frivolous new bug report and then marking this a
duplicate of it isn't helping at all. This will be unduplicated and you
are free to mark your bug report a duplicate of this one.
>"...it is not specific to the original reporters motherboard."
Nobody said anything about how a motherboard has anything to do with
this issue.
>"I worked on this in detail yesterday supporting another user with the
identical failure on Asus X551MA."
Exactly my point, another user, not the original reporter of this
report. It's great that you are helping others in the Ubuntu Community
address their issue. However, let us keep this report focused on this
original reporter, his problem, and the facts surrounding it.
>"As a kernel hacker I investigated the bug in detail and diagnosed the
cause. My additions to this report are in light of my findings."
Ok. Upon review of the mainline kernel commits your proposed patch change has already been implemented upstream 5 months ago:
Author: John W. Linville <linville@xxxxxxxxxxxxx> 2014-03-13 11:53:52
Committer: John W. Linville <linville@xxxxxxxxxxxxx> 2014-03-13 13:05:32
Parent: e46215fe678a9271c4eb98645187ef048d04e15f (Revert "Revert "Staging: rtl8812ae: remove modules field of rate_control_ops"")
Child: 3ead0d2e220ea7ced14027336bb168bafa01b7af (wlan-ng: fixup staging driver for removal of ieee80211_dsss_chan_to_freq)
Branches: master, remotes/origin/master
Follows: v3.14-rc2
Precedes: v3.15-rc1
rtl8821ae: fixup staging driver for revised ieee80211_is_robust_mgmt_frame
Commit d8ca16db6bb2 ("mac80211: add length check in
ieee80211_is_robust_mgmt_frame()") changed that API to take an skb,
and added "_ieee80211_is_robust_mgmt_frame" as a direct replacement
for the older API. This is the same fix that was applied to the other
rtlwifi drivers in that commit.
Cc: Johannes Berg <johannes.berg@xxxxxxxxx>
Signed-off-by: John W. Linville <linville@xxxxxxxxxxxxx>
------------------ drivers/staging/rtl8821ae/rtl8821ae/trx.c ------------------
index 75ae438..963b55f 100644
@@ -616,7 +616,7 @@ bool rtl8821ae_rx_query_desc(struct ieee80211_hw *hw,
return false;
}
- if ((ieee80211_is_robust_mgmt_frame(hdr)) &&
+ if ((_ieee80211_is_robust_mgmt_frame(hdr)) &&
(ieee80211_has_protected(hdr->frame_control)))
rx_status->flag &= ~RX_FLAG_DECRYPTED;
else
So, the next step is for David Coles to test to this commit to see if
this would fix his issue.
David Coles, could you please build up to this commit and advise if you
don't have the panic following
https://wiki.ubuntu.com/Kernel/KernelBisection ?
** This bug is no longer a duplicate of bug 1354469
[3.13.0-30.55] rtl8821ae Kernel PANIC due to calling incorrect function
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1341275
Title:
10ec:8821 [Gigabyte GB-BXi7-4470R] Kernel panic in rtl8821ae
Status in “linux” package in Ubuntu:
Incomplete
Bug description:
After updating the system to linux-image-3.13.0-30-generic (trusty-
updates), the encounters a kernel panic during boot in the rtl8821ae
module. This prevents the system from booting.
This appears to be an issue relating to the mPCI WiFi+BT module
(Realtek Semiconductor Co., Ltd. RTL8821AE 802.11ac PCIe Wireless
Network Adapter) included with the system.
A workaround is to boot using the older linux-image-3.13.0-24-generic
(trusty).
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: linux-image-3.13.0-30-generic 3.13.0-30.55
ProcVersionSignature: Ubuntu 3.13.0-24.47-generic 3.13.9
Uname: Linux 3.13.0-24-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC1: dcoles 2324 F.... pulseaudio
/dev/snd/pcmC1D0p: dcoles 2324 F...m pulseaudio
/dev/snd/controlC0: dcoles 2324 F.... pulseaudio
CurrentDesktop: GNOME
Date: Sun Jul 13 20:35:13 2014
HibernationDevice: RESUME=UUID=489d6aeb-add6-485d-8056-de392a8591b7
InstallationDate: Installed on 2014-03-14 (120 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140310)
MachineType: GIGABYTE M4HM87P-00
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.13.0-24-generic.efi.signed root=/dev/mapper/ubuntu--vg-root ro quiet splash
RelatedPackageVersions:
linux-restricted-modules-3.13.0-24-generic N/A
linux-backports-modules-3.13.0-24-generic N/A
linux-firmware 1.127.4
SourcePackage: linux
StagingDrivers: rtl8821ae
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 02/06/2014
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: F3
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: M4HM87P-00
dmi.board.vendor: GIGABYTE
dmi.board.version: 1.x
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrF3:bd02/06/2014:svnGIGABYTE:pnM4HM87P-00:pvr1.x:rvnGIGABYTE:rnM4HM87P-00:rvr1.x:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.name: M4HM87P-00
dmi.product.version: 1.x
dmi.sys.vendor: GIGABYTE
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1341275/+subscriptions
References