From nobody@FreeBSD.org  Sun Aug 26 07:20:35 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 437F316A418
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 26 Aug 2007 07:20:35 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 3D26B13C483
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 26 Aug 2007 07:20:35 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.1/8.14.1) with ESMTP id l7Q7KY68098646
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 26 Aug 2007 07:20:34 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.1/8.14.1/Submit) id l7Q7KYeD098645;
	Sun, 26 Aug 2007 07:20:34 GMT
	(envelope-from nobody)
Message-Id: <200708260720.l7Q7KYeD098645@www.freebsd.org>
Date: Sun, 26 Aug 2007 07:20:34 GMT
From: Rechistov Grigory <ggg_mail@inbox.ru>
To: freebsd-gnats-submit@FreeBSD.org
Subject: iwi-firmware doesn't upload to NIC
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         115822
>Category:       ports
>Synopsis:       net/iwi-firmware doesn't upload to NIC
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    flz
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 26 07:30:01 GMT 2007
>Closed-Date:    Sun Aug 26 11:58:33 GMT 2007
>Last-Modified:  Sun Aug 26 18:50:02 GMT 2007
>Originator:     Rechistov Grigory
>Release:        6.2-STABLE
>Organization:
>Environment:
FreeBSD ip82-180.private.rt.mipt.ru 6.2-STABLE FreeBSD 6.2-STABLE #0: Thu Jun  7 01:06:01 UTC 2007     root@ip82-180.private.rt.mipt.ru:/usr/obj/usr/src/sys/DELL_v8  i386
>Description:
I am trying to get my internal wireless NIC operable. I have Dell Inspiron 9300 notebook with Intel(R) PRO/Wireless 2915ABG card in it.

I followed the instructions found at http://damien.bergamini.free.fr/ipw/iwi-freebsd.html

Port installation was successful, I installed version 2.4_7. Then I loaded kernel module # kldload if_iwi, my card was detected.

But when I tried to execute:

# iwicontrol -i iwi0 -d /boot/firmware -m bss

The answer is 

iwicontrol: Can't load firmware to driver: Invalid argument

When I try to kill firmware # iwicontrol -i iwi0 -k, the error is

iwicontrol: Can't kill firmware: Invalid argument

When I try to get up the interface by # ifconfig iwi0 up , the message on system (first) console prints

firmware_get: failed to load firmware image iwi_bss
iwi0: could not load firmware

>How-To-Repeat:
On machine with Intel(R) PRO/Wireless 2915ABG

# cd /usr/ports/net/iwi-firmware/
# make config install
# kldload if_iwi
# iwiconfig -i iwi0 -d /boot/firmware -m bss
iwicontrol: Can't load firmware to driver: Invalid argument
>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->flz 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sun Aug 26 08:30:48 UTC 2007 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=115822 
State-Changed-From-To: open->closed 
State-Changed-By: flz 
State-Changed-When: Sun Aug 26 11:58:31 UTC 2007 
State-Changed-Why:  
Please install net/iwi-firmware-kmod instead. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=115822 

From: =?koi8-r?B?UmVjaGlzdG92IEdyaWdvcnkgKPLF3snT1M/XIOfSycfP0snKKQ==?= <ggg_mail@inbox.ru>
To: flz@freebsd.org
Cc: bug-followup@freebsd.org
Subject: Re: ports/115822: net/iwi-firmware doesn't upload to NIC
Date: Sun, 26 Aug 2007 16:07:01 +0400

 Thank you, I will try that.
 
 Nevertheless, what's the difference and the meaning of these two ports, =
  =
 
 iwi-firmware and iwi-firmware-kmod? Why one installs some files *.fw in =
  =
 
 /boot/firmware and another installs *.ko in /boot/modules ? As extensive=
   =
 
 search through the google shows that lot of people have similar problems=
   =
 
 and misunderstand the situation.
 
 
 On Sun, 26 Aug 2007 15:58:32 +0400, <flz@FreeBSD.org> wrote:
 
 > Synopsis: net/iwi-firmware doesn't upload to NIC
 >
 > State-Changed-From-To: open->closed
 > State-Changed-By: flz
 > State-Changed-When: Sun Aug 26 11:58:31 UTC 2007
 > State-Changed-Why:
 > Please install net/iwi-firmware-kmod instead.
 >
 > http://www.freebsd.org/cgi/query-pr.cgi?pr=3D115822
 >
 
 

From: Florent Thoumie <flz@xbsd.org>
To: =?KOI8-R?Q?=22Rechistov_Grigory_=28=F2=C5=DE=C9=D3=D4=CF=D7_=E7?=
 =?KOI8-R?Q?=D2=C9=C7=CF=D2=C9=CA=29=22?= <ggg_mail@inbox.ru>
Cc: bug-followup@freebsd.org
Subject: Re: ports/115822: net/iwi-firmware doesn't upload to NIC
Date: Sun, 26 Aug 2007 19:06:22 +0100

 Rechistov Grigory ( ) wrote:
 > Thank you, I will try that.
 > 
 > Nevertheless, what's the difference and the meaning of these two ports, 
 > iwi-firmware and iwi-firmware-kmod? Why one installs some files *.fw in 
 > /boot/firmware and another installs *.ko in /boot/modules ? As extensive 
 > search through the google shows that lot of people have similar problems 
 > and misunderstand the situation.
 
 Well basically the driver used to load the firmware from the filesystem 
 then we switched to another way of loading it (via a kernel module).
 
 You shouldn't have been able to install this port in the first place. I 
 just fixed it.
 
 Thanks for the report.
 
 -- 
 Florent Thoumie
 flz@FreeBSD.org
 FreeBSD Committer
>Unformatted:
