Linux LVM users
 help / color / mirror / Atom feed
From: Tom Otake <totake66@home.com>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] lvm deadlock with 2.4.x kernel?
Date: Tue, 15 May 2001 17:35:46 -0500	[thread overview]
Message-ID: <3B01AF42.C171FE86@home.com> (raw)
In-Reply-To: 20010515094004.B468@66bassett.freeserve.co.uk

Yes, I've been able to recreate the second hang scenario, though I have to
admit it wasn't exactly the same.  I started the copy of the data, created a
new LV, which worked.  I ran mkreiserfs on the new LV, it worked.  I removed
the new LV, also worked, then ran pvscan.  That's when the system hung.  All
the while, the copy from CD to disk was going on.

I apologize if I sound like an idiot but I've never taken a stack trace for
the linux kernel.  I assume this will require enabling magic sysrq.  I looked
through the sysrq.txt but it didn't offer too much help, especially on how to
save stack traces, etc.  Would it be possible to get a quick rundown on what
commands/keys I need to use to get the data you need?

Thanks

Joe Thornber wrote:

> On Mon, May 14, 2001 at 05:11:47PM -0500, Tom Otake wrote:
> > I'm not sure if this has been brought up yet.  Over the weekend, my
> > Linux hung up on me twice.  Considering that this never happened before
> > and only two things have recently changed (LVM and ReiserFS) , I did
> > some reading and came across the bug report for LVM on sistina's website
> > about LVM deadlocking Linux.
>
> All the deadlocking issues have been due to either running snapshots
> on 2.2 kernels or doing a 'pvmove' on 2.2 or 2.4.  It doesn't sound
> like you were doing either.
>
> >
> > I'm running kernle 2.4.3 with LVM compiled into the kernel.  LVM is
> > 0.9.1_beta7, reiser is 3.x.0j.  All essential fs (/, /usr, /var, /tmp)
> > are still using ext2 and linux partitions, non essential fs (/home
> > amongst others) are all on  reiserfs with LVM, excluding /usr/local,
> > which is still on ext2 and Linux partition.
> >
> > The first occurance:
> > Running vmware (not on lvm/reiser) while browsing the web using netscape
> > and running seti@home.  The system hung on me when I tried to access a
> > web page that appeared to be task intensive, wether servlets,
> > javascript, flash, or something else, I don't know.
>
> I used to get deadlocks from vmware without using LVM.
>
> > The second occurance:
> > I was copying a large amount of data from a CDROM to my home dir (on
> > lvm).  While the copy was in progress, I created a new LV.  This
> > worked.  The system hung when I ran mkreiserfs on the new LV.
>
> This sounds more serious.  Can you reproduce it ?  If you can the
> quickest way for us to find the problem is for you to build the kernel
> with kdb and get stack traces for the relevent threads.
>
> > As I said, I'm not sure if the system hang was caused by the deadlock,
> > since the system was dead.  If this is related to the deadlock issue,
> > are there any possible workarounds, besides being mindful of the system
> > load?
>
> I am not aware of any deadlock issues in beta7.  Has anyone else
> experienced problems ?
>
> - Joe
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm

--
_______________
Love cannot be much younger than the lust for murder.
                -- Sigmund Freud

-- Tom Otake
-- totake66_nospam@home.com
-- Remove _nospam
-- #550

  reply	other threads:[~2001-05-15 22:35 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-14 22:11 [linux-lvm] lvm deadlock with 2.4.x kernel? Tom Otake
2001-05-15  8:40 ` Joe Thornber
2001-05-15 22:35   ` Tom Otake [this message]
2001-05-15 22:49     ` Andreas Dilger
2001-05-15 23:14       ` Chris Mason
2001-05-16  0:32         ` Andreas Dilger
2001-05-16  1:17           ` Chris Mason
2001-05-16  1:50             ` Jay Weber
2001-05-16  3:35               ` Jay Weber
2001-05-16  8:39             ` Joe Thornber
2001-05-16 10:50               ` Jay Weber
2001-05-16 11:06                 ` Joe Thornber
2001-05-16 10:53               ` Heinz J. Mauelshagen
2001-05-16 13:20               ` Chris Mason
2001-05-17  2:26     ` Tom Otake
2001-05-17 15:31       ` Andreas Dilger

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=3B01AF42.C171FE86@home.com \
    --to=totake66@home.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