Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jun 2021 09:46:47 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Gary Jennejohn <gljennjohn@gmail.com>
Cc:        Mark Johnston <markj@freebsd.org>, FreeBSD Current <freebsd-current@freebsd.org>,  "Edward Tomasz Napiera?a" <trasz@freebsd.org>
Subject:   Re: kernel panic while copying files
Message-ID:  <CANCZdfo=6P5ONKBH8Xr81M8rWOX3vo8w1ZeEya291ihRA8e9%2Bg@mail.gmail.com>
In-Reply-To: <20210608144158.542d03be@ernst.home>
References:  <20210607090109.08ecb130@ernst.home> <YL6Hc6XmEIIx76gt@nuc> <20210608084646.6a7e1bc7@ernst.home> <CANCZdfpODXLP9B%2BAAXSd5dTS4-V_9r%2BEg90z7sz18wTaE8ELZA@mail.gmail.com> <CANCZdfpPjNn7%2BAT%2BOzkAGks1a52z9EX7-_49tJLLd0bweMF%2BaQ@mail.gmail.com> <20210608144158.542d03be@ernst.home>

next in thread | previous in thread | raw e-mail | index | archive | help
--0000000000007b270105c44311ea
Content-Type: text/plain; charset="UTF-8"

On Tue, Jun 8, 2021 at 8:42 AM Gary Jennejohn <gljennjohn@gmail.com> wrote:

> On Tue, 8 Jun 2021 06:48:19 -0600
> Warner Losh <imp@bsdimp.com> wrote:
>
> > Sorry to reply to myself... had a thought as my brain rested while making
> > tea...
> >
> > I think we may need to consider reverting (or at least not yet enabling)
> > the uma stuff.
> >
>
> I tested and enabled the UMA CCB stuff immediately after trasz had
> committed it.  I was able to copy files panic-free over USB until
> recently AFAICR.
>
> I also have had the kern.cam.ada.enable_uma_ccbs=1 set since
> then and have never seen a problem there.  Only with USB.
>

Yes. This specific bug only affects SCSI. And it only affects it when
there's an error that requires a restart. I've not yet had the time to do
an audit for where else the copying is done...


> I'll try booting a new kernel with the uma_ccb sysctl's set to 0
> and see what happens.
>
> BTW I now have a kernel compiled with -O0 ready to test.
>

Great!

Warner

--0000000000007b270105c44311ea--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfo=6P5ONKBH8Xr81M8rWOX3vo8w1ZeEya291ihRA8e9%2Bg>