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

Marcin Cieslak saper at saper.info
Thu Jun 29 22:40:26 UTC 2017


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3663 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.freebsd.org/pipermail/freebsd-xen/attachments/20170629/541a2bc7/attachment.bin>


More information about the freebsd-xen mailing list