Port-sgimips archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: O2 hangs on reboot and powerdown




To: Michael Lorenz <macallan%NetBSD.org@localhost>

Subject: Re: O2 hangs on reboot and powerdown

From: "Jared D. McNeill" <jmcneill%invisible.ca@localhost>

Date: Wed, 9 Jan 2008 21:16:58 -0500


On 9-Jan-08, at 7:52 PM, Michael Lorenz wrote:

I've found the problem. What happens is that ahc's shutdown hook is  called, in turn calls ahc_shutdown(), after that pmf_system_shutdown  calls sd's suspend handler which tries to flush caches but the  command times out since ahc is already shut down. So, this is not sgimips specific and will likely affect other scsi  drivers as well. I worked around if by removing the shutdown hook and adding suspend  and resume handlers to ahc_pci which simply call ahc_suspend and  ahc_resume. Since I'm not at all familiar with scsipi or the ahc  driver - is there anything wrong with this approach? On my O2 at  least it works.

This is correct -- shutdown hook
s need to nuked in favour of pmf  handlers for dependencies to work properly. Good find!

Cheers,
Jared



Follow-Ups:

Re: O2 hangs on reboot and powerdown
From: Michael Lorenz


References:

Re: O2 hangs on reboot and powerdown
From: Izumi Tsutsui

Re: O2 hangs on reboot and powerdown
From: Michael Lorenz




Prev by Date: Re: O2 hangs on reboot and powerdown

Next by Date: Re: O2 hangs on reboot and powerdown

Previous by Thread: Re: O2 hangs on reboot and powerdown

Next by Thread: Re: O2 hangs on reboot and powerdown

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index