NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/49688: ifconfig iwm0 up crashes the system
The following reply was made to PR kern/49688; it has been noted by GNATS.
From: NONAKA Kimihiro <nonakap%gmail.com@localhost>
To: "gnats-bugs%netbsd.org@localhost" <gnats-bugs%netbsd.org@localhost>
Cc: kern-bug-people%netbsd.org@localhost,
"gnats-admin%netbsd.org@localhost" <gnats-admin%netbsd.org@localhost>, "netbsd-bugs%netbsd.org@localhost" <netbsd-bugs%netbsd.org@localhost>
Subject: Re: kern/49688: ifconfig iwm0 up crashes the system
Date: Thu, 26 Feb 2015 21:32:37 +0900
Please try again with kernel to enable debug log as follows patches.
diff --git a/sys/dev/pci/if_iwm.c b/sys/dev/pci/if_iwm.c
index f1180ba..4c3ec74 100644
--- a/sys/dev/pci/if_iwm.c
+++ b/sys/dev/pci/if_iwm.c
@@ -151,10 +151,11 @@ __KERNEL_RCSID(0, "$NetBSD: if_iwm.c,v 1.15
2015/02/25 12:41:15 nonaka Exp $");
#define le16_to_cpup(_a_) (le16toh(*(const uint16_t *)(_a_)))
#define le32_to_cpup(_a_) (le32toh(*(const uint32_t *)(_a_)))
+#define IWM_DEBUG
#ifdef IWM_DEBUG
#define DPRINTF(x) do { if (iwm_debug > 0) printf x; } while (0)
#define DPRINTFN(n, x) do { if (iwm_debug >= (n)) printf x; } while (0)
-int iwm_debug = 1;
+int iwm_debug = 12;
#else
#define DPRINTF(x) do { ; } while (0)
#define DPRINTFN(n, x) do { ; } while (0)
Regards,
--
NONAKA Kimihiro
Home |
Main Index |
Thread Index |
Old Index