Messages in this thread Patch in this message | | | Date | Sun, 22 Nov 1998 00:30:13 +0100 | From | Dick Streefland <> | Subject | Re: Linux-2.1.129.. |
| |
On Thursday 1998-11-19 19:22, Linus Torvalds wrote: | Have fun with it, and tell me if it breaks. But it won't. I'm finally | getting the old "greased weasel" feeling back. In short, this is the much | awaited perfect and bug-free release, and the only reason I don't call it | 2.2 is that I'm chicken.
Linus,
Please apply the patch below before you call this 2.2. Since kernel 2.1.116, the kernel Oopses or crashes when you do a:
echo "scsi add-single-device 0 0 6 0" > /proc/scsi/scsi
with a BusLogic SCSI controller. I do this when I want to use my external tape streamer, that is normally turned off. The two functions BusLogic_ReportTargetDeviceInfo() and BusLogic_SelectQueueDepths() are called in this case, so they cannot be declared as "__init".
-- Dick Streefland //// De Bilt dick.streefland@inter.nl.net (@ @) The Netherlands ------------------------------oOO--(_)--OOo------------------
--- linux/drivers/scsi/BusLogic.h.orig Sat Nov 21 18:39:56 1998 +++ linux/drivers/scsi/BusLogic.h Sat Nov 21 23:55:00 1998 @@ -1800,10 +1800,10 @@ static boolean BusLogic_AcquireResources(BusLogic_HostAdapter_T *) __init; static void BusLogic_ReleaseResources(BusLogic_HostAdapter_T *) __init; static boolean BusLogic_TargetDeviceInquiry(BusLogic_HostAdapter_T *) __init; -static void BusLogic_ReportTargetDeviceInfo(BusLogic_HostAdapter_T *) __init; +static void BusLogic_ReportTargetDeviceInfo(BusLogic_HostAdapter_T *); static void BusLogic_InitializeHostStructure(BusLogic_HostAdapter_T *, SCSI_Host_T *) __init; -static void BusLogic_SelectQueueDepths(SCSI_Host_T *, SCSI_Device_T *) __init; +static void BusLogic_SelectQueueDepths(SCSI_Host_T *, SCSI_Device_T *); int BusLogic_DetectHostAdapter(SCSI_Host_Template_T *) __init; int BusLogic_ReleaseHostAdapter(SCSI_Host_T *) __init; static boolean BusLogic_ParseKeyword(char **, char *) __init; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |