NetBSD Problem Report #41833

From www@NetBSD.org  Thu Aug  6 19:05:55 2009
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id EA9BB63C270
	for <gnats-bugs@gnats.netbsd.org>; Thu,  6 Aug 2009 19:05:55 +0000 (UTC)
Message-Id: <20090806190555.8BA2E63BDF9@www.NetBSD.org>
Date: Thu,  6 Aug 2009 19:05:55 +0000 (UTC)
From: smyows@youare.not.br
Reply-To: smyows@youare.not.br
To: gnats-bugs@NetBSD.org
Subject: wpi0: fatal firmware error
X-Send-Pr-Version: www-1.0

>Number:         41833
>Category:       port-amd64
>Synopsis:       wpi0: fatal firmware error
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    port-amd64-maintainer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Aug 06 19:10:01 +0000 2009
>Closed-Date:    Mon May 30 00:10:43 +0000 2016
>Last-Modified:  Mon May 30 00:10:43 +0000 2016
>Originator:     Guilherme Covolo
>Release:        NetBSD 5.0.1 or current X86_64
>Organization:
Scandiflex/Youare.not.br
>Environment:
NetBSD bellatrix 5.0.1 NetBSD 5.0.1 (GENERIC) #0: Thu Jul 30 00:08:07 UTC 2009 builds@b7.netbsd.org:/home/builds/ab/netbsd-5-0-1-RELEASE/amd64/200907292356Z-obj/home/builds/ab/netbsd-5-0-1-RELEASE/src/sys/arch/amd64/compile/GENERIC amd64

ktrace ifconfig wpi0 up output

   398      1 ktrace   EMUL  "netbsd"
   398      1 ktrace   RET   ktrace 0
   398      1 ktrace   CALL  execve(0x7f7fffffd4a0,0x7f7fffffd998,0x7f7fffffd9b8)
   398      1 ktrace   NAMI  "/sbin/ifconfig"
   398      1 ktrace   NAMI  "/libexec/ld.elf_so"
   398      1 ifconfig EMUL  "netbsd"
   398      1 ifconfig RET   syscall JUSTRETURN
   398      1 ifconfig CALL  mmap(0,0x8000,3,0x1002,0xffffffff,0,0)
   398      1 ifconfig RET   mmap 140187698954240/0x7f7ffdff8000
   398      1 ifconfig CALL  open(0x7f7ffde0b70d,0,0)
   398      1 ifconfig NAMI  "/etc/ld.so.conf"
   398      1 ifconfig RET   open -1 errno 2 No such file or directory
   398      1 ifconfig CALL  open(0x7f7fffffd1c0,0,0xfefefefefefeff36)
   398      1 ifconfig NAMI  "/lib/libutil.so.7"
   398      1 ifconfig RET   open 3
   398      1 ifconfig CALL  __fstat30(3,0x7f7fffffd0f0)
   398      1 ifconfig RET   __fstat30 0
   398      1 ifconfig CALL  mmap(0,0x1000,1,1,3,0,0)
   398      1 ifconfig RET   mmap 140187698950144/0x7f7ffdff7000
   398      1 ifconfig CALL  munmap(0x7f7ffdff7000,0x1000)
   398      1 ifconfig RET   munmap 0
   398      1 ifconfig CALL  mmap(0,0x116000,5,0x14000002,3,0,0)
   398      1 ifconfig RET   mmap 140187694792704/0x7f7ffdc00000
   398      1 ifconfig CALL  mmap(0x7f7ffdd12000,0x2000,3,0x12,3,0,0x12000)
   398      1 ifconfig RET   mmap 140187695915008/0x7f7ffdd12000
   398      1 ifconfig CALL  mmap(0x7f7ffdd14000,0x2000,3,0x1012,0xffffffff,0,0)
   398      1 ifconfig RET   mmap 140187695923200/0x7f7ffdd14000
   398      1 ifconfig CALL  mprotect(0x7f7ffdc12000,0x100000,0)
   398      1 ifconfig RET   mprotect 0
   398      1 ifconfig CALL  close(3)
   398      1 ifconfig RET   close 0
   398      1 ifconfig CALL  open(0x7f7fffffd1c0,0,0x70)
   398      1 ifconfig NAMI  "/lib/libprop.so.0"
   398      1 ifconfig RET   open 3
   398      1 ifconfig CALL  __fstat30(3,0x7f7fffffd0f0)
   398      1 ifconfig RET   __fstat30 0
   398      1 ifconfig CALL  mmap(0,0x1000,1,1,3,0,0)
   398      1 ifconfig RET   mmap 140187698950144/0x7f7ffdff7000
   398      1 ifconfig CALL  munmap(0x7f7ffdff7000,0x1000)
   398      1 ifconfig RET   munmap 0
   398      1 ifconfig CALL  mmap(0,0x111000,5,0x14000002,3,0,0)
   398      1 ifconfig RET   mmap 140187692695552/0x7f7ffda00000
   398      1 ifconfig CALL  mmap(0x7f7ffdb10000,0x1000,3,0x12,3,0,0x10000)
   398      1 ifconfig RET   mmap 140187693809664/0x7f7ffdb10000
   398      1 ifconfig CALL  mmap(0x7f7ffdb11000,0,3,0x1012,0xffffffff,0,0)
   398      1 ifconfig RET   mmap 140187693813760/0x7f7ffdb11000
   398      1 ifconfig CALL  mprotect(0x7f7ffda10000,0x100000,0)
   398      1 ifconfig RET   mprotect 0
   398      1 ifconfig CALL  close(3)
   398      1 ifconfig RET   close 0
   398      1 ifconfig CALL  open(0x7f7fffffd1c0,0,0xff31302d6e722d62)
   398      1 ifconfig NAMI  "/lib/libc.so.12"
   398      1 ifconfig RET   open 3
   398      1 ifconfig CALL  __fstat30(3,0x7f7fffffd0f0)
   398      1 ifconfig RET   __fstat30 0
   398      1 ifconfig CALL  mmap(0,0x1000,1,1,3,0,0)
   398      1 ifconfig RET   mmap 140187698950144/0x7f7ffdff7000
   398      1 ifconfig CALL  munmap(0x7f7ffdff7000,0x1000)
   398      1 ifconfig RET   munmap 0
   398      1 ifconfig CALL  mmap(0,0x217000,5,0x14000002,3,0,0)
   398      1 ifconfig RET   mmap 140187689549824/0x7f7ffd700000
   398      1 ifconfig CALL  mmap(0x7f7ffd8f9000,0xd000,3,0x12,3,0,0xf9000)
   398      1 ifconfig RET   mmap 140187691618304/0x7f7ffd8f9000
   398      1 ifconfig CALL  mmap(0x7f7ffd906000,0x11000,3,0x1012,0xffffffff,0,0)
   398      1 ifconfig RET   mmap 140187691671552/0x7f7ffd906000
   398      1 ifconfig CALL  mprotect(0x7f7ffd7fa000,0xff000,0)
   398      1 ifconfig RET   mprotect 0
   398      1 ifconfig CALL  close(3)
   398      1 ifconfig RET   close 0
   398      1 ifconfig CALL  __sysctl(0x7f7fffffd880,2,0x7f7ffd9156c0,0x7f7fffffd878,0,0)
   398      1 ifconfig RET   __sysctl 0
   398      1 ifconfig CALL  __sysctl(0x7f7fffffcdf0,2,0x7f7ffd90dd90,0x7f7fffffcde8,0,0)
   398      1 ifconfig RET   __sysctl 0
   398      1 ifconfig CALL  __sysctl(0x7f7fffffcd10,2,0x7f7ffd915b40,0x7f7fffffcd08,0,0)
   398      1 ifconfig RET   __sysctl 0
   398      1 ifconfig CALL  readlink(0x7f7ffd7e255c,0x7f7fffffce00,0x400)
   398      1 ifconfig NAMI  "/etc/malloc.conf"
   398      1 ifconfig RET   readlink -1 errno 2 No such file or directory
   398      1 ifconfig CALL  mmap(0,0x1000,3,0x1002,0xffffffff,0,0)
   398      1 ifconfig RET   mmap 140187698950144/0x7f7ffdff7000
   398      1 ifconfig CALL  mmap(0,0x100000,3,0x14001002,0xffffffff,0,0)
   398      1 ifconfig RET   mmap 140187688501248/0x7f7ffd600000
   398      1 ifconfig CALL  __socket30(2,2,0)
   398      1 ifconfig RET   __socket30 3
   398      1 ifconfig CALL  ioctl(3,SIOCGIFFLAGS,0x7f7fffffd1e0)
   398      1 ifconfig GIO   fd 3 wrote 144 bytes
       "wpi0\0\^?\0\0\0\0\0\0\0\0\0\0\M^P\M^D@\0\0\0\0\0@\M-"`\M-}\^?\^?\0\0\
	\^Q:\M-`\M-}\^?\^?\0\0\M-p\M^O\240\M-}\^?\^?\0\0\0p`\M-}\^?\^?\0\0\a\0\
	\0\0\0\0\0\0h\0`\M-}\^?\^?\0\0@\M-"`\M-}\^?\^?\0\0\f\0\0\0\0\0\0\0\0\0\
	\0\0\0\0\0\0\0\0\0\0\0\0\0\0\M-m\M^X\240\M-}\^?\^?\0\0\^F\^B\0\0\0\0\0\
	\0\0\0\0\0\0\0\0\0\M^P\M^D@\0\0\0\0\0X\\@\0\0\0\0\0"
   398      1 ifconfig GIO   fd 3 read 144 bytes
       "wpi0\0\^?\0\0\0\0\0\0\0\0\0\0\^B\M^H@\0\0\0\0\0@\M-"`\M-}\^?\^?\0\0\^Q\
	:\M-`\M-}\^?\^?\0\0\M-p\M^O\240\M-}\^?\^?\0\0\0p`\M-}\^?\^?\0\0\a\0\0\
	\0\0\0\0\0h\0`\M-}\^?\^?\0\0@\M-"`\M-}\^?\^?\0\0\f\0\0\0\0\0\0\0\0\0\0\
	\0\0\0\0\0\0\0\0\0\0\0\0\0\M-m\M^X\240\M-}\^?\^?\0\0\^F\^B\0\0\0\0\0\0\
	\0\0\0\0\0\0\0\0\M^P\M^D@\0\0\0\0\0X\\@\0\0\0\0\0"
   398      1 ifconfig RET   ioctl 0
   398      1 ifconfig CALL  ioctl(3,SIOCSIFFLAGS,0x7f7fffffd1e0)
   398      1 ifconfig GIO   fd 3 wrote 144 bytes
       "wpi0\0\^?\0\0\0\0\0\0\0\0\0\0\^C\M^H@\0\0\0\0\0@\M-"`\M-}\^?\^?\0\0\^Q\
	:\M-`\M-}\^?\^?\0\0\M-p\M^O\240\M-}\^?\^?\0\0\0p`\M-}\^?\^?\0\0\a\0\0\
	\0\0\0\0\0h\0`\M-}\^?\^?\0\0@\M-"`\M-}\^?\^?\0\0\f\0\0\0\0\0\0\0\0\0\0\
	\0\0\0\0\0\0\0\0\0\0\0\0\0\M-m\M^X\240\M-}\^?\^?\0\0\^F\^B\0\0\0\0\0\0\
	\0\0\0\0\0\0\0\0\M^P\M^D@\0\0\0\0\0X\\@\0\0\0\0\0"
   398      1 ifconfig NAMI  "/libdata/firmware/if_wpi/iwlwifi-3945.ucode"
   398      1 ifconfig RET   ioctl 0
   398      1 ifconfig CALL  ioctl(3,SIOCGIFFLAGS,0x7f7fffffcfb0)
   398      1 ifconfig GIO   fd 3 wrote 144 bytes
       "wpi0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\
	\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\
	\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\
	\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\
	\0\0"
   398      1 ifconfig GIO   fd 3 read 144 bytes
       "wpi0\0\0\0\0\0\0\0\0\0\0\0\0\^B\M^H\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\
	\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\
	\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\
	\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\
	\0\0\0\0"
   398      1 ifconfig RET   ioctl 0
   398      1 ifconfig CALL  exit(0)
>Description:
I have a intel 3945abg wireless card,

when becoming up the interface wpi0 (ifconfig wpi0 up), returns this error:

wpi0: fatal firmware error

I 've installed netbsd 5.0.1 x86_64 with the firmware form distro install, but i've tested wpi-firmware and wpi-firmware2 form pkg-source 2009Q1 and current. I had a netbsd and pkgsrc current, but i had the same error.

Also I'm trying to install this firmware (http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-3945-ucode-15.32.2.9.tgz) but the same error shows.

Only in netbsd i386 works fine.
>How-To-Repeat:
only type command:

ifconfig wpi0 up


>Fix:
Install netbsd 5.X i386.

i386 works fine.

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->feedback
State-Changed-By: jmcneill@NetBSD.org
State-Changed-When: Tue, 05 Aug 2014 17:39:40 +0000
State-Changed-Why:
I just checked in a fix for this, can you test? See:
http://mail-index.netbsd.org/source-changes/2014/08/05/msg057018.html


State-Changed-From-To: feedback->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 30 May 2016 00:10:43 +0000
State-Changed-Why:
Feedback timeout.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.