Kernel linux-image-2.6.10-5-386 (2.6.10-34.4) problem
Anders Karlsson
anders at trudheim.com
Sun Aug 21 15:47:34 CDT 2005
On Sun, 2005-08-21 at 12:43 -0700, Matt Zimmerman wrote:
> On Sun, Aug 21, 2005 at 12:12:05PM +0100, Anders Karlsson wrote:
> > There was a kernel update a few days ago due to a vulnerability and
> > there are some problems regenerating the initrd with that update. The
> > errors I see from "dpkg --configure -a" is:
> >
> > root at lenin:~ # dpkg --configure -a
> > Setting up linux-image-2.6.10-5-386 (2.6.10-34.4) ...
> > File descriptor 3 left open
> > File descriptor 4 left open
> > File descriptor 5 left open
> > File descriptor 6 left open
> > File descriptor 7 left open
> > Finding all volume groups
> > Finding volume group "test"
> > Finding volume group "rootvg"
> > /usr/sbin/mkinitrd: /dev/evms/swap: Cannot find LVM device
>
> ProbablysSince the last kernel update, you added this EVMS swap device.
> This confuses mkinitrd.
>
> swapoff/dpkg --configure -a/swapon should get around it.
>
It is a little more severe than that. My fstab looks as follows:
proc /proc proc defaults 0 0
/dev/md0 / ext3 noatime,errors=remount-ro 0 1
/dev/evms/home /home ext3 noatime 0 2
/dev/evms/opt /opt ext3 noatime 0 2
/dev/evms/optnwn /opt/nwn ext3 noatime 0 2
/dev/evms/tmp /tmp ext3 noatime 0 2
/dev/evms/usr /usr ext3 noatime 0 2
/dev/evms/usrsrc /usr/src ext3 noatime 0 2
/dev/evms/var /var ext3 noatime 0 2
/dev/evms/swap none swap auto 0 0
If I swapoff and run "dpkg --configure -a" I still get errors as the
swap device is in fstab. If I comment out the swap device it fails on
other filesystems. It would appear that the scripts in the kernel
packages do not work all that well with evms.
Long story with the evms part, but with multipathing you sort of got to
that way... I am game for testing kernel packages and if I get time I
will hack away at fixing this myself.
/A
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.ubuntu.com/archives/ubuntu-devel/attachments/20050821/8d23ce45/attachment.pgp
More information about the ubuntu-devel
mailing list