Port-sgimips archive

[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-----
Hash: SHA1

Hello,

On Jan 5, 2008, at 19:20, Izumi Tsutsui wrote:

macallan%NetBSD.org@localhost 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.

have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iQEVAwUBR4VsO8pnzkX8Yg2nAQJbrQgAqMLyQQ1xuDTGM5uoCl4dH1bXbOVoFfUr
8QJG7rtWti2lbd3A0+vQLRD0fOeciFF36vIeBZ8rkwD/GC2AOt7z3JL/bqAy6Wy8
AP2529DtUZbmqrxYmPG8CanU/8pVWe/GVy2RVHqQF5EqkCEb8brPt7rAX3oX9LJj
IZANHlH6O9EoaACiBD5JiDVfMapumtq5A4Ca7PeTjd5rVMO61/1j+tauBIaw+H3X
Gz7USxUZ3lZWaz5XAbkHdEic9Gwt0bP70Diq5Ii9vUPhFve6elcbhtW2Stm2e9QO
TnN5JwCvlv3EFZCRaCgDfvoePilg/t5Hh33ofjtlJSLv0kidI2UDDA==
=dypd
-----END PGP SIGNATURE-----



Home | Main Index | Thread Index | Old Index