Re: Centrino Wireless N2230 support
Hi Adrian! Please commit the attached patch, to fix iwn2030 when compiled in to kernel. On 12/7/13, Adrian Chadd wrote: > Hi, > > I don't plan a backport of any of this just yet. > > I'd like to let the changes shake out a bit first. There's been some > reports about things not working between 10.0 and 11.0 (eg, 5 minutes > ago someone reported the centrino 100 doesn't work!) and I'd like to > get those fixed before we consider a merge back. > > Thanks, > > > -a > > > > On 7 December 2013 06:03, Matthias Petermann > wrote: >> Hello Adrian, >> >> Am 04.11.2013 06:59, schrieb Adrian Chadd: >>> [snip] >>> >>> For what it's worth, I've started merging this stuff into -HEAD. >>> >> >> I've just installed 11.0-CURRENT r258208 on my Thinkpad E330 and the >> Wireless N2230 stuff is now in working condition. >> >> Thanks for your work - It's a pleasure to see that FreeBSD hardware >> driver availability is so close to Linux in these areas. >> >> Do you expect the changes to get introduced in a 10.1 release someday, >> or should users of N2230 track CURRENT for the next months? >> >> >> Kins regards >> >> Matthias >> >> >> -- >> Matthias Petermann | www.petermann-it.de >> GnuPG: 0x5C3E6D75 | 5930 86EF 7965 2BBA 6572 C3D7 7B1D A3C3 5C3E 6D75 >> ___ >> freebsd-curr...@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-current >> To unsubscribe, send any mail to >> "freebsd-current-unsubscr...@freebsd.org" > ___ > freebsd-curr...@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org" > 0001-hook-in-iwn2000fw-and-iwn2030fw-to-kernel-build.patch Description: Binary data ___ 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: Centrino Wireless N2230 support
Hi, I don't plan a backport of any of this just yet. I'd like to let the changes shake out a bit first. There's been some reports about things not working between 10.0 and 11.0 (eg, 5 minutes ago someone reported the centrino 100 doesn't work!) and I'd like to get those fixed before we consider a merge back. Thanks, -a On 7 December 2013 06:03, Matthias Petermann wrote: > Hello Adrian, > > Am 04.11.2013 06:59, schrieb Adrian Chadd: >> [snip] >> >> For what it's worth, I've started merging this stuff into -HEAD. >> > > I've just installed 11.0-CURRENT r258208 on my Thinkpad E330 and the > Wireless N2230 stuff is now in working condition. > > Thanks for your work - It's a pleasure to see that FreeBSD hardware > driver availability is so close to Linux in these areas. > > Do you expect the changes to get introduced in a 10.1 release someday, > or should users of N2230 track CURRENT for the next months? > > > Kins regards > > Matthias > > > -- > Matthias Petermann | www.petermann-it.de > GnuPG: 0x5C3E6D75 | 5930 86EF 7965 2BBA 6572 C3D7 7B1D A3C3 5C3E 6D75 > ___ > freebsd-curr...@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-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: Centrino Wireless N2230 support
[snip] For what it's worth, I've started merging this stuff into -HEAD. I'm going to merge in the hardware updates but none of the PAN stuff this pass. Since the linux iwlwifi driver doesn't at all support the 4965 chipset, cedric's stuff just plainly breaks that. So I'm going to have to be .. gentler. I'll post an update to -HEAD when I have this stuff in the tree and working (for various values of 'working', though.) -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: Centrino Wireless N2230 support
Hello Cedric, Am 26.10.2013 10:56, schrieb c...@cgross.info: You must get and build net80211 from -HEAD also. It's why you have this kind of compile error. Thanks, this was exactly my miss. With net80211 from -HEAD it built. I first tried IWL (https://github.com/KreizIT/freebsd-iwl) with FreeBSD 9.2-RELEASE. When I try to load the module with kldload if_iwl the kernel panics: Unread portion of the kernel message buffer: iwl0: mem 0xf150-0xf1501fff irq 17 at device 0.0 on pci2 iwl0: iwl_read_eeprom_ht40: no entry for channel 1 iwl0: iwl_read_eeprom_ht40: no entry for channel 2 iwl0: iwl_read_eeprom_ht40: no entry for channel 3 iwl0: iwl_read_eeprom_ht40: no entry for channel 4 iwl0: iwl_read_eeprom_ht40: no entry for channel 5 iwl0: iwl_read_eeprom_ht40: no entry for channel 6 iwl0: iwl_read_eeprom_ht40: no entry for channel 7 panic: ieee80211_get_ratetable: no rate table for channel; freq 0 flags 0x0 cpuid = 3 KDB: stack backtrace: #0 0x80947986 at kdb_backtrace+0x66 #1 0x8090d9ae at panic+0x1ce #2 0x80a1399e at ieee80211_get_ratetable+0x10e #3 0x809eb3a5 at ieee80211_media_init+0x355 #4 0x809eb69e at ieee80211_ifattach+0xae #5 0x81864914 at iwl_attach+0xbd4 #6 0x8186d360 at iwl_pci_attach+0x2f0 #7 0x809405dc at device_attach+0xcc #8 0x8064a0ca at pci_driver_added+0xda #9 0x8093e765 at devclass_driver_added+0x75 #10 0x8093f2a3 at devclass_add_driver+0x103 #11 0x808f80c8 at module_register_init+0xa8 #12 0x808f004e at linker_load_module+0x85e #13 0x808f0688 at kern_kldload+0xb8 #14 0x808f08a4 at sys_kldload+0x84 #15 0x80cf187a at amd64_syscall+0x5ea #16 0x80cdbff7 at Xfast_syscall+0xf7 Any ideas? Kind regards, Matthias ___ 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: Centrino Wireless N2230 support
Hello Matthias, Le 2013-10-25 14:06, Matthias Petermann a écrit : > Hi Cedric, > > Am 13.09.2013 11:34, schrieb Cedric GROSS: > >> Not against 10-current. But if you wish, you could test with my version on github https://github.com/KreizIT/FreeBSD-IWN [1] Use LKGV branch, should be running with 10-current. Cedric > > finally I had a chance to test the driver. I installed a fresh 9.2 > relase and placed the files from https://github.com/KreizIT/FreeBSD-IWN [1] > into my /usr/src/sys and tried to make sys/modules/iwn (cd > /usr/src/sys/modules/iwn;make) > > Unfortunality it doesn't build, instead giving this message: > > /usr/src/sys/modules/iwn/../../dev/iwn/if_iwn.c:2254: warning: implicit > declaration of function 'ieee80211_legacy_rate_lookup' > [...] > The closest issue seems to be "struct ieee80211_tx_ampdu' has no member > named 'txa_tid' but I cannot see what's wrong with it. > > As I get the similiar error when trying to build > https://github.com/KreizIT/freebsd-iwl [2] - is there anything wrong with my > build process? > > Kind regards, > Matthias You must get and build net80211 from -HEAD also. It's why you have this kind of compile error. Cedric Links: -- [1] https://github.com/KreizIT/FreeBSD-IWN [2] https://github.com/KreizIT/freebsd-iwl ___ 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: Centrino Wireless N2230 support
Hi Cedric, Am 13.09.2013 11:34, schrieb Cedric GROSS: Not against 10-current. But if you wish, you could test with my version on github https://github.com/KreizIT/FreeBSD-IWN Use LKGV branch, should be running with 10-current. Cedric finally I had a chance to test the driver. I installed a fresh 9.2 relase and placed the files from https://github.com/KreizIT/FreeBSD-IWN into my /usr/src/sys and tried to make sys/modules/iwn (cd /usr/src/sys/modules/iwn;make) Unfortunality it doesn't build, instead giving this message: Warning: Object directory not changed from original /usr/src/sys/modules/iwn @ -> /usr/src/sys machine -> /usr/src/sys/amd64/include x86 -> /usr/src/sys/x86/include awk -f @/tools/makeobjops.awk @/kern/device_if.m -h awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h echo "#define IEEE80211_DEBUG 1" > opt_wlan.h :> opt_iwn.h cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -c /usr/src/sys/modules/iwn/../../dev/iwn/if_iwn.c cc1: warnings being treated as errors /usr/src/sys/modules/iwn/../../dev/iwn/if_iwn.c: In function 'iwn_rate_to_plcp': /usr/src/sys/modules/iwn/../../dev/iwn/if_iwn.c:2254: warning: implicit declaration of function 'ieee80211_legacy_rate_lookup' /usr/src/sys/modules/iwn/../../dev/iwn/if_iwn.c:2254: warning: nested extern declaration of 'ieee80211_legacy_rate_lookup' [-Wnested-externs] /usr/src/sys/modules/iwn/../../dev/iwn/if_iwn.c: In function 'iwn_rx_compressed_ba': /usr/src/sys/modules/iwn/../../dev/iwn/if_iwn.c:2600: error: 'struct ieee80211_tx_ampdu' has no member named 'txa_tid' /usr/src/sys/modules/iwn/../../dev/iwn/if_iwn.c: In function 'iwn_ampdu_tx_done': /usr/src/sys/modules/iwn/../../dev/iwn/if_iwn.c:3075: error: 'struct ieee80211_tx_ampdu' has no member named 'txa_tid' /usr/src/sys/modules/iwn/../../dev/iwn/if_iwn.c: In function 'iwn_addba_response': /usr/src/sys/modules/iwn/../../dev/iwn/if_iwn.c:6021: error: 'struct ieee80211_tx_ampdu' has no member named 'txa_tid' /usr/src/sys/modules/iwn/../../dev/iwn/if_iwn.c: In function 'iwn_ampdu_tx_stop': /usr/src/sys/modules/iwn/../../dev/iwn/if_iwn.c:6084: error: 'struct ieee80211_tx_ampdu' has no member named 'txa_tid' *** [if_iwn.o] Error code 1 The closest issue seems to be "struct ieee80211_tx_ampdu' has no member named 'txa_tid' but I cannot see what's wrong with it. As I get the similiar error when trying to build https://github.com/KreizIT/freebsd-iwl - is there anything wrong with my build process? Kind regards, Matthias ___ 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: Centrino Wireless N2230 support
Hello, > De : owner-freebsd-driv...@freebsd.org [mailto:owner-freebsd- > driv...@freebsd.org] De la part de Matthias Petermann > Envoyé : vendredi 13 septembre 2013 11:24 > À : freebsd-curr...@freebsd.org > Cc : freebsd-wireless@freebsd.org; freebsd-driv...@freebsd.org > Objet : Centrino Wireless N2230 support > > > Hello, > > there was some recent discussion[1] on freebsd-wireless and freebsd- > drivers about Centrino Wireless N2230[2] support in FreeBSD. > > I would be curious if there is a working patch somewhere available > which builds against 10-current? > Not against 10-current. But if you wish, you could test with my version on github https://github.com/KreizIT/FreeBSD-IWN Use LKGV branch, should be running with 10-current. Cedric ___ 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"