[prev in list] [next in list] [prev in thread] [next in thread] 

List:       acpi4linux
Subject:    Re: [ACPI] Reboot on shutdown with USB 2.0
From:       Michael Madore <mmadore () aslab ! com>
Date:       2003-03-28 23:41:08
[Download RAW message or body]

Grover, Andrew wrote:

>>From: Michael Madore [mailto:mmadore@aslab.com] 
>>    
>>
>
>  
>
>>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
_______________________________________________
Acpi-devel mailing list
Acpi-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic