On Fri, Apr 21, 2023 at 2:50 PM Aaron Mason <simplersolut...@gmail.com> wrote:
>
> On Fri, Apr 21, 2023 at 1:39 PM Aaron Mason <simplersolut...@gmail.com> wrote:
> >
> > On Fri, Apr 7, 2023 at 3:25 AM Antun Matanović
> > <matanovic.an...@gmail.com> wrote:
> > >
> > > On Thu, 6 Apr 2023 at 12:55, Fabio Martins <fosf...@gmail.com> wrote:
> > > >
> > > > Try to add an entry in grub like in this article:
> > > >
> > > > https://raby.sh/installing-openbsd-on-ovhs-vps-2016-kvm-machines.html
> > >
> > > I have tried that, but it did not resolve the issue. Sorry I forgot to
> > > mention it originally.
> > >
> > > On Thu, 6 Apr 2023 at 14:24, Janne Johansson <icepic...@gmail.com> wrote:
> > > >
> > > > That is very much not the same issue. The arm64 instances on Oracle
> > > > finds the correct kernel and boots it, it just crashes at or after the
> > > > scsi attachment.
> > >
> > > This has been my experience as well, except on the amd64 instance,
> > > haven't tried arm64.
> > >
> >
> > Yeah I'm getting the same thing. Trying a build in QEMU and
> > transferring in to see if that helps. Will report back.
> >
>
> Ok, good news, it still crashes at the same spot, but this time I've
> got more data. Copying in tech@ - if I've forgotten anything let me
> know and I'll fire up a fresh instance.
>
> [REDACTED]
> vioscsi_req_done(e,ffff800000024a00,fffffd803f81c338,e,ffff800000024a00,ffff800
> 0000d3228) at vioscsi_req_done+0x26
> [REDACTED]

Ok, so based on the trace I got, I was able to trace the stop itself
back to line 299 of vioscsi.c (thank. you. random relink. And
anonymous CVS):

   293  vioscsi_req_done(struct vioscsi_softc *sc, struct virtio_softc *vsc,
   294      struct vioscsi_req *vr)
   295  {
   296          struct scsi_xfer *xs = vr->vr_xs;
   297          DPRINTF("vioscsi_req_done: enter vr: %p xs: %p\n", vr, xs);
   298
-->299          int isread = !!(xs->flags & SCSI_DATA_IN);
   300          bus_dmamap_sync(vsc->sc_dmat, vr->vr_control,
   301              offsetof(struct vioscsi_req, vr_req),
   302              sizeof(struct virtio_scsi_req_hdr),
   303              BUS_DMASYNC_POSTWRITE);

Maybe if I follow the rabbit hole enough, I might find out what's
going wrong between the driver and OCI. I've got a day off tomorrow
(yay for war I guess), I'll give it a bash and see where we end up.

-- 
Aaron Mason - Programmer, open source addict
I've taken my software vows - for beta or for worse

Reply via email to