Opened 15 years ago
Closed 2 years ago
#5532 closed bug (fixed)
Complete system freeze when using atheroswifi with an SMP system.
Reported by: | jstressman | Owned by: | colin |
---|---|---|---|
Priority: | normal | Milestone: | R1/beta2 |
Component: | Drivers/Network/atheroswifi | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | x86 |
Description
I was getting a number of complete system locks while trying to install the BeZillaBrowser package, or just in general after a variable amount of time (sometimes immediately when reaching the desktop, or maybe after 10 minutes etc).
So I began testing and removed the atheroswifi driver. This "fixed the problem" and I ran the computer for about an hour with no problems. So then I restored the driver and did some research into whether or not anyone had had any problems with the BSD drivers themselves, where I found that this seemed to be a known LOR (lock order reversal) problem and the email recommended to disable SMP as a workaround until the problem was fixed.
http://unix.derkeiler.com/Mailing-Lists/FreeBSD/current/2009-10/msg00495.html
So I disabled SMP and was able to surf the net, chat, etc... for 17 hours with no problems before I rebooted the system myself.
I re-enabled SMP for testing a bit ago and was able to freeze the system completely within less than 2 minutes of using the internet.
This is a hard freeze where the system instantly becomes completely unresponsive. No keyboard shortcuts work etc. (No alt+sysreq+d for KDL, no ctrl+alt+del etc) You have to press the power button on the computer itself to shut off the machine.
Here are some of the other links I was looking at that may be related:
http://sources.zabbadoz.net/freebsd/lor.html
http://sources.zabbadoz.net/freebsd/lor/42.html http://sources.zabbadoz.net/freebsd/lor/224.html http://sources.zabbadoz.net/freebsd/lor/170.html http://sources.zabbadoz.net/freebsd/lor/59.html
I'm also attaching the output of listdev, and a few copies of the syslog from before the crash.
(this is nightly build hrev35693 gcc4hybrid)
Attachments (4)
Change History (20)
by , 15 years ago
Attachment: | listdev2.txt added |
---|
comment:1 by , 15 years ago
Thanks a lot for doing all the research! That's very helpful. If you notice that the problem is fixed upstream, and we have not updated the driver, be sure to leave a note!
comment:2 by , 15 years ago
Owner: | changed from | to
---|---|
Status: | new → in-progress |
Hey, thanks for this detailed bug report, great work :) I have to wishes, though. I've updated the atheros wifi driver to the latest version in FreeBSD. Can you give it a try and report back whether it still crashes (reporting back is the second wish ;)
by , 15 years ago
Attachment: | syslog6b.txt added |
---|
updated syslog output after upgrading to hrev35752 and finding even worse driver issues.
comment:3 by , 15 years ago
Well, bad news and more bad news. :/
First, the bug is still there.
I updated to the latest nightly, then rebooted (warm). It totally locked at the desktop before the tracker even loaded. So I cold booted and got the desktop loaded... and then I managed to hard lock the system as soon as I browsed to gmail in WebPositive and before I could even log in.
Second; I cold booted again and disabled SMP... and got to the desktop fine... but the network appears even worse now. While it doesn't hard lock the system, it appears to constantly disconnect and reconnect thinking there's a media change. So I couldn't really load web pages, and Vision silently dropped my connection almost immediately.
I'm including an updated syslog (syslog6b.txt) with all the new messages. You'll notice they weren't there before in the earlier syslogs before the latest wifi drivers update. (between hrev35693 and hrev35752)
comment:4 by , 15 years ago
Component: | - General → Network & Internet/Wireless |
---|
(just updating the component info to make it easier to find)
comment:5 by , 14 years ago
Just to add some info I've been experiencing this bug too and I've decided to check the latest revision from the FreeBSD SVN repo. I've noticed some commits referring to fixes to the hang/disconnect issues. I've tried to compile the latest sources but I'm getting some linking errors probably related to glue.o. I believe some progress has been made upstream so maybe importing the latest versions into Haiku would help.
comment:6 by , 12 years ago
Component: | Network & Internet/Wireless → Drivers/Network/aironetwifi |
---|
Do you still have this issue?
comment:7 by , 12 years ago
I'm using a wired connection on this machine now, but the card is still in it. I haven't been able to get it to properly connect though to test and see if actually using that connection causes a lock-up.
But as far as simply having the driver loaded I haven't had any issues with it.
I'll have to try to get it working to test if actually using the connection causes any problems.
comment:8 by , 12 years ago
Given the huge amount written in syslog it would be very interesting to see what happens after hrev44350.
comment:11 by , 6 years ago
Component: | Drivers/Network/aironetwifi → Drivers/Network/atheroswifi |
---|---|
Keywords: | atheroswifi atheros smp removed |
comment:12 by , 6 years ago
Please retest after hrev52093. FreeBSD had a lot of SMP fixes in 10.0+, so this may well be fixed.
comment:13 by , 6 years ago
Resolution: | → fixed |
---|---|
Status: | in-progress → closed |
Similar tickets were reported as fixed, and no reply here; so closing as fixed.
comment:14 by , 5 years ago
Milestone: | R1 → R1/beta2 |
---|
Assign tickets with status=closed and resolution=fixed within the R1/beta2 development window to the R1/beta2 Milestone
comment:15 by , 2 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Hello, I want to use Haiku as my operating system. I have installed it on an AMD phenom 3 cores PC, and I have this problem, as described. I am using hrev56129 and check it in R1/beta3 as well. I have little knowledge of programming (in dos times) and I basically understand how Windows and Linux work. If I can help with anything, here I am.
comment:16 by , 2 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
You have provided no evidence that your problem is the same as this one. Most likely they are not. Please open a new ticket and attach a syslog, and more details of exactly what you are experiencing.
output of 'listdev'