g_dev_taste: make_dev_p() failed (gp->name=ada1, error=17) - ok?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

g_dev_taste: make_dev_p() failed (gp->name=ada1, error=17) - ok?

Marcin Cieslak-3
When starting FreeBSD domU (r319534) on 11.1-PRELEASE dom0 (same version)
I am guestting

can't re-use a leaf (led)!

and

g_dev_taste: make_dev_p() failed (gp->name=ada0, error=17)

messages in my dmesg.

The disks are attached as follows:

disk = [
        '/dev/zvol/zroot/freebsd1,raw,hda,w',
        '/dev/zvol/zroot/freebsd2,raw,hdb,w',
        '/dev/zvol/zroot/builder0,raw,hdc,w',
        '/dev/zvol/zroot/builder1,raw,hdd,w'
]

are those warning messages ok?

dmesg output below,

Marcin

xbd1: 40960MB <Virtual Block Device> at device/vbd/832 on xenbusb_front0
ada0 at ata0 bus 0 scbus0 target 0 lun 0
xbd1: ada0: attaching as ada1
xbd1: <QEMU HARDDISK 2.4.1> ATA-7 device
ada0: Serial Number QM00001
features: flush, write_barrier
xbd1: ada0: 16.700MB/s transferssynchronize cache commands enabled.
 (WDMA2, PIO 8192bytes)
ada0: 51200MB (104857600 512 byte sectors)
ada1 at ata0 bus 0 scbus0 target 1 lun 0
ada1: <QEMU HARDDISK 2.4.1> ATA-7 device
xn0: ada1: Serial Number QM00002
backend features: feature-sgada1: 16.700MB/s transfers (WDMA2,
PIO 8192bytescan't re-use a leaf (led)!
)
xbd2: ada1: 40960MB (83886080 512 byte sectors)
can't re-use a leaf (led)!
ada2 at ata1 bus 0 scbus1 target 0 lun 0
61440MB <Virtual Block Device> at device/vbd/5632 on xenbusb_front0
g_dev_taste: make_dev_p() failed (gp->name=ada0, error=17)
xbd2: attaching as ada2
xbd2: ada2: features: flush, write_barrier
xbd2: synchronize cache commands enabled.
<QEMU HARDDISK 2.4.1> ATA-7 device
uhub0: xbd3: 102400MB <Virtual Block Device> at device/vbd/5696 on xenbusb_front0
ada2: Serial Number QM00003
2 ports with 2 removable, self powered
g_dev_taste: make_dev_p() failed (gp->name=ada1, error=17)
xbd3: ada2: 16.700MB/s transfers (WDMA2, PIO 8192bytesattaching as ada3
)
xbd3: can't re-use a leaf (led)!
ada2: 61440MB (125829120 512 byte sectors)
features: flush, write_barrier
xbd3: g_dev_taste: make_dev_p() failed (gp->name=ada0p1, error=17)
synchronize cache commands enabled.
ada3 at ata1 bus 0 scbus1 target 1 lun 0
ada3: <QEMU HARDDISK 2.4.1> ATA-7 device
ada3: Serial Number QM00004
g_dev_taste: make_dev_p() failed (gp->name=ada0p2, error=17)
ada3: 16.700MB/s transfers (WDMA2, PIO 8192bytes)
ada3: 102400MB (209715200 512 byte sectors)
g_dev_taste: make_dev_p() failed (gp->name=ada0p3, error=17)
Trying to mount root from ufs:/dev/ada0p2 [rw]...
g_dev_taste: make_dev_p() failed (gp->name=ada1p1, error=17)
g_dev_taste: make_dev_p() failed (gp->name=ada2, error=17)
can't re-use a leaf (led)!
g_dev_taste: make_dev_p() failed (gp->name=ada2p1, error=17)
g_dev_taste: make_dev_p() failed (gp->name=ada3, error=17)


smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: g_dev_taste: make_dev_p() failed (gp->name=ada1, error=17) - ok?

Roger Pau Monné
On Mon, Jun 05, 2017 at 01:42:23AM +0000, Marcin Cieslak wrote:

> When starting FreeBSD domU (r319534) on 11.1-PRELEASE dom0 (same version)
> I am guestting
>
> can't re-use a leaf (led)!
>
> and
>
> g_dev_taste: make_dev_p() failed (gp->name=ada0, error=17)
>
> messages in my dmesg.
>
> The disks are attached as follows:
>
> disk = [
>         '/dev/zvol/zroot/freebsd1,raw,hda,w',
>         '/dev/zvol/zroot/freebsd2,raw,hdb,w',
>         '/dev/zvol/zroot/builder0,raw,hdc,w',
>         '/dev/zvol/zroot/builder1,raw,hdd,w'
> ]
>
> are those warning messages ok?
>
> dmesg output below,
>
> Marcin
>
> xbd1: 40960MB <Virtual Block Device> at device/vbd/832 on xenbusb_front0
> ada0 at ata0 bus 0 scbus0 target 0 lun 0
> xbd1: ada0: attaching as ada1
> xbd1: <QEMU HARDDISK 2.4.1> ATA-7 device
> ada0: Serial Number QM00001
> features: flush, write_barrier
> xbd1: ada0: 16.700MB/s transferssynchronize cache commands enabled.
>  (WDMA2, PIO 8192bytes)
> ada0: 51200MB (104857600 512 byte sectors)
> ada1 at ata0 bus 0 scbus0 target 1 lun 0
> ada1: <QEMU HARDDISK 2.4.1> ATA-7 device
> xn0: ada1: Serial Number QM00002
> backend features: feature-sgada1: 16.700MB/s transfers (WDMA2,
> PIO 8192bytescan't re-use a leaf (led)!
> )

That's weird, it seems that both the emulated and PV disks are being
detected and enumerated. Can you paste your domain configuration file
and the contents of the loader.conf file in the virtual machine?

Roger.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: g_dev_taste: make_dev_p() failed (gp->name=ada1, error=17) - ok?

Marcin Cieslak-3
On Mon, 19 Jun 2017, Roger Pau Monné wrote:

> On Mon, Jun 05, 2017 at 01:42:23AM +0000, Marcin Cieslak wrote:
> > When starting FreeBSD domU (r319534) on 11.1-PRELEASE dom0 (same version)
> > I am guestting
> >
> > can't re-use a leaf (led)!
> >
> > and
> >
> > g_dev_taste: make_dev_p() failed (gp->name=ada0, error=17)
> >
> > messages in my dmesg.
> >
> > The disks are attached as follows:
> >
> > disk = [
> >         '/dev/zvol/zroot/freebsd1,raw,hda,w',
> >         '/dev/zvol/zroot/freebsd2,raw,hdb,w',
> >         '/dev/zvol/zroot/builder0,raw,hdc,w',
> >         '/dev/zvol/zroot/builder1,raw,hdd,w'
> > ]
> >
> > are those warning messages ok?
> >
> > dmesg output below,
> >
> > Marcin
> >
> > xbd1: 40960MB <Virtual Block Device> at device/vbd/832 on xenbusb_front0
> > ada0 at ata0 bus 0 scbus0 target 0 lun 0
> > xbd1: ada0: attaching as ada1
> > xbd1: <QEMU HARDDISK 2.4.1> ATA-7 device
> > ada0: Serial Number QM00001
> > features: flush, write_barrier
> > xbd1: ada0: 16.700MB/s transferssynchronize cache commands enabled.
> >  (WDMA2, PIO 8192bytes)
> > ada0: 51200MB (104857600 512 byte sectors)
> > ada1 at ata0 bus 0 scbus0 target 1 lun 0
> > ada1: <QEMU HARDDISK 2.4.1> ATA-7 device
> > xn0: ada1: Serial Number QM00002
> > backend features: feature-sgada1: 16.700MB/s transfers (WDMA2,
> > PIO 8192bytescan't re-use a leaf (led)!
> > )
>
> That's weird, it seems that both the emulated and PV disks are being
> detected and enumerated. Can you paste your domain configuration file
> and the contents of the loader.conf file in the virtual machine?
Sorry, missed that one.

builder = "hvm"
name = "FreeBSD"
disk = [
        '/dev/zvol/zroot/freebsd1,raw,hda,w',
        '/dev/zvol/zroot/freebsd2,raw,hdb,w',
        '/dev/zvol/zroot/builder0,raw,hdc,w',
        '/dev/zvol/zroot/builder1,raw,hdd,w'
]
boot = "c"
usbdevice = 'tablet'
#nographics = 1
#serial = [ "/dev/nmdm0A" ]
vnc = 1
#vnclisten = '0.0.0.0'
vif = ['bridge=bridge0,mac=00:02:04:08:fd:f0']
memory=4096
vcpus=4
vga = "stdvga"
videoram = 16
xen_platform_pci=0

/boot/loader.conf is

loader_logo=none
beastie_disable=yes

Looks like

xen_platform_pci=0

was a culprit (something I need to boot Fedora)

Marcin

smime.p7s (4K) Download Attachment