NetBSD-Bugs archive

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

Re: kern/45648: Powering off unmounted SATA disk panics



On Thu, Nov 24, 2011 at 12:30:01PM +0000, Hauke Fath wrote:
> System: NetBSD venediger 5.1_STABLE NetBSD 5.1_STABLE (VENEDIGER) #0: Wed Feb 
> 23 21:05:10 CET 2011 
> hf@Hochstuhl:/var/obj/netbsd-builds/5/i386/sys/arch/i386/compile/VENEDIGER 
> i386
> Architecture: i386
> Machine: i386
> >Description:
> 
>       A sata disk, powered up and connected to the machine, but not
>       mounted (might not have been mounted ever, but since the
>       machine had been up 150+ d, it is hard to tell) was powered
>       off. A few hours later, the machine panicked with
> 
> 
> piixide0:1:1: recal drive fault
> wd0d: device fault reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
> NMI ... going to debugger

NMI, this is bad. It's usually caused by hardware problems.

>  [...]
> >Fix:
>       Something in the kernel appears to have hung on to the disk,

possibly one of the daily task, trying to read the partition table.
After a few errors,  the controller would be reset, powering up the
drive.

>       and something else appears to have considered the resulting
>       error 'fatal'. Both should not have happened.

The hardware considered it fatal, as it posted an NMI.

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index