Package: kernel-image-2.6.8-3-386
Version: 2.6.8-16sarge6
Severity: important


In a system configured with LVM, the initrd uses devfs during startup.
When the LVM system is activated (vgchange -a y), the screen is filled
with errors messages 
devfs_mk_dir: invalid argument
devfs_mk_dev: could not append to parent for disc
(this is repeated about ~ 100 times or more)

The reason of the problem is a kernel bug. When the device mapper
registers a new disc without a devfs name, no devfs entries should
be created. There is a small mistake in the code that registers a disk,
that shouldn't call devfs functions in these case.

Patch (to be applied with patch -p0 < patch in the directory
fs/partitions):

******************************************************************
--- check.c.orig        2006-12-05 10:21:54.000000000 +0100
+++ check.c.new 2007-03-12 15:17:07.000000000 +0100
@@ -348,7 +348,9 @@
        }

                /* always add handle for the whole disk */
                -       devfs_add_partitioned(disk);
                +       if (disk->devfs_name[0] != '\0') {
                +               devfs_add_partitioned(disk);
                +       }

                        /* No such device (e.g., media were just
                         * removed) */
                                 if (!get_capacity(disk))
******************************************************************
                                 


-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-3-686-smp
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=UTF-8)

Versions of packages kernel-image-2.6.8-3-386 depends on:
ii  coreutils [fileutils]         5.2.1-2    The GNU core utilities
ii  initrd-tools                  0.1.81.1   tools to create initrd image for p
ii  module-init-tools             3.2-pre1-2 tools for managing Linux kernel mo

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to