mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Nigel Cunningham <ncunningham@clear.net.nz>
To: Micha Feigin <michf@math.tau.ac.il>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	swsusp-devel <swsusp-devel@lists.sourceforge.net>
Subject: Re: usb driver problem when suspending from acpid
Date: Mon, 11 Aug 2003 07:38:38 +1200	[thread overview]
Message-ID: <1060544317.8803.1.camel@laptop-linux> (raw)
In-Reply-To: <1060470222.16293.12.camel@litshi.luna.local>

Hi.

Since you're talking swsusp for 2.4 kernels, this message should go to
the swsusp-devel list. (Added in this reply). Some of the guys there use
usb more than I do, so you might get a useful reply when they see this.

Regards,

Nigel

On Sun, 2003-08-10 at 21:26, Micha Feigin wrote:
> I am running a 2.4.21 kernel with acpi + swsusp patches (had the same
> behavior with swsusp 1.0.* and 1.1-rc)
> 
> When calling the hibernation script that appears on the swsusp site to
> unload all modules and services and then suspend to disk (S4) from the
> command line (anywhere: xterm, console whatever) everything works fine.
> When calling the script from acpid in response to the power button being
> pressed, the script locks on the second suspend attempt when trying to
> unload the usbcore module (rmmod never returns and can't be killed using
> kill -9, presumably since its stuck on a system call)
> 
> I have tracked the lock point to thefile  drivers/usb/hub.c. The
> offending function is usb_hub_cleanup which locks up on the call to 
> wait_for_completion(&khubd_exited);
> 
> I don't know if this could be related, but when calling the script with
> --verbose option it also fails since it can't find a tty to print the
> errors to. It tries to open /dev/tty<something> and fails, although I am
> not sure what the difference is since the script switches away from X
> when it starts.
> I have made a few attempts at the kernel source but couldn't solve the
> problem.
> 
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
-- 
Nigel Cunningham
495 St Georges Road South, Hastings 4201, New Zealand

You see, at just the right time, when we were still powerless,
Christ died for the ungodly.
	-- Romans 5:6, NIV.


      reply	other threads:[~2003-08-10 19:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-10  9:26 Micha Feigin
2003-08-10 19:38 ` Nigel Cunningham [this message]

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=1060544317.8803.1.camel@laptop-linux \
    --to=ncunningham@clear.net.nz \
    --cc=linux-kernel@vger.kernel.org \
    --cc=michf@math.tau.ac.il \
    --cc=swsusp-devel@lists.sourceforge.net \
    /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

all inboxes | Powered by JetHome®