NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/47097: ahcisata(4) triggers panic when disk I/O error is caused
> On Sat, Oct 20, 2012 at 03:50:00PM +0000, tshiozak%bsdclub.org@localhost
> wrote:
> > when disk I/O error is caused, ahcisata(4) seems to call tsleep() under
> > interrupt context and it triggers panic.
> >
> > call trace is here:
> >
> > vpanic
> > kern_assert
> > callout_halt
> > sleepq_block
> > ahci_do_reset_drive
> > ahci_reset_drive
> > wddone
> > ahci_bio_complete
> > ahci_intr_port
> > ahci_intr
>
> The attached patch should work around it. But this is going to
> delay() for half a second, which is bad. Something better is needed,
> so we can reset the drive from the atabus thread.
I confirmed that the patch fixes the problem. Thanks.
---
Takuya SHIOZAKI
Home |
Main Index |
Thread Index |
Old Index