Bug#420583: vgscan makes the unionfs module panic when running in qemu

Boroczki Lajos Boroczki.Lajos at kfki-lnx.hu
Mon Apr 23 11:38:54 UTC 2007

Package: lvm2
Version: 2.02.24-6
Severity: important

I have made an image with make-live using the following command:

sudo make-live --packages "debootstrap lvm2 fdisk mdadm e2fsprogs reiserfsprogs
reiser4progs xfsprogs jfsutils linux-image-486" --flavour minimal --mirror

Then started qemu with the generated binary.iso as the cdrom.
When it reaches the vgscan part, it bails out with the following:

Setting up LVM Volume Groups  Reading all physical volumes.  This may take a while...
  No volume groups found
  No volume groups found
BUG: unable to handle kernel NULL pointer dereference at virtual address 00000094
 printing eip:
*pde = 00000000
Oops: 0000 [#1]
Modules linked in: md_mod dm_snapshot dm_mirror dm_mod tsdev psmouse parport_pc parport serio_raw i2c_piix4 pcspkr i2c_core evdev squashfs loop unionfs nls_iso8859_1 isofs ide_cd cdrom ide_disk generic floppy ne2k_pci 8390 piix ide_core thermal processor fan
CPU:    0
EIP:    0060:[<c88ab8fe>]    Not tainted VLI
EFLAGS: 00000202   (2.6.18-4-486 #1)
EIP is at unionfs_file_revalidate+0x522/0x866 [unionfs]
eax: 00000000   ebx: c614b2a4   ecx: 00000000   edx: c71afbe0
esi: c64c04b4   edi: 080c3f8a   ebp: c7a14000   esp: c7a15f4c
ds: 007b   es: 007b   ss: 0068
Process vgscan (pid: 2619, ti=c7a14000 task=c13c5ab0 task.ti=c7a14000)
Stack: 00000001 c75d3a00 c015a0f5 c72da800 c64c04b4 0000000c 00000002 00000000
       00000000 00000000 00000000 00000000 c75d3a00 c113db00 080c3f8a c7a14000
       c88abfce c113db00 c75d3a00 c75d3a00 c113db00 080c3f8a c7a14000 c0147553
Call Trace:
 [<c015a0f5>] fcntl_setlk64+0x1f1/0x214
 [<c88abfce>] unionfs_flush+0x16/0xd4 [unionfs]
 [<c0147553>] filp_close+0x2f/0x54
 [<c0102a47>] syscall_call+0x7/0xb
Code: 10 8b 46 4c 8b 90 48 01 00 00 89 c8 c1 e0 04 03 42 18 f6 40 0c 02 0f 84 c6 02 00 00 8d 04 8d 00 00 00 00 03 43 24 8b 00 8b 40 08 <8b> 80 94 00 00 00 f6 40 30 01 0f 85 a7 02 00 00 e9 87 02 00 00
EIP: [<c88ab8fe>] unionfs_file_revalidate+0x522/0x866 [unionfs] SS:ESP 0068:c7a15f4c

It works fine for etch, so I'll stick with it for now.


ps: Sorry for my english, haven't used it lately...

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-4-686 (SMP w/1 CPU core)
Locale: LANG=hu_HU, LC_CTYPE=hu_HU (charmap=ISO-8859-2)
Shell: /bin/sh linked to /bin/bash

Versions of packages lvm2 depends on:
ii  libc6                        2.5-2       GNU C Library: Shared libraries
ii  libdevmapper1.02.1           2:1.02.18-1 The Linux Kernel Device Mapper use
ii  libncurses5                  5.5-5       Shared libraries for terminal hand
ii  libreadline5                 5.2-2       GNU readline and history libraries
ii  libselinux1                  2.0.8-1     SELinux shared libraries
ii  libsepol1                    2.0.1-1     Security Enhanced Linux policy lib

lvm2 recommends no packages.

-- debconf information excluded

More information about the pkg-lvm-maintainers mailing list