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: Mon, 17 Nov 2025 08:56:43 -0500
--0000000000003028f50643cab846
Content-Type: text/plain; charset="UTF-8"
So, we effectively have two bugs here: dmsetup prints garbage, and ext2fs
does nothing with rdev.
What's the next step - create two new bugs and close this one?
Thanks for your help in tracking these down!
On Sun, Nov 16, 2025, 20:15 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 kernel
> Date: Mon, 17 Nov 2025 01:11:12 -0000 (UTC)
>
> gnats-admin%NetBSD.org@localhost ("Mike Edwards via gnats") writes:
>
> > Perhaps unusually, I'm using ext2fs here, as it makes it easier to
> > mount the vm on the host if needed (Xen dom0 is currently Linux).
>
>
> Looks like ext2fs does not initialize the rdev field for anything.
>
> -rw-r--r-- 1 root wheel 0 Nov 17 02:08 foo
> crw-r--r-- 1 root wheel 0, 0 Nov 17 02:09 bar
>
> % stat -s foo
> st_dev=4864 st_ino=12 st_mode=0100644 st_nlink=1 st_uid=0 st_gid=0
> st_rdev=0 st_size=0 st_atime=1763341722 st_mtime=1763341722
> st_ctime=1763341722 st_birthtime=0 st_blksize=1024 st_blocks=0 st_flags=0
>
> % stat -s bar
> st_dev=4864 st_ino=13 st_mode=020644 st_nlink=1 st_uid=0 st_gid=0
> st_rdev=0 st_size=0 st_atime=1763341746 st_mtime=1763341746
> st_ctime=1763341746 st_birthtime=0 st_blksize=65536 st_blocks=0 st_flags=0
>
>
>
--0000000000003028f50643cab846
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"auto">So, we effectively have two bugs here: dmsetup prints gar=
bage, and ext2fs does nothing with rdev.<div dir=3D"auto"><br></div><div di=
r=3D"auto">What's the next step - create two new bugs and close this on=
e?=C2=A0</div><div dir=3D"auto"><br></div><div dir=3D"auto">Thanks for your=
help in tracking these down!</div></div><br><div class=3D"gmail_quote gmai=
l_quote_container"><div dir=3D"ltr" class=3D"gmail_attr">On Sun, Nov 16, 20=
25, 20:15 Michael van Elst via gnats <<a href=3D"mailto:gnats-admin@netb=
sd.org">gnats-admin%netbsd.org@localhost</a>> wrote:<br></div><blockquote class=3D=
"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding=
-left:1ex">The following reply was made to PR kern/59761; it has been noted=
by GNATS.<br>
<br>
From: <a href=3D"mailto:mlelstv%serpens.de@localhost" target=3D"_blank" rel=3D"norefe=
rrer">mlelstv%serpens.de@localhost</a> (Michael van Elst)<br>
To: <a href=3D"mailto:gnats-bugs%netbsd.org@localhost" target=3D"_blank" rel=3D"noref=
errer">gnats-bugs%netbsd.org@localhost</a><br>
Cc: <br>
Subject: Re: kern/59761: dmsetup broken in 10.1 with default GENERIC kernel=
<br>
Date: Mon, 17 Nov 2025 01:11:12 -0000 (UTC)<br>
<br>
=C2=A0gnats-admin%NetBSD.org@localhost ("Mike Edwards via gnats") writes:<b=
r>
<br>
=C2=A0> Perhaps unusually, I'm using ext2fs here, as it makes it eas=
ier to<br>
=C2=A0> mount the vm on the host if needed (Xen dom0 is currently Linux)=
.<br>
<br>
<br>
=C2=A0Looks like ext2fs does not initialize the rdev field for anything.<br=
>
<br>
=C2=A0-rw-r--r--=C2=A0 1 root=C2=A0 wheel=C2=A0 =C2=A0 =C2=A0 0 Nov 17 02:0=
8 foo<br>
=C2=A0crw-r--r--=C2=A0 1 root=C2=A0 wheel=C2=A0 =C2=A00, 0 Nov 17 02:09 bar=
<br>
<br>
=C2=A0% stat -s foo<br>
=C2=A0st_dev=3D4864 st_ino=3D12 st_mode=3D0100644 st_nlink=3D1 st_uid=3D0 s=
t_gid=3D0 st_rdev=3D0 st_size=3D0 st_atime=3D1763341722 st_mtime=3D17633417=
22 st_ctime=3D1763341722 st_birthtime=3D0 st_blksize=3D1024 st_blocks=3D0 s=
t_flags=3D0<br>
<br>
=C2=A0% stat -s bar<br>
=C2=A0st_dev=3D4864 st_ino=3D13 st_mode=3D020644 st_nlink=3D1 st_uid=3D0 st=
_gid=3D0 st_rdev=3D0 st_size=3D0 st_atime=3D1763341746 st_mtime=3D176334174=
6 st_ctime=3D1763341746 st_birthtime=3D0 st_blksize=3D65536 st_blocks=3D0 s=
t_flags=3D0<br>
<br>
<br>
</blockquote></div>
--0000000000003028f50643cab846--
Home |
Main Index |
Thread Index |
Old Index