NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
re: kern/46547: umass: sd crashes when synchronizing cache while trying to suspend
The following reply was made to PR kern/46547; it has been noted by GNATS.
From: matthew green <mrg%eterna.com.au@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: kern-bug-people%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
netbsd-bugs%netbsd.org@localhost
Subject: re: kern/46547: umass: sd crashes when synchronizing cache while
trying to suspend
Date: Wed, 06 Jun 2012 04:06:26 +1000
this smells like what i did to amd64 cpu_reboot() to make it not crash
when rebooting when usb disks are present. this ended up trying to
perform a sync. operation from a softint handler, which triggers
checks in cv_wait() or tsleep
note that i didn't say "fix". :-( i'm not really sure what the right
solution here is. can you try a kernel with LOCKDEBUG enabled and
show us the full output?
i did try having these events run from the USB task thread but that
just left me with a soft-hung system at reboot. it was about then
that i noticed i386 and amd64 cpu_reboot() were pretty different and
when i made amd64 like i386, i had no more crashes. however, that
really only happens because cpu_reboot() arranges it, not that the
problem was actually fixed.
.mrg.
Home |
Main Index |
Thread Index |
Old Index