[Bug 269023] xen xbd attach does add to ada device unit count
Date: Wed, 18 Jan 2023 08:19:44 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269023 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=239554&action=edit 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 does 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 driver instance with hint.ada.X.at="adaX" to shift the starting unit count. -- You are receiving this mail because: You are the assignee for the bug.