|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
Advice on troubleshooting an issue
Hi everyone,
I've noticed on my 13" Retina Macbook Pro that my urtwm WiFi suddenly stops working. It doesn't detatch it just stops routing packets. I can generally solve it by unplugging the USB dongle (rebooting doesn't seem to help) and plugging it back in. It seems to be related more to lack of traffic on the interface versus failing after a certain period of time. I've tried using -powersave on ifconfig but that didn't address it. I have a second issue with the wired Ethernet adapter in my hppa C3700 where I'm getting watchdog timeouts. My question is this - what troubleshooting can I do or what data can I gather to help identify where the problem is occurring or at the very least provide the right data to the bugs@ list to help point them in the right direction? Any help would be appreciated! |
|
||||
OK, I'm taking my own advice, and building a kernel with RTWN_DEBUG.
The make(1) -D option is not used. Instead, build a custom kernel with option XXX_DEBUG. For example: Code:
$ cd /usr/src/sys/arch/amd64/conf $ cp GENERIC.MP RTWN $ echo option RTWN_DEBUG >> RTWN $ config RTWN $ cd ../compile/RTWN $ make |
|
||||
I'm eating my own dog food, as they say. Running the custom kernel, and have enabled the debugging variable rtwn_debug via ddb(4). You can do that by entering ddb() from the console via sysctl settings, or by booting the kernel with -d.
According to if_rtwn.c, there are multipld debugging levels. 0 = none, 1 or more enables printf reporting, 2+ dumps ROM contents, 4+ dumps transmit power levels. Every driver may be different, so review your applicable driver source. |
|
|||
@jggimi
You rock (as always)! Thank you so much for the suggestions. I now have some fun work for the weekend. :-) |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Ethernet port becomes unresponsive - troubleshooting suggestions | kbeaucha | OpenBSD General | 4 | 15th March 2013 05:34 PM |
need help with troubleshooting pf.conf | tinhead | OpenBSD Security | 11 | 25th March 2011 09:34 PM |
need troubleshooting tip for vpn connections | badguy | OpenBSD Security | 19 | 10th November 2010 02:53 PM |
Advice on DVD playback sought | Vahagn | FreeBSD General | 10 | 14th November 2008 08:09 PM |