All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] Patching my kernel.
@ 2001-05-08 23:11 Rupert Heesom
  2001-05-09  6:51 ` Luca Berra
  2001-05-09 11:55 ` David Vidal Rodriguez
  0 siblings, 2 replies; 13+ messages in thread
From: Rupert Heesom @ 2001-05-08 23:11 UTC (permalink / raw)
  To: Mauelshagen; +Cc: linux-lvm

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2001-05-10 22:48 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-08 23:11 [linux-lvm] Patching my kernel Rupert Heesom
2001-05-09  6:51 ` 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

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.