[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1618816c0711272202ydd8f1aeib98672d91356368a@mail.gmail.com>
Date: Tue, 27 Nov 2007 23:02:28 -0700
From: "Raymano Garibaldi" <raymano@...nos.com>
To: "Alan Stern" <stern@...land.harvard.edu>
Cc: "Andrew Morton" <akpm@...ux-foundation.org>,
"Denys Vlasenko" <vda.linux@...glemail.com>,
"Kernel development list" <linux-kernel@...r.kernel.org>,
"USB development list" <linux-usb-devel@...ts.sourceforge.net>
Subject: Re: [linux-usb-devel] [BUG] USB_PERSIST
Hi Alan,
Here's what I got after compiling kernel with CONFIG_USB_PERSIST and
CONFIG_USB_DEBUG both enabled. The attached files are:
config - shows the .config file used when compiling kernel 2.6.23.9
sysandmount.txt - shows mounts and the state of persist for all usb
devices right before suspending.
dmesg_attached.txt - dmesg right after resuming when the USB device
remained attached while machine was suspend
dmesg_detachedandreattached.txt - dmesg right after resuming when the
USB device was detached while suspended and then reattached before
resuming.
Thanks,
Raymano G.
On 11/26/07, Alan Stern <stern@...land.harvard.edu> wrote:
> On Mon, 26 Nov 2007, Raymano Garibaldi wrote:
>
> > > Wait a minute. You're saying that USB Persist worked under 2.6.21
> > > because it wasn't available? That makes no sense. Besides, if you
> > > don't like USB Persist under 2.6.23, you can always eliminate it by
> > > turning off CONFIG_USB_PERSIST.
> > >
> >
> > I have tried this. Simply turning off CONFIG_USB_PERSIST doesn't work.
> > In this case the USB drive file system is unmounted on resume, even if
> > the drive remained plugged in during suspend.
>
> Something about this doesn't sound right.
>
> When you have CONFIG_USB_PERSIST enabled, do you remember to turn on
> the Persist feature for the root fs device by writing a "1" to the
> device's power/persist file in sysfs?
>
> Can you try building a kernel with CONFIG_USB_PERSIST and
> CONFIG_USB_DEBUG both enabled, and post the dmesg log from immediately
> after resuming?
>
> Alan Stern
>
>
Download attachment "config" of type "application/octet-stream" (75681 bytes)
View attachment "sysandmount.txt" of type "text/plain" (945 bytes)
View attachment "dmesg_attached.txt" of type "text/plain" (30590 bytes)
View attachment "dmesg_detachedandreattached.txt" of type "text/plain" (30641 bytes)
Powered by blists - more mailing lists