Bug 749276
Summary: | AR9285 wireless card make system freezed | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Flos Lonicerae <lonicerae> | ||||||||||||||||||||||||||||
Component: | kernel | Assignee: | Stanislaw Gruszka <sgruszka> | ||||||||||||||||||||||||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||||||||||||||||
Severity: | high | Docs Contact: | |||||||||||||||||||||||||||||
Priority: | unspecified | ||||||||||||||||||||||||||||||
Version: | 16 | CC: | gansalmon, itamar, jonathan, jwboyer, kernel-maint, madhu.chinakonda, sgruszka | ||||||||||||||||||||||||||||
Target Milestone: | --- | ||||||||||||||||||||||||||||||
Target Release: | --- | ||||||||||||||||||||||||||||||
Hardware: | All | ||||||||||||||||||||||||||||||
OS: | Linux | ||||||||||||||||||||||||||||||
Whiteboard: | |||||||||||||||||||||||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||||||||||||||||||||||
Doc Text: | Story Points: | --- | |||||||||||||||||||||||||||||
Clone Of: | Environment: | ||||||||||||||||||||||||||||||
Last Closed: | 2012-05-22 02:21:54 UTC | Type: | --- | ||||||||||||||||||||||||||||
Regression: | --- | Mount Type: | --- | ||||||||||||||||||||||||||||
Documentation: | --- | CRM: | |||||||||||||||||||||||||||||
Verified Versions: | Category: | --- | |||||||||||||||||||||||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||||||||||||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||||||||||||||||||
Embargoed: | |||||||||||||||||||||||||||||||
Attachments: |
|
Description
Flos Lonicerae
2011-10-26 15:46:35 UTC
Created attachment 530310 [details]
cmdline
Created attachment 530311 [details]
dmesg
Created attachment 530312 [details]
iomem
Created attachment 530313 [details]
installed kernel debugging packages
Created attachment 530314 [details]
kexec-tools version
Created attachment 530316 [details]
lsmod result
Created attachment 530317 [details]
'uname -a' result
Created attachment 530318 [details]
first crash test on Fedora 16
Created attachment 530319 [details]
last test on Fedora 16, photo 1
Created attachment 530320 [details]
last test on Fedora 16, photo 2
btw, when i did the crash test, i would first made the network service disabled, then reboot, and make my wireless card useable in bios, save the option and reboot. in this way, the wireless driver was loaded but the network service is stopped, so that i can do the crash test. otherwise, the system will soon be frezzed if the wireless card making connection. Created attachment 530322 [details]
kdump.conf in /etc
I'm sad to hear that kdump does not work.
> the kernel crashed, but it said that there is a bug so that it can not regain a
> bash shell. then a kernel panic without any core files dumped...
So that (RHEL6 + 3.1-rc kernel) was almost successful, secondary (kdump) kernel boot, but did not make a dump? So lets try to fix that, to allow to catch ath9k bug. If you modify /etc/kdump.conf to have "default shell" instead of "default reboot", you will be prompted to small shell that allow to find out why dump fail (i.e. if mount fail or there problem with read /proc/vmcore, etc). BTW: Does your custom 3.1-rc kernel have compiled CONFIG_PROC_KCORE and CONFIG_PROC_VMCORE ?
If there will be no option to force kdump work, perhaps it could be possible to make a photo of a crash:
- first blacklist ath9k module in /etc/modprobe.d/blacklist.conf
- enable wireless in bios
- boot system and log to virtual terminal (Alt+Ctrl+F2)
- login as root
- and do modprobe ath9k
- this should trigger a crash, which should show calltrace
One more thing. Kdump need separate blacklisting of module/s , to make kdump kernel does not crash in ath9k driver, you have to add blacklist ath9k line to /etc/kdump.conf (and restart kdump service). You can blacklist other modules that are not needed i.e uvcvideo, snd_*, .... The more modules blacklisted, there is more chance that kdump kernel will boot properly and more memory for successful dump process. Note radeon module is needed for proper display initialization, if blacklisted it could cause only that you will not see kdump kernel booting, but in worse scenario it that could make kdump kernel fail to start. Flos, there are various ath9k fixes committed since last 10/2011, does the problem still occurs in latest fedora 16 kernel 3.2 ? Hi Stanislaw, this problem still occurs in latest fedora 16 kernel 3.2. but i think i've find out the problem. when i both enable my wireless network adapter and wired network adapter, the system MUST will be freezed! but if i blacklist the atl1c module in /etc/modprobe.d/blacklist.conf, and regenerate the initramfs, the problem disappear at all, although at this time my wired network adapter cannot be used due to the atl1c module not loaded. all i can do is this. without the wired network adapter module, the wireless card can work without any problem. the same situation is that if i disabled my wireless card in bios settings or blacklist the ath and ath9k modules, the wired network adapter can work smoothly! what a strange problem. since i setup a wifi ap at home, now i was working with blacklisting the atl1c module. i always wonder if the problem can be finally resolved. ;) Flos Good catch, atl1c do some ASPM quirks on PCI bridges, same as ath9k. Apparently both of them should not do this, but relay on system settings, or change things but make pci core aware of the changes.
> i always wonder if the problem can be finally resolved. ;)
I plan to work on that, but not sure when.
Thanks! Waiting for your good news! [mass update] kernel-3.3.0-4.fc16 has been pushed to the Fedora 16 stable repository. Please retest with this update. [mass update] kernel-3.3.0-4.fc16 has been pushed to the Fedora 16 stable repository. Please retest with this update. [mass update] kernel-3.3.0-4.fc16 has been pushed to the Fedora 16 stable repository. Please retest with this update. This is not fixed... I did not worked on it yet, but saw that atheros developer post atl1c patches to net-next that changes various register programming code on alt1c, including ASPM. Below kernel build include atl1c driver update from net-next. Please check if that solve the problem: http://koji.fedoraproject.org/koji/taskinfo?taskID=4045082 (In reply to comment #23) > I did not worked on it yet, but saw that atheros developer post atl1c patches > to net-next that changes various register programming code on alt1c, including > ASPM. Below kernel build include atl1c driver update from net-next. Please > check if that solve the problem: > > http://koji.fedoraproject.org/koji/taskinfo?taskID=4045082 Hi Stanislaw, I downloaded the kernel you just built, and installed. It seems that it has resolved the problem!!! :D I had to go to bed now, and I'll post the detailed process what I do. have a nice day! Flos Created attachment 584639 [details]
atl1c_net_next_update-3.3.patch
atl1c update from net-next for 3.3 kernel
Created attachment 584640 [details]
atl1c_net_next_update-3.4.patch
atl1 from net next update for 3.4 kernel
Josh, please apply above 3.3 patch as fix for this bug. I attached also patch for 3.4 kernel in case fedora will update to that kernel (it apply cleanly on 3.4-rc7) This update include mostly register programming fixes from Atheros. Applied on all branches. Thanks Stanislaw! kernel-3.3.6-3.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/kernel-3.3.6-3.fc16 kernel-3.3.6-3.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/kernel-3.3.6-3.fc17 Package kernel-3.3.6-3.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing kernel-3.3.6-3.fc17' as soon as you are able to, then reboot. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-7974/kernel-3.3.6-3.fc17 then log in and leave karma (feedback). kernel-3.3.6-3.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report. kernel-3.3.6-3.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report. |