Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jan 2023 08:19:44 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 269023] xen xbd attach does add to ada device unit count
Message-ID:  <bug-269023-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269023

            Bug ID: 269023
           Summary: xen xbd attach does add to ada device unit count
           Product: Base System
           Version: 13.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: echo@lethedata.com

Created attachment 239554
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D239554&action=
=3Dedit
dmesg snipit of issue

When a SATA controller is passed to a FreeBSD guest with a virtual disk
attached, the xdb Virtual Block Device gets assigned to ada0; however, it d=
oes
not appear to add to the device unit count. Thus when the SATA drives are
detected, they start at 0. This leads to the system thinking that the xdb
(ada0) and physical disk (ada0) are partitions of each other. 2 partitions
listed under /dev and 2 ada0 under geom device.

As a workaround one can pre-wire the xdb assigned ada to the related ada dr=
iver
instance with hint.ada.X.at=3D"adaX" to shift the starting unit count.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-269023-227>