linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] Some trouble.
@ 1999-10-05 12:07 Lars Segerlund
  2020-11-27 16:16 ` Michael Marxmeier
  0 siblings, 1 reply; 2+ messages in thread
From: Lars Segerlund @ 1999-10-05 12:07 UTC (permalink / raw)
  To: linux-lvm


 I'm getting some kernel panics running vgcreate, pvscan, vgscan on a 
 raid5 partition on a Compaq-DS10 , it sais free list corrupted ??

 Any idea's , im kind of giving up on running lvm on this machine soon,
 and it would really need it.

 I could do a pvcreate -v /dev/md0 ( after dd </dev/zero >/dev/md0 bs=512
 count= 1024 ), but a vgscan failed ( kernel panic, free list corrupted. )
 and so did a vgcreate.

 Any ideas ??

 ( at a point it complained that /etc/lvmtab and /etc/lvmtab.d was missing
 I did a touch on those and it seemed to work ).

 I find all this strange as I am running lvm on my laptop with no troubles,
 but this installation is starting to hurt, ( ckraid on 72 Gig ).

 / best regards, Lars Segerlund.

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

* Re: [linux-lvm] Some trouble.
  1999-10-05 12:07 [linux-lvm] Some trouble Lars Segerlund
@ 2020-11-27 16:16 ` Michael Marxmeier
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Marxmeier @ 2020-11-27 16:16 UTC (permalink / raw)
  To: lars.segerlund; +Cc: linux-lvm

Lars Segerlund wrote:
>  I'm getting some kernel panics running vgcreate, pvscan, vgscan on a 
>  raid5 partition on a Compaq-DS10 , it sais free list corrupted ??
[snip] 
>  I could do a pvcreate -v /dev/md0 ( after dd </dev/zero >/dev/md0 bs=512
>  count= 1024 ), but a vgscan failed ( kernel panic, free list corrupted. )
>  and so did a vgcreate.

This looks like a known problem with the old md code once reported
by Steve Brueggeman:

> I've also had a problem when vgscan ran, because of a bug in the md driver.
> I run RedHat 5.2, and the default installation created /dev/md0 through
> /dev/md15, but the default md driver is compiled to handle only 4 md
> devices (#define MAX_MD_DEV  4), and because of a bug in the md_open()
> (uses [minor] without checking minor is less than MAX_MD_DEV), my kernel
> would crash when vgscan tried to check /dev/md6 or so.  I just rm'd
> /dev/md[4-9] /dev/md1[0-5] to not cause the problem.

Please refer to: http://linux.msede.com/lvm/mlist/archive/0059.html

As suggested, please try to remove /dev/md[4-9] and /dev/md1[0-5]
and try if vgscan still results in a panic.


Hope this helps
Michael

--
Michael Marxmeier           Marxmeier Software AG
E-Mail: mike@msede.com      Besenbruchstrasse 9
Phone : +49 202 2431440     42285 Wuppertal, Germany
Fax   : +49 202 2431420     http://www.msede.com/

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

end of thread, other threads:[~2020-11-27 16:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-10-05 12:07 [linux-lvm] Some trouble Lars Segerlund
2020-11-27 16:16 ` Michael Marxmeier

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).