From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bob Doyle Subject: Re: Fw: [fyi] BusLogic module removal causes an oops, 2.6.3 Date: Fri, 27 Feb 2004 21:49:14 -0700 Sender: linux-scsi-owner@vger.kernel.org Message-ID: <40401DCA.4EBEE85C@primenet.com> References: <20040222173815.2f08e469.akpm@osdl.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------79E8A0F1747AA6FF81BE99FC" Return-path: Received: from smtp2.roc2.gblx.net ([64.215.96.101]:15829 "EHLO smtp2.roc2.gblx.net") by vger.kernel.org with ESMTP id S263164AbUB1Et1 (ORCPT ); Fri, 27 Feb 2004 23:49:27 -0500 List-Id: linux-scsi@vger.kernel.org To: Andrew Morton , David Ford Cc: linux-scsi@vger.kernel.org This is a multi-part message in MIME format. --------------79E8A0F1747AA6FF81BE99FC Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit David, Can you please retest with the following patch applied to 2.6.3? The patch is obvious enough but I unable test the BusLogic driver as a module right now. Regards, Bob. Andrew Morton wrote: > > Begin forwarded message: > > Date: Sun, 22 Feb 2004 19:20:32 -0500 > From: David Ford > To: linux-kernel mailing list > Subject: [fyi] BusLogic module removal causes an oops, 2.6.3 > > Unable to handle kernel paging request at virtual address e098f090 > printing eip: > e098f090 > *pde = 1ff70067 > *pte = 00000000 > Oops: 0000 [#1] > CPU: 0 > EIP: 0060:[] Tainted: PF > EFLAGS: 00210286 > EIP is at 0xe098f090 > eax: 0000001f ebx: c06e01c4 ecx: 00009000 edx: dffef0c0 > esi: 00000880 edi: c05dce38 ebp: 00000000 esp: d11f3f3c > ds: 007b es: 007b ss: 0068 > Process rmmod (pid: 8235, threadinfo=d11f2000 task=d61fad40) > Stack: e0a30c8a c06e01c4 00009000 00000100 c06e01c4 e0a30cea c06e0000 > e0a35440 > c0138789 e0a35440 bffff798 0000003b 00000000 4c737542 6369676f > c014e900 > d4b90280 d54d0180 d7b49680 40016000 40017000 40017000 d7b49680 > d4b90280 > Call Trace: > [] BusLogic_ReleaseHostAdapter+0x4a/0x70 [BusLogic] > [] BusLogic_exit+0x3a/0x49 [BusLogic] > [] sys_delete_module+0x139/0x1b0 > [] do_munmap+0x50/0x190 > [] sysenter_past_esp+0x52/0x71 > > Code: Bad EIP value. > > - > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ > > - > To unsubscribe from this list: send the line "unsubscribe linux-scsi" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html --------------79E8A0F1747AA6FF81BE99FC Content-Type: text/plain; charset=us-ascii; name="BusLogic.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="BusLogic.patch" diff -urN -X dontdiff linux-2.6.3/drivers/scsi/BusLogic.c linux-2.6.3.save/drivers/scsi/BusLogic.c --- linux-2.6.3/drivers/scsi/BusLogic.c Fri Feb 27 21:25:41 2004 +++ linux-2.6.3.save/drivers/scsi/BusLogic.c Fri Feb 27 21:09:15 2004 @@ -189,7 +189,7 @@ registered BusLogic Host Adapters. */ -static void __init BusLogic_UnregisterHostAdapter(struct BusLogic_HostAdapter *HostAdapter) +static void BusLogic_UnregisterHostAdapter(struct BusLogic_HostAdapter *HostAdapter) { if (HostAdapter == BusLogic_FirstRegisteredHostAdapter) { Binary files linux-2.6.3/drivers/scsi/core and linux-2.6.3.save/drivers/scsi/core differ --------------79E8A0F1747AA6FF81BE99FC--