mdev: extend debug logging output

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Merge remote-tracking branch 'bb/master' into HEAD