linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Andreas Dilger <adilger@turbolinux.com>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] oops on 2.4.2 with lvm-0.9beta5 and Reiserfs 3.6.25
Date: Fri, 23 Feb 2001 14:23:57 -0700 (MST)	[thread overview]
Message-ID: <200102232123.f1NLNwh04775@webber.adilger.net> (raw)
In-Reply-To: <14998.53544.642864.34288@eagle.mh.lucent.com> from "lvm@winux.com" at "Feb 23, 2001 04:07:52 pm"

Larry writes:
> I just built a new system based on Linux 2.4.2 with LVM 0.9 beta 5.
> I applied the patches, turned on the #define LVM_VFS_ENHANCEMENT,
> rebuilt/booted the kernel and the user level tools.
> 
> I found a reproducible "kernel oops" as shown in the trace attached below.
> 
> The oops always happens if I use 
> 
>   # lvcreate -L 10g ...
>   # lvextend -L +2g ...
> 
> but I've never seen it happen if I use
> 
>   # lvcreate -L 12g ...
> 
> # mkreiserfs /dev/vg0/lv0
> # mount /dev/vg0/lv0 /lv
> # echo hello world > /lv/foo
> # lvcreate -L1g -s -n s0 /dev/vg0/lv0
> lvcreate -- WARNING: the snapshot must be disabled if it gets full
> lvcreate -- INFO: using default snapshot chunk size of 64 KB for "/dev/vg0/s0"
> Segmentation fault
> # dmesg | tail 
> ReiserFS version 3.6.25
> journal-1777: buffer 16 bad state !PREPARED !LOCKED !DIRTY !JDIRTY_WAIT
> Unable to handle kernel NULL pointer dereference at virtual address 00000000
>  printing eip:

You need to run the dmesg output through ksymoops for this to be useful.
The journal-1777 message is definitely a reiserfs error, but there is no
way to tell where the oops happened.  Also running "lvcreate -v -d" may
be useful, if overly verbose.

I wouldn't think that how you create an LV would affect reiserfs, but who
knows?  There could be something in how lvextend updates the in-kernel
information, the beta5 snapshot changes, or it may also be something in
the reiserfs snapshot code.

Cheers, Andreas
-- 
Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
                 \  would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/               -- Dogbert

      parent reply	other threads:[~2001-02-23 21:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-23 21:07 [linux-lvm] oops on 2.4.2 with lvm-0.9beta5 and Reiserfs 3.6.25 lvm
2001-02-23 21:16 ` Chris Mason
2001-02-23 21:46   ` lvm
2001-02-23 21:56     ` Chris Mason
2001-02-24  3:45       ` lvm
2001-02-23 21:23 ` Andreas Dilger [this message]

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=200102232123.f1NLNwh04775@webber.adilger.net \
    --to=adilger@turbolinux.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;
as well as URLs for NNTP newsgroup(s).