Re: wpi problems with latest CURRENT: my old laptop air-gapped :)

2015-04-07 Thread Adrian Chadd
Hi,

can you please try reverting to 279763 and seeing if it behaves better?

I'm having a hit and miss time reproducing issues.

I may have to revert /all/ of the wpi changes dating back to November
2014, which would be a shame, but if that's what we need to get a
stable driver back then I'll do it.

The last commit before the wpi updates:


r275966 | adrian | 2014-12-20 12:07:48 -0800 (Sat, 20 Dec 2014) | 5 lines

Remove some hard-coded IE assembly over to use net80211 methods.

If rolling back to 275966 resolves your issues then I'll do that and
ask the submitter to more carefully test things first.

Thanks,



-adrian

On 5 April 2015 at 23:21, Adrian Chadd adr...@freebsd.org wrote:
 Hi,

 Turns out inserting this card into a test laptop causes .. some
 slowdowns. I don't know what's going on yet; but for now try reverting
 sys/dev/wpi to r279763 and retry.

 Sorry!


 -adrian
___
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to freebsd-wireless-unsubscr...@freebsd.org


Re: wpi problems with latest CURRENT: my old laptop air-gapped :)

2015-04-06 Thread Adrian Chadd
Hi,

Turns out inserting this card into a test laptop causes .. some
slowdowns. I don't know what's going on yet; but for now try reverting
sys/dev/wpi to r279763 and retry.

Sorry!


-adrian
___
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to freebsd-wireless-unsubscr...@freebsd.org


wpi problems with latest CURRENT: my old laptop air-gapped :)

2015-04-05 Thread Lev Serebryakov
Hello Freebsd-wireless,


 I have old Sony Vaio with wpi WiFi card:

wpi0@pci0:6:0:0:class=0x028000 card=0x10508086 chip=0x42228086 rev=0x02 
hdr=0x00
vendor = 'Intel Corporation'
device = 'PRO/Wireless 3945ABG [Golan] Network Connection'
class  = network


 It worked with -CURRENT from ~ Nov 2014 (it complained about callbacks, but
worked rather well!) but after update to r281061, it stops to work.

 Driver (and wpa_supplicant!) complains to console several times per second:

...
Apr  6 00:00:13 labrat kernel: wpi0: wpi_send_rxon: could not set TX power, 
error 35
Apr  6 00:00:13 labrat kernel: wpi0: wpi_config: could not send RXON
Apr  6 00:00:13 labrat kernel: wpi0: wpi_init: could not configure device, 
error 35
Apr  6 00:00:13 labrat kernel: wpi0: could not add broadcast node, error 35
Apr  6 00:00:13 labrat kernel: wpi0: wpi_config: could not send RXON
Apr  6 00:00:13 labrat kernel: wpi0: wpi_init: could not configure device, 
error 35
Apr  6 00:00:13 labrat kernel: wpi0: fatal firmware error
Apr  6 00:00:13 labrat kernel: firmware error log (count = 1):
Apr  6 00:00:13 labrat kernel: error type = SYSASSERT (0x0005)
Apr  6 00:00:13 labrat kernel: error data  = 0x04F3
Apr  6 00:00:13 labrat kernel: branch link = 0x08B61F8A
Apr  6 00:00:13 labrat kernel: interrupt link  = 0x0320
Apr  6 00:00:13 labrat kernel: time= 107
Apr  6 00:00:13 labrat kernel: driver status:
Apr  6 00:00:13 labrat kernel: tx ring  0: qid=0  cur=0   queued=0  
Apr  6 00:00:13 labrat kernel: tx ring  1: qid=1  cur=0   queued=0  
Apr  6 00:00:13 labrat kernel: tx ring  2: qid=2  cur=0   queued=0  
Apr  6 00:00:13 labrat kernel: tx ring  3: qid=3  cur=0   queued=0  
Apr  6 00:00:13 labrat kernel: tx ring  4: qid=4  cur=10  queued=0  
Apr  6 00:00:13 labrat kernel: rx ring: cur=10
Apr  6 00:00:13 labrat wpa_supplicant[1186]: ioctl[SIOCS80211, op=103, val=0, 
arg_len=128]: Device not configured
Apr  6 00:00:13 labrat wpa_supplicant[1186]: wlan0: Failed to initiate AP scan
Apr  6 00:00:14 labrat kernel: wpi0: wpi_send_rxon: could not set TX power, 
error 35
...

  This laptop is really old (SATA1 disk, first-gen Core2Duo CPU, 2GB of RAM)
 so re-building system takes hours :(

  But I could provide additional debug information.

-- 
Best regards,
 Lev  mailto:l...@freebsd.org

___
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to freebsd-wireless-unsubscr...@freebsd.org


Re: wpi problems with latest CURRENT: my old laptop air-gapped :)

2015-04-05 Thread Adrian Chadd
Hi!

There's been a whole bunch of work lately on wpi. are you able to
revert just sys/dev/wpi/ and see if you can find where the problem
occured?

You should be able to just build wpi:

* comment it out of your config file
* then build/use it as a module
* .. and you can build just it:

make buildkernel KERNCONF=X MODULES_OVERRIDE=wpi NO_CLEAN=1
make reinstallkernel KERNCONF=X MODULES_OVERRIDE=wpi

I'll see about digging out a wpi NIC and trying it again; maybe the
most recent commits did break something.

Thanks for reporting this problem!


-adrian


On 5 April 2015 at 14:18, Lev Serebryakov l...@freebsd.org wrote:
 Hello Freebsd-wireless,


  I have old Sony Vaio with wpi WiFi card:

 wpi0@pci0:6:0:0:class=0x028000 card=0x10508086 chip=0x42228086 
 rev=0x02 hdr=0x00
 vendor = 'Intel Corporation'
 device = 'PRO/Wireless 3945ABG [Golan] Network Connection'
 class  = network


  It worked with -CURRENT from ~ Nov 2014 (it complained about callbacks, but
 worked rather well!) but after update to r281061, it stops to work.

  Driver (and wpa_supplicant!) complains to console several times per second:

 ...
 Apr  6 00:00:13 labrat kernel: wpi0: wpi_send_rxon: could not set TX power, 
 error 35
 Apr  6 00:00:13 labrat kernel: wpi0: wpi_config: could not send RXON
 Apr  6 00:00:13 labrat kernel: wpi0: wpi_init: could not configure device, 
 error 35
 Apr  6 00:00:13 labrat kernel: wpi0: could not add broadcast node, error 35
 Apr  6 00:00:13 labrat kernel: wpi0: wpi_config: could not send RXON
 Apr  6 00:00:13 labrat kernel: wpi0: wpi_init: could not configure device, 
 error 35
 Apr  6 00:00:13 labrat kernel: wpi0: fatal firmware error
 Apr  6 00:00:13 labrat kernel: firmware error log (count = 1):
 Apr  6 00:00:13 labrat kernel: error type = SYSASSERT (0x0005)
 Apr  6 00:00:13 labrat kernel: error data  = 0x04F3
 Apr  6 00:00:13 labrat kernel: branch link = 0x08B61F8A
 Apr  6 00:00:13 labrat kernel: interrupt link  = 0x0320
 Apr  6 00:00:13 labrat kernel: time= 107
 Apr  6 00:00:13 labrat kernel: driver status:
 Apr  6 00:00:13 labrat kernel: tx ring  0: qid=0  cur=0   queued=0
 Apr  6 00:00:13 labrat kernel: tx ring  1: qid=1  cur=0   queued=0
 Apr  6 00:00:13 labrat kernel: tx ring  2: qid=2  cur=0   queued=0
 Apr  6 00:00:13 labrat kernel: tx ring  3: qid=3  cur=0   queued=0
 Apr  6 00:00:13 labrat kernel: tx ring  4: qid=4  cur=10  queued=0
 Apr  6 00:00:13 labrat kernel: rx ring: cur=10
 Apr  6 00:00:13 labrat wpa_supplicant[1186]: ioctl[SIOCS80211, op=103, val=0, 
 arg_len=128]: Device not configured
 Apr  6 00:00:13 labrat wpa_supplicant[1186]: wlan0: Failed to initiate AP scan
 Apr  6 00:00:14 labrat kernel: wpi0: wpi_send_rxon: could not set TX power, 
 error 35
 ...

   This laptop is really old (SATA1 disk, first-gen Core2Duo CPU, 2GB of RAM)
  so re-building system takes hours :(

   But I could provide additional debug information.

 --
 Best regards,
  Lev  mailto:l...@freebsd.org

 ___
 freebsd-wireless@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
 To unsubscribe, send any mail to freebsd-wireless-unsubscr...@freebsd.org
___
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to freebsd-wireless-unsubscr...@freebsd.org


Re: wpi problems with latest CURRENT: my old laptop air-gapped :)

2015-04-05 Thread Adrian Chadd
Pester me if I haven't tried this myself by tomorrow.


-a

(yes, I do have wpi cards that I do test from here and there..)
___
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to freebsd-wireless-unsubscr...@freebsd.org


Re: wpi problems with latest CURRENT: my old laptop air-gapped :)

2015-04-05 Thread Adrian Chadd
reproduced, poking it now.


-a


On 5 April 2015 at 16:51, Adrian Chadd adr...@freebsd.org wrote:
 Pester me if I haven't tried this myself by tomorrow.


 -a

 (yes, I do have wpi cards that I do test from here and there..)
___
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to freebsd-wireless-unsubscr...@freebsd.org