Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jan 2023 08:12:35 +0100
From:      =?UTF-8?Q?Corvin_K=c3=b6hne?= <corvink@FreeBSD.org>
To:        Mario Marietto <marietto2008@gmail.com>
Cc:        FreeBSD virtualization <freebsd-virtualization@freebsd.org>
Subject:   Re: devctl: Failed to detach pci0:1:0:0: Device not configured
Message-ID:  <ede23a03-8b64-99f0-e66a-39faa48bad5f@FreeBSD.org>
In-Reply-To: <CA%2B1FSihjcsbJ3tm%2B3Ge0jmrBfa94WR5vFhFGwzUhFaPDdSBf2Q@mail.gmail.com>
References:  <CA%2B1FSihjcsbJ3tm%2B3Ge0jmrBfa94WR5vFhFGwzUhFaPDdSBf2Q@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--------------JSFErlxF00T1gM6e5K0CcLxO
Content-Type: multipart/mixed; boundary="------------i0Bcf7Udw2P2YmPBRBJz6A6J";
 protected-headers="v1"
From: =?UTF-8?Q?Corvin_K=c3=b6hne?= <corvink@FreeBSD.org>
To: Mario Marietto <marietto2008@gmail.com>
Cc: FreeBSD virtualization <freebsd-virtualization@freebsd.org>
Message-ID: <ede23a03-8b64-99f0-e66a-39faa48bad5f@FreeBSD.org>
Subject: Re: devctl: Failed to detach pci0:1:0:0: Device not configured
References: <CA+1FSihjcsbJ3tm+3Ge0jmrBfa94WR5vFhFGwzUhFaPDdSBf2Q@mail.gmail.com>
In-Reply-To: <CA+1FSihjcsbJ3tm+3Ge0jmrBfa94WR5vFhFGwzUhFaPDdSBf2Q@mail.gmail.com>

--------------i0Bcf7Udw2P2YmPBRBJz6A6J
Content-Type: multipart/alternative;
 boundary="------------ziDclLfx2VEZIK9ApWBU0Gos"

--------------ziDclLfx2VEZIK9ApWBU0Gos
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: base64

T24gMS8yNy8yMDIzIDE6NTQgQU0sIE1hcmlvIE1hcmlldHRvI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meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DUTF=
-8">
  </head>
  <body>
    <div class=3D"moz-cite-prefix">On 1/27/2023 1:54 AM, Mario Marietto
      wrote:<br>
    </div>
    <blockquote type=3D"cite"
cite=3D"mid:CA+1FSihjcsbJ3tm+3Ge0jmrBfa94WR5vFhFGwzUhFaPDdSBf2Q@mail.gmai=
l.com">
      <meta http-equiv=3D"content-type" content=3D"text/html; charset=3DU=
TF-8">
      <div dir=3D"ltr">
        <div>Hello FreeBSD Virtualization Team.</div>
        <div><br>
        </div>
        <div>I've created this bhyve script that suits my needs,but
          unfortunately it does not work properly. Can someone help me
          to understand where the error is ? <br>
        </div>
        <div><span style=3D"font-family:monospace"><span
              style=3D"color:rgb(0,0,0);background-color:rgb(255,255,255)=
"><br>
            </span></span></div>
        <div><span style=3D"font-family:monospace"><font size=3D"6"><b><s=
pan
style=3D"color:rgb(0,0,0);background-color:rgb(255,255,255)">./20-Ubuntu-=
2004-Focal-Stable-Diffusion-vm20.sh</span></b></font><br>
          </span></div>
        <div><br>
        </div>
        <div>#!/bin/sh<br>
          <br>
          vms=3D"$(ls /dev/vmm/*)"<br>
          vncs=3D"vm$(ps ax | awk '/vncviewer [0]/{print $6}')"<br>
          echo "*** checkpoint 1"<br>
          echo "*** checkpoint 1"<br>
          echo "*** checkpoint 1"<br>
          ls /dev/vmm<br>
          pciconf -l | grep 0:1:0:<br>
          for vm in $vms; do<br>
          =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 session=
=3D"${vm##*/}" =C2=A0 <br>
          =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 echo "b=
hyve session =3D $session"<br>
          =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 echo "v=
nc session =3D $vncs"<br>
          =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 if ! pr=
intf '%s\n' "${vncs}" | grep
          "${session}"; then<br>
          =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 printf 'VNC session not
          found,destroying ghost vms\n'<br>
          =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 bhyvectl --vm=3D$session=

          --destroy<br>
          #devctl detach pci0:1:0:0<br>
          #devctl detach pci0:1:0:1<br>
          #devctl set driver pci0:1:0:0 ppt<br>
          #devctl set driver pci0:1:0:1 ppt<br>
          echo "*** checkpoint 2"<br>
          echo "*** checkpoint 2"<br>
          echo "*** checkpoint 2" <br>
          ls /dev/vmm <br>
          pciconf -l | grep 0:1:0: <br>
          #sleep 999 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 <br>
          =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 else<br=
>
          =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 printf 'Found VNC sessio=
n
          %s\n' "${session},no ghost vms found,not destroying them"<br>
          =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 #devctl detach pci0:1:0:=
0<br>
          =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 #devctl detach pci0:1:0:=
1<br>
          =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 #devctl set driver pci0:=
1:0:0
          ppt<br>
          =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 #devctl set driver pci0:=
1:0:1
          ppt<br>
          =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 echo "*** checkpoint 3"<=
br>
          =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 echo "*** checkpoint 3"<=
br>
          =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 echo "*** checkpoint 3"<=
br>
          ls /dev/vmm<br>
          pciconf -l | grep 0:1:0:<br>
          #sleep 999<br>
          =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 fi<br>
          done<br>
          <br>
          echo "*** checkpoint 4"<br>
          echo "*** checkpoint 4"<br>
          echo "*** checkpoint 4"<br>
          ls /dev/vmm<br>
          pciconf -l | grep 0:1:0:<br>
          <br>
          vmdisk0=3D`geom disk list | awk '/^Geom name: /{d=3D$NF} /^
          *ident: (NM13N4CZ)/ &amp;&amp; d{print d}'`<br>
          echo "Seagate M3 Portable 1.8 TB ; $vmdisk0"<br>
          <br>
          vmdisk1=3D`geom disk list | awk '/^Geom name: /{d=3D$NF} /^
          *ident: (2015020204055E)/ &amp;&amp; d{print d}'`<br>
          echo "TOSHIBA External USB 1.8 TB ; $vmdisk1"<br>
          <br>
          vmdisk2=3D`geom disk list | awk '/^Geom name: /{d=3D$NF} /^
          *ident: (2022285F1175)/ &amp;&amp; d{print d}'`<br>
          echo "CT1000P1SSD8 ; $vmdisk2"<br>
          <br>
          vmdisk3=3D`geom disk list | awk '/^Geom name: /{d=3D$NF} /^
          *ident: (20130506005976F)/ &amp;&amp; d{print d}'`<br>
          echo "TOSHIBA External USB 932GB ; echo $vmdisk3"<br>
          <br>
          vmdisk4=3D`geom disk list | awk '/^Geom name: /{d=3D$NF} /^
          *ident: (BE0191500218)/ &amp;&amp; d{print d}'`<br>
          echo "G-DISK ; $vmdisk4"<br>
          <br>
          vmdisk5=3D`geom disk list | awk '/^Geom name: /{d=3D$NF} /^
          *ident: (38434B4237354B45)/ &amp;&amp; d{print d}'`<br>
          echo "Elements ; $vmdisk5"<br>
          <br>
          vmdisk6=3D`geom disk list | awk '/^Geom name: /{d=3D$NF} /^
          *ident: (WD-WCAV2X597309)/ &amp;&amp; d{print d}'`<br>
          echo "WDC WD3200AAJS-00L7A0-298GB ; $vmdisk6"<br>
          <br>
          vmdisk7=3D`geom disk list | awk '/^Geom name: /{d=3D$NF} /^
          *ident: (0774911DDC4200A6)/ &amp;&amp; d{print d}'`<br>
          echo "SanDisk Cruzer-15GB ; $vmdisk7"<br>
          <br>
          vmdisk8=3D`geom disk list | awk '/^Geom name: /{d=3D$NF} /^
          *ident: (60A44C4138D8F311190A0149)/ &amp;&amp; d{print d}'`<br>=

          echo "Kingston DataTraveler 2.0 ; $vmdisk8"<br>
          <br>
          vmdisk9=3D`geom disk list | awk '/^Geom name: /{d=3D$NF} /^
          *ident: (20140100006C)/ &amp;&amp; d{print d}'`<br>
          echo "SAMSUNG HM320JI ; $vmdisk9"<br>
          <br>
          vmdisk10=3D`geom disk list | awk '/^Geom name: /{d=3D$NF} /^
          *ident: (1924E20B2AE5)/ &amp;&amp; d{print d}'`<br>
          echo "CT500MX500SSD4 ; $vmdisk10"<br>
          <br>
          mount -t ufs /dev/$vmdisk1'p2' /mnt/$vmdisk1'p2'<br>
          <br>
          echo "*** checkpoint 5"<br>
          echo "*** checkpoint 5"<br>
          echo "*** checkpoint 5"<br>
          ls /dev/vmm<br>
          pciconf -l | grep 0:1:0:<br>
          devctl detach pci0:1:0:0<br>
          devctl detach pci0:1:0:1<br>
          devctl set driver pci0:1:0:0 ppt<br>
          devctl set driver pci0:1:0:1 ppt<br>
          <br>
          bhyve -S -c sockets=3D2,cores=3D2,threads=3D2 -m 4G -w -H -A \<=
br>
          -s 0,hostbridge \<br>
          -s
1,virtio-blk,/mnt/$vmdisk0'p2'/bhyve/img/Linux/focal-stable-diffusion.img=
,bootindex=3D1
          \<br>
          -s 2,virtio-blk,/dev/$vmdisk3 \<br>
          -s 8:0,passthru,1/0/0 \<br>
          -s 8:1,passthru,1/0/1 \<br>
          -s 11,virtio-net,tap20 \<br>
          -s 12,virtio-9p,sharename=3D/ \<br>
          -s 13,hda,play=3D/dev/dsp,rec=3D/dev/dsp \<br>
          -s 29,fbuf,tcp=3D<a href=3D"http://0.0.0.0:5920"
            moz-do-not-send=3D"true">0.0.0.0:5920</a>,w=3D1600,h=3D950 \<=
br>
          -s 30,xhci,tablet \<br>
          -s 31,lpc \<br>
          -l bootrom,/usr/local/share/uefi-firmware/BHYVE_BHF_CODE.fd \<b=
r>
          vm0:20 &lt; /dev/null &amp; sleep 2 &amp;&amp; vncviewer 0:20<b=
r>
          <br>
          echo "*** checkpoint 6"<br>
          echo "*** checkpoint 6"<br>
          echo "*** checkpoint 6"<br>
          ls /dev/vmm<br>
          pciconf -l | grep 0:1:0:<br>
          sleep 999<br>
          <br>
        </div>
        <div>This is what happens when I launch it,regularly,but not
          always :<br>
        </div>
        <div><br>
        </div>
        <div>root@marietto:/usr/home/marietto/bhyve #
          ./20-Ubuntu-2004-Focal-Stable-Diffusion-vm20.sh</div>
        <br>
        *** checkpoint 1<br>
        *** checkpoint 1<br>
        *** checkpoint 1<br>
        <br>
        vm0:20<br>
        pcib1@pci0:0:1:0: =C2=A0 =C2=A0 =C2=A0 class=3D0x060400 rev=3D0x0=
d hdr=3D0x01
        vendor=3D0x8086 device=3D0x1901 subvendor=3D0x1458 subdevice=3D0x=
5000<br>
        ppt0@pci0:1:0:0: =C2=A0 =C2=A0 =C2=A0 =C2=A0class=3D0x030000 rev=3D=
0xa1 hdr=3D0x00
        vendor=3D0x10de device=3D0x1c02 subvendor=3D0x19da subdevice=3D0x=
2438<br>
        ppt1@pci0:1:0:1: =C2=A0 =C2=A0 =C2=A0 =C2=A0class=3D0x040300 rev=3D=
0xa1 hdr=3D0x00
        vendor=3D0x10de device=3D0x10f1 subvendor=3D0x19da subdevice=3D0x=
2438<br>
        bhyve session =3D vm0:20<br>
        vnc session =3D vm<br>
        VNC session not found,destroying ghost vms<br>
        <br>
        *** checkpoint 2<br>
        *** checkpoint 2<br>
        *** checkpoint 2<br>
        <br>
        ls: /dev/vmm: No such file or directory<br>
        pcib1@pci0:0:1:0: =C2=A0 =C2=A0 =C2=A0 class=3D0x060400 rev=3D0x0=
d hdr=3D0x01
        vendor=3D0x8086 device=3D0x1901 subvendor=3D0x1458 subdevice=3D0x=
5000<br>
        ppt0@pci0:1:0:0: =C2=A0 =C2=A0 =C2=A0 =C2=A0class=3D0x030000 rev=3D=
0xa1 hdr=3D0x00
        vendor=3D0x10de device=3D0x1c02 subvendor=3D0x19da subdevice=3D0x=
2438<br>
        ppt1@pci0:1:0:1: =C2=A0 =C2=A0 =C2=A0 =C2=A0class=3D0x040300 rev=3D=
0xa1 hdr=3D0x00
        vendor=3D0x10de device=3D0x10f1 subvendor=3D0x19da subdevice=3D0x=
2438<br>
        <br>
        *** checkpoint 4<br>
        *** checkpoint 4<br>
        *** checkpoint 4<br>
        <br>
        ls: /dev/vmm: No such file or directory<br>
        pcib1@pci0:0:1:0: =C2=A0 =C2=A0 =C2=A0 class=3D0x060400 rev=3D0x0=
d hdr=3D0x01
        vendor=3D0x8086 device=3D0x1901 subvendor=3D0x1458 subdevice=3D0x=
5000<br>
        ppt0@pci0:1:0:0: =C2=A0 =C2=A0 =C2=A0 =C2=A0class=3D0x030000 rev=3D=
0xa1 hdr=3D0x00
        vendor=3D0x10de device=3D0x1c02 subvendor=3D0x19da subdevice=3D0x=
2438<br>
        ppt1@pci0:1:0:1: =C2=A0 =C2=A0 =C2=A0 =C2=A0class=3D0x040300 rev=3D=
0xa1 hdr=3D0x00
        vendor=3D0x10de device=3D0x10f1 subvendor=3D0x19da subdevice=3D0x=
2438<br>
        <div><br>
        </div>
        <div>Seagate M3 Portable 1.8 TB ; da5</div>
        TOSHIBA External USB 1.8 TB ; da4<br>
        CT1000P1SSD8 ; nvd0<br>
        TOSHIBA External USB 932GB ; echo da2<br>
        G-DISK ; <br>
        Elements ; da3<br>
        WDC WD3200AAJS-00L7A0-298GB ; ada2<br>
        SanDisk Cruzer-15GB ; <br>
        Kingston DataTraveler 2.0 ; <br>
        SAMSUNG HM320JI ; <br>
        CT500MX500SSD4 ; ada0<br>
        mount: /dev/da4p2: Device busy<br>
        <br>
        *** checkpoint 5<br>
        *** checkpoint 5<br>
        *** checkpoint 5<br>
        <br>
        ls: /dev/vmm: No such file or directory<br>
        pcib1@pci0:0:1:0: =C2=A0 =C2=A0 =C2=A0 class=3D0x060400 rev=3D0x0=
d hdr=3D0x01
        vendor=3D0x8086 device=3D0x1901 subvendor=3D0x1458 subdevice=3D0x=
5000<br>
        ppt0@pci0:1:0:0: =C2=A0 =C2=A0 =C2=A0 =C2=A0class=3D0x030000 rev=3D=
0xa1 hdr=3D0x00
        vendor=3D0x10de device=3D0x1c02 subvendor=3D0x19da subdevice=3D0x=
2438<br>
        ppt1@pci0:1:0:1: =C2=A0 =C2=A0 =C2=A0 =C2=A0class=3D0x040300 rev=3D=
0xa1 hdr=3D0x00
        vendor=3D0x10de device=3D0x10f1 subvendor=3D0x19da subdevice=3D0x=
2438<br>
        <br>
        -----&gt; devctl: Failed to detach pci0:1:0:0: Device not
        configured<br>
        -----&gt; devctl: Failed to detach pci0:1:0:1: Device not
        configured<br>
        -----&gt; bhyve: PCI device at 1/0/0 is not using the ppt(4)
        driver<br>
        <br>
        device emulation initialization error: No such file or directory<=
br>
        <br>
        TigerVNC Viewer 64-bit v1.12.0<br>
        Built on: 2021-11-23 05:59<br>
        Copyright (C) 1999-2021 TigerVNC Team and many others (see
        README.rst)<br>
        See <a href=3D"https://www.tigervnc.org" moz-do-not-send=3D"true"=

          class=3D"moz-txt-link-freetext">https://www.tigervnc.org</a>; fo=
r
        information on TigerVNC.<br>
        <br>
        Fri Jan 27 01:38:17 2023<br>
        =C2=A0DecodeManager: Detected 16 CPU core(s)<br>
        =C2=A0DecodeManager: Creating 4 decoder thread(s)<br>
        =C2=A0CConn: =C2=A0 =C2=A0 =C2=A0 unable to connect to socket: Co=
nnection refused
        (61)<br>
        <br>
        *** checkpoint 6<br>
        *** checkpoint 6<br>
        *** checkpoint 6<br>
        <br>
        vm0:20<br>
        pcib1@pci0:0:1:0: =C2=A0 =C2=A0 =C2=A0 class=3D0x060400 rev=3D0x0=
d hdr=3D0x01
        vendor=3D0x8086 device=3D0x1901 subvendor=3D0x1458 subdevice=3D0x=
5000<br>
        ppt0@pci0:1:0:0: =C2=A0 =C2=A0 =C2=A0 =C2=A0class=3D0x030000 rev=3D=
0xa1 hdr=3D0x00
        vendor=3D0x10de device=3D0x1c02 subvendor=3D0x19da subdevice=3D0x=
2438<br>
        ppt1@pci0:1:0:1: =C2=A0 =C2=A0 =C2=A0 =C2=A0class=3D0x040300 rev=3D=
0xa1 hdr=3D0x00
        vendor=3D0x10de device=3D0x10f1 subvendor=3D0x19da subdevice=3D0x=
2438<br>
        <br>
        <div>^C =3D sleep 999<br>
        </div>
        <br>
        <div>As you can see this error : "devctl: Failed to detach
          pci0:1:0:0: Device not configured" is preventing me from
          running the VM. I've also tried to don't detach pci0:1:0:0 and
          detach pci0:1:0:1,but in this case,the error is : "bhyve: PCI
          device at 1/0/0 is not using the ppt(4) driver". I'm sure that
          you will understand fast and that you can know how to
          replicate the experiment using the values according to your
          system. <br>
        </div>
        <div><br>
        </div>
        <div>Thanks.</div>
        <div><br>
        </div>
        <div>-- </div>
        <div dir=3D"ltr" class=3D"gmail_signature"
          data-smartmail=3D"gmail_signature">Mario.<br>
        </div>
      </div>
    </blockquote>
    <p><br>
    </p>
    <p>Try to assign ppt only once:<br>
    </p>
    <p>if ! pciconf -l pci0:1:0:0 | grep -q "^ppt"; then</p>
    <p>=C2=A0=C2=A0=C2=A0 devctl detach pci0:1:0:0</p>
    <p>=C2=A0=C2=A0=C2=A0 devctl set driver pci0:1:0:0 ppt<br>
    </p>
    <p>fi<br>
    </p>
    <p><br>
    </p>
    <p><br>
    </p>
    <pre class=3D"moz-signature" cols=3D"72">--=20
Best regards,
Corvin</pre>
  </body>
</html>

--------------ziDclLfx2VEZIK9ApWBU0Gos--

--------------i0Bcf7Udw2P2YmPBRBJz6A6J--

--------------JSFErlxF00T1gM6e5K0CcLxO
Content-Type: application/pgp-signature; name="OpenPGP_signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="OpenPGP_signature"

-----BEGIN PGP SIGNATURE-----

wsF5BAABCAAjFiEEgvRSla3m2t/H2U9G2FTaVjFeAmoFAmPTeWMFAwAAAAAACgkQ2FTaVjFeAmoi
Dw/9GteB3nrJ2QjLY7BPgVhU1EH8NX6JdYWo98fKRN4kbnGvBpvNzXhl/303UTEAvcpRK0vHHzaT
7OXA1TZitlCd2vhoQom0/y8TMhfdd2ge4UnnY7VoxwgIw1Kvo5eXdJqjZonLAnF1iH7R97B9KsRN
q1yybrMLEpFpWCQaZ5V4CkJRjv4cowRBuJa7f4MfA5mDYaoooLAvHfz/Le2Xe4WkyEt3z8gt9AxG
l4Flgz1UKDwhkguiWhWWA1PlbCUUBynpEHh20GTCTqPbv1F/pcGUhdVC9molxF8thoTduMonFOpt
0xUpKkVgR939sTs17i5jSZpHVlXSpRbku7yiIDYquyeQX6KWSyGAi69BDGl/os/MB3YM+u8UrK6O
vzVSqJlx30VSZFQsbcRn2wG79Evz/xY4uS7tbYvbrpp29EkSugXpljosjteeyZP2aSJYjV7xirrc
ae4nJXRGg/vKZKOk7C4m8zuFtdDqNg3Kn4av+reDBF3h1xpLn88BAyq6sO+m8o8ZAYazQNMfbPvk
76OhKZRBTD+AydflFnXAzEfxZJkFtHWAvZIRSni0YQIQwllFuuImhW2kakgGXju2hrZUITmoQN3+
CD3bQyA7scjK4UE+z2mPkXdbkYDoKAnCF7RB+2b0n/MhPU8/jQKZgwHWvnG4PKAHEH8Q0IdqklRc
clU=
=Z3Rj
-----END PGP SIGNATURE-----

--------------JSFErlxF00T1gM6e5K0CcLxO--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ede23a03-8b64-99f0-e66a-39faa48bad5f>