NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/44060: iwn wireless works for awhile, then fails



The following reply was made to PR kern/44060; it has been noted by GNATS.

From: Donald Allen <donaldcallen%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: kern-bug-people%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, 
netbsd-bugs%netbsd.org@localhost
Subject: Re: kern/44060: iwn wireless works for awhile, then fails
Date: Mon, 8 Nov 2010 15:52:58 -0500

 --90e6ba6e88182c5347049490cf01
 Content-Type: text/plain; charset=ISO-8859-1
 
 On Mon, Nov 8, 2010 at 2:20 PM, David Holland 
<dholland-bugs%netbsd.org@localhost>wrote:
 
 > The following reply was made to PR kern/44060; it has been noted by GNATS.
 >
 > From: David Holland <dholland-bugs%netbsd.org@localhost>
 > To: gnats-bugs%NetBSD.org@localhost
 > Cc:
 > Subject: Re: kern/44060: iwn wireless works for awhile, then fails
 > Date: Mon, 8 Nov 2010 19:15:05 +0000
 >
 >  On Mon, Nov 08, 2010 at 02:40:03PM +0000, Donald Allen wrote:
 >  >  I will wait for some
 >  >  feedback from someone knowledgeable before attempting to proceed
 > myself. In
 >  >  the meantime, I'll continue using the system with a PCMCIA wireless
 > card
 >  >  (Atheros), to temporarily remove the iwn hardware from the picture.
 >
 >  I don't know the iwn driver, or much about wireless networking in
 >  general, but I can say the first step is to compile a kernel with
 >  DIAGNOSTIC and DDB enabled in the config, and also add "options
 >  IWN_DEBUG". With IWN_DEBUG it may actually print something when the
 >  problem happens, which would obviously help a lot.
 >
 
 Adding options IWN_DEBUG produces
 
 ../../../../dev/pci/if_iwn.c:190:1: error: "IWN_DEBUG" redefined
 
 during make depend.
 
 IWN_DEBUG is already #define'ed in if_iwn.c, but the variable iwn_debug is
 set to 0. Looks like the right thing is to set it non-zero, e.g., to 5 for
 the maximum amount of chatter, by changing line 195 to
 
 int iwn_debug = 5;
 
 I will give this a try.
 
 /Don
 
 >
 >  --
 >  David A. Holland
 >  dholland%netbsd.org@localhost
 >
 >
 
 --90e6ba6e88182c5347049490cf01
 Content-Type: text/html; charset=ISO-8859-1
 Content-Transfer-Encoding: quoted-printable
 
 <br><br><div class=3D"gmail_quote">On Mon, Nov 8, 2010 at 2:20 PM, David Ho=
 lland <span dir=3D"ltr">&lt;<a 
href=3D"mailto:dholland-bugs%netbsd.org@localhost";>dho=
 lland-bugs%netbsd.org@localhost</a>&gt;</span> wrote:<br><blockquote 
class=3D"gmail_q=
 uote" style=3D"margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 2=
 04, 204); padding-left: 1ex;">
 <div class=3D"im">The following reply was made to PR kern/44060; it has bee=
 n noted by GNATS.<br>
 <br>
 </div>From: David Holland &lt;<a 
href=3D"mailto:dholland-bugs%netbsd.org@localhost";>d=
 holland-bugs%netbsd.org@localhost</a>&gt;<br>
 To: gnats-bugs%NetBSD.org@localhost<br>
 <div class=3D"im">Cc:<br>
 Subject: Re: kern/44060: iwn wireless works for awhile, then fails<br>
 </div>Date: Mon, 8 Nov 2010 19:15:05 +0000<br>
 <div class=3D"im"><br>
 =A0On Mon, Nov 08, 2010 at 02:40:03PM +0000, Donald Allen wrote:<br>
  =A0&gt; =A0I will wait for some<br>
  =A0&gt; =A0feedback from someone knowledgeable before attempting to procee=
 d myself. In<br>
  =A0&gt; =A0the meantime, I&#39;ll continue using the system with a PCMCIA =
 wireless card<br>
  =A0&gt; =A0(Atheros), to temporarily remove the iwn hardware from the pict=
 ure.<br>
 <br>
 </div>=A0I don&#39;t know the iwn driver, or much about wireless networking=
  in<br>
 =A0general, but I can say the first step is to compile a kernel with<br>
 =A0DIAGNOSTIC and DDB enabled in the config, and also add &quot;options<br>
 =A0IWN_DEBUG&quot;. With IWN_DEBUG it may actually print something when the=
 <br>
 =A0problem happens, which would obviously help a lot.<br></blockquote><div>=
 <br>Adding options IWN_DEBUG produces<br><br>../../../../dev/pci/if_iwn.c:1=
 90:1: error: &quot;IWN_DEBUG&quot; redefined<br><br>during make depend.<br>
 <br>IWN_DEBUG is already #define&#39;ed in if_iwn.c, but the variable iwn_d=
 ebug is set to 0. Looks like the right thing is to set it non-zero, e.g., t=
 o 5 for the maximum amount of chatter, by changing line 195 to<br><br>int i=
 wn_debug =3D 5;<br>
 <br>I will give this a try.<br><br>/Don<br></div><blockquote class=3D"gmail=
 _quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204,=
  204, 204); padding-left: 1ex;">
 <br>
 =A0--<br>
 =A0David A. Holland<br>
 =A0<a 
href=3D"mailto:dholland%netbsd.org@localhost";>dholland%netbsd.org@localhost</a><br>
 <br>
 </blockquote></div><br>
 
 --90e6ba6e88182c5347049490cf01--
 


Home | Main Index | Thread Index | Old Index