From: Hans de Goede <hdegoede@redhat.com>
To: Yves-Alexis Perez <corsac@corsac.net>, Gerd Hoffmann <kraxel@redhat.com>
Cc: linux-usb@vger.kernel.org, linux-scsi@vger.kernel.org
Subject: Re: Page allocation failure (order 7) in UAS code
Date: Tue, 1 Mar 2016 11:49:51 +0100 [thread overview]
Message-ID: <56D573CF.1000600@redhat.com> (raw)
In-Reply-To: <1456825361.17330.9.camel@corsac.net>
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.
Regards,
Hans
next prev parent reply other threads:[~2016-03-01 10:49 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 [this message]
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
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=56D573CF.1000600@redhat.com \
--to=hdegoede@redhat.com \
--cc=corsac@corsac.net \
--cc=kraxel@redhat.com \
--cc=linux-scsi@vger.kernel.org \
--cc=linux-usb@vger.kernel.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