From owner-freebsd-drivers@FreeBSD.ORG Sun Oct 27 15:36:28 2013 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 209A6A57; Sun, 27 Oct 2013 15:36:28 +0000 (UTC) (envelope-from matthias@petermann-it.de) Received: from mail.s1.d2ux.org (static.209.96.9.5.clients.your-server.de [5.9.96.209]) by mx1.freebsd.org (Postfix) with ESMTP id CFEDC2D20; Sun, 27 Oct 2013 15:36:27 +0000 (UTC) Received: from mail.s1.d2ux.org (mail [10.0.0.3]) by mail.s1.d2ux.org (Postfix) with ESMTP id 5E30C84F25B2; Sun, 27 Oct 2013 16:36:20 +0100 (CET) Received: from mail.s1.d2ux.org ([10.0.0.3]) by mail.s1.d2ux.org (mail.s1.d2ux.org [10.0.0.3]) (amavisd-new, port 10024) with ESMTP id dGgladJjCm0j; Sun, 27 Oct 2013 16:36:18 +0100 (CET) Received: from workstation.local (p5DDABE5E.dip0.t-ipconnect.de [93.218.190.94]) by mail.s1.d2ux.org (Postfix) with ESMTPSA id 4456C84F2580; Sun, 27 Oct 2013 16:36:18 +0100 (CET) Message-ID: <526D3255.8090109@petermann-it.de> Date: Sun, 27 Oct 2013 16:33:41 +0100 From: Matthias Petermann User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.0 MIME-Version: 1.0 To: cg@cgross.info Subject: Re: Centrino Wireless N2230 support References: <20130913112427.Horde.Lr2e32AbzvcQIrrWuDh-dg1@d2ux.org> <001e01ceb064$80168220$80438660$@info> <526A5EBD.0@petermann-it.de> <3f4c1e2627b7da9b271b55f10ad9f7e5@cgross.info> In-Reply-To: <3f4c1e2627b7da9b271b55f10ad9f7e5@cgross.info> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-wireless@freebsd.org, freebsd-drivers@freebsd.org, freebsd-current@freebsd.org X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Oct 2013 15:36:28 -0000 Hello Cedric, Am 26.10.2013 10:56, schrieb cg@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 0xf1500000-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 0xffffffff80947986 at kdb_backtrace+0x66 #1 0xffffffff8090d9ae at panic+0x1ce #2 0xffffffff80a1399e at ieee80211_get_ratetable+0x10e #3 0xffffffff809eb3a5 at ieee80211_media_init+0x355 #4 0xffffffff809eb69e at ieee80211_ifattach+0xae #5 0xffffffff81864914 at iwl_attach+0xbd4 #6 0xffffffff8186d360 at iwl_pci_attach+0x2f0 #7 0xffffffff809405dc at device_attach+0xcc #8 0xffffffff8064a0ca at pci_driver_added+0xda #9 0xffffffff8093e765 at devclass_driver_added+0x75 #10 0xffffffff8093f2a3 at devclass_add_driver+0x103 #11 0xffffffff808f80c8 at module_register_init+0xa8 #12 0xffffffff808f004e at linker_load_module+0x85e #13 0xffffffff808f0688 at kern_kldload+0xb8 #14 0xffffffff808f08a4 at sys_kldload+0x84 #15 0xffffffff80cf187a at amd64_syscall+0x5ea #16 0xffffffff80cdbff7 at Xfast_syscall+0xf7 Any ideas? Kind regards, Matthias