From: walt <wa1ter@myrealbox.com>
To: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] Re: 2.5.67: ppa driver & preempt == oops
Date: Tue, 15 Apr 2003 16:51:53 -0700 [thread overview]
Message-ID: <3E9C9B19.7000107@myrealbox.com> (raw)
In-Reply-To: <fa.fnhqqrs.ok0028@ifi.uio.no>
walt wrote:
> Patrick Mansfield wrote:
>
>> On Sun, Apr 13, 2003 at 07:44:04PM +0200, Gert Vervoort wrote:
>>
>> Here is a patch against 2.5.67, can you try it out?
>>
>> I did not compile let alone run with this patch.
>>
>> We never hold the host_lock while calling the detect function (unlike the
>> io_request_lock, see the bizzare 2.4 code), so acquiring it inside
>> ppa_detect is very wrong. I don't know why your scsi scan did not hang.
>>
>> --- linux-2.5.67/drivers/scsi/ppa.c-orig Mon Apr 7 10:31:47 2003
>> +++ linux-2.5.67/drivers/scsi/ppa.c Tue Apr 15 11:54:34 2003
>> @@ -219,15 +219,12 @@
>> printk(" supported by the imm (ZIP Plus) driver. If the\n");
>> printk(" cable is marked with \"AutoDetect\", this is what
>> has\n");
>> printk(" happened.\n");
>> - spin_lock_irq(hreg->host_lock);
>> return 0;
>> }
>> try_again = 1;
>> goto retry_entry;
>> - } else {
>> - spin_lock_irq(hreg->host_lock);
>> + } else
>> return 1; /* return number of hosts detected */
>> - }
>> }
>>
>> /* This is to give the ppa driver a way to modify the timings (and other
>
>
>
> Yes! Thank you. This patch fixes the segfault of modprobe that I've
> been seeing for ages.
Hmm. An important addendum --
I can mount and unmount the Zip disk as many times as I want, as long as
I don't eject the disk from the drive.
Once I eject the disk and insert it again, the mount commant just hangs
forever. No error messages anywhere -- it just hangs. I can't even
kill the mount command. The only way out is to reboot and then all is
well again until the next time I eject the disk from the drive.
next parent reply other threads:[~2003-04-15 23:49 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <fa.hdvi4hc.152sj34@ifi.uio.no>
[not found] ` <fa.fnhqqrs.ok0028@ifi.uio.no>
2003-04-15 23:51 ` walt [this message]
2003-04-16 0:07 ` [PATCH] Re: 2.5.67: ppa driver & preempt == oops Randy.Dunlap
[not found] <fa.cde0mrb.127uv05@ifi.uio.no>
[not found] ` <fa.i9on98t.1gg0toj@ifi.uio.no>
2003-04-17 19:37 ` walt
2003-04-16 9:45 Chuck Ebbert
[not found] <fa.fo1ils5.o4kt21@ifi.uio.no>
[not found] ` <fa.jt2b7k8.20qj0c@ifi.uio.no>
2003-04-16 3:19 ` walt
[not found] <fa.chdor2j.u72387@ifi.uio.no>
[not found] ` <fa.gs8uudl.196640l@ifi.uio.no>
2003-04-15 23:04 ` walt
2003-04-15 23:25 ` Patrick Mansfield
2003-04-16 3:30 ` walt
-- strict thread matches above, loose matches on Subject: below --
2003-04-12 15:03 Gert Vervoort
2003-04-12 18:28 ` Robert Love
2003-04-13 10:30 ` Gert Vervoort
2003-04-13 17:32 ` Robert Love
2003-04-13 17:44 ` Gert Vervoort
2003-04-15 19:00 ` [PATCH] " Patrick Mansfield
2003-04-15 20:44 ` Gert Vervoort
2003-04-15 21:40 ` Patrick Mansfield
2003-04-16 17:52 ` Gert Vervoort
2003-04-16 18:05 ` Patrick Mansfield
2003-04-16 19:45 ` Gert Vervoort
2003-04-16 20:07 ` Mike Anderson
2003-04-16 18:03 ` Gert Vervoort
2003-04-15 21:37 ` Robert Love
2003-04-15 21:51 ` Randy.Dunlap
2003-04-15 22:07 ` Patrick Mansfield
2003-04-15 22:29 ` Randy.Dunlap
2003-04-15 22:35 ` Patrick Mansfield
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3E9C9B19.7000107@myrealbox.com \
--to=wa1ter@myrealbox.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.