Return-path: Received: from mail-fx0-f46.google.com ([209.85.161.46]:35007 "EHLO mail-fx0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758913Ab0KPOY2 (ORCPT ); Tue, 16 Nov 2010 09:24:28 -0500 Received: by fxm6 with SMTP id 6so503528fxm.19 for ; Tue, 16 Nov 2010 06:24:26 -0800 (PST) Message-ID: <4CE29413.5090103@lwfinger.net> Date: Tue, 16 Nov 2010 08:24:19 -0600 From: Larry Finger MIME-Version: 1.0 To: James Womack CC: linux-wireless@vger.kernel.org Subject: Re: r8187se panic References: <4CDC9FA5.10002@lwfinger.net> <4CDD3BC4.7070102@lwfinger.net> <4CDD66C4.10603@lwfinger.net> <4CDD7945.70005@lwfinger.net> <4CDEDC74.3040902@lwfinger.net> <4CDEEEE4.80801@lwfinger.net> <4CE00BEE.8060100@lwfinger.net> <4CE0455A.50709@lwfinger.net> <4CE1C5F7.90607@lwfinger.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-wireless-owner@vger.kernel.org List-ID: On 11/16/2010 03:55 AM, James Womack wrote: > On 15/11/10 23:44, Larry Finger wrote: >> On 11/15/2010 03:05 PM, James Womack wrote: >>> On 14/11/10 20:23, Larry Finger wrote: >>>> On 11/14/2010 12:49 PM, James Womack wrote: >>>>> Hey, I tried patching the kernel I downloaded, but the dry runs both >>>>> presented errors detailed below: >>>>> >>>>> james@mercury:/usr/src/linux-source-2.6.32$ patch -p1 --dry-run< >>>>> /home/james/rtl8187se_change_panic_to_warn >>>>> patching file drivers/staging/rtl8187se/r8185b_init.c >>>>> Hunk #1 succeeded at 356 with fuzz 2 (offset 92 lines). >>>>> Hunk #2 FAILED at 302. >>>>> 1 out of 2 hunks FAILED -- saving rejects to file >>>>> drivers/staging/rtl8187se/r8185b_init.c.rej >>>>> james@mercury:/usr/src/linux-source-2.6.32$ patch -p1 --dry-run< >>>>> /home/james/rtl8187se_ >>>>> rtl8187se_change_panic_to_warn rtl8187se_lock_pci_remove >>>>> james@mercury:/usr/src/linux-source-2.6.32$ patch -p1 --dry-run< >>>>> /home/james/rtl8187se_lock_pci_remove >>>>> patching file drivers/staging/rtl8187se/r8180_core.c >>>>> patch unexpectedly ends in middle of line >>>>> patch: **** unexpected end of file in patch >>>>> james@mercury:/usr/src/linux-source-2.6.32$ >>>>> >>>>> Do I need to do anything to the kernel source before applying the >>>>> patches? >>>> >>>> You needed a different version of the patch for 2.6.32. Apply the >>>> attached >>>> version. You only need the one patch. >>>> >>>> Larry >>> >>> Hello, >>> >>> I managed to compile the patched kernel. To confirm - the issue of the >>> kernel panic occuring when Fn-F2 is used to turn off the wireless card >>> is resolved. Thank you. I'll let you know if I notice any side effects >>> from the patch. >> >> After you do the Fn-F2 sequence, there should be a stack dump in the >> output of >> the dmesg command. Could you please post that? With it, I should be >> able to find >> what is leading to the original error. It does not happen on my system. >> >> Larry >> -- >> To unsubscribe from this list: send the line "unsubscribe >> linux-wireless" in >> the body of a message to majordomo@vger.kernel.org >> More majordomo info at http://vger.kernel.org/majordomo-info.html >> > > Okay, I used dmesg | tail to print the last 10 lines of dmesg. Hopefully > this is what you were asking for: > > [ 812.500300] [] ? eeepc_rfkill_hotplug+0x127/0x142 > [eeepc_laptop] > [ 812.500311] [] ? acpi_ev_notify_dispatch+0x4c/0x57 > [ 812.500320] [] ? acpi_os_execute_deferred+0x1a/0x23 > [ 812.500330] [] ? worker_thread+0x142/0x1c2 > [ 812.500337] [] ? acpi_os_execute_deferred+0x0/0x23 > [ 812.500347] [] ? autoremove_wake_function+0x0/0x29 > [ 812.500354] [] ? worker_thread+0x0/0x1c2 > [ 812.500362] [] ? kthread+0x5f/0x64 > [ 812.500369] [] ? kthread+0x0/0x64 > [ 812.500379] [] ? kernel_thread_helper+0x7/0x10 > [ 812.700057] r8180: WW:Card reset timeout! > [ 812.908439] r8180: Freeing irq 18 > [ 812.920050] r8180 0000:01:00.0: PCI INT A disabled > [ 812.920056] r8180: wlan driver removed > [ 812.920058] I need a few more than that. The sequence I want should start with the phrase "RE|WE bits not cleared". Larry