From: Yves-Alexis Perez <corsac-vD43ovf/fd+sTnJN9+BGXg@public.gmane.org>
To: Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
Gerd Hoffmann <kraxel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Cc: linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-scsi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: Page allocation failure (order 7) in UAS code
Date: Fri, 04 Mar 2016 08:13:58 +0100 [thread overview]
Message-ID: <1457075638.23913.4.camel@corsac.net> (raw)
In-Reply-To: <56D573CF.1000600-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 1213 bytes --]
On mar., 2016-03-01 at 11:49 +0100, Hans de Goede wrote:
> Hi,
>
> On 01-03-16 10:42, Yves-Alexis Perez wrote:
> >
> > Hi,
> >
> > [sorry if this is not the right point for reporting bugs, I took the email
> > addresses from MAINTAINERS but please point me to the correct place if
> > needed]
> >
> > I have an external USB drive (Samsung M3), which apparently uses the UAS
> > code.
> > Starting with 4.4 (from Debian sid, I could retry with vanilla if needed),
> > I
> > can't mount the drive anymore after a while (few hours/days uptime). Just
> > plugging the disk, I get page allocation failure in kernel logs:
> Can you try building a kernel with the following line in
> drivers/usb/storage/uas.c :
>
> .can_queue = 65536, /* Is there a limit on the _host_ ? */
>
> (around line 815) Replaced with
>
> .can_queue = MAX_CMNDS,
>
> That should help as MAX_CMNDS is 256, so claiming that we can queue more
> is not helpful, and that likely is what is causing this quite high order
> alloc.
After a few days, it seems that it does work fine, although I can't say
anything about sides effects.
Regards,
--
Yves-Alexis
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
next prev parent reply other threads:[~2016-03-04 7:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-01 9:42 Page allocation failure (order 7) in UAS code Yves-Alexis Perez
2016-03-01 10:49 ` Hans de Goede
2016-03-01 11:20 ` Yves-Alexis Perez
[not found] ` <56D573CF.1000600-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2016-03-04 7:13 ` Yves-Alexis Perez [this message]
2016-03-04 7:18 ` Hans de Goede
2016-03-04 13:28 ` Yves-Alexis Perez
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1457075638.23913.4.camel@corsac.net \
--to=corsac-vd43ovf/fd+stnjn9+bgxg@public.gmane.org \
--cc=hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=kraxel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=linux-scsi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox