DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 1st January 2017
e1-531g e1-531g is offline
ISO Quartermaster
 
Join Date: Mar 2014
Posts: 628
Default Does system should not freeze while scanning Wifi APs?

Hello
Since few days I have supported by OpenBSD's drivers Wifi card. CPU is dual core. System:
Code:
# sysctl kern.version                                                                                                      
kern.version=OpenBSD 6.0-current (GENERIC.MP) #85: Wed Dec 28 23:42:44 MST 2016
    build@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
# dmesg | grep iwn                                                                                                         
iwn0 at pci3 dev 0 function 0 "Intel Centrino Advanced-N 6200" rev 0x35: msi, MIMO 2T2R, MoW, address <censored>
I have also checked bsd.sp kernel.

When I am scanning for Access Points using command:
Code:
ifconfig iwn0 scan
system freezes. I can not move cursor in Xorg. Music playback stops until ifconfig command ends. I have used time command to measure elapsed time and it is usually around 3 seconds.
After Wifi scanning ends everything seems ok.
__________________
Signature: Furthermore, I consider that systemd must be destroyed.
Based on Latin oratorical phrase

Last edited by e1-531g; 1st January 2017 at 04:57 PM.
Reply With Quote
  #2   (View Single Post)  
Old 1st January 2017
jggimi's Avatar
jggimi jggimi is online now
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

Try a newer -current, as there have been recent developments on network lock controls. If the problem is not resolved, submit a bug report to the Project.
Reply With Quote
  #3   (View Single Post)  
Old 1st January 2017
e1-531g e1-531g is offline
ISO Quartermaster
 
Join Date: Mar 2014
Posts: 628
Default

Thanks for reply.
I tried older kernel
Code:
# sysctl kern.version      
kern.version=OpenBSD 6.0-current (GENERIC.MP) #8: Sat Dec  3 22:18:48 MST 2016
    build@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
and system does not freeze during scan. Scan takes similar amount of time (around 3 seconds).
Of course older kernel was only to test and I am going to use kernel from December 28. I will probably update system in week or two and check if it is fixed. I will report if it will not get fixed.
__________________
Signature: Furthermore, I consider that systemd must be destroyed.
Based on Latin oratorical phrase
Reply With Quote
  #4   (View Single Post)  
Old 1st January 2017
jggimi's Avatar
jggimi jggimi is online now
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

Your kernel with the problem was dated 28 December. The most recent revisions to net_block() were dated 29 December, the day after your kernel was built.

The most recent amd64 snapshot available, as I write this, is dated 01 January.
Reply With Quote
  #5   (View Single Post)  
Old 3rd January 2017
e1-531g e1-531g is offline
ISO Quartermaster
 
Join Date: Mar 2014
Posts: 628
Default

I have"
Code:
$ sysctl kern.version                                                          
kern.version=OpenBSD 6.0-current (GENERIC.MP) #96: Mon Jan  2 14:19:30 MST 2017
    build@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
and Wifi scanning does not freeze my system.

I was not updating immediately, because:
1. It takes time
2. I try to update base system when both recent base & packages rebuild is done.
3. I didn't take that as major problem. It was just minor inconvenience.

Thanks for help.
__________________
Signature: Furthermore, I consider that systemd must be destroyed.
Based on Latin oratorical phrase
Reply With Quote
  #6   (View Single Post)  
Old 3rd January 2017
jggimi's Avatar
jggimi jggimi is online now
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

A brief test of a newer kernel requires a reboot, but does not require significant time or effort. For example:
  1. $ ftp http://<mirror>/pub/OpenBSD/snapshots/amd64/bsd.mp
  2. $ ftp http://<mirror>/pub/OpenBSD/snapshots/amd64/SHA256.sig
  3. $ signify -C -p /etc/signify/openbsd-61-base.pub -x SHA256.sig bsd.mp
  4. # mv bsd.mp /test.kernel
  5. # reboot
  6. boot> test.kernel

Last edited by jggimi; 3rd January 2017 at 02:36 PM. Reason: added the download of signature and a signify(1) verification
Reply With Quote
Reply

Tags
freezes, iwn


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
5.7 system freeze - reproducible hanzer OpenBSD Packages and Ports 9 12th July 2015 07:55 PM
System freeze when connecting USB flash drive (4.4 & 4.5 but worked in 4.3) GardenGnome OpenBSD Installation and Upgrading 11 7th May 2009 02:32 PM
What will happen to KDE? rex FreeBSD General 7 31st October 2008 03:13 PM
It could happen to you... cajunman4life FreeBSD Ports and Packages 2 29th June 2008 07:07 PM
freebsd 6.0 system freeze: kernel(smp) problem? nkiuuu FreeBSD General 3 17th June 2008 09:57 AM


All times are GMT. The time now is 07:04 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick