NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/59761: dmsetup broken in 10.1 with default GENERIC kernel
The following reply was made to PR kern/59761; it has been noted by GNATS.
From: Mike Edwards <mike%mobile.mirkwood.net@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: kern-bug-people%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost,
medwards-netbsd%mirkwood.net@localhost
Subject: Re: kern/59761: dmsetup broken in 10.1 with default GENERIC kernel
Date: Sun, 16 Nov 2025 18:58:35 +0000
Well, this is bizarre:
[ksh] root@netbsd02# ls -ld /dev/mapper/control
crw-rw---- 1 root operator 0, 0 Nov 15 19:50 /dev/mapper/control
0,0? Oddly, dmsetup doesn't agree with ls here:
[ksh] root@netbsd02# dmsetup -vv ls
/dev/mapper/control: Wrong device number: (33, 176) instead of (194, 0)
Creating device /dev/mapper/control (194, 0)
Ioctl type version --- flags 4
ioctl version call failed with errno 25
Command failed
Why would ls report 0,0, and dmsetup 33,176?
One other piece of information that it occurs to me may be relevant:
This is a pvh vm running under Xen.
On Sun, Nov 16, 2025 at 5:32=E2=80=AFPM Michael van Elst via gnats
<gnats-admin%netbsd.org@localhost> wrote:
>
> The following reply was made to PR kern/59761; it has been noted by GNATS=
.
>
> From: mlelstv%serpens.de@localhost (Michael van Elst)
> To: gnats-bugs%netbsd.org@localhost
> Cc:
> Subject: Re: kern/59761: dmsetup broken in 10.1 with default GENERIC kern=
el
> Date: Sun, 16 Nov 2025 17:24:06 -0000 (UTC)
>
> medwards-netbsd%mirkwood.net@localhost writes:
>
> >This is easily seen with dmsetup --version or dmsetup ls:
> >[ksh] root@netbsd02# dmsetup --version
> >Library version: 1.02.40 (2009-11-24)
> >ioctl version call failed with errno 25
>
> >Command failed
> >[ksh] root@netbsd02# dmsetup ls
> >ioctl version call failed with errno 25
>
>
> Can't reproduce that. Please check the output of
>
> ls -ld /dev/mapper/control
>
> it should be like this:
>
> crw-rw---- 1 root operator 194, 0 Sep 7 2022 /dev/mapper/control
>
>
> Please also retry the dmsetup commands with two -v flags like:
>
> # dmsetup -vv --version
> Library version: 1.02.40 (2009-11-24)
> Ioctl type version --- flags 4
> Ioctl type version --- flags 4
> Driver version: 4.16.0
>
> # dmsetup -vv ls
> Ioctl type version --- flags 4
> Ioctl type names --- flags 4
> No devices found
>
> to see if any errors are reported.
>
Home |
Main Index |
Thread Index |
Old Index