The FreeBSD Forums  

Go Back   The FreeBSD Forums > Desktop Usage > Mobile Computing

Mobile Computing This forum discusses issues related to running FreeBSD on notebooks, laptops, and other mobile equipment.

Reply
 
Thread Tools Display Modes
  #51  
Old November 19th, 2009, 12:19
oliverh's Avatar
oliverh oliverh is offline
Member
 
Join Date: Nov 2008
Posts: 137
Thanks: 16
Thanked 12 Times in 10 Posts
Default

Quote:
Originally Posted by bschmidt View Post
What does reset mean? Your computer is rebooting? Connection drops? Firmware errors? Look into /var/log/messages for some messages.
Sorry, I meant 'reset' similar to pulling the power cord.
__________________
I am not a number, I am a free man - get daemonized :-)
Reply With Quote
  #52  
Old November 19th, 2009, 13:20
bschmidt bschmidt is online now
Junior Member
 
Join Date: Oct 2009
Location: Schwandorf, Germany
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Sounds like a panic. You've been in X when the issue occurred I guess? Can you try and reproduce it while X is not running so you see what's actually going on?
Reply With Quote
  #53  
Old November 19th, 2009, 13:52
oliverh's Avatar
oliverh oliverh is offline
Member
 
Join Date: Nov 2008
Posts: 137
Thanks: 16
Thanked 12 Times in 10 Posts
Default

Quote:
Originally Posted by bschmidt View Post
Sounds like a panic. You've been in X when the issue occurred I guess? Can you try and reproduce it while X is not running so you see what's actually going on?
Once it happened while fetching the sources with csup (but I couldn't reproduce it), later while building Xorg.

Code:
Nov 18 22:04:26 skarabrae kernel: Fatal trap 12: page fault while in kernel mode
Nov 18 22:04:26 skarabrae kernel: cpuid = 1; apic id = 01
Nov 18 22:04:26 skarabrae kernel: fault virtual address = 0x1c
Nov 18 22:04:26 skarabrae kernel: fault code            = supervisor read data, page not present
Nov 18 22:04:26 skarabrae kernel: instruction pointer   = 0x20:0xffffffff80848af0
Nov 18 22:04:26 skarabrae kernel: stack pointer         = 0x28:0xffffff8075b4d900
Nov 18 22:04:26 skarabrae kernel: frame pointer         = 0x28:0xffffff8075b4d910
Nov 18 22:04:26 skarabrae kernel: code segment          = base 0x0, limit 0xfffff, type 0x1b
Nov 18 22:04:26 skarabrae kernel: = DPL 0, pres 1, long 1, def32 0, gran 1
Nov 18 22:04:26 skarabrae kernel: processor eflags      = interrupt enabled, resume, IOPL = 0
Nov 18 22:04:26 skarabrae kernel: current process               = 0 (iwn0 taskq)
Nov 18 22:04:26 skarabrae kernel: trap number           = 12
Nov 18 22:04:26 skarabrae kernel: panic: page fault
Nov 18 22:04:26 skarabrae kernel: cpuid = 1
Nov 18 22:04:26 skarabrae kernel: Uptime: 5m14s
Nov 18 22:04:26 skarabrae kernel: Cannot dump. Device not defined or unavailable.
Nov 18 22:04:26 skarabrae kernel: Automatic reboot in 15 seconds - press a key on the console to abort
Nov 18 22:04:26 skarabrae kernel: Rebooting...
Did some tests with heavy network load and rum0 device without any problems. Just to be sure ...

Later I saw this:

Code:
Nov 18 22:50:20 skarabrae kernel: iwn0: iwn_config: could not configure valid TX chains, error 35
Nov 18 22:50:20 skarabrae kernel: firmware error log:
Nov 18 22:50:20 skarabrae kernel: error type      = "SYSASSERT" (0x00000005)
Nov 18 22:50:20 skarabrae kernel: program counter = 0x00001E28
Nov 18 22:50:20 skarabrae kernel: source line     = 0x00000696
Nov 18 22:50:20 skarabrae kernel: error data      = 0x0000000100000696
Nov 18 22:50:20 skarabrae kernel: branch link     = 0x000008FA000008FA
Nov 18 22:50:20 skarabrae kernel: interrupt link  = 0x000008B200000000
Nov 18 22:50:20 skarabrae kernel: time            = 3978916211
Nov 18 22:50:20 skarabrae kernel: driver status:
Nov 18 22:50:20 skarabrae kernel: tx ring  0: qid=0  cur=174 queued=18 
Nov 18 22:50:20 skarabrae kernel: tx ring  1: qid=1  cur=0   queued=0  
Nov 18 22:50:20 skarabrae kernel: tx ring  2: qid=2  cur=0   queued=0  
Nov 18 22:50:20 skarabrae kernel: tx ring  3: qid=3  cur=8   queued=0  
Nov 18 22:50:20 skarabrae kernel: tx ring  4: qid=4  cur=154 queued=0  
Nov 18 22:50:20 skarabrae kernel: tx ring  5: qid=5  cur=0   queued=0  
Nov 18 22:50:20 skarabrae kernel: tx ring  6: qid=6  cur=0   queued=0  
Nov 18 22:50:20 skarabrae kernel: tx ring  7: qid=7  cur=0   queued=0  
Nov 18 22:50:20 skarabrae kernel: tx ring  8: qid=8  cur=0   queued=0  
Nov 18 22:50:20 skarabrae kernel: tx ring  9: qid=9  cur=0   queued=0  
Nov 18 22:50:20 skarabrae kernel: tx ring 10: qid=10 cur=0   queued=0  
Nov 18 22:50:20 skarabrae kernel: tx ring 11: qid=11 cur=0   queued=0  
Nov 18 22:50:20 skarabrae kernel: tx ring 12: qid=12 cur=0   queued=0  
Nov 18 22:50:20 skarabrae kernel: tx ring 13: qid=13 cur=0   queued=0  
Nov 18 22:50:20 skarabrae kernel: tx ring 14: qid=14 cur=0   queued=0  
Nov 18 22:50:20 skarabrae kernel: tx ring 15: qid=15 cur=0   queued=0  
Nov 18 22:50:20 skarabrae kernel: tx ring 16: qid=16 cur=0   queued=0  
Nov 18 22:50:20 skarabrae kernel: tx ring 17: qid=17 cur=0   queued=0  
Nov 18 22:50:20 skarabrae kernel: tx ring 18: qid=18 cur=0   queued=0  
Nov 18 22:50:20 skarabrae kernel: tx ring 19: qid=19 cur=0   queued=0  
Nov 18 22:50:20 skarabrae kernel: rx ring: cur=26
__________________
I am not a number, I am a free man - get daemonized :-)
Reply With Quote
  #54  
Old November 19th, 2009, 14:32
bschmidt bschmidt is online now
Junior Member
 
Join Date: Oct 2009
Location: Schwandorf, Germany
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ah! we're getting closer. Can you now do # wlandebug 0xffffffff before the crash, so I get a clue where in the code this does happen?
Reply With Quote
  #55  
Old November 19th, 2009, 15:50
oliverh's Avatar
oliverh oliverh is offline
Member
 
Join Date: Nov 2008
Posts: 137
Thanks: 16
Thanked 12 Times in 10 Posts
Default

Code:
Nov 19 15:42:43 skarabrae kernel: wlan0: received beacon from 00:1f:3f:d1:d6:e6 rssi 41
Nov 19 15:42:43 skarabrae kernel: wlan0: received beacon from 00:1f:3f:d1:d6:e6 rssi 42
Nov 19 15:43:35 skarabrae syslogd: kernel boot file is /boot/kernel/kernel
Nov 19 15:43:35 skarabrae kernel: wlan0: received beacon from 00:1f:3f:d1:d6:e6 rssi 39
Nov 19 15:43:35 skarabrae kernel: wlan0: received beacon from 00:1f:3f:d1:d6:e6 rssi 42
Nov 19 15:43:35 skarabrae kernel: wlan0: ieee80211_bg_scan: active scan, ticks 310880 duration 150
Nov 19 15:43:35 skarabrae kernel: wlan0: [00:1f:3f:d1:d6:e6] sta power save mode on
Nov 19 15:43:35 skarabrae kernel: wlan0: [00:1f:3f:d1:d6:e6] send QoS null data frame on channel 6, pwr mgt ena
Nov 19 15:43:35 skarabrae kernel: wlan0: scan_task: chan   6g ->   1g [active, dwell min 20ms max 150ms]
Nov 19 15:43:35 skarabrae kernel: 
Nov 19 15:43:35 skarabrae kernel: 
Nov 19 15:43:35 skarabrae kernel: Fatal trap 12: page fault while in kernel mode
Nov 19 15:43:35 skarabrae kernel: cpuid = 1; apic id = 01
Nov 19 15:43:35 skarabrae kernel: fault virtual address = 0x1c
Nov 19 15:43:35 skarabrae kernel: fault code            = supervisor read data, page not present
Nov 19 15:43:35 skarabrae kernel: instruction pointer   = 0x20:0xffffffff80848af0
Nov 19 15:43:35 skarabrae kernel: stack pointer         = 0x28:0xffffff8075b4d900
Nov 19 15:43:35 skarabrae kernel: frame pointer         = 0x28:0xffffff8075b4d910
Nov 19 15:43:35 skarabrae kernel: code segment          = base 0x0, limit 0xfffff, type 0x1b
Nov 19 15:43:35 skarabrae kernel: = DPL 0, pres 1, long 1, def32 0, gran 1
Nov 19 15:43:35 skarabrae kernel: processor eflags      = interrupt enabled, resume, IOPL = 0
Nov 19 15:43:35 skarabrae kernel: current process               = 0 (iwn0 taskq)
Nov 19 15:43:35 skarabrae kernel: trap number           = 12
Nov 19 15:43:35 skarabrae kernel: panic: page fault
Nov 19 15:43:35 skarabrae kernel: cpuid = 1
Nov 19 15:43:35 skarabrae kernel: Uptime: 5m13s
Nov 19 15:43:35 skarabrae kernel: Cannot dump. Device not defined or unavailable.
Nov 19 15:43:35 skarabrae kernel: Automatic reboot in 15 seconds - press a key on the console to abort
Well have a look at the uptime, it's almost the same time.
__________________
I am not a number, I am a free man - get daemonized :-)
Reply With Quote
  #56  
Old November 19th, 2009, 16:12
bschmidt bschmidt is online now
Junior Member
 
Join Date: Oct 2009
Location: Schwandorf, Germany
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yep.. 300secs, that is the interval bgscan takes place. Strange though, that does not happen one my test system.

As a workaround, add -bgscan to your ifconfig_wlan0 line in rc.conf. That disables background scan completely.
Reply With Quote
  #57  
Old November 19th, 2009, 16:33
oliverh's Avatar
oliverh oliverh is offline
Member
 
Join Date: Nov 2008
Posts: 137
Thanks: 16
Thanked 12 Times in 10 Posts
Default

Maybe because I have some APs nearby (not the same channel)?
__________________
I am not a number, I am a free man - get daemonized :-)
Reply With Quote
  #58  
Old November 19th, 2009, 16:40
bschmidt bschmidt is online now
Junior Member
 
Join Date: Oct 2009
Location: Schwandorf, Germany
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Doubt that, seems to be happening while driver switches channels. I'll try to reproduce that.
Reply With Quote
  #59  
Old November 19th, 2009, 17:22
oliverh's Avatar
oliverh oliverh is offline
Member
 
Join Date: Nov 2008
Posts: 137
Thanks: 16
Thanked 12 Times in 10 Posts
Default

So the system is now 37 minutes up and running without any problems (-bgscan). Did some huge downloads and I hope it stays so ;-) Btw. thanks for this drivers.
__________________
I am not a number, I am a free man - get daemonized :-)
Reply With Quote
  #60  
Old November 19th, 2009, 18:11
lubber lubber is offline
Junior Member
 
Join Date: Nov 2009
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you for the updated driver, I can get connection using WPA2. But a few minutes ago I got a panic, the laptop rebooted suddenly. I will report if it happens again.
Reply With Quote
  #61  
Old November 19th, 2009, 18:22
oliverh's Avatar
oliverh oliverh is offline
Member
 
Join Date: Nov 2008
Posts: 137
Thanks: 16
Thanked 12 Times in 10 Posts
Default

Try the solution mentioned above (-bgscan).
__________________
I am not a number, I am a free man - get daemonized :-)
Reply With Quote
  #62  
Old November 19th, 2009, 18:36
lubber lubber is offline
Junior Member
 
Join Date: Nov 2009
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

The laptop has no response after using about 20 minutes, trying -bgscan now.
Reply With Quote
  #63  
Old November 20th, 2009, 05:24
lubber lubber is offline
Junior Member
 
Join Date: Nov 2009
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Runs normal after setting -bgscan.
Reply With Quote
  #64  
Old November 22nd, 2009, 12:55
bschmidt bschmidt is online now
Junior Member
 
Join Date: Oct 2009
Location: Schwandorf, Germany
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default

FYI: bgscan issues have been addressed.

Quote:
Originally Posted by dinoex@ View Post
Trying on amd64 I get a panic when "Raidio" is on after a few seconds.

Cash does not happen when "Radio" is off.
When "Radio" is off on loading if_iwn the firmware is not loaded.
Can you verify that RF kill switch now works as its supposed to? You should be able to toggle the cards status.
Reply With Quote
  #65  
Old November 22nd, 2009, 15:15
oliverh's Avatar
oliverh oliverh is offline
Member
 
Join Date: Nov 2008
Posts: 137
Thanks: 16
Thanked 12 Times in 10 Posts
Default

So it's now safe to use bgscan again? Well, I'm not found of to many crashes at once ;-)
__________________
I am not a number, I am a free man - get daemonized :-)
Reply With Quote
  #66  
Old November 22nd, 2009, 20:17
bschmidt bschmidt is online now
Junior Member
 
Join Date: Oct 2009
Location: Schwandorf, Germany
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yep, it should be safe now.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Intel Wifi Link 5100 AGN Progress. ndisgen? iwn? TzunTzai Mobile Computing 51 November 2nd, 2009 15:06
[Solved] Wireless driver Intel 4965AGN tom-pele Mobile Computing 4 October 3rd, 2009 14:32
[Solved] Installing iwn firmware for Intel 4965AGN wifi card overmind System Hardware 3 August 25th, 2009 23:09
Marvell Yukon 88E8040T PCI-E & Intel Wi-Fi Link 5100 AGN TzunTzai System Hardware 13 July 12th, 2009 13:48
Setting up WEP for iwn driver rahulsinner Networking 13 April 26th, 2009 11:37


All times are GMT +1. The time now is 09:44.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.