From nobody@FreeBSD.org  Fri Dec  8 23:17:20 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 9A04016A4A7
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  8 Dec 2006 23:17:20 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [69.147.83.33])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 8C9B643D69
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  8 Dec 2006 23:14:31 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id kB8NFH5i057481
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 8 Dec 2006 23:15:17 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id kB8NFHTm057480;
	Fri, 8 Dec 2006 23:15:17 GMT
	(envelope-from nobody)
Message-Id: <200612082315.kB8NFHTm057480@www.freebsd.org>
Date: Fri, 8 Dec 2006 23:15:17 GMT
From: Jose Hidalgo<joseche@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: wpi port causes kernel errors
X-Send-Pr-Version: www-3.0

>Number:         106501
>Category:       kern
>Synopsis:       [wpi] wpi driver causes kernel errors
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    flz
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 08 23:20:02 GMT 2006
>Closed-Date:    Tue Jan 02 22:04:00 GMT 2007
>Last-Modified:  Tue Jan 02 22:04:24 GMT 2007
>Originator:     Jose Hidalgo
>Release:        6.1-RELEASE
>Organization:
FreeBSD User
>Environment:
FreeBSD  6.1-RELEASE FreeBSD 6.1-RELEASE #0: Wed Dec  6 01:35:39 CST 2006     root@:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
The wpi driver doesn't work and makes the kernel repeat the message:
       rx tail flags error 702
       scan finished
indefinitely.

kldload if_wpi gives:
---------------------------------snip starts
pci12: driver added
found->	vendor=0x8086, dev=0x4222, revid=0x02
	bus=12, slot=0, func=0
	class=02-80-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0106, statreg=0x0010, cachelnsz=16 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	intpin=a, irq=17
	powerspec 2  supports D0 D3  current D0
	MSI supports 1 message, 64 bit
pci12:0:0: reprobing on driver added
wpi0: <Intel(R) PRO/Wireless 3945ABG> mem 0xefdff000-0xefdfffff irq 17 at device 0.0 on pci12
wpi0: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xefdff000
channel 1 pwr1 0x0087 pwr2 0x0087
channel 2 pwr1 0x0088 pwr2 0x0087
channel 3 pwr1 0x006f pwr2 0x006e
channel 4 pwr1 0x006f pwr2 0x0070
channel 5 pwr1 0x0000 pwr2 0x0000
channel 6 pwr1 0x007a pwr2 0x007a
channel 7 pwr1 0x007c pwr2 0x007c
channel 8 pwr1 0x007f pwr2 0x007e
channel 9 pwr1 0x0080 pwr2 0x0080
channel 10 pwr1 0x0000 pwr2 0x0000
channel 11 pwr1 0x0000 pwr2 0x0000
channel 12 pwr1 0x0000 pwr2 0x0000
channel 13 pwr1 0x0000 pwr2 0x0000
channel 14 pwr1 0x0000 pwr2 0x0000
wpi0: bpf attached
wpi0: Ethernet address: 00:13:02:9f:10:ba
wpi0: bpf attached
wpi0: bpf attached
wpi0: [MPSAFE]
wpi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
wpi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
pci13: driver added
---------------------------------snip ends

The module wpi_ucode loads without problems
 5    1 0xc6a45000 1d000    wpi_ucode.ko



Now after "ifconfig wpi0 up" the kernel will go crazy repeating this messages:

setting h/w config 1200
microcode alive notification version 10d00 alive 1
temperature -203
scan finished
scan finished
scan finished
rx tail flags error 702
scan finished
scan finished
scan finished
rx tail flags error 702
rx tail flags error 702
scan finished
scan finished
scan finished

>How-To-Repeat:
kldload wpi
kldload wpi_ucode
ifconfig wpi0 up

>Fix:

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Sat Dec 9 02:51:54 UTC 2006 
State-Changed-Why:  
which port are you talking about here? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=106501 
Responsible-Changed-From-To: freebsd-ports-bugs->flz 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sat Dec 9 03:29:04 UTC 2006 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=106501 
State-Changed-From-To: feedback->open 
State-Changed-By: edwin 
State-Changed-When: Sat Dec 9 03:29:45 UTC 2006 
State-Changed-Why:  
feedback received: net/ipw-firmware 

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

From: Florent Thoumie <flz@FreeBSD.org>
To: bug-followup@FreeBSD.org
Cc: joseche@gmail.com,  edwin@FreeBSD.org
Subject: Re: ports/106501: wpi port causes kernel errors
Date: Sat, 09 Dec 2006 12:50:46 +0000

 This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
 --------------enigA0FAFA82A91661229746F38E
 Content-Type: text/plain; charset=ISO-8859-1
 Content-Transfer-Encoding: quoted-printable
 
 This PR isn't about ipw-firmware. It's about an experimental driver
 which hasn't been committed to the tree yet. You should contact its author.
 
 Cheers.
 
 --=20
 Florent Thoumie
 flz@FreeBSD.org
 FreeBSD Committer
 
 
 --------------enigA0FAFA82A91661229746F38E
 Content-Type: application/pgp-signature; name="signature.asc"
 Content-Description: OpenPGP digital signature
 Content-Disposition: attachment; filename="signature.asc"
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.5 (FreeBSD)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
 iD8DBQFFerEqMxEkbVFH3PQRCjdgAJ4v91vJJDZMA9BI8r6gC0b5XA5NhwCfaE9d
 AdMNj5Ol0DMIYMJgsnqIVSY=
 =1wPq
 -----END PGP SIGNATURE-----
 
 --------------enigA0FAFA82A91661229746F38E--
State-Changed-From-To: open->closed 
State-Changed-By: flz 
State-Changed-When: Tue Jan 2 22:03:10 UTC 2007 
State-Changed-Why:  
This isn't part of FreeBSD. Contact the driver's author 
as advised. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=106501 
>Unformatted:
