2001-04-15 10:57:13

by Arjan Filius

[permalink] [raw]
Subject: 2.4.4-pre3: lvm.c patch results in "hanging" mount or swapon

Hello,

While trying kernel 2.4.4-pre3 i found a "hanging" swapon (my swap is on
LVM), same effect for "mount -a". 2.4.3 works properly.

I found ./drivers/md/lvm.c is patched, and restoring the lvm.c from 2.4.3
resulted in normal operation.

I Found LVM/0.9.1_beta7 makes some notes about the patch, so i tried that
(beta7), but no luck, only 2.4.3:lvm.c worked ok.

Greatings,

--
Arjan Filius
mailto:[email protected]


2001-04-15 14:25:16

by Jens Axboe

[permalink] [raw]
Subject: Re: 2.4.4-pre3: lvm.c patch results in "hanging" mount or swapon

On Sun, Apr 15 2001, Arjan Filius wrote:
> Hello,
>
> While trying kernel 2.4.4-pre3 i found a "hanging" swapon (my swap is on
> LVM), same effect for "mount -a". 2.4.3 works properly.
>
> I found ./drivers/md/lvm.c is patched, and restoring the lvm.c from 2.4.3
> resulted in normal operation.
>
> I Found LVM/0.9.1_beta7 makes some notes about the patch, so i tried that
> (beta7), but no luck, only 2.4.3:lvm.c worked ok.

Small buglet in the buffer_IO_error out path, I maybe that's it...

--
Jens Axboe


Attachments:
(No filename) (513.00 B)
lvm-eout-1 (302.00 B)
Download all attachments

2001-04-15 16:15:43

by Arjan Filius

[permalink] [raw]
Subject: Re: 2.4.4-pre3: lvm.c patch results in "hanging" mount or swapon

Hello,

On Sun, 15 Apr 2001, Jens Axboe wrote:

> On Sun, Apr 15 2001, Arjan Filius wrote:
> > Hello,
> >
> > While trying kernel 2.4.4-pre3 i found a "hanging" swapon (my swap is on
> > LVM), same effect for "mount -a". 2.4.3 works properly.
> >
> > I found ./drivers/md/lvm.c is patched, and restoring the lvm.c from 2.4.3
> > resulted in normal operation.
> >
> > I Found LVM/0.9.1_beta7 makes some notes about the patch, so i tried that
> > (beta7), but no luck, only 2.4.3:lvm.c worked ok.
>
> Small buglet in the buffer_IO_error out path, I maybe that's it...

Dunno, i did som 'strace'ing and found it is waiting in read():
open("/dev/vg_4/lv_images", O_RDONLY) = 4
lseek(4, 1024, SEEK_SET) = 1024
read(4,
(killed with SAK)


Greatings,



--
Arjan Filius
mailto:[email protected]