[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: O2 hangs on reboot and powerdown
-----BEGIN PGP SIGNED MESSAGE-----
On Jan 5, 2008, at 19:20, Izumi Tsutsui wrote:
Another data point - I have an ahc in a G4 mac and don't get this
kind of problem there.
Hmm, happens only in case of root on sd? at ahc(4)?
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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
-----END PGP SIGNATURE-----
Main Index |
Thread Index |