Linux LVM users
 help / color / mirror / Atom feed
From: Rupert Heesom <raheesom@navpoint.com>
To: Mauelshagen@sistina.com
Cc: linux-lvm@sistina.com
Subject: [linux-lvm] Patching my kernel.
Date: 08 May 2001 19:11:14 -0400	[thread overview]
Message-ID: <989363474.1329.2.camel@localhost> (raw)

I had previously patched the kernel (stock 2.4.3) with the beta 6 patch.

Now I'm trying to update to beta 7.  I tried patching the kernel is
exactly the same way as before (maybe a mistake).  Most of the output is
pasted in here (at the end).  I'm concerned about the prompts I got -

"Reversed (or previously applied) patch detected!  Assume -R? [n]"

As you can see, I decided to reply "Y".  Was that a correct assumption?

Afterwards I read the man page on "patch" and am now even less sure that
I did the right thing.

I don't want to compile the kernel modules (I have lvm as a module)
until I know that the source is in good condition.

patching file drivers/md/Makefile
Reversed (or previously applied) patch detected!  Assume -R? [n] y
The next patch would delete the file drivers/md/lvm-snap.h,
which does not exist!  Assume -R? [n] y
patching file drivers/md/lvm-snap.h
patching file Documentation/ioctl-number.txt
Reversed (or previously applied) patch detected!  Assume -R? [n] y
Hunk #1 succeeded at 187 (offset 1 line).

I've now just tried compiling the kernel modules anyway (not the main
kernel file), using make modules, make modules_install.

At the end of the "make modules_install", I got these msgs -



find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{}
pcmcia
if [ -r System.map ]; then /sbin/depmod -ae -F System.map  2.4.3; fi
depmod: *** Unresolved symbols in
/lib/modules/2.4.3/kernel/drivers/md/lvm-mod.odepmod: 	lvm_init_fs
depmod: 	lvm_fs_remove_vg
depmod: 	lvm_fin_fs
depmod: 	lvm_fs_remove_lv
depmod: 	lvm_fs_remove_pv
depmod: 	lvm_fs_create_vg
depmod: 	lvm_fs_create_lv
depmod: 	lvm_fs_create_pv


Do I assume that I did the wrong thing if the lvm-mod file is now (I
assume) incorrectly built?

How do I patch the kernel correctly???

-- 
regs
rupert

             reply	other threads:[~2001-05-08 23:11 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-08 23:11 Rupert Heesom [this message]
2001-05-09  6:51 ` [linux-lvm] Patching my kernel Luca Berra
2001-05-09  8:29   ` Joe Thornber
2001-05-09 10:39   ` Rupert Heesom
2001-05-09 14:43     ` Patrick Caulfield
2001-05-09 15:03     ` Joe Thornber
2001-05-09 11:43       ` Rupert Heesom
2001-05-09 18:58         ` Joe Thornber
2001-05-10 22:48           ` Rupert Heesom
2001-05-09 11:55 ` David Vidal Rodriguez
2001-05-09 13:11   ` Joe Thornber
2001-05-09 14:21     ` David Vidal Rodriguez
2001-05-09 17:29       ` Luca Berra

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=989363474.1329.2.camel@localhost \
    --to=raheesom@navpoint.com \
    --cc=Mauelshagen@sistina.com \
    --cc=linux-lvm@sistina.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox