With dm-mod compiled in kernel, lvm2 tools (vgscan and vgcreate in my case) causes segmentation faults.
* Note that when using dm-mod as a module, it works smoothly.
Steps to Reproduce:
1. Compile dm-mod in kernel (device mapper)
2. Emerge lvm2
3. Run vgscan
vgscan should returns volume groups found.
vgcreate should create a volume group.
I am using kernel-2.6.6-r0 and gentoo-dev-source-2.6.7 lvm compiled in and there is no segfault... could you specifiy kernel version used ? and profile used ? I use 2004.2
Works for me tried 2 kernels one with modules and one with Device mapper compiled in... both works great...
Seen on 2004.1 and not on 2004.2
Kick it !