All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Knecht <markknecht@gmail.com>
To: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Tejun Heo <tj@kernel.org>, Paul Check <paul@thechecks.ca>,
	Linux Kernel List <linux-kernel@vger.kernel.org>,
	"linux-ide@vger.kernel.org" <linux-ide@vger.kernel.org>
Subject: Re: Drives missing at boot
Date: Tue, 3 Aug 2010 11:47:25 -0700	[thread overview]
Message-ID: <AANLkTi=bKn3t8eD=n8tDeZrn-mXsEzFHGj46-Z5U9EGA@mail.gmail.com> (raw)
In-Reply-To: <20100803114105.7f199878.randy.dunlap@oracle.com>

On Tue, Aug 3, 2010 at 11:41 AM, Randy Dunlap <randy.dunlap@oracle.com> wrote:
> On Mon, 2 Aug 2010 15:07:11 -0700 Mark Knecht wrote:
>
>> On Thu, Jul 22, 2010 at 5:39 AM, Tejun Heo <tj@kernel.org> wrote:
>>
>> Hi Tejun,
>>    I'm finally home and trying to get back to this. I'm really a bad
>> programmer so I don't know what I've done wrong but it seems patch
>> isn't happy with me.
>>
>> c2stable linux # patch --dry-run -p1 <../ata_piix-sidpr-lock.patch
>> patching file drivers/ata/ata_piix.c
>> patch: **** malformed patch at line 13:
>
> Whenever the patch file was saved on this system, line 13 of it was
> split (probably by an email client).  Whenever I see this, I just
> join (merge) that line and the next one and try again... sometimes
> several lines are malformed and have to be fixed like this.
>

Randy,
   Could very well be what happened. I added line 13 (the printk) by hand

<SNIP - ORIGINAL PATCH FILE>
struct piix_host_priv {
       const int *map;
       u32 saved_iocfg;
+       spinlock_t sidpr_lock;  /* FIXME: remove once locking in EH is fixed */
        void __iomem *sidpr;
};

<SNIP - MY CHANGE BY HAND>
struct piix_host_priv {
       const int *map;
       u32 saved_iocfg;
+       spinlock_t sidpr_lock;  /* FIXME: remove once locking in EH is fixed */
+       printk("MWK - ata_sidpr patch applied!\n");
       void __iomem *sidpr;
};

Maybe I should have just put it on the same line as the previous
spinlock command?

I'll play with it and see if I can get it working.

Thanks,
Mark

  reply	other threads:[~2010-08-03 18:47 UTC|newest]

Thread overview: 55+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-02 17:56 Drives missing at boot Mark Knecht
2010-07-03 15:20 ` Mark Knecht
2010-07-03 16:01 ` Tejun Heo
2010-07-03 16:06   ` Mark Knecht
2010-07-03 16:13     ` Tejun Heo
2010-07-03 16:42       ` Mark Knecht
2010-07-05  6:30         ` Tejun Heo
2010-07-05 16:56           ` Mark Knecht
2010-07-06  6:33             ` Tejun Heo
2010-07-06 18:13               ` Mark Knecht
2010-07-07  5:50                 ` Tejun Heo
2010-07-07 15:34                   ` Mark Knecht
2010-07-07 15:48                     ` Tejun Heo
2010-07-07 16:15                       ` Mark Knecht
2010-07-07 16:19                         ` Tejun Heo
2010-07-07 16:27                           ` Mark Knecht
2010-07-07 17:06                       ` Mark Knecht
2010-07-07 17:26                         ` Tejun Heo
2010-07-07 17:32                           ` Mark Knecht
2010-07-19 19:31                           ` Mark Knecht
2010-07-19 21:01                             ` Tejun Heo
2010-07-20  3:14                               ` Paul Check
2010-07-20 14:14                                 ` Tejun Heo
2010-07-20 14:14                                   ` Tejun Heo
2010-07-20 14:53                                   ` Mark Knecht
2010-07-20 16:16                                     ` Mark Knecht
2010-07-21 20:54                                   ` Mark Knecht
2010-07-21 21:22                                     ` Paul Check
2010-07-22 12:39                                     ` Tejun Heo
2010-07-22 12:39                                       ` Tejun Heo
2010-08-02 22:07                                       ` Mark Knecht
2010-08-03 18:41                                         ` Randy Dunlap
2010-08-03 18:47                                           ` Mark Knecht [this message]
2010-08-03 18:55                                             ` Randy Dunlap
2010-08-04 16:16                                               ` Mark Knecht
2010-08-03 18:49                                           ` Jim Paris
2010-08-03 18:53                                             ` Mark Knecht
2010-07-20 20:52                                 ` Mark Knecht
2010-07-20 21:19                                   ` Paul Check
2010-07-20 21:26                                     ` Mark Knecht
2010-07-20 23:05                                       ` Paul Check
2010-07-03 18:56     ` Stan Hoeppner
2010-07-03 19:21       ` Mark Knecht
2010-07-03 19:42         ` Stan Hoeppner
2010-07-03 19:57           ` Mark Knecht
2010-07-03 22:31             ` Mark Knecht
2010-07-04  1:25               ` Thomas Fjellstrom
2010-07-05  6:19               ` Tejun Heo
2010-07-05 16:48                 ` Mark Knecht
2010-07-05 23:59                   ` Robert Hancock
2010-07-06  4:16                     ` Mark Knecht
2010-07-06  6:13                       ` Stan Hoeppner
2010-07-06 11:26                       ` Sander
2010-07-06  6:32                   ` Tejun Heo
2010-07-03 20:15           ` Gene Heskett

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='AANLkTi=bKn3t8eD=n8tDeZrn-mXsEzFHGj46-Z5U9EGA@mail.gmail.com' \
    --to=markknecht@gmail.com \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=paul@thechecks.ca \
    --cc=randy.dunlap@oracle.com \
    --cc=tj@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.