public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Michael Madore <mmadore-JChM1cqIHx8AvxtiuMwx3w@public.gmane.org>
To: "Grover, Andrew" <andrew.grover-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: Reboot on shutdown with USB 2.0
Date: Fri, 28 Mar 2003 15:41:08 -0800	[thread overview]
Message-ID: <3E84DD94.4080508@aslab.com> (raw)
In-Reply-To: F760B14C9561B941B89469F59BA3A84725A23B@orsmsx401.jf.intel.com

Grover, Andrew wrote:

>>From: Michael Madore [mailto:mmadore-JChM1cqIHx8AvxtiuMwx3w@public.gmane.org] 
>>    
>>
>
>  
>
>>I'm having a strange problem regarding ACPI and USB 2.0 devices 
>>(External CD-Rom, Jaz drive, etc).  Using 2.4.21-pre5 with the latest 
>>patch if I issue:
>>
>>shutdown -h now
>>
>>The machine shuts off, but half a second later the power 
>>comes back on. 
>> If I unload the echi driver module, the machine shuts off normally.
>>
>>Any thoughts on what would cause that kind of behavior?
>>    
>>
>
>Is this an SMP system? Just curious.
>  
>
Yes, this particular system is SMP.  I'll have to try it with a UP 
kernel just to see if the problem persists.

>What we should be doing (but aren't) is telling each device's driver on
>the system to deactivate its device before we turn off the system power.
>This gives the driver the chance to disable that device's interrupt
>generation. We haven't gotten that far in the driver model work, so what
>we are doing is disabling interrupts and then powering down. This mostly
>works, but isn't really how we want things to work, and is pretty much
>doomed to fail on SMP systems.
>
>I don't know why the ehci device would specifically be the one to cause
>problems...
>  
>
That makes sense, thanks for the explaination.  As a workaround, perhaps 
we can modify the init scripts to unload the ehci driver during shutdown.

Mike Madore



-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en

  reply	other threads:[~2003-03-28 23:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-28 22:45 Reboot on shutdown with USB 2.0 Grover, Andrew
2003-03-28 23:41 ` Michael Madore [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-03-28 22:25 Michael Madore

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=3E84DD94.4080508@aslab.com \
    --to=mmadore-jchm1cqihx8avxtiumwx3w@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=andrew.grover-ral2JQCrhuEAvxtiuMwx3w@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