if_iwn_load="YES"
wlan_scan_ap_load="YES"
wlan_scan_sta_load="YES"
ifconfig_iwn="SSID NAME DHCP"
System: 8.1-STABLE #0: Sat Jul 31 19:34:59 IST 2010 /usr/obj/usr/src/sys/GENERIC amd64
comfortableodo said:Hello,
after I installed the new nvidia video driver, my system was finally going to suspend to RAM. Resume on the other hand made the system crash. I figured out that this was due to the if_iwn.ko. Interestingly, even adding the driver to rc.suspend and reloading the module manually after resume makes the system crash...!?
The driver works perfectly fine otherwise.
System: 8.1-STABLE #0: Sat Jul 31 19:34:59 IST 2010 /usr/obj/usr/src/sys/GENERIC amd64
Thanks in advance!
# pciconf -l -bcv
output before suspend and after resume without the driver loaded?bschmidt said:I'm aware of a similar issue where it is not possible to use an iwn(4) device after resume. That is not related to the driver itself though, but to ACPI. Somehow the PCI resources aren't restored correctly by either ACPI of the BIOS. Can you compare the# pciconf -l -bcv
output before suspend and after resume without the driver loaded?
# pciconf -l -bcv
before suspend (pciconf.suspend) and after resume (pciconf.resume).# diff pciconf.suspend pciconf.resume
for convenience:12c12
< cap 0d[88] = PCI Bridge card=0x408c17c0
---
> cap 0d[88] = PCI Bridge card=0x00008086
181,183d180
< cap 01[c8] = powerspec 3 supports D0 D3 current D0
< cap 05[d0] = MSI supports 1 message, 64 bit
< cap 10[e0] = PCI-Express 1 endpoint max data 128(128) link x1(x1)
comfortableodo said:Hello,
sorry for the late reply. I attached the output of# pciconf -l -bcv
before suspend (pciconf.suspend) and after resume (pciconf.resume).
Here the output of# diff pciconf.suspend pciconf.resume
for convenience:
Code:12c12 < cap 0d[88] = PCI Bridge card=0x408c17c0 --- > cap 0d[88] = PCI Bridge card=0x00008086 181,183d180 < cap 01[c8] = powerspec 3 supports D0 D3 current D0 < cap 05[d0] = MSI supports 1 message, 64 bit < cap 10[e0] = PCI-Express 1 endpoint max data 128(128) link x1(x1)
comfortableodo said:Hello,
sorry for the late reply. I attached the output of# pciconf -l -bcv
before suspend (pciconf.suspend) and after resume (pciconf.resume).
Here the output of# diff pciconf.suspend pciconf.resume
for convenience:
Code:12c12 < cap 0d[88] = PCI Bridge card=0x408c17c0 --- > cap 0d[88] = PCI Bridge card=0x00008086 181,183d180 < cap 01[c8] = powerspec 3 supports D0 D3 current D0 < cap 05[d0] = MSI supports 1 message, 64 bit < cap 10[e0] = PCI-Express 1 endpoint max data 128(128) link x1(x1)
bschmidt said:Yeah, that's what I expected, caps aren't restored correctly.
I'm not aware that this is in 8-stable already, mind giving it a shot? It seems to be related.
CalBear96 said:I was redirected over here from another thread regarding the Intel Centrino 6300 card. Will this patch for the 5300 work for the updated card?
bschmidt said:Basic support (as in you're able to use it) for 6300 series cards should be in 8-stable and head. There are a few features missing, though, that shouldn't matter that much. Please let me know if that works for you.
Heyas-iMac:~ Heya$ svn co [url]http://svn.techwires.net/svn/projects/freebsd[/url]
Checked out revision 117.
Heyas-iMac:~ Heya$ cd freebsd/sys/modules/iwnfw
Heyas-iMac:iwnfw Heya$ make
Makefile:5: *** missing separator. Stop.
Heyas-iMac:iwnfw Heya$ make install
Makefile:5: *** missing separator. Stop.
Heyas-iMac:iwnfw Heya$ cd ../iwn
Heyas-iMac:iwn Heya$ env CFLAGS=-I$PWD/../../ make
Makefile:8: *** missing separator. Stop.
Heyas-iMac:iwn Heya$ make install
Makefile:8: *** missing separator. Stop.
Heyas-iMac:iwn Heya$
Heya said:Code:Heyas-iMac:~ Heya$ svn co [url]http://svn.techwires.net/svn/projects/freebsd[/url] Checked out revision 117. Heyas-iMac:~ Heya$ cd freebsd/sys/modules/iwnfw Heyas-iMac:iwnfw Heya$ make Makefile:5: *** missing separator. Stop. Heyas-iMac:iwnfw Heya$ make install Makefile:5: *** missing separator. Stop. Heyas-iMac:iwnfw Heya$ cd ../iwn Heyas-iMac:iwn Heya$ env CFLAGS=-I$PWD/../../ make Makefile:8: *** missing separator. Stop. Heyas-iMac:iwn Heya$ make install Makefile:8: *** missing separator. Stop. Heyas-iMac:iwn Heya$
Thats all I get when I run the SVN in post #16. I can figure out the manual install.
iwn0: <Intel(R) PRO/Wireless 6250> mem 0xd7300000-0xd7301fff irq 17 at device 0.0 on pci7
iwn0: MIMO 2T2R, MoW, address 00:23:15:6a:77:f0
iwn0: iwn5000-send-calib_results: could not send calibration result idx=1, error=22
iwn0: iwn_init_locked: could not initialize hardware, error 22