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

On Mon, Nov 8, 2010 at 2:20 PM, David Holland <> wrote:
The following reply was made to PR kern/44060; it has been noted by GNATS.

From: David Holland <>
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.


 David A. Holland

Home | Main Index | Thread Index | Old Index