Red Hat Bugzilla – Bug 28491
kernel oops using lvm
Last modified: 2007-04-18 12:31:36 EDT
The output from ksymoops is attached
Created attachment 10560 [details]
kernel oops while running vgrename
Choosing Pete at random to look into this...
How did this happen? I am curious if the requestor run
vgrename(8) or anything else has happened.
Pity that dmesg output was not saved.
Is the problem reproducible?
--- linux-2.4.2-0.1.16/drivers/md/lvm.c Wed Feb 28 13:04:36 2001
+++ linux-2.4.2-0.1.16-p3/drivers/md/lvm.c Wed Mar 7 11:59:42 2001
@@ -1979,6 +1979,8 @@
lv_t *lv_ptr = NULL;
pv_t *pv_ptr = NULL;
+ if (vg_ptr == NULL) return -ENXIO;
if (copy_from_user(vg_name, arg, sizeof(vg_name)) != 0)
A silly omission. LOL
We are about to ship and LVM turned to be somewhat flakey.
The typo that I fixed for this bug is not the only one.
So, resolving into DEFERRED, even though this particular
fix is easy.
I'll see that mainstream kernel picks the fix. Won't help
LVM though until Heinz gets his act together.
We went to 2.4.3-ac8 today and it has the fix in it.
I'll reopen and re-close with "Errata".