Skip to contentSkip to conversation

Some trouble.

linux-lvm Lars Segerlund 2 participants 2 messages Oct 5, 1999 – Nov 27, 2020

lore
Share & tools
lore
#0 lore raw

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.

#1 lore raw
Quoted 2 lines · Lars Segerlund

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

[snip]

Quoted 3 lines

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:

Quoted 7 lines

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: [email protected]      Besenbruchstrasse 9
Phone : +49 202 2431440     42285 Wuppertal, Germany
Fax   : +49 202 2431420     http://www.msede.com/