tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: "adapter resource shortage"?



>> sd1(mpt0:0:1:0): adapter resource shortage

> This could be caused by the driver not reserving enough command slots
> for its internal use.  I committed a fix to reduce the maximum
> commands the scsipi layer would try to use (rev 1.17 of
> src/sys/dev/ic/mpt_netbsd.c, which should be in the 5.2 branch).

I have mpt_netbsd.c 1.14.14.2; getting cvsweb to cough up diffs from
1.16 to 1.17 of mpt_netbsd.c and comparing them against 1.14.14.2 makes
me think I do have that delta.

> You might want to try reducing the scsipi openings a couple more and
> see if that helps.

That is, s/2/5/ or some such on the 

        adapt->adapt_openings = maxq - 2;       /* Reserve 2 for driver use*/
        adapt->adapt_max_periph = maxq - 2;

lines, right?  (I'd want to check that maxq is at least 6 first....)

I'll try that.

                                        Mouse


Home | Main Index | Thread Index | Old Index