NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/42799: LVM logical volumes fail to attach if 'pseudo-device dm' is compiled in th kernel
On Thu, Feb 18, 2010 at 2:39 AM, Brian <brian%planetunix.net@localhost> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Good evening all,
>
> I have provided a patch below to fix kern/42799: LVM logical volumes
> fail to attach if 'pseudo-device dm' is compiled in th kernel.
>
> The device-mapper written by Adam Hamsik for his GSoC project cannot be
> used as a builtin kernel module due to a bug.
>
> I have modified sys/dev/dm/device-mapper.c to fix this by calling
> config_cfattach_attach from dmattach and changed the order in which
> dmattach is called in dm_modcmd during module initialization.
I think that we need to change dmdetach routine as well. Because it
is called from shutdown hooks ?
--
Regards.
Adam
Home |
Main Index |
Thread Index |
Old Index